UNPKG

@dainprotocol/drift-sdk

Version:

SDK for Drift Protocol

26 lines 805 B
/// <reference types="bn.js" /> import { PublicKey } from '@solana/web3.js'; import { BN, DriftEnv, OracleSource } from '../'; export type SpotMarketConfig = { symbol: string; marketIndex: number; poolId: number; oracle: PublicKey; mint: PublicKey; oracleSource: OracleSource; precision: BN; precisionExp: BN; serumMarket?: PublicKey; phoenixMarket?: PublicKey; openbookMarket?: PublicKey; launchTs?: number; pythFeedId?: string; pythLazerId?: number; }; export declare const WRAPPED_SOL_MINT: PublicKey; export declare const DevnetSpotMarkets: SpotMarketConfig[]; export declare const MainnetSpotMarkets: SpotMarketConfig[]; export declare const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[]; }; //# sourceMappingURL=spotMarkets.d.ts.map