UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

6 lines (5 loc) 408 B
/// <reference types="bn.js" /> import * as anchor from '@project-serum/anchor'; import { PublicKey } from '@solana/web3.js'; export { Provider, Program } from '@project-serum/anchor'; export declare function initPermission(programId: PublicKey, provider: anchor.Provider, admin: PublicKey, programPubkey: PublicKey, expiration: anchor.BN, canAdd: boolean, canHarvest: boolean, sendTxn: any): Promise<void>;