UNPKG

fbonds-core

Version:

Banx protocol sdk

17 lines (16 loc) 566 B
import { web3 } from '@coral-xyz/anchor'; type MigrateOldStakingToNewStaking = (params: { programId: web3.PublicKey; connection: web3.Connection; accounts: { userPubkey: web3.PublicKey; adminPubkey: web3.PublicKey; adventureSubscription: any[]; }; sendTxn: (transaction: web3.Transaction, signers: web3.Signer[]) => Promise<void>; }) => Promise<{ instructions: web3.TransactionInstruction[]; signers: web3.Signer[]; }>; export declare const migrateOldStakingToNewStaking: MigrateOldStakingToNewStaking; export {};