@exromany/lido-csm-sdk
Version:
[](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [](h
18 lines • 966 B
TypeScript
import type { Address } from 'viem';
import { CsmSDKModule, CsmSDKProps } from '../common/class-primitives/csm-sdk-module.js';
import { CuratedGateSDK } from '../curated-gate-sdk/curated-gate-sdk.js';
import { TxSDK } from '../tx-sdk/index.js';
import type { CreateNodeOperatorInGateProps, GateItemEligibility } from './types.js';
export declare class CuratedGatesCollectionSDK extends CsmSDKModule<{
tx: TxSDK;
}> {
private gates;
constructor(props: CsmSDKProps, name?: string);
getCount(): number;
getAll(): ReadonlyArray<CuratedGateSDK>;
get(index: number): CuratedGateSDK | undefined;
getOrThrow(index: number): CuratedGateSDK;
getEligibility(address: Address): Promise<GateItemEligibility[]>;
createNodeOperator(props: CreateNodeOperatorInGateProps): Promise<import("@lidofinance/lido-ethereum-sdk").TransactionResult<import("../index.js").NodeOperatorShortInfo>>;
}
//# sourceMappingURL=curated-gates-collection-sdk.d.ts.map