UNPKG

@algofi/v1

Version:

The official JavaScript SDK for the V2 Algofi Lending Market

19 lines (18 loc) 576 B
import GovernanceClient from "./governanceClient"; export default class UserAdminState { storageAddress: string; openToDelegation: number; delegatorCount: number; delegatingTo: string; userProposalStates: { [key: number]: UserProposalState; }; constructor(storageAddress: string, userStorageLocalStates: { [key: string]: {}; }, governanceClient: GovernanceClient); } export declare class UserProposalState { forOrAgainst: number; votingAmount: number; constructor(storageProposalLocalState: {}); }