MintBudgetInputs class

Inputs for mintCostForBudget: an all-in budget, the mint_exact_cost shape.

Inheritance

Constructors

MintBudgetInputs({required FeePolicy fees, required Object expiryMs, Object? nowMs, required ProbabilitySource probabilities, bool builderCode = false, Object? feeIncentiveBalance, BigInt? penaltyRate, MintBookTerms? book, BigInt? lotSize, required Object budget, Object? minQuantity, Object? accountBalance})
const

Properties

accountBalance → Object?
The account's settled USDC. The chain caps the budget at it before sizing; pass it to reproduce that cap (and to let U64_MAX mean "my whole balance").
final
book → MintBookTerms?
Pre-trade payout-tree terms. Required when inventory impact is enabled.
finalinherited
budget → Object
The total to spend, fees included.
final
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
minQuantity → Object?
Floor on the fill; a smaller result aborts, as mint_exact_cost does. Default one lot.
final
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
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