UNPKG

@lightlink-network/ll-sdk

Version:

[LightLink] Tools for working with LightLink

10 lines (9 loc) 482 B
import { BigNumber, ethers } from 'ethers'; export declare const makeMerkleTreeProof: (leaves: string[], index: number) => string[]; export declare const maybeAddProofNode: (key: string, proof: string[]) => string[]; export declare const makeStateTrieProof: (provider: ethers.providers.JsonRpcProvider, blockNumber: number, address: string, slot: string) => Promise<{ accountProof: string[]; storageProof: string[]; storageValue: BigNumber; storageRoot: string; }>;