-
Notifications
You must be signed in to change notification settings - Fork 29
/
foundry.toml
58 lines (54 loc) · 1.85 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[profile.default]
src = 'src'
test = 'tests'
script = 'scripts'
out = 'out'
libs = ['lib']
remappings = []
fs_permissions = [{ access = "read-write", path = "./reports" }]
ffi = true
evm_version = 'shanghai'
[profile.zksync]
src = 'zksync/src'
test = 'zksync/tests'
libs = ['lib']
solc = '0.8.20'
fs_permissions = [{ access = "write", path = "./reports" }]
ffi = true
evm_version = 'shanghai'
[profile.zksync.zksync]
compile = true
fallback_oz = true
mode = '3'
zksolc = '1.5.1'
[rpc_endpoints]
mainnet = "${RPC_MAINNET}"
optimism = "${RPC_OPTIMISM}"
avalanche = "${RPC_AVALANCHE}"
polygon = "${RPC_POLYGON}"
arbitrum = "${RPC_ARBITRUM}"
fantom = "${RPC_FANTOM}"
harmony = "${RPC_HARMONY}"
metis = "${RPC_METIS}"
base = "${RPC_BASE}"
bnb = "${RPC_BNB}"
sepolia = "${RPC_SEPOLIA}"
gnosis = "${RPC_GNOSIS}"
scroll = "${RPC_SCROLL}"
zkevm = "${RPC_ZKEVM}"
zksync = "${RPC_ZKSYNC}"
[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY_MAINNET}", chainId = 1 }
optimism = { key = "${ETHERSCAN_API_KEY_OPTIMISM}", chainId = 10 }
avalanche = { key = "${ETHERSCAN_API_KEY_AVALANCHE}", chainId = 43114 }
polygon = { key = "${ETHERSCAN_API_KEY_POLYGON}", chainId = 137 }
arbitrum = { key = "${ETHERSCAN_API_KEY_ARBITRUM}", chainId = 42161 }
fantom = { key = "${ETHERSCAN_API_KEY_FANTOM}", chainId = 250 }
base = { key = "${ETHERSCAN_API_KEY_BASE}", chain = 8453 }
bnb = { key = "${ETHERSCAN_API_KEY_BNB}", chainId = 56, url = 'https://api.bscscan.com/api' }
sepolia = { key = "${ETHERSCAN_API_KEY_MAINNET}", chainId = 11155111 }
gnosis = { key = "${ETHERSCAN_API_KEY_GNOSIS}", chainId = 100, url = 'https://api.gnosisscan.io/api' }
scroll = { key = "${ETHERSCAN_API_KEY_SCROLL}", chainId = 534352 }
zkevm = { key = "${ETHERSCAN_API_KEY_ZKEVM}", chainId = 1101 }
zksync = { key = "${ETHERSCAN_API_KEY_ZKSYNC}", chain = 324 }
# See more config options https://github.com/gakonst/foundry/tree/master/config