@orangecheck/pledge-core / ClassifyStateInput
Interface: ClassifyStateInput
Defined in: pledge-core/src/types.ts:463
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-abandonment"></a> abandonment | AbandonmentEnvelope | null | - | pledge-core/src/types.ts:466 |
<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:474 |
chain.blockTimes? | Record<number, string> | Optional override mapping a specific block to its mined-time. | pledge-core/src/types.ts:480 |
chain.tip_height | number | Highest seen block height. | pledge-core/src/types.ts:476 |
chain.tip_time | string | Wall-clock ISO 8601 UTC of tip_height. | pledge-core/src/types.ts:478 |
<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:487 |
<a id="property-now"></a> now | string | ISO 8601 UTC. | pledge-core/src/types.ts:468 |
<a id="property-outcome"></a> outcome | OutcomeEnvelope | null | - | pledge-core/src/types.ts:465 |
<a id="property-pledge"></a> pledge | PledgeEnvelope | - | pledge-core/src/types.ts:464 |