Skip to main content

Module agreements

Module agreements 

Source
Expand description

Peer agreements

Functions§

agreements_for
Agreements a DID is party to (or that govern its relationship) — fills the directory’s agreement slot.
attach_chat_file
classify_chat_branch
create_agreement
Create a new draft agreement for a relationship, grounded in the non-derogable values floor (defaults to UDHR), with a pending consent for each party. Returns the created agreement.
create_chat_fragment
default_chat_file_sharing
get_chat_file_local_path
get_chat_graph
list_agreements
All peer agreements.
list_chat_branch_types
list_chat_files
list_chat_reactions
parse_chat_file_preview
save_agreement
Persist a full agreement (JSON) — for edits (undertakings, stage, etc.). Returns the refreshed list.
set_agreement_consent
Set a party’s consent on an agreement (state: pending / granted / withdrawn).
set_chat_file_sharing
start_chat_relay_poller
sync_chat_relay
toggle_chat_reaction
wordnet_chat_ontology_status