@lidofinance/lido-ethereum-sdk
Version:
<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>
46 lines • 1.51 kB
TypeScript
export type SignallingEscrowDetails = {
totalStETHLockedShares: bigint;
totalStETHClaimedETH: bigint;
totalUnstETHUnfinalizedShares: bigint;
totalUnstETHFinalizedETH: bigint;
};
export type DualGovernanceConfig = {
firstSealRageQuitSupport: bigint;
secondSealRageQuitSupport: bigint;
minAssetsLockDuration: number;
vetoSignallingMinDuration: number;
vetoSignallingMaxDuration: number;
vetoSignallingMinActiveDuration: number;
vetoSignallingDeactivationMaxDuration: number;
vetoCooldownDuration: number;
rageQuitExtensionPeriodDuration: number;
rageQuitEthWithdrawalsMinDelay: number;
rageQuitEthWithdrawalsMaxDelay: number;
rageQuitEthWithdrawalsDelayGrowth: number;
};
export type DualGovernanceState = {
effectiveState: number;
persistedState: number;
persistedStateEnteredAt: number;
vetoSignallingActivatedAt: number;
vetoSignallingReactivationTime: number;
normalOrVetoCooldownExitedAt: number;
rageQuitRound: bigint;
vetoSignallingDuration: number;
};
export declare enum GovernanceState {
NotInitialized = 0,
Normal = 1,
VetoSignalling = 2,
VetoSignallingDeactivation = 3,
VetoCooldown = 4,
RageQuit = 5
}
export type GetGovernanceWarningStatusProps = {
triggerPercent: number;
};
export type GetGovernanceWarningStatusReturnType = {
state: 'Blocked' | 'Warning' | 'Normal' | 'Unknown';
currentVetoSupportPercent: number | null;
};
//# sourceMappingURL=types.d.ts.map