@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
21 lines (20 loc) • 690 B
TypeScript
import { web3 } from '@project-serum/anchor';
declare type StakeCardinalParams = (params: {
programId: web3.PublicKey;
connection: web3.Connection;
user: web3.PublicKey;
payer: web3.PublicKey;
cardinalRewardsCenter: web3.PublicKey;
nftMint: web3.PublicKey;
stakePool: web3.PublicKey;
loan: web3.PublicKey;
stakeRewardsPaymentInfo: web3.PublicKey;
rewardMint: web3.PublicKey;
paymentPubkey1: web3.PublicKey;
paymentPubkey2: web3.PublicKey;
}) => Promise<{
additionalComputeBudgetInstructionIx: web3.TransactionInstruction;
stakeIx: web3.TransactionInstruction;
}>;
export declare const stakeCardinalIx: StakeCardinalParams;
export {};