UNPKG

@drift-labs/sdk

Version:
7 lines 697 B
import { PerpMarketAccount, PerpOperation, SpotMarketAccount, SpotOperation, StateAccount, InsuranceFundOperation } from '../types'; export declare function exchangePaused(state: StateAccount): boolean; export declare function fillPaused(state: StateAccount, market: PerpMarketAccount | SpotMarketAccount): boolean; export declare function ammPaused(state: StateAccount, market: PerpMarketAccount | SpotMarketAccount): boolean; export declare function isOperationPaused(pausedOperations: number, operation: PerpOperation | SpotOperation | InsuranceFundOperation): boolean; export declare function isAmmDrawdownPause(market: PerpMarketAccount): boolean; //# sourceMappingURL=exchangeStatus.d.ts.map