Admit one queued mint for the order-flow companion and return its receipt.
kind is a constants mint kind. The companion has already taken
budget + order_fee from the account and escrows it. budget caps the fill's
all-in cost; the companion sets it to min(max_cost, balance - order_fee), and
to at most quantity for an exact-quantity mint. The order prices at a Pyth
price on Lazer channel channel, generated at or after tau_ms, and must fill
before deadline_ms.
Aborts unless W is allowlisted, the version and cutover gates pass, trading
and this market's mints are unpaused, and the snapshot stage is closed. The
timing must fit (EInvalidOrderTiming): channel a supported fixed-rate
channel (lazer_price::channel_fixed_rate_*), tau_ms on its grid, at most one
of its ticks before now, and before deadline_ms, τ before the no-trade window,
and the deadline at least constants::deadline_expiry_margin_ms!() before
expiry. Then svi_max_age_ms must be within constants::max_svi_max_age_ms!()
and kind a mint kind (EInvalidOrderTerms), the volatility snapshot must
load, budget must be positive (EMintCostCapRequired), the order must pass
its own limits at the clock without subsidy (EOrderFailsLimits), and its cash
need must fit the market's spare cash (EInsufficientMarketCash). Admission
then pins both boundary nodes, creating them under the node cap, and adds the
cash need to the ledger.
Admit one queued mint for the order-flow companion and return its receipt.
kindis aconstantsmint kind. The companion has already takenbudget + order_feefrom the account and escrows it.budgetcaps the fill's all-in cost; the companion sets it tomin(max_cost, balance - order_fee), and to at mostquantityfor an exact-quantity mint. The order prices at a Pyth price on Lazer channelchannel, generated at or aftertau_ms, and must fill beforedeadline_ms.Aborts unless
Wis allowlisted, the version and cutover gates pass, trading and this market's mints are unpaused, and the snapshot stage is closed. The timing must fit (EInvalidOrderTiming):channela supported fixed-rate channel (lazer_price::channel_fixed_rate_*),tau_mson its grid, at most one of its ticks before now, and beforedeadline_ms, τ before the no-trade window, and the deadline at leastconstants::deadline_expiry_margin_ms!()before expiry. Thensvi_max_age_msmust be withinconstants::max_svi_max_age_ms!()andkinda mint kind (EInvalidOrderTerms), the volatility snapshot must load,budgetmust be positive (EMintCostCapRequired), the order must pass its own limits at the clock without subsidy (EOrderFailsLimits), and its cash need must fit the market's spare cash (EInsufficientMarketCash). Admission then pins both boundary nodes, creating them under the node cap, and adds the cash need to the ledger.