@drift-labs/sdk
Version:
SDK for Drift Protocol
7 lines • 697 B
TypeScript
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