@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
21 lines (20 loc) • 919 B
TypeScript
import * as anchor from '@project-serum/anchor';
import { PublicKey, Keypair, Transaction } from '@solana/web3.js';
export { Provider, Program } from '@project-serum/anchor';
export declare function depositNftToCommunityPool({ communityPool, nftMint, nftUserTokenAccount, fractionMint, poolWhitelist, metadataInfo, fusionProgramId, tokenMintInputFusion, feeConfig, adminAddress, }: {
communityPool: PublicKey;
nftMint: PublicKey;
nftUserTokenAccount: PublicKey;
fractionMint: PublicKey;
poolWhitelist: PublicKey;
metadataInfo: PublicKey;
fusionProgramId: PublicKey;
tokenMintInputFusion: PublicKey;
feeConfig: PublicKey;
adminAddress: PublicKey;
}, { userPubkey, provider, programId, sendTxn, }: {
programId: PublicKey;
userPubkey: PublicKey;
provider: anchor.Provider;
sendTxn: (transaction: Transaction, signers: Keypair[]) => Promise<void>;
}): Promise<void>;