UNPKG

@drift-labs/sdk

Version:
25 lines (24 loc) 615 B
import BNJS from 'bn.js'; import * as web3 from '@solana/web3.js'; export declare class BN extends BNJS { } export { BorshAccountsCoder, BorshEventCoder, BorshInstructionCoder, BorshCoder, } from '@anchor-lang/core'; export declare const utils: { bytes: { utf8: { encode: (s: string) => Uint8Array; }; }; }; export { web3 }; export declare class AnchorProvider { constructor(); } export declare class Program<_T = any> { constructor(); } export type Idl = any; export type Coder = any; export type ProgramAccount = any; export type Event = any; export type Wallet = any;