mirror of
https://github.com/hanzoai/safe.git
synced 2026-10-30 18:22:58 +00:00
Pure config + remappings (no local Solidity beyond the HanzoSafe.sol re-export barrel); mirrors @zooai/safe. config/hanzo.json carries Hanzo chain ids (36963 mainnet / 36962 testnet) + voting params + branding. Co-authored-by: Hanzo Dev <[email protected]>
29 lines
1.1 KiB
TOML
29 lines
1.1 KiB
TOML
[profile.default]
|
|
src = "contracts"
|
|
test = "test"
|
|
out = "out"
|
|
libs = ["../../lux/standard/lib", "../../lux/standard/contracts"]
|
|
allow_paths = ["../../lux/standard"]
|
|
optimizer = true
|
|
optimizer_runs = 200
|
|
via_ir = true
|
|
solc_version = "0.8.31"
|
|
auto_detect_solc = true
|
|
evm_version = "cancun"
|
|
|
|
# Single source of truth: Hanzo Safe + DAO contracts come from luxfi/standard.
|
|
# No local contract code. Bump @luxfi/standard in package.json to upgrade.
|
|
remappings = [
|
|
"@luxfi/standard/=../../lux/standard/contracts/",
|
|
"@luxfi/contracts/=../../lux/standard/contracts/",
|
|
"@safe-global/safe-smart-account/=../../lux/standard/lib/safe-smart-account/contracts/",
|
|
"@gnosis.pm/safe-contracts/=../../lux/standard/lib/safe-smart-account/contracts/",
|
|
"safe-smart-account/=../../lux/standard/lib/safe-smart-account/contracts/",
|
|
"@openzeppelin/contracts/=../../lux/standard/lib/openzeppelin-contracts/contracts/",
|
|
"@openzeppelin/contracts-upgradeable/=../../lux/standard/lib/openzeppelin-contracts-upgradeable/contracts/",
|
|
"@hanzoai/safe/=./",
|
|
"forge-std/=../../lux/standard/lib/forge-std/src/",
|
|
]
|
|
|
|
ignored_warnings_from = ["../../lux/standard/lib/**"]
|