Documentation
    Preparing search index...

    Interface DelayedExecutionPolicy

    delayed_execution_config::DelayedExecutionPolicy with camelCase keys, as the companion's OrderDesk holds it (desk::policy). Times in ms, USDC raw.

    interface DelayedExecutionPolicy {
        delayMs: bigint;
        gapWaitMs: bigint;
        minSellQuantity: bigint;
        mintCapacity: bigint;
        orderFee: bigint;
        perAccountCap: bigint;
        pythChannel: number;
        pythPriceBufferMs: bigint;
        sellCapacity: bigint;
        settlePayoutBatch: bigint;
        settleRefundBatch: bigint;
        stallTimeoutMs: bigint;
        stuckThresholdMs: bigint;
        sviMaxAgeMs: bigint;
    }
    Index
    delayMs: bigint
    gapWaitMs: bigint
    minSellQuantity: bigint
    mintCapacity: bigint
    orderFee: bigint

    Flat USDC fee charged at enqueue, raw.

    perAccountCap: bigint
    pythChannel: number

    PYTH_CHANNEL: 2 is 50 ms, 3 is 200 ms.

    pythPriceBufferMs: bigint
    sellCapacity: bigint
    settlePayoutBatch: bigint
    settleRefundBatch: bigint
    stallTimeoutMs: bigint
    stuckThresholdMs: bigint
    sviMaxAgeMs: bigint