UNPKG

@algofi/v1

Version:

The official JavaScript SDK for the V2 Algofi Lending Market

24 lines (23 loc) 721 B
import AssetAmount from "./../assetAmount"; import Market from "./market"; export declare class UserMarketRewardsState { programNumber: number; assetID: number; latestIndex: bigint; unclaimed: bigint; realUnclaimed: number; rewardsPerYear: number; constructor(marketState: { string: any; }, market: Market, b_asset_collateral: number, borrow_shares: number, programIndex: number); } export default class UserMarketState { b_asset_collateral: number; borrow_shares: number; suppliedAmount: AssetAmount; borrowedAmount: AssetAmount; rewardsProgramStates: any[]; constructor(marketState: { string: any; }, market: Market); }