MintCostInputs class
Inputs for mintCost: an exact payout quantity.
- Inheritance
-
- Object
- MintInputsBase
- MintCostInputs
Constructors
- MintCostInputs({required FeePolicy fees, required Object expiryMs, Object? nowMs, required ProbabilitySource probabilities, bool builderCode = false, Object? feeIncentiveBalance, BigInt? penaltyRate, MintBookTerms? book, BigInt? lotSize, required Object quantity})
-
const
Properties
- book → MintBookTerms?
-
Pre-trade payout-tree terms. Required when inventory impact is enabled.
finalinherited
- builderCode → bool
-
Whether the minting account carries a builder code (it pays the builder
fee).
finalinherited
- expiryMs → Object
-
Market expiry, ms since epoch (int or BigInt).
finalinherited
- feeIncentiveBalance → Object?
-
The expiry's remaining sponsored fee balance (
fee_incentive_balance). A num is human USDC, a BigInt raw. Default zero.finalinherited - fees → FeePolicy
-
The market's snapshotted fee policy.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lotSize → BigInt?
-
The deployment's
position_lot_size. Defaults to the Move constant, 10 000.finalinherited - nowMs → Object?
-
The clock the trade will price against, ms since epoch. Defaults to the
current wall clock.
finalinherited
- penaltyRate → BigInt?
-
Per-unit congestion surcharge rate — see congestionPenaltyRate.
Default zero.
finalinherited
- probabilities → ProbabilitySource
-
Boundary probabilities, or a pricer snapshot plus the range's strikes.
finalinherited
- quantity → Object
-
Maximum payout bought, in quote units — a num is human USD, a BigInt
is raw.
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