@drift-labs/common
Version:
Common functions for Drift
20 lines (19 loc) • 672 B
TypeScript
declare function initializeCentralServerDrift(): Promise<void>;
/**
* Example 1: Deposit and Withdraw transactions
*/
declare function depositWithdrawExample(): Promise<void>;
/**
* Example 2: Settle Funding Payments
*/
declare function settleFundingExample(): Promise<void>;
/**
* Example 3: Settle PnL for Multiple Markets
*/
declare function settlePnlExample(): Promise<void>;
/**
* Run all examples in sequence
*/
declare function runAllExamples(): Promise<void>;
export { initializeCentralServerDrift, depositWithdrawExample, settleFundingExample, settlePnlExample, runAllExamples, };
export declare const runCentralServerDriftExample: typeof runAllExamples;