Documentation
    Preparing search index...

    Inputs for maxMintNow.

    interface MaxMintInputs {
        asOfMs?: bigint;
        availableRaw?: bigint;
        headroomBps?: bigint;
        lotSize?: bigint;
        minEntryProbability: bigint;
        orderFeeRaw?: bigint;
        shape: "budget" | "exact-quantity";
        spareCashRaw: bigint;
    }
    Index
    asOfMs?: bigint

    When the reads were taken, echoed back as asOfMs.

    availableRaw?: bigint

    account::balance<USDC>. Bounds a budget spend at available − fee.

    headroomBps?: bigint

    Margin left below spare cash, in basis points. Default 100 (1%).

    lotSize?: bigint

    The deployment's position_lot_size. Defaults to 10_000n.

    minEntryProbability: bigint

    The minimum entry probability from expiry_market::order_flow_state, 1e9-scaled.

    orderFeeRaw?: bigint
    shape: "budget" | "exact-quantity"

    'exact-quantity' sizes a quantity; 'budget' sizes an exact-cost or exact-amount spend.

    spareCashRaw: bigint

    Market cash above required cash (MarketQueueState.spareCash).