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