on-chain / missionregistry
docs / on-chain / missionregistry

MissionRegistry

One account per mission: immutable parameters at initialization, versioned results after.

What it records

FieldPurpose
Mission IDRandom, unique and never reused
Rules hashSHA-256 commitment to the mission parameters, risk limits and maximum loss configuration
Engine versionThe scoring engine the mission is evaluated with
Initialization timeAnchor for the term and payout windows
Payout capUpper bound on total disbursement for the mission
Result hashCommitment to each published result
Evidence batchThe evidence batch the result was computed from

Instructions

register_mission records immutable mission parameters, risk limits and maximum loss configuration at initialization. publish_result executes for each published result. Individual trades are never written here; they’re anchored in EvidenceRegistry.

Results are append-only and versioned. A correction publishes a new version linked to the original; nothing is overwritten.