@algofi/v1
Version:
The official JavaScript SDK for the V2 Algofi Lending Market
12 lines (11 loc) • 378 B
TypeScript
import { UserRewardsProgramState } from "./rewardsProgramState";
import Staking from "./staking";
export default class UserStakingState {
totalStaked: number;
scaledTotalStaked: number;
boostMultiplier: number;
userRewardsProgramStates: {
[key: number]: UserRewardsProgramState;
};
constructor(userLocalState: {}, staking: Staking);
}