UNPKG

@exromany/lido-csm-sdk

Version:

[![GitHub license](https://img.shields.io/github/license/lidofinance/lido-csm-sdk?color=limegreen)](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [![Version npm](https://img.shields.io/npm/v/@lidofinance/lido-csm-sdk?label=version)](h

17 lines 832 B
import { Address } from 'viem'; import { CsmSDKModule } from '../common/class-primitives/csm-sdk-module.js'; import { CONTRACT_NAMES } from '../common/index.js'; import { CsmStatus, ModuleDigest, ShareLimitInfo, ShareLimitStatus } from './types.js'; export declare class ModuleSDK extends CsmSDKModule { private get moduleContract(); getStatus(): Promise<CsmStatus>; getVersions(): Promise<Record<CONTRACT_NAMES, bigint>>; isVersionsSupported(): Promise<boolean>; getOperatorsCount(): Promise<bigint>; private getAllModulesDigests; getDigest(): Promise<ModuleDigest>; getShareLimit(): Promise<ShareLimitInfo>; getShareLimitStatus(shareLimitThreshold?: bigint): Promise<ShareLimitStatus>; getUsedOtherModule(address: Address): Promise<string | null>; } //# sourceMappingURL=module-sdk.d.ts.map