ActiveMarket class

One tradeable market as returned by read.markets().

Constructors

ActiveMarket({required String id, required BigInt expiryMs, required double tickSize, required double admissionTickSize, required bool mintPaused, required double? referencePrice})
const

Properties

admissionTickSize → double
Coarser step new mint strikes must align to. A numeric strike must be a whole multiple of this (the market's referencePrice is the one exception the chain admits off-grid); otherwise the mint aborts EInvalidAdmissionTick.
final
expiryMs → BigInt
final
hashCode → int
The hash code for this object.
no setterinherited
id → Side
final
mintPaused → bool
final
referencePrice → double?
The window's anchor strike in USD, or null until the keeper seeds it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tickSize → double
Strike granularity in USD (e.g. 0.01).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → Side
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited