On-chain Registry
The OPMRegistry smart contract is the source of truth for package metadata, agent scores, author reputation, and registered agents.Deployment
What It Stores
Key Operations
registerPackage— Store a new version with checksum, signature, and ENS bindingsubmitScore— Agent submits risk score + reasoning (authorized agents only)setReportURI— Attach Fileverse/IPFS report link to a versionregisterAgent— Permissionless agent registration with ZK proof hashgetSafestVersion— Get the lowest-risk version in a lookback windowgetPackageInfo— Full metadata + aggregate score for a version
Author Reputation
Computed asreputationTotal / reputationCount — the average of all agent scores received across all packages published by an author. Lower is better.