This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
foundry.toml
62 lines (56 loc) · 1.75 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
[profile.default]
src = 'src'
test = 'tests'
script = 'scripts'
out = 'out'
libs = ['lib']
solc = '0.8.20'
remappings = []
fs_permissions = [{ access = "read-write", path = "./reports" }]
metadata = 'none'
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'
bytecode_hash = 'none'
[profile.zksync.zksync]
compile = true
fallback_oz = true
mode = '3'
zksolc = '1.5.3'
bytecode_hash = 'none'
[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}"
celo = "${RPC_CELO}"
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 }
metis = { key = "any", chain = 1088, url = 'https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan' }
base = { key = "${ETHERSCAN_API_KEY_BASE}", chain = 8453 }
gnosis = { key = "${ETHERSCAN_API_KEY_GNOSIS}", chain = 100 }
scroll = { key = "${ETHERSCAN_API_KEY_SCROLL}", chain = 534352 }
bnb = { key = "${ETHERSCAN_API_KEY_BNB}", chain = 56 }
zksync = { key = "${ETHERSCAN_API_KEY_ZKSYNC}", chain = 324 }
# See more config options https://github.com/gakonst/foundry/tree/master/config