RadarFound by FHEVM

CoFHE FactoryRegistry migration automates contract registration

Nov 24 find · published Nov 22
GHGitHub · FhenixProtocol/cofhe-contracts · 1 min readRead original
Developer tools, templates and guides from the teamsCoFHE FactoryRegistry feature for contract access management

Fhenix's CoFHE contracts PR #192 adds FactoryRegistry, a tree-based contract registration system that automates access list management. Approved factories can now register their own deployments to the TaskManager access list instead of requiring manual ops work. The registry supports up to 8 levels and 500 live contracts per factory, with unregister removing contracts and their subtrees in under 11.4M gas. Migration functions adoptFactories and adopt move existing manually-listed contracts into the tree structure without access gaps. The same access control model applies: DEFAULT_ADMIN_ROLE with delay, UPGRADER_ROLE, FACTORY_APPROVER_ROLE, and REVOKER_ROLE. Tests include 34 Hardhat tests and 9 Foundry gas tests.

8 levelsFactoryRegistry tree depth
500Live contracts per factory
11.4MGas for full tree unregister

Comments

Sign in to join the conversation.

More from this batch

Blind Cup liar's dice game launches on Sepoliacommunity.zama.aiCoFHE contracts v1.0.3 released with TaskManager refactoringGitHub · FhenixProtocol/cofhe-contractsfhEVM coprocessor adds pad-based input unmaskingGitHub · zama-ai/fhevmCoFHE fixes access control vulnerability in transient receiversGitHub · FhenixProtocol/cofhe-contractsCoFHE CommitmentRegistry silently discards conflicting hashesGitHub · FhenixProtocol/cofhe-contractsCoFHE TaskManager security zone validation fixedGitHub · FhenixProtocol/cofhe-contracts
FHEVMConfidential smart contracts on EVM chains with fully homomorphic encryption, across every stack — Zama’s fhEVM, Fhenix CoFHE, Inco and newer FHE coprocessors and rollups: confidential tokens (ERC-7984), the apps built on them, releases and launches, adoption, audits and incidents, hackathons and research.