{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / PreflightResult

Interface: PreflightResult

Defined in: preflight.ts:27

The uniform result every validator returns. ok is blockers.length === 0.

Properties

ok

ok: boolean

Defined in: preflight.ts:29

True when there are no blockers (blockers.length === 0); warnings don't affect it.


blockers

blockers: string[]

Defined in: preflight.ts:34

Conditions that STOP the step — the on-chain write would revert or produce a dead market. Human-readable, ready to render as-is.


warnings

warnings: string[]

Defined in: preflight.ts:36

Advisory notices — the step can proceed, but the operator should know.