UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

16 lines (15 loc) 665 B
/// <reference types="bn.js" /> 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 updateLeaderboardReward({ communityPool, fractionMint, depositReward, withdrawReward, }: { communityPool: PublicKey; fractionMint: PublicKey; depositReward: anchor.BN; withdrawReward: anchor.BN; }, { admin, provider, programId, sendTxn, }: { programId: PublicKey; admin: PublicKey; provider: anchor.Provider; sendTxn: (transaction: Transaction, signers: Keypair[]) => Promise<void>; }): Promise<void>;