generated from Uniswap/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
foundry.toml
117 lines (100 loc) · 3.39 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
optimizer = true
optimizer_runs = 800
bytecode_hash = "none"
via_ir = false
verbosity = 2
ffi = true
fs_permissions = [
{ access = "read-write", path = ".forge-snapshots"},
{ access = "read", path = "script/" }
]
evm_version = "cancun"
skip = [
"src/pkgs/**/audits/**",
"src/pkgs/**/certora/**",
"*.t.sol",
"*.s.sol"
]
[profile.v2-core]
src = "src/pkgs/v2-core"
[profile.v2-periphery]
src = "src/pkgs/v2-periphery"
[profile.v3-core]
src = "src/pkgs/v3-core"
[profile.v3-periphery]
src = "src/pkgs/v3-periphery"
[profile.v4-core]
src = "src/pkgs/v4-core"
[profile.v4-periphery]
src = "src/pkgs/v4-periphery"
libs = ["src/pkgs/v4-core", "lib"]
[profile.permit2]
src = "src/pkgs/permit2"
via_ir = true
[profile.universal-router]
src = "src/pkgs/universal-router"
via_ir = true
[profile.default.fuzz]
runs = 1000
[profile.pr.fuzz]
runs = 10000
[profile.ci.fuzz]
runs = 100000
[profile.debug]
via_ir = false
optimizer_runs = 200
fuzz.runs = 100
[fmt]
line_length = 120
tab_width = 4
quote_style = "single"
sort_imports = true
number_underscore = "thousands"
[rpc_endpoints]
anvil = "http://127.0.0.1:8545"
mainnet = "https://mainnet.infura.io/v3/${INFURA_KEY}"
sepolia = "https://sepolia.infura.io/v3/${INFURA_KEY}"
linea = "https://linea-mainnet.infura.io/v3/${INFURA_KEY}"
linea_sepolia = "https://linea-sepolia.infura.io/v3/${INFURA_KEY}"
polygon_pos = "https://polygon-mainnet.infura.io/v3/${INFURA_KEY}"
polygon_amoy = "https://polygon-amoy.infura.io/v3/${INFURA_KEY}"
blast = "https://blast-mainnet.infura.io/v3/${INFURA_KEY}"
blast_sepolia = "https://blast-sepolia.infura.io/v3/${INFURA_KEY}"
optimism = "https://optimism-mainnet.infura.io/v3/${INFURA_KEY}"
optimism_sepolia = "https://optimism-sepolia.infura.io/v3/${INFURA_KEY}"
arbitrum = "https://arbitrum-mainnet.infura.io/v3/${INFURA_KEY}"
arbitrum_sepolia = "https://arbitrum-sepolia.infura.io/v3/${INFURA_KEY}"
celo = "https://celo-mainnet.infura.io/v3/${INFURA_KEY}"
celo_alfajores = "https://celo-alfajores.infura.io/v3/${INFURA_KEY}"
zksync = "https://zksync-mainnet.infura.io/v3/${INFURA_KEY}"
zksync_sepolia = "https://zksync-sepolia.infura.io/v3/${INFURA_KEY}"
mantle = "https://mantle-mainnet.infura.io/v3/${INFURA_KEY}"
mantle_sepolia = "https://mantle-sepolia.infura.io/v3/${INFURA_KEY}"
polygon_zkevm = "https://zkevm-rpc.com"
polygon_zkevm_testnet = "https://rpc.public.zkevm-test.net"
[etherscan]
sepolia = { key = "${ETHERSCAN_API_KEY}" }
mainnet = { key = "${ETHERSCAN_API_KEY}" }
linea = { key = "${ETHERSCAN_API_KEY}" }
linea_sepolia = { key = "${ETHERSCAN_API_KEY}" }
polygon_pos = { key = "${ETHERSCAN_API_KEY}" }
polygon_amoy = { key = "${ETHERSCAN_API_KEY}" }
blast = { key = "${ETHERSCAN_API_KEY}" }
blast_sepolia = { key = "${ETHERSCAN_API_KEY}" }
optimism = { key = "${ETHERSCAN_API_KEY}" }
optimism_sepolia = { key = "${ETHERSCAN_API_KEY}" }
arbitrum = { key = "${ETHERSCAN_API_KEY}" }
arbitrum_sepolia = { key = "${ETHERSCAN_API_KEY}" }
celo = { key = "${ETHERSCAN_API_KEY}" }
celo_alfajores = { key = "${ETHERSCAN_API_KEY}" }
zksync = { key = "${ETHERSCAN_API_KEY}" }
zksync_sepolia = { key = "${ETHERSCAN_API_KEY}" }
mantle = { key = "${ETHERSCAN_API_KEY}" }
mantle_sepolia = { key = "${ETHERSCAN_API_KEY}" }
polygon_zkevm = { key = "${ETHERSCAN_API_KEY}" }
polygon_zkevm_testnet = { key = "${ETHERSCAN_API_KEY}" }
# See more config options https://github.com/foundry-rs/foundry/tree/master/config