-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathfoundry.toml
49 lines (43 loc) · 1.4 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
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
optimizer_runs = 10_000
gas_reports = ["Hats", "HatsIdUtilities"]
auto_detect_solc = false
solc = "0.8.17"
remappings = [
"ds-test/=lib/forge-std/lib/ds-test/src/",
"forge-std/=lib/forge-std/src/",
"solbase/=lib/solbase/src/",
"solady/=lib/solady/src/"
]
[fmt]
bracket_spacing = true
int_types = "long"
line_length = 120
multiline_func_header = "attributes_first"
number_underscore = "thousands"
quote_style = "double"
tab_width = 4
wrap_comments = false
[book]
book = "./book.toml"
[rpc_endpoints]
arbitrum = "${ARBITRUM_RPC}"
gnosis = "${GC_RPC}"
goerli = "${GOERLI_RPC}"
local = "http://localhost:8545"
mainnet = "${ETHEREUM_RPC}"
optimism = "${OPTIMISM_RPC}"
polygon = "${POLYGON_RPC}"
sepolia = "${SEPOLIA_RPC}"
[etherscan]
arbitrum = {key = "${ARBISCAN_KEY}", url = "https://api.arbiscan.io/api"}
goerli = {key = "${ETHERSCAN_KEY}", url = "https://api-goerli.etherscan.io/api"}
gnosis = {key = "${GNOSISSCAN_KEY}", url = "https://api.gnosisscan.io/api"}
mainnet = {key = "${ETHERSCAN_KEY}", url = "https://api.etherscan.io/api"}
optimism = {key = "${OPTIMISM_KEY}", url = "https://api-optimistic.etherscan.io/api"}
sepolia = {key = "${ETHERSCAN_KEY}", url = "https://api-sepolia.etherscan.io/api"}
polygon = {key = "${POLYGONSCAN_KEY}", url = "https://api.polygonscan.com/api"}
# See more config options https://github.com/foundry-rs/foundry/tree/master/config