Type Alias: OptionState
type OptionState = "pending" | "exercisable" | "redeemable" | "finished";
Defined in: packages/overcast-core/src/types/index.ts:325
Where a MarketOption sits in its lifecycle — derived from its window
and its OptionTotals by optionState, and surfaced on the curated
option. The four states are exhaustive and mutually exclusive; each one names
what the protocol will let a party do next:
pending— the exercise window hasn't opened yet (now < startTimestamp); neither party can act.exercisable— inside the window with exercise claims left, so the taker can still exercise.redeemable— exercise is closed (expired, or every exercise claim burnt) and collateral-return claims remain, so the maker can redeem.finished— every collateral-return claim is burnt: both escrows are drained and nothing further can happen.