MintCost class

One mint's cost decomposition — the fields of the chain's MintQuote, in human units with the exact integers alongside. cost is the account debit.

Implementers

Constructors

MintCost({required double quantity, required double entryProbability, required double premium, required MintFees fees, required double cost, required double costPerContract, required double payoutMultiple, required MintCostRaw raw, required bool exactProbabilities})
const

Properties

cost → double
All-in account debit: `premium + (trading − subsidy) + builder + penalty
final
costPerContract → double
All-in price per $1 of payout — cost / quantity, the number to compare across venues.
final
entryProbability → double
Fill price, 0..1 per $1 of payout, before fees.
final
exactProbabilities → bool
True when boundary probabilities were supplied as raw integers rather than priced locally in float. Does not verify their source, freshness or the other quote inputs.
final
fees → MintFees
referral is not here: it is a split of protocol proceeds, not a trader debit.
final
hashCode → int
The hash code for this object.
no setterinherited
payoutMultiple → double
Maximum payout divided by the all-in debit, including fees.
final
premium → double
Premium into LP backing.
final
quantity → double
Maximum payout bought (human quote units).
final
raw → MintCostRaw
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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