-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
40 lines (37 loc) · 1.72 KB
/
foundry.toml
File metadata and controls
40 lines (37 loc) · 1.72 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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
optimizer = true
ffi = true
additional_compiler_profiles = [
{ name = "no-opt", optimizer_runs = 0 },
{ name = "paris", evm_version = "paris" },
{ name = "ntt-opt", optimizer_runs = 200, via_ir = true, evm_version = "london", version = "=0.8.19"}
]
compilation_restrictions = [
{ paths = "lib/bold/contracts/src/TroveManager.sol", optimizer_runs = 0 },
{ paths = "lib/mento-core/contracts/tokens/StableTokenV3.sol", evm_version = "paris" },
{ paths = "lib/mento-stabletoken-ntt/evm/src/NttManager/NttManager.sol", optimizer_runs = 200, via_ir = true, evm_version = "london", version = "=0.8.19"}
]
fs_permissions = [
{ access = "read-write", path = "cache"},
{ access = "read-write", path = "out/"},
{ access = "read", path = ".treb/registry.json"},
{ access = "read", path = ".treb/addressbook.json"},
{ access = "read", path = "script/config/"},
{ access = "read", path = "mgps/"}
]
[lint]
ignore = ["**/*"]
[rpc_endpoints]
celo = "${CELO_RPC_URL}"
celo_sepolia = "${CELO_SEPOLIA_RPC_URL}"
monad = "${MONAD_RPC_URL}"
monad_testnet = "${MONAD_TESTNET_RPC_URL}"
[etherscan]
# vbase = { key = "${TENDERLY_ACCESS_TOKEN}", chain = 8453, url = "${TENDERLY_VBASE_RPC_URL}/verify/etherscan" }
monad = { key = "${ETHERSCAN_API_KEY}", chain = 143, url = "https://api.etherscan.io/v2/api?chainid=143"}
celo = { key = "${ETHERSCAN_API_KEY}", chain = 42220, url = "https://api.etherscan.io/v2/api?chainid=42220" }
# chain-11142220 = { key = "${ETHERSCAN_API_KEY}", chain = 11142220, url = "https://api.etherscan.io/v2/api?chainid=11142220" }
# celo_sepolia = { key = "${ETHERSCAN_API_KEY}", chain = 11142220, url = "https://api.etherscan.io/v2/api?chainid=11142220" }