Skip to content
On this page

Interface: CreatePledgeTerms

Defined in: pledge-core/src/types.ts:231 (opens in a new tab)

What a pledge says, before who signs it.

ExtendsLink to this section

Extended byLink to this section

PropertiesLink to this section

PropertyTypeDescriptionDefined in
bondPledgeBondInherited from PledgeCanonicalInput.bondpledge-core/src/types.ts:191 (opens in a new tab)
counterpartystring | nullInherited from PledgeCanonicalInput.counterpartypledge-core/src/types.ts:192 (opens in a new tab)
disputePledgeDisputeInherited from PledgeCanonicalInput.disputepledge-core/src/types.ts:193 (opens in a new tab)
expires_atstringInherited from PledgeCanonicalInput.expires_atpledge-core/src/types.ts:190 (opens in a new tab)
nonce?string32 lowercase hex chars (16 random bytes). If omitted, a fresh random nonce is generated via crypto.getRandomValues. Pass an explicit value for test-vector reproduction.Inherited from -pledge-core/src/types.ts:239 (opens in a new tab)
propositionstringInherited from PledgeCanonicalInput.propositionpledge-core/src/types.ts:187 (opens in a new tab)
remediation?"breach_recorded"Defaults to "breach_recorded" (the only legal value in v0.1).Inherited from -pledge-core/src/types.ts:241 (opens in a new tab)
resolutionPledgeResolutionInherited from PledgeCanonicalInput.resolutionpledge-core/src/types.ts:188 (opens in a new tab)
resolves_atPledgeResolvesAtInherited from PledgeCanonicalInput.resolves_atpledge-core/src/types.ts:189 (opens in a new tab)
swearerstringInherited from PledgeCanonicalInput.swearerpledge-core/src/types.ts:186 (opens in a new tab)
swornAt?string | DateDefaults to "now" (truncated to seconds, ISO 8601 UTC, Z-terminated).Inherited from -pledge-core/src/types.ts:233 (opens in a new tab)