UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

18 lines (17 loc) 903 B
/// <reference types="bn.js" /> import * as anchor from '@project-serum/anchor'; export { AllAccounts, CollectionInfoView, LiquidityPoolView, DepositView, LoanView, } from './../contract_model/accounts'; import { PublicKey, Transaction } from '@solana/web3.js'; export declare function updateLiquidityPool({ programId, provider, admin, liquidityPool, rewardInterestRateTime, rewardInterestRatePrice, feeInterestRateTime, feeInterestRatePrice, id, period, sendTxn, }: { programId: PublicKey; provider: anchor.Provider; admin: PublicKey; liquidityPool: PublicKey; rewardInterestRateTime: number | anchor.BN; feeInterestRateTime: number | anchor.BN; rewardInterestRatePrice: number | anchor.BN; feeInterestRatePrice: number | anchor.BN; id: number | anchor.BN; period: number | anchor.BN; sendTxn: (transaction: Transaction) => Promise<void>; }): Promise<void>;