fbonds-core
Version:
Banx protocol sdk
12 lines (11 loc) • 655 B
TypeScript
import { BanxAdventureV2, BanxAdventureSubscriptionV2, BanxAdventureSubscriptionSnapshot, BanxPointsMap, BanxStake, BanxStakingSettings, BanxTokenStake } from '../../types';
import { web3 } from '@coral-xyz/anchor';
export declare const getActiveBanxStakingAccounts: (programId: web3.PublicKey, connection: web3.Connection) => Promise<{
banxStakes: BanxStake[];
banxTokenStake: BanxTokenStake[];
adventures: BanxAdventureV2[];
adventureSubscriptions: BanxAdventureSubscriptionV2[];
adventureSubscriptionsSnapshots: BanxAdventureSubscriptionSnapshot[];
stakingSettings: BanxStakingSettings;
banxPointsMaps: BanxPointsMap[];
}>;