Skip to main content

full_attribution

Function full_attribution 

Source
pub fn full_attribution(
    data_hash: u64,
    worker_did: u64,
    activity_hash: u64,
    ts: u64,
) -> [NQuin; 3]
Expand description

Full PROV-O labor attribution: creator + source + generated-at.

Returns 3 quins in PROVENANCE_CONTEXT:

  • dcterms:creator = worker DID hash
  • prov:wasAttributedTo = worker DID hash
  • prov:wasGeneratedBy = activity hash