-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfoundry.toml
56 lines (50 loc) · 1.99 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
46
47
48
49
50
51
52
53
54
55
56
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
fs_permissions = [
{access = "read-write", path = "./bytecode/"},
{access = "read", path = "./script/"},
{access = "read-write", path = "./deployments/"},
{access = "read", path = "./dependencies/axis-core-1.0.4/script/env.json"},
]
ffi = true
solc_version = "0.8.19"
evm_version = "paris"
optimizer = true
optimizer_runs = 200
[fuzz]
runs = 1024
# Remappings are setup using remappings.txt, since forge seems to ignore remappings here
[fmt]
line_length = 100
tab_width = 4
bracket_spacing = false
multiline_func_header = "params_first"
quote_style = "double"
number_underscore = "thousands"
wrap_comments = false
ignore = [
"lib/**/*",
"dependencies/**/*",
"src/lib/**/*",
"test/lib/uniswap-v2/**/*",
"test/lib/uniswap-v3/**/*",
]
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
[soldeer]
remappings_generate = false # Disable replacing existing/custom remappings
remappings_regenerate = false
[dependencies]
forge-std = { version = "1.9.1" }
axis-core = { version = "1.0.4" }
"@openzeppelin-contracts" = { version = "4.9.2" }
"@openzeppelin-contracts-upgradeable" = { version = "4.9.2" }
"@uniswap-v2-core" = { version = "1.0.1" }
"@uniswap-v3-core" = { version = "1.0.1-solc-0.8-simulate" }
g-uni-v1-core = { version = "0.9.9", git = "https://github.com/Axis-Fi/g-uni-v1-core.git", rev = "d6bcb6e811e86d36bc836c002eb2e9a2c73d29ca" }
"@uniswap-v2-periphery" = { version = "1.0.1", git = "https://github.com/Axis-Fi/uniswap-v2-periphery.git", rev = "19be650786731dfe43cac3aac7a2d1f0731d18e2" }
"@uniswap-v3-periphery" = { version = "1.4.2-solc-0.8", git = "https://github.com/Uniswap/v3-periphery.git", rev = "b325bb0905d922ae61fcc7df85ee802e8df5e96c" }
solmate = { version = "6.8.0" }
clones-with-immutable-args = { version = "1.1.1", git = "https://github.com/wighawag/clones-with-immutable-args.git", rev = "f5ca191afea933d50a36d101009b5644dc28bc99" }
solady = { version = "0.0.124" }