cd2b889c2f
Signed-off-by: AlienTornadosaurusHex <>
45 lines
982 B
TOML
45 lines
982 B
TOML
[profile.default]
|
|
# General
|
|
src = 'src'
|
|
out = 'out'
|
|
libs = ["node_modules", "lib"]
|
|
|
|
# Compiler
|
|
auto_detect_solc = true
|
|
via_ir = true
|
|
optimizer = true
|
|
optimizer-runs = 1
|
|
|
|
# Network
|
|
chain_id = 1
|
|
rpc_endpoints = { mainnet = "${MAINNET_RPC_URL}" }
|
|
|
|
# Tests
|
|
verbosity = 2
|
|
|
|
# Remappings
|
|
remappings = [
|
|
'ds-test/=lib/ds-test/src/',
|
|
'solmate/=lib/solmate/src/',
|
|
'forge-std/=lib/forge-std/src/',
|
|
'torn-token/=lib/torn-token/',
|
|
'tornado-governance/=lib/tornado-governance/',
|
|
'tornado-anonymity-mining/=lib/tornado-anonymity-mining/',
|
|
'@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/',
|
|
'@uniswap/v3-periphery/=lib/v3-periphery/',
|
|
'@uniswap/v3-core/=lib/v3-core/',
|
|
]
|
|
|
|
[fmt]
|
|
line_length = 110
|
|
number_underscore = 'thousands'
|
|
bracket_spacing = true
|
|
wrap_comments = true
|
|
ignore = [
|
|
"./src/v1/*",
|
|
"./src/v1/interfaces/*",
|
|
"./src/v1/libraries/*",
|
|
"./src/v1/staking/*",
|
|
"./src/v1/tornado-proxy/*",
|
|
"./src/v1/utils/*"
|
|
] |