Skip to main content

Treasury Safety and Governance

The HYFY treasury is a smart contract with role-based permissions and explicit limits. It holds the initial token supply, funds activated claim pools, executes authorized burns, manages approved liquidity positions, and protects reserves needed for community claims.

Separated Responsibilities

Different roles govern administration, routine operations, claims distribution, emergency response, and approved ecosystem actions. The claim distributor cannot freely use treasury funds; it receives only the authority and funding required for valid claim pools. Sensitive operations check both role authorization and contract state.

The contracts support emergency pause controls for stopping affected operations during an incident. Resuming operation requires a more deliberate administrative path, reducing the chance that a compromised emergency key can silently restart the system.

Timelocked Governance

HYFY includes a TimelockController-based governance path. Governed changes can be queued and executed only after the configured delay, giving observers time to inspect pending actions. Adjustable economic parameters are constrained by contract-level ranges and consistency checks; governance cannot mint new HYFY or exceed immutable claims limits.

The production admin, proposer, executor, operator, distributor, and guardian roles are identified in the deployment registry. Sensitive administration follows the published timelock and multisig structure, while obsolete deployer privileges are removed. On-chain role assignments, rather than team descriptions, are the authoritative proof of control.

Gradual Decentralization

HYFY may expand community governance as the network matures. That transition should be progressive: broader participation should follow demonstrated operational reliability, clear proposal rules, and safeguards against rushed or malicious parameter changes.

Governance is a control system, not a guarantee against every failure. Contract permissions, off-chain key management, monitoring, and transparent execution all remain necessary.


Who Can Do What

The contracts separate powers because routine automation, emergency response, and long-term governance have different risk profiles.

ResponsibilityTypical authorityWhy it is separate
Contract administrationTimelocked administratorControls roles and sensitive configuration through a delayed path
Economic parameter changesGovernor or timelockKeeps changes inside contract bounds and visible before execution
Monthly operationsRestricted operatorExecutes prepared actions without receiving unrestricted admin power
Claim fundingApproved distributorCan receive and distribute only properly funded claim pools
Emergency pauseGuardianCan stop affected actions quickly during an incident

The exact production addresses matter more than these labels. A secure role model on paper is not enough if one personal wallet holds every role.

Example Governance Change

Suppose future participation grows and governance decides that a bounded claim parameter should change. The change is proposed to the governance contract, checked against its allowed range, and scheduled through the timelock.

During the waiting period, observers can inspect the target contract, proposed value, and execution time. If the proposal is invalid, unsafe, or sent to the wrong address, it can be challenged before execution. After the delay, an authorized executor may complete the action, producing an on-chain record.

The same proposal cannot mint extra HYFY or remove the lifetime claim ceiling because those are outside the adjustable parameter surface.

Example Emergency Response

If monitoring detects a suspicious treasury call or compromised operational key, the guardian can pause the affected contracts. Pausing blocks normal sensitive operations while the team investigates balances, roles, pending timelock actions, and backend credentials.

Recovery should not consist of the same guardian immediately unpausing itself. The more deliberate administrative path confirms the remediation, rotates compromised authority where necessary, and records the reason for resumption.

Verifying Production Control

The production role matrix shows the admin, proposer, executor, operator, distributor, and guardian addresses; the timelock delay; the applicable multisig structure; and the removal of obsolete deployer authority. Role changes update the same registry and remain visible through contract events.

Users and reviewers should compare the registry with on-chain hasRole checks. A label such as “multisig” is not proof unless the address, owners, threshold, and executed transactions match the published control model.

The DAO Path

Community governance should expand only when participation, monitoring, and proposal review are mature enough to support it. Early decentralization that merely hands complex controls to low-participation voting can create new attack surfaces.

The intended path is progressive: transparent operations first, then governed parameter proposals, then broader community influence over eligible ecosystem decisions. Emergency and claims-reserve invariants remain necessary regardless of how decentralized voting becomes.