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

ICfdEngineSettlementModule

Git Source

Functions

executeOpen

function executeOpen(
    ICfdEngineSettlementHost host,
    CfdEnginePlanTypes.OpenDelta calldata delta,
    CfdTypes.Position calldata currentPosition,
    uint64 publishTime
) external;

executeClose

function executeClose(
    ICfdEngineSettlementHost host,
    CfdEnginePlanTypes.CloseDelta calldata delta,
    CfdTypes.Position calldata currentPosition,
    uint64 publishTime
) external;

executeLiquidation

function executeLiquidation(
    ICfdEngineSettlementHost host,
    CfdEnginePlanTypes.LiquidationDelta calldata delta,
    uint64 publishTime
) external returns (uint256 keeperBountyUsdc);