@bagsfm/bags-sdk
Version:
TypeScript SDK for Bags
21 lines • 1.18 kB
TypeScript
import { BorshAccountsCoder, Program } from '@coral-xyz/anchor';
import type { DynamicBondingCurve as DynamicBondingCurveIDL } from '../idl/dynamic-bonding-curve/idl';
import type { DammV2 as DammV2IDL } from '../idl/damm-v2/idl';
import type { BagsMeteoraFeeClaimer as BagsMeteoraFeeClaimerIDL } from '../idl/bags-meteora-fee-claimer/idl';
import { Commitment, Connection } from '@solana/web3.js';
import { BagsApiClient } from '../api/bags-client';
import { StateService } from './state';
import type { BagsFeeShare as BagsFeeShareIDL } from '../idl/fee-share-v2/idl';
export declare class BaseService {
protected bagsApiClient: BagsApiClient;
protected dbcProgram: Program<DynamicBondingCurveIDL>;
protected dammV2Program: Program<DammV2IDL>;
protected bagsMeteoraFeeClaimer: Program<BagsMeteoraFeeClaimerIDL>;
protected bagsFeeShareV2: Program<BagsFeeShareIDL>;
protected bagsFeeShareV2Coder: BorshAccountsCoder;
protected connection: Connection;
protected commitment: Commitment;
protected stateService: StateService;
constructor(apiKey: string, connection: Connection, commitment?: Commitment);
}
//# sourceMappingURL=base.d.ts.map