UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

5 lines (4 loc) 441 B
import * as anchor from '@project-serum/anchor'; import { PublicKey } from '@solana/web3.js'; export { Provider, Program } from '@project-serum/anchor'; export declare function initializeFee(programId: PublicKey, provider: anchor.Provider, userPubkey: PublicKey, depositFeeAdmin: number, depositFeePool: number, getLotteryFeeAdmin: number, getLotteryFeePool: number, sendTxn: any, communityPool?: PublicKey): Promise<anchor.web3.PublicKey>;