@orangecheck/pledge-core / ClassifyStateInput
Interface: ClassifyStateInput
Defined in: pledge-core/src/types.ts:413
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-abandonment"></a> abandonment | AbandonmentEnvelope | null | - | pledge-core/src/types.ts:416 |
<a id="property-chain"></a> chain? | { blockTimes?: Record<number, string>; tip_height: number; tip_time: string; } | Optional — block-height resolutions need a wall-clock timestamp for the resolves_at.block. If the block isn't yet mined or no chain state is supplied, the SDK treats resolves_at as +infinity. | pledge-core/src/types.ts:424 |
chain.blockTimes? | Record<number, string> | Optional override mapping a specific block to its mined-time. | pledge-core/src/types.ts:430 |
chain.tip_height | number | Highest seen block height. | pledge-core/src/types.ts:426 |
chain.tip_time | string | Wall-clock ISO 8601 UTC of tip_height. | pledge-core/src/types.ts:428 |
<a id="property-contradictoryoutcomes"></a> contradictoryOutcomes? | OutcomeEnvelope[] | Optional list of additional outcome envelopes from authorized resolvers (e.g. swearer + counterparty in a bilateral pledge). Used to detect contradictory outcomes → disputed. | pledge-core/src/types.ts:437 |
<a id="property-now"></a> now | string | ISO 8601 UTC. | pledge-core/src/types.ts:418 |
<a id="property-outcome"></a> outcome | OutcomeEnvelope | null | - | pledge-core/src/types.ts:415 |
<a id="property-pledge"></a> pledge | PledgeEnvelope | - | pledge-core/src/types.ts:414 |