generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 24
/
foundry.toml
92 lines (78 loc) · 2.29 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[profile.default]
src = 'src'
test = 'tests'
script = 'scripts'
solc = '0.8.20'
out = 'out'
bytecode_hash = 'none'
libs = ['lib']
remappings = []
ffi = true
fs_permissions = [
{ access = "write", path = "./reports" },
{ access = "read", path = "./zkout" },
]
evm_version = 'shanghai'
[profile.zksync]
src = 'zksync'
test = 'zksync'
libs = ['lib']
solc = '0.8.20'
fs_permissions = [{ access = "write", path = "./reports" }]
ffi = true
evm_version = 'shanghai'
[profile.zksync.zksync]
bytecode_hash = 'none'
compile = true
fallback_oz = true
mode = '3'
zksolc = '1.5.3'
# incomplete list at https://www.evmdiff.com/features?name=PUSH0&kind=opcode
[profile.metis]
evm_version = 'shanghai'
[profile.mainnet]
evm_version = 'shanghai'
[profile.arbitrum]
evm_version = 'shanghai'
[profile.optimism]
evm_version = 'shanghai'
[profile.base]
evm_version = 'shanghai'
[profile.polygon]
evm_version = 'shanghai'
[profile.avalanche]
evm_version = 'shanghai'
[profile.gnosis]
evm_version = 'shanghai'
[profile.bnb]
evm_version = 'shanghai'
[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}"
zkevm = "${RPC_ZKEVM}"
gnosis = "${RPC_GNOSIS}"
bnb = "${RPC_BNB}"
scroll = "${RPC_SCROLL}"
zksync = "${RPC_ZKSYNC}"
[etherscan]
mainnet = { key="${ETHERSCAN_API_KEY_MAINNET}", chain=1 }
optimism = { key="${ETHERSCAN_API_KEY_OPTIMISM}", chain=10 }
avalanche = { key="${ETHERSCAN_API_KEY_AVALANCHE}", chain=43114 }
polygon = { key="${ETHERSCAN_API_KEY_POLYGON}", chain=137 }
arbitrum = { key="${ETHERSCAN_API_KEY_ARBITRUM}", chain=42161 }
fantom = { key="${ETHERSCAN_API_KEY_FANTOM}", chain=250 }
metis = { key="any", chainId=1088, url='https://andromeda-explorer.metis.io/' }
base = { key="${ETHERSCAN_API_KEY_BASE}", chainId=8453 }
zkevm = { key="${ETHERSCAN_API_KEY_ZKEVM}", chainId=1101 }
gnosis = { key="${ETHERSCAN_API_KEY_GNOSIS}", chainId=100 }
bnb = { key="${ETHERSCAN_API_KEY_BNB}", chainId=56, url='https://api.bscscan.com/api'}
scroll = { key="${ETHERSCAN_API_KEY_SCROLL}", chainId=534352 }
zksync = { key="${ETHERSCAN_API_KEY_ZKSYNC}", chain = 324 }
# See more config options https://github.com/gakonst/foundry/tree/master/config