-
Notifications
You must be signed in to change notification settings - Fork 8
/
foundry.toml
43 lines (37 loc) · 1.5 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
[profile.default]
solc = "0.8.22"
src = "src"
out = "out"
script = "scripts"
libs = ["lib"]
# solidity 0.8.22 defaults to the shanghai fork which introduces the PUSH0 opcode.
# Most chains outside of mainnet have not implemented this opcode yet, so we explicitly
# make sure solidity compiles using the paris fork to maintain cross-chain compatibility
evm_version = "paris"
remappings = [
"@ds-test/=lib/forge-std/lib/ds-test/src/",
"@forge-std/=lib/forge-std/src/",
"@openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
"@safe-contracts/=lib/safe-contracts/contracts/",
"@src/=src/",
"@test/=test/",
"@merkle-generator/=lib/merkle-proof-generator/src/",
"@scripts/=scripts/",
"@seaport-types/=lib/seaport-types/src/",
"@seaport-core/=lib/seaport-core/src/",
"seaport-types/=lib/seaport-types/",
"seaport-core/=lib/seaport-core/",
"@solady/=lib/Solady/src/",
"@seaport-sol/=lib/seaport-sol/src/",
]
fs_permissions = [{ access = 'read', path = './scripts/config/' }]
[etherscan]
mainnet = { key = "$API_KEY_ETHERSCAN" }
sepolia = { key = "${API_KEY_ETHERSCAN}" }
polygon = { key = "${API_KEY_POLYGONSCAN}" }
mumbai = { key = "${API_KEY_POLYGONSCAN}" }
[rpc_endpoints]
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${API_KEY_RPC_MAINNET}"
sepolia = "https://eth-sepolia.g.alchemy.com/v2/${API_KEY_RPC_SEPOLIA}"
polygon = "https://polygon-mainnet.g.alchemy.com/v2/${API_KEY_RPC_POLYGON}"
mumbai = "https://polygon-mumbai.g.alchemy.com/v2/${API_KEY_RPC_MUMBAI}"