live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/pledge-core


@orangecheck/pledge-core / PledgeEnvelope

Interface: PledgeEnvelope

Defined in: pledge-core/src/types.ts:75

Properties

PropertyTypeDescriptionDefined in
<a id="property-agent_address"></a> agent_address?stringOptional — Bitcoin address of the agent. Required iff via_delegation is present.pledge-core/src/types.ts:98
<a id="property-bond"></a> bondPledgeBond-pledge-core/src/types.ts:86
<a id="property-counterparty"></a> counterpartystring | null-pledge-core/src/types.ts:87
<a id="property-dispute"></a> disputePledgeDispute-pledge-core/src/types.ts:88
<a id="property-expires_at"></a> expires_atstring-pledge-core/src/types.ts:85
<a id="property-id"></a> idstring64-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> noncestring32 lowercase hex chars (16 random bytes). MUST be non-empty.pledge-core/src/types.ts:93
<a id="property-proposition"></a> propositionstring-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> resolutionPledgeResolution-pledge-core/src/types.ts:83
<a id="property-resolves_at"></a> resolves_atPledgeResolvesAt-pledge-core/src/types.ts:84
<a id="property-sig"></a> sigPledgeSignature-pledge-core/src/types.ts:100
<a id="property-swearer"></a> swearerPledgeSwearer-pledge-core/src/types.ts:81
<a id="property-sworn_at"></a> sworn_atstring-pledge-core/src/types.ts:91
<a id="property-v"></a> v1-pledge-core/src/types.ts:76
<a id="property-via_delegation"></a> via_delegation?stringOptional — present iff the pledge was signed by an agent under OC Agent delegation.pledge-core/src/types.ts:96