Skip to main content

Module contract

Module contract 

Source
Expand description

Resolve contract: agent-wait/v0 through the vendored pin.

The L2 entry is contract.json: verify capability, then load the relative entry_schema. $id is not the contract-entry mechanism.

Structs§

ContractManifest
Capability manifest on disk or bundled with the crate.
ResolvedContract
A resolved pin: verified capability plus loaded entry schema.

Constants§

CAPABILITY
Opaque capability token for this pin.
PINNED_CRUCIBLE_SHA
Crucible commit this tree vendors.

Functions§

bundled_entry_schema
Bundled entry schema document, including $id.
bundled_message_schema
JSON Schema for one admitted message_type, selected from $defs.
resolve_bundled
Resolve the bundled pin for capability.
resolve_from_dir
Resolve capability from a vendored directory containing contract.json.