Skip to content
1 viewer
View

Provenance reference

1 page, 6 routes, 6 connections and 0 CLI commands, generated from the declarations of Provenance without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 2

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Overviewprovenance.indexhome/view/provenance0in navigation
Value chain detailprovenance.itemdetail/view/provenance/{chain_id}0provenance.indexValueChainhidden
2 rows

Connections · 6

ValueChain.Build

Chain a fab good's production (motion-trace sha256 + conduit witness + Poseidon2 chain hash) and creation (durable manufacture.create receipt) into one Merkle-linked value_chain.v1 structural witness, stored as a durable ValueChain vertex, wired into the durable provable-economy graph with `chains` lineage edges. Idempotent per fab job. Pass an optional order_id to append a settled Shop sale leaf, a value leaf (settled price ↔ STARK-proven production — proven work priced by market), and a payout leaf (the maker durably credited the proceeds, verified against their live wallet). Pass an optional case_id to append a decided courthouse verdict leaf (justice becomes provenance). Pass `lot_id` (or a `foodlot:` ref) instead of a fab job to chain a food lot: one `food_stage` leaf per lot of its Manufacture lineage (stage, lot_id, origin_ref, quantity_kg), from catch or harvest through the cooked dish, with the same sale, value and payout leaves when order_id is given.

ValueChain.Build input
FieldTypeRequiredDescriptionAllowed
fab_job_idoptional
lot_idoptional
line_unitoptional
owneroptional
line_unitsoptional
order_idoptional
case_idoptional
7 rows
Calls and output
  • Output keyprovenance.result
  • Classificationreal
  • POST /provenance/buildHTTP route

ValueChain.Get

Fetch one value chain by id.

ValueChain.Get input
FieldTypeRequiredDescriptionAllowed
chain_idrequired
1 row
Calls and output
  • Output keyprovenance.result
  • Classificationroute_handler
  • GET /provenance/getHTTP route

ValueChain.List

List value chains (newest first).

Calls and output
  • Output keyprovenance.result
  • Classificationroute_handler
  • GET /provenance/listHTTP route

ValueChain.Status

Provenance health: value-chain count + schema.

Calls and output
  • Output keyprovenance.result
  • Classificationroute_handler
  • GET /provenance/statusHTTP route

ValueChain.Verify

Independently re-verify a value chain: recompute the Merkle root + structural witness from the stored leaves and re-derive each leaf's content hash from its origin app (fab replay, manufacture SettledReceipt) — no trust in the server.

ValueChain.Verify input
FieldTypeRequiredDescriptionAllowed
chain_idrequired
1 row
Calls and output
  • Output keyprovenance.result
  • Classificationreal
  • POST /provenance/verifyHTTP route

ValueChain.ViewPatch

ValueChain.ViewPatch input
FieldTypeRequiredDescriptionAllowed
actionoptional
chain_idoptional
2 rows
Calls and output
  • Output keyprovenance.result
  • Classificationunclassified
  • GET /provenance/document/patchHTTP route

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
Hyper vertex kinds read
Hyper vertex kinds written
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol
  • View

Structure review · 1

Warnings · 1
  • Provenance · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)