Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IPerpsKeeper

Git Source

Keeper-facing execution and liquidation surface for the simplified product API.

Functions

executeOrder

Executes the next eligible delayed order using fresh oracle data.

function executeOrder(
    uint64 orderId,
    bytes[] calldata pythUpdateData
) external payable;

executeOrderBatch

Executes a bounded batch of eligible delayed orders using a shared oracle update.

function executeOrderBatch(
    uint64 maxOrderId,
    bytes[] calldata pythUpdateData
) external payable;

executeLiquidation

Liquidates an unsafe account using fresh oracle data.

function executeLiquidation(
    bytes32 accountId,
    bytes[] calldata pythUpdateData
) external payable;