@orangecheck/pledge-core / ClassifyStateInput
Interface: ClassifyStateInput
Defined in: pledge-core/src/types.ts:438
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-abandonment"></a> abandonment | AbandonmentEnvelope | null | - | pledge-core/src/types.ts:441 |
<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:449 |
chain.blockTimes? | Record<number, string> | Optional override mapping a specific block to its mined-time. | pledge-core/src/types.ts:455 |
chain.tip_height | number | Highest seen block height. | pledge-core/src/types.ts:451 |
chain.tip_time | string | Wall-clock ISO 8601 UTC of tip_height. | pledge-core/src/types.ts:453 |
<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:462 |
<a id="property-now"></a> now | string | ISO 8601 UTC. | pledge-core/src/types.ts:443 |
<a id="property-outcome"></a> outcome | OutcomeEnvelope | null | - | pledge-core/src/types.ts:440 |
<a id="property-pledge"></a> pledge | PledgeEnvelope | - | pledge-core/src/types.ts:439 |