CharterAgreementProtocol.ArtifactSet (Charter Agreement Protocol v0.1.0)

Copy Markdown View Source

Raw caller-supplied artifacts for pure, non-authorizing set verification.

Summary

Functions

Build a typed raw artifact set without verifying or reordering it.

Types

t()

@type t() :: %CharterAgreementProtocol.ArtifactSet{
  acceptances: [binary()],
  descriptors: [binary()],
  revisions: [binary()],
  terminations: [binary()]
}

Functions

build(revisions, acceptances, terminations, descriptors)

@spec build(term(), term(), term(), term()) ::
  {:ok, t()} | {:error, CharterAgreementProtocol.Error.t()}

Build a typed raw artifact set without verifying or reordering it.