IPerpsTraderViews
Compact trader-facing read surface for the simplified perps product API.
Functions
getTraderAccount
function getTraderAccount(
bytes32 accountId
) external view returns (PerpsViewTypes.TraderAccountView memory viewData);
getPosition
function getPosition(
bytes32 accountId
) external view returns (PerpsViewTypes.PositionView memory viewData);
getPendingOrders
function getPendingOrders(
bytes32 accountId
) external view returns (PerpsViewTypes.PendingOrderView[] memory pending);
isLiquidatable
function isLiquidatable(
bytes32 accountId
) external view returns (bool);