UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

17 lines (16 loc) 908 B
/// <reference types="bn.js" /> import * as anchor from '@project-serum/anchor'; export { AllAccounts, CollectionInfoView, LiquidityPoolView, DepositView, LoanView, } from './../contract_model/accounts'; import { Keypair, PublicKey, Transaction } from '@solana/web3.js'; export declare function initializeLiquidityPool({ programId, provider, admin, rewardInterestRateTime, rewardInterestRatePrice, feeInterestRateTime, feeInterestRatePrice, id, period, sendTxn, }: { programId: PublicKey; provider: anchor.Provider; admin: 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, signers: Keypair[]) => Promise<void>; }): Promise<anchor.web3.PublicKey>;