@exromany/lido-csm-sdk
Version:
[](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [](h
17 lines • 805 B
TypeScript
import { Hex } from 'viem';
import { CsmSDKModule } from '../common/class-primitives/csm-sdk-module.js';
import { NodeOperatorId, Proof } from '../common/index.js';
import { KeyWithStrikes } from './types.js';
export declare class StrikesSDK extends CsmSDKModule {
private get strikesContract();
getTreeConfig(): Promise<{
root: `0x${string}` | null;
cid: string | null;
}>;
getProofTreeUrls(cid: string): string[];
getProofTree(): Promise<import("@openzeppelin/merkle-tree").StandardMerkleTree<[bigint, string, number[]]> | null>;
getProof(pubkey: Hex): Promise<Proof | null>;
getStrikes(pubkey: Hex): Promise<KeyWithStrikes | null>;
getKeysWithStrikes(nodeOperatorId: NodeOperatorId): Promise<KeyWithStrikes[]>;
}
//# sourceMappingURL=strikes-sdk.d.ts.map