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]>
41 lines
2.0 KiB
Solidity
41 lines
2.0 KiB
Solidity
// SPDX-License-Identifier: GPL-3.0-only
|
|
pragma solidity ^0.8.31;
|
|
|
|
/**
|
|
* @title HanzoSafe re-exports
|
|
* @notice Consolidated re-export of the Lux Safe + Quasar signer + DAO
|
|
* module stack. Hanzo uses the SAME audited contracts as Lux DAO;
|
|
* this file just provides a single import surface so downstream
|
|
* Hanzo apps (hanzo.vote) and deploys depend on the hanzoai/safe
|
|
* package rather than reaching directly into the luxfi/standard
|
|
* package.
|
|
*
|
|
* No bytecode lives here. Brand-specific configuration is in
|
|
* config/hanzo.json — addresses, RPC, treasury, voting params.
|
|
*
|
|
* To bump the audited contract version, bump the luxfi-standard
|
|
* peer-dependency in package.json. There is no contract code to fork.
|
|
*/
|
|
|
|
// Safe stack
|
|
import { Safe } from "@luxfi/standard/safe/Safe.sol";
|
|
import { SafeFactory } from "@luxfi/standard/safe/SafeFactory.sol";
|
|
|
|
// Classical + first-gen PQ signers
|
|
import { SafeMLDSASigner } from "@luxfi/standard/safe/SafeMLDSASigner.sol";
|
|
import { SafeCGGMP21Signer } from "@luxfi/standard/safe/SafeCGGMP21Signer.sol";
|
|
import { SafeFROSTSigner } from "@luxfi/standard/safe/SafeFROSTSigner.sol";
|
|
import { SafeFROSTCoSigner } from "@luxfi/standard/safe/SafeFROSTCoSigner.sol";
|
|
import { SafeLSSSigner } from "@luxfi/standard/safe/SafeLSSSigner.sol";
|
|
|
|
// Quasar consensus signer triad
|
|
import { SafeCoronaSigner, SafeCoronaFactory } from "@luxfi/standard/safe/SafeCoronaSigner.sol";
|
|
import { SafePulsarSigner, SafePulsarFactory } from "@luxfi/standard/safe/SafePulsarSigner.sol";
|
|
import { SafeMagnetarSigner, SafeMagnetarFactory } from "@luxfi/standard/safe/SafeMagnetarSigner.sol";
|
|
|
|
// DAO modules + Governor
|
|
import { ModuleGovernorV1 } from "@luxfi/standard/dao/deployables/modules/ModuleGovernorV1.sol";
|
|
import { ModuleFractalV1 } from "@luxfi/standard/dao/deployables/modules/ModuleFractalV1.sol";
|
|
import { SystemDeployerV1 } from "@luxfi/standard/dao/singletons/SystemDeployerV1.sol";
|
|
import { Governor } from "@luxfi/standard/governance/Governor.sol";
|