Hyra Contracts is the smart contract backbone of the Hyra DAO - delivering a fully upgradeable, DAO-controlled architecture for governance, token management, and secure protocol upgrades.
Built with Hardhat and OpenZeppelin upgradeable libraries, it empowers communities to own and evolve their protocol without compromising security.
- DAO-First Design - Every critical action (minting, pausing, upgrading) is gated by on-chain governance.
- Upgradeable Architecture - Safe, scheduled upgrades via
HyraGovernor+HyraTimelock+HyraProxyAdmin. - Time-Locked Security - Sensitive actions delayed to give the community time to react.
- Modular System - Core contracts, proxy administration, and mocks for testing all separated for clarity.
The heart of the ecosystem - HyraToken - is a governance-ready, upgradeable ERC20 with built-in safeguards:
- 2.5B HYRA initial supply at launch.
- Delegated Voting for DAO proposals.
- DAO-Controlled Minting with annual caps & per-minter quotas.
- Pause/Unpause capability for emergency stops.
- Burnable by any holder.
- Fully upgradeable via DAO-controlled proxy flow.
contracts/
core/ # Main DAO logic (Governor, Timelock, Token)
security/ # Security contracts (DAORoleManager, SecureExecutorManager, etc.)
mocks/ # Mocks for testing upgrades (e.g., HyraTokenV2)
interfaces/ # Interfaces
proxy/ # Proxy contracts and admin
utils/ # Utility contracts
docs/ # Documentation and audit reports
audit/ # Audit reports and security analysis
yarn install
npx hardhat compile
npx hardhat testRun local node:
npx hardhat nodeDeploy:
npx hardhat run scripts/deploy.ts --network localhost- Documentation Overview - Complete documentation guide
- Audit Reports - Security audit reports and fixes
- Security Implementation - Security implementation details
All CertiK audit findings have been resolved (22/22 - 100% resolution rate). The codebase is production-ready with enhanced security measures.