Skip to content
1 viewer
View

Agreement reference

0 pages, 5 routes, 5 connections and 5 CLI commands, generated from the declarations of Agreement 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.

Connections · 5

Agreement.Create

Create a multi-party agreement binding parties (by public key) to executable contract logic, optionally locking an escrow it settles.

Agreement.Create input
FieldTypeRequiredDescriptionAllowed
partiesrequired
thresholdrequired
2 rows
Calls and output

Agreement.Evaluate

Evaluate a bound agreement's contract against facts on CRE8VM and route emitted obligations (obligation.release / obligation.refund) to Escrow.

Agreement.Evaluate input
FieldTypeRequiredDescriptionAllowed
agreement_idrequired
1 row
Calls and output

Agreement.Get

Fetch one agreement by id.

Agreement.Get input
FieldTypeRequiredDescriptionAllowed
agreement_idrequired
1 row
Calls and output

Agreement.List

List all agreements.

Calls and output

Agreement.Sign

Add a party's Ed25519 signature over the instrument. Binds the agreement once an N-of-M quorum of valid signatures is collected.

Agreement.Sign input
FieldTypeRequiredDescriptionAllowed
agreement_idrequired
public_key_b64required
signature_b64required
3 rows
Calls and output

CLI commands · 5

agreement create

Create a multi-party agreement (optionally locking an escrow it settles)

agreement create {"title":"Sale","parties":["<pkA>","<pkB>"],"threshold":2,"depositor":"alice","beneficiary":"bob","asset_id":"cre8/usd","amount":100}

agreement evaluate

Evaluate a bound agreement against facts and settle obligations

agreement evaluate {"agreement_id":"agreement-...","facts":{"deliverable_accepted":true}}

agreement get

Fetch one agreement by id

agreement get {"agreement_id":"agreement-..."}

agreement list

List all agreements

agreement list

agreement sign

Add a party's signature over the instrument

agreement sign {"agreement_id":"agreement-...","public_key_b64":"<pk>","signature_b64":"<sig>"}

Schema and data model

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

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerAgreement
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • Agreement
Hyper vertex kinds written
  • Agreement
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
  • Escrow