-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathfoundry.toml
More file actions
45 lines (37 loc) · 1.75 KB
/
foundry.toml
File metadata and controls
45 lines (37 loc) · 1.75 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 = "contracts"
out = "out"
libs = ["dependencies"]
evmVersion = "cancun"
gas_reports = ["TermMaxMarketV2", "TermMaxOrderV2", "GearingTokenWithERC20V2", "TermMaxRouterV2", "TermMaxVaultV2"]
viaIR = true
optimizer = true
optimizer_runs = 200
ffi = true
fs_permissions = [
{ access = "read", path = "test/testdata" },
{ access = "read", path = "script/deploy/deploydata" },
{ access = "read-write", path = "deployments" }
]
[soldeer]
# whether soldeer manages remappings
remappings_generate = true
# whether soldeer re-generates all remappings when installing, updating or uninstalling deps
remappings_regenerate = false
# whether to suffix the remapping with the version: `name-a.b.c`
remappings_version = false
# a prefix to add to the remappings ("@" would give `@name`)
remappings_prefix = ""
# where to store the remappings ("txt" for `remappings.txt` or "config" for `foundry.toml`)
# ignored when `soldeer.toml` is used as config (uses `remappings.txt`)
remappings_location = "txt"
[dependencies]
forge-std = "1.9.6"
"@openzeppelin-contracts" = "5.2.0"
"@openzeppelin-contracts-upgradeable" = "5.2.0"
"@chainlink-contracts" = { version = "v1.12.0", git = "https://github.com/smartcontractkit/chainlink.git", rev = "b57617ed2249ac711db75e5bef5a0a78bf10b2aa"}
"@uniswap-v3-core" = "1.0.2-solc-0.8-simulate"
"@uniswap-v3-periphery" = "1.4.4"
pendle-core-v2 = { version = "1.0.0", git = "https://github.com/pendle-finance/pendle-core-v2-public.git", rev = "d3dafee28062c7ee14bc2471fa0d6b4a4bc2569f" }
metamorpho = { version = "1.0.0", git = "https://github.com/morpho-org/metamorpho.git", rev = "00da9ad27da8051bce663eeac02f3b9c0c0aa8d8" }
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options