@orangecheck/pledge-core / PledgeEnvelope
Interface: PledgeEnvelope
Defined in: pledge-core/src/types.ts:75
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-agent_address"></a> agent_address? | string | Optional — Bitcoin address of the agent. Required iff via_delegation is present. | pledge-core/src/types.ts:98 |
<a id="property-bond"></a> bond | PledgeBond | - | pledge-core/src/types.ts:86 |
<a id="property-counterparty"></a> counterparty | string | null | - | pledge-core/src/types.ts:87 |
<a id="property-dispute"></a> dispute | PledgeDispute | - | pledge-core/src/types.ts:88 |
<a id="property-expires_at"></a> expires_at | string | - | pledge-core/src/types.ts:85 |
<a id="property-id"></a> id | string | 64-hex of sha256(canonical_message). | pledge-core/src/types.ts:79 |
<a id="property-kind"></a> kind | "pledge" | - | pledge-core/src/types.ts:77 |
<a id="property-nonce"></a> nonce | string | 32 lowercase hex chars (16 random bytes). MUST be non-empty. | pledge-core/src/types.ts:93 |
<a id="property-proposition"></a> proposition | string | - | pledge-core/src/types.ts:82 |
<a id="property-remediation"></a> remediation | "breach_recorded" | Fixed at "breach_recorded" in v0.1. | pledge-core/src/types.ts:90 |
<a id="property-resolution"></a> resolution | PledgeResolution | - | pledge-core/src/types.ts:83 |
<a id="property-resolves_at"></a> resolves_at | PledgeResolvesAt | - | pledge-core/src/types.ts:84 |
<a id="property-sig"></a> sig | PledgeSignature | - | pledge-core/src/types.ts:100 |
<a id="property-swearer"></a> swearer | PledgeSwearer | - | pledge-core/src/types.ts:81 |
<a id="property-sworn_at"></a> sworn_at | string | - | pledge-core/src/types.ts:91 |
<a id="property-v"></a> v | 1 | - | pledge-core/src/types.ts:76 |
<a id="property-via_delegation"></a> via_delegation? | string | Optional — present iff the pledge was signed by an agent under OC Agent delegation. | pledge-core/src/types.ts:96 |