-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfoundry.toml
More file actions
45 lines (41 loc) · 1.46 KB
/
foundry.toml
File metadata and controls
45 lines (41 loc) · 1.46 KB
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]
src = "src"
out = "out"
optimizer = false
via_ir = false
bytecode_hash = "none"
ffi = true
ast = true
build_info = true
libs = ["lib"]
extra_output = ["storageLayout"]
solc_version = "0.8.28"
remappings = [
'ds-test/=lib/forge-std/lib/ds-test/src/',
'forge-std/=lib/forge-std/src/',
'solady/=lib/solady/src/',
'@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/',
'@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/',
'openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/',
'ERC-7540/=lib/ERC-7540-Reference/src/'
]
[profile.release]
optimizer = true
optimizer_runs = 50
dotenv = true
[rpc_endpoints]
mainnet = "${ETH_RPC_URL}"
arbitrum = "${ARBITRUM_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
base = "${BASE_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"
avalanche = "${AVALANCHE_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
[etherscan]
mainnet = { key = "${ETH_EXPLORER_KEY}" }
arbitrum = { key = "${ARBITRUM_EXPLORER_KEY}", url = "https://api.arbiscan.io/api" }
optimism = { key = "${OPTIMISM_EXPLORER_KEY}", url = "https://api-optimistic.etherscan.io/api" }
polygon = { key = "${POLYGON_EXPLORER_KEY}", url = "https://api.polygonscan.com/api" }
base = { key = "${BASE_EXPLORER_KEY}", url = "https://api.basescan.org/api"}
avalanche = { key = "${AVALANCHE_EXPLORER_KEY}", url = "https://api.snowscan.xyz/api"}
sepolia = { key = "${ETH_EXPLORER_KEY}", url = ""}