Agreement reference
0 pages, 5 routes, 5 connections and 5 CLI commands, generated from the declarations of Agreement without reading storage or running anything.
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.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| parties | required | |||
| threshold | required |
- Output keyagreement.result
- Classificationreal
- POST /agreement/createHTTP route
- agreement createCLI command
Agreement.Evaluate
Evaluate a bound agreement's contract against facts on CRE8VM and route emitted obligations (obligation.release / obligation.refund) to Escrow.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| agreement_id | required |
- Output keyagreement.result
- Classificationreal
- POST /agreement/evaluateHTTP route
- agreement evaluateCLI command
Agreement.Get
Fetch one agreement by id.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| agreement_id | required |
- Output keyagreement.result
- Classificationroute_handler
- POST /agreement/getHTTP route
- agreement getCLI command
Agreement.List
List all agreements.
- Output keyagreement.result
- Classificationroute_handler
- GET /agreement/listHTTP route
- agreement listCLI command
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.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| agreement_id | required | |||
| public_key_b64 | required | |||
| signature_b64 | required |
- Output keyagreement.result
- Classificationreal
- POST /agreement/signHTTP route
- agreement signCLI command
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.
- Authorityhyper
- Preferred truthhyper
- App ownerAgreement
- SQL projectionnone · DDL declarations: 0
- Agreement
- Agreement
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Capabilities and dependencies
- Protocol
- Escrow