MintCostOptions class
Options for mintCost: all-in budget. Requires Predict v2 or later.
Constructors
- MintCostOptions({required num spend, required num minQuantity})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minQuantity → num
-
Minimum payout received. Zero disables this slippage floor.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spend → num
-
All-in USDC budget; the chain also caps it at the account balance.
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