iam-client-lib
Version:
Library for Decentralized Identity and Access Management
21 lines (20 loc) • 427 B
TypeScript
import { BigNumber } from 'ethers';
export declare enum StakeStatus {
NONSTAKING = 0,
STAKING = 1,
WITHDRAWING = 2
}
export type Service = {
/** organization ENS name */
org: string;
/** pool address */
pool: string;
/** provider address */
provider: string;
};
export type Stake = {
amount: BigNumber;
depositStart: BigNumber;
depositEnd: BigNumber;
status: StakeStatus;
};