-
Notifications
You must be signed in to change notification settings - Fork 2
/
foundry.toml
46 lines (42 loc) · 1.86 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
[profile.default]
solc_version = "0.8.25"
evm_version = "cancun"
bytecode_hash = "none"
optimizer = true
optimizer_runs = 20_000
fs_permissions = [{ access = "read-write", path = "./addresses.json" }]
libs = ["lib"]
remappings = [
"@openzeppelin-contracts/=lib/hats-module/lib/openzeppelin-contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"ERC1155/=lib/hats-protocol/lib/ERC1155/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"hats-module/=lib/hats-module/src/",
"hats-protocol/=lib/hats-protocol/src/",
"murky/=lib/murky/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
"openzeppelin/=lib/hats-module/lib/openzeppelin-contracts/contracts/",
"solady/=lib/hats-protocol/lib/solady/src/",
"solbase/=lib/hats-protocol/lib/solbase/src/",
"utils/=lib/hats-protocol/lib/utils/",
]
[profile.intense.fuzz]
runs = 10000
[rpc_endpoints]
gnosis = "${GNOSIS_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
base = "${BASE_RPC_URL}"
[etherscan]
arbitrum = { key = "${ARBISCAN_API_KEY}" }
mainnet = { key = "${ETHERSCAN_API_KEY}" }
optimism = { key = "${OPTIMISTIC_ETHERSCAN_API_KEY}" }
polygon = { key = "${POLYGONSCAN_API_KEY}", url = "https://api.polygonscan.com/api/" }
sepolia = { key = "${ETHERSCAN_API_KEY}" }
gnosis = { key = "${GNOSISSCAN_API_KEY}", url = "https://api.gnosisscan.io/api/" }
base = { key = "${BASESCAN_API_KEY}", url = "https://api.basescan.org/api/" }