@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
17 lines (16 loc) • 657 B
TypeScript
/// <reference types="bn.js" />
import { BN, web3 } from '@project-serum/anchor';
declare type InitializeTimeBasedLiquidityPool = (params: {
programId: web3.PublicKey;
connection: web3.Connection;
admin: web3.PublicKey;
rewardInterestRateTime: number | BN;
feeInterestRateTime: number | BN;
rewardInterestRatePrice: number | BN;
feeInterestRatePrice: number | BN;
id: number | BN;
period: number | BN;
sendTxn: (transaction: web3.Transaction, signers: web3.Keypair[]) => Promise<void>;
}) => Promise<web3.PublicKey>;
export declare const initializeTimeBasedLiquidityPool: InitializeTimeBasedLiquidityPool;
export {};