代码拉取完成,页面将自动刷新
[profile.default]
solc = '0.8.24'
evm_version='cancun'
src = 'contracts'
out = 'out'
libs = ["node_modules", "lib"]
test = 'test/foundry'
remappings = [
'@rari-capital/solmate/=lib/solmate/',
'ds-test/=lib/ds-test/src/',
'forge-std/=lib/forge-std/src/',
'murky/=lib/murky/src/',
'@openzeppelin/=lib/openzeppelin-contracts/',
'solarray/=lib/solarray/src/',
'solady/=lib/solady/',
'seaport-sol/=lib/seaport-sol/',
'seaport-types/=lib/seaport-types/',
'seaport-core/=lib/seaport-core/',
'seaport/=contracts/'
]
optimizer_runs = 4_294_967_295
fs_permissions = [
{ access = "read", path = "./optimized-out" },
{ access = "read", path = "./reference-out" },
{ access = "write", path = "./call-metrics.txt" },
{ access = "write", path = "./mutation-metrics.txt" },
{ access = "write", path = "./assume-metrics.txt" },
{ access = "write", path = "./fuzz_debug.json" }
]
[profile.validator]
solc = '0.8.17'
src = 'contracts/helpers/order-validator'
optimizer_runs = 1
[fuzz]
runs = 1_000
max_test_rejects = 1_000_000
[profile.reference]
solc = '0.8.24'
src = 'reference'
via_ir = false
out = 'reference-out'
script = 'reference'
test = 'test/foundry'
cache_path = 'reference-cache'
[profile.optimized]
via_ir = true
out = 'optimized-out'
script = 'contracts'
bytecode_hash = 'none'
# no need to compile tests with via-ir since they load optimized bytecode directly by default
test ='contracts'
[profile.test]
src = 'test/foundry'
[profile.test.fuzz]
runs = 1_000
[profile.lite]
out = 'optimized-out'
[profile.debug]
src = 'contracts'
optimizer = false
[profile.moat_debug]
optimizer = false
test = 'test/foundry/new'
[profile.offerers]
test='test/foundry/offerers'
[fmt]
line_length = 80
tab_width = 4
bracket_spacing = true
# See more config options https://github.com/gakonst/foundry/tree/master/config
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。