@exromany/lido-csm-sdk
Version:
[](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [](h
9 lines • 681 B
TypeScript
import { StandardMerkleTree } from '@openzeppelin/merkle-tree';
import { Hex } from 'viem';
import { NodeOperatorId, Proof } from '../common/types.js';
import { KeyWithStrikes, StrikesTreeLeaf } from './types.js';
export declare const findProof: (tree: StandardMerkleTree<StrikesTreeLeaf>, pubkey: Hex) => Proof | null;
export declare const findLeaf: (tree: StandardMerkleTree<StrikesTreeLeaf>, pubkey: Hex) => KeyWithStrikes | null;
export declare const filterLeafsByNodeOperator: (tree: StandardMerkleTree<StrikesTreeLeaf>, id: NodeOperatorId) => KeyWithStrikes[];
export declare const wrapLeaf: (leaf: StrikesTreeLeaf) => KeyWithStrikes;
//# sourceMappingURL=find-proof.d.ts.map