@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
12 lines (11 loc) • 1.74 kB
TypeScript
import { web3 } from '@project-serum/anchor';
export declare const getAllProgramAccounts: (programId: web3.PublicKey, connection: web3.Connection) => Promise<{
communityPools: import("@project-serum/anchor").ProgramAccount<import("@project-serum/anchor/dist/cjs/program/namespace/types").TypeDef<import("@project-serum/anchor/dist/cjs/idl").IdlAccountDef, import("@project-serum/anchor").IdlTypes<import("@project-serum/anchor").Idl>>>[];
lotteryTickets: import("@project-serum/anchor").ProgramAccount<import("@project-serum/anchor/dist/cjs/program/namespace/types").TypeDef<import("@project-serum/anchor/dist/cjs/idl").IdlAccountDef, import("@project-serum/anchor").IdlTypes<import("@project-serum/anchor").Idl>>>[];
poolWhitelists: import("@project-serum/anchor").ProgramAccount<import("@project-serum/anchor/dist/cjs/program/namespace/types").TypeDef<import("@project-serum/anchor/dist/cjs/idl").IdlAccountDef, import("@project-serum/anchor").IdlTypes<import("@project-serum/anchor").Idl>>>[];
safetyDepositBoxes: import("@project-serum/anchor").ProgramAccount<import("@project-serum/anchor/dist/cjs/program/namespace/types").TypeDef<import("@project-serum/anchor/dist/cjs/idl").IdlAccountDef, import("@project-serum/anchor").IdlTypes<import("@project-serum/anchor").Idl>>>[];
boardEntrys: import("../types").BoardEntryView[];
poolConfigs: import("../types").PoolConfigView[];
permissions: import("../types").PermissionView[];
feeConfig: import("@project-serum/anchor").ProgramAccount<import("@project-serum/anchor/dist/cjs/program/namespace/types").TypeDef<import("@project-serum/anchor/dist/cjs/idl").IdlAccountDef, import("@project-serum/anchor").IdlTypes<import("@project-serum/anchor").Idl>>>[];
}>;