-
Notifications
You must be signed in to change notification settings - Fork 28
/
foundry.toml
84 lines (79 loc) · 3.58 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
[profile.default]
optimizer = true
optimizer_runs = 200
auto_detect_solc = true
src = "contracts"
out = "artifacts"
libs = ["node_modules", "lib"]
ffi = true
unchecked_cheatcode_artifacts = true
fs_permissions = [{ access = "read", path = "./artifacts"}, { access = "read-write", path = "./deployments"}, { access = "read-write", path = "./.deployments"}, {access = "read-write", path = "./script"}]
## set only when the `hardhat` profile is selected
[profile.hardhat]
src = "contracts"
out = "artifacts"
libs = ["node_modules"]
[profile.ci]
verbosity = 4
# See more config options https://github.com/gakonst/foundry/tree/master/config
[rpc_endpoints]
arbitrum = "${ARBITRUM_API}"
aurora = "${AURORA_API}"
avalanche = "${AVALANCHE_API}"
base = "${BASE_API}"
blast = "${BLAST_API}"
boba = "${BOBA_API}"
bsc = "${BSC_API}"
canto = "${CANTO_API}"
cronos = "${CRONOS_API}"
dfk = "${DFK_API}"
dogechain = "${DOGECHAIN_API}"
fantom = "${FANTOM_API}"
harmony = "${HARMONY_API}"
klatyn = "${KLATYN_API}"
linea = "${LINEA_API}"
mainnet = "${MAINNET_API}"
metis = "${METIS_API}"
moonbeam = "${MOONBEAM_API}"
moonriver = "${MOONRIVER_API}"
optimism = "${OPTIMISM_API}"
polygon = "${POLYGON_API}"
scroll = "${SCROLL_API}"
zkevm = "${ZKEVM_API}"
# Testnets
arb_sepolia = "${ARB_SEPOLIA_API}"
base_sepolia = "${BASE_SEPOLIA_API}"
eth_sepolia = "${ETH_SEPOLIA_API}"
op_sepolia = "${OP_SEPOLIA_API}"
scroll_sepolia = "${SCROLL_SEPOLIA_API}"
[etherscan]
arbitrum = { key = "${ARBITRUM_ETHERSCAN_KEY}", url = "${ARBITRUM_ETHERSCAN_URL}" }
# TODO: find out if this is correct
aurora = { key = "", url = "${AURORA_BLOCKSCOUT_URL}" }
avalanche = { key = "${AVALANCHE_ETHERSCAN_KEY}", url = "${AVALANCHE_ETHERSCAN_URL}" }
base = { key = "${BASE_ETHERSCAN_KEY}", url = "${BASE_ETHERSCAN_URL}" }
blast = { key = "${BLAST_ETHERSCAN_KEY}", url = "${BLAST_ETHERSCAN_URL}" }
boba = { key = "${BOBA_ETHERSCAN_KEY}", url = "${BOBA_ETHERSCAN_URL}" }
bsc = { key = "${BSC_ETHERSCAN_KEY}", url = "${BSC_ETHERSCAN_URL}" }
canto = { key = "", url = "${CANTO_BLOCKSCOUT_URL}" }
cronos = { key = "${CRONOS_ETHERSCAN_KEY}", url = "${CRONOS_ETHERSCAN_URL}" }
# DFK is using Sourcify for verification
dogechain = { key = "", url = "${DOGECHAIN_BLOCKSCOUT_URL}" }
fantom = { key = "${FANTOM_ETHERSCAN_KEY}", url = "${FANTOM_ETHERSCAN_URL}" }
# Harmony doesn't have an endpoint for verification, and Sourcify does not support Harmony
# Klaytn doesn't have an endpoint for verification, and doesn't support Sourcify yet
linea = { key = "${LINEA_ETHERSCAN_KEY}", url = "${LINEA_ETHERSCAN_URL}" }
mainnet = { key = "${MAINNET_ETHERSCAN_KEY}", url = "${MAINNET_ETHERSCAN_URL}" }
metis = { key = "", url = "${METIS_BLOCKSCOUT_URL}" }
moonbeam = { key = "${MOONBEAM_ETHERSCAN_KEY}", url = "${MOONBEAM_ETHERSCAN_URL}" }
moonriver = { key = "${MOONRIVER_ETHERSCAN_KEY}", url = "${MOONRIVER_ETHERSCAN_URL}" }
optimism = { key = "${OPTIMISM_ETHERSCAN_KEY}", url = "${OPTIMISM_ETHERSCAN_URL}" }
polygon = { key = "${POLYGON_ETHERSCAN_KEY}", url = "${POLYGON_ETHERSCAN_URL}" }
scroll = { key = "${SCROLL_ETHERSCAN_KEY}", url = "${SCROLL_ETHERSCAN_URL}" }
zkevm = { key = "${ZKEVM_ETHERSCAN_KEY}", url = "${ZKEVM_ETHERSCAN_URL}" }
# Testnets
arb_sepolia = { key = "${ARB_SEPOLIA_ETHERSCAN_KEY}", url = "${ARB_SEPOLIA_ETHERSCAN_URL}" }
base_sepolia = { key = "${BASE_SEPOLIA_ETHERSCAN_KEY}", url = "${BASE_SEPOLIA_ETHERSCAN_URL}" }
eth_sepolia = { key = "${ETH_SEPOLIA_ETHERSCAN_KEY}", url = "${ETH_SEPOLIA_ETHERSCAN_URL}" }
op_sepolia = { key = "${OP_SEPOLIA_ETHERSCAN_KEY}", url = "${OP_SEPOLIA_ETHERSCAN_URL}" }
scroll_sepolia = { key = "${SCROLL_SEPOLIA_ETHERSCAN_KEY}", url = "${SCROLL_SEPOLIA_ETHERSCAN_URL}" }