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

9 lines 681 B
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