MintBudgetCost class

Budget-sized mint plus the budget information needed to render an order preview.

Inheritance

Constructors

MintBudgetCost({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, required double budget, required double effectiveBudget, required double unspentBudget, required BigInt rawBudget, required BigInt rawEffectiveBudget, required BigInt rawUnspentBudget})
const

Properties

budget → double
Requested all-in budget, before the optional account-balance cap.
final
cost → double
All-in account debit: `premium + (trading − subsidy) + builder + penalty
finalinherited
costPerContract → double
All-in price per $1 of payout — cost / quantity, the number to compare across venues.
finalinherited
effectiveBudget → double
Budget after the optional account-balance cap.
final
entryProbability → double
Fill price, 0..1 per $1 of payout, before fees.
finalinherited
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.
finalinherited
fees → MintFees
referral is not here: it is a split of protocol proceeds, not a trader debit.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
payoutMultiple → double
Maximum payout divided by the all-in debit, including fees.
finalinherited
premium → double
Premium into LP backing.
finalinherited
quantity → double
Maximum payout bought (human quote units).
finalinherited
raw → MintCostRaw
finalinherited
rawBudget → BigInt
final
rawEffectiveBudget → BigInt
final
rawUnspentBudget → BigInt
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unspentBudget → double
Requested budget minus actual cost, including any balance-cap shortfall.
final

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