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

ICfdEngineProtocolLens

Git Source

Functions

getProtocolAccountingSnapshot

Legacy detailed protocol lens kept for internal tooling, tests, and migration. Product-facing consumers should prefer IPerpsTraderViews, IPerpsLPViews, and IProtocolViews via PerpsPublicLens.

function getProtocolAccountingSnapshot()
    external
    view
    returns (ProtocolLensViewTypes.ProtocolAccountingSnapshot memory snapshot);

getHousePoolInputSnapshot

function getHousePoolInputSnapshot(
    uint256 markStalenessLimit
) external view returns (HousePoolEngineViewTypes.HousePoolInputSnapshot memory snapshot);

getHousePoolStatusSnapshot

function getHousePoolStatusSnapshot()
    external
    view
    returns (HousePoolEngineViewTypes.HousePoolStatusSnapshot memory snapshot);