UNPKG

@unruggable/gateways

Version:

Trustless Ethereum Multichain CCIP-Read Gateway

15 lines 980 B
import { ZeroHash } from 'ethers/constants'; import { HexAddress, HexString, ProofRef } from '../types.js'; import { BlockProver, type TargetNeed } from '../vm.js'; import { type RPCZKEVMGetProof, isContract, encodeProof } from './types.js'; export declare class ZKEVMProver extends BlockProver { static readonly isContract: typeof isContract; static readonly encodeProof: typeof encodeProof; static readonly latest: (provider: import("../types.js").Provider, relBlockTag?: ZeroHash) => Promise<ZKEVMProver>; isContract(target: HexAddress): Promise<boolean>; getStorage(target: HexAddress, slot: bigint, fast?: boolean): Promise<HexString>; protected _proveNeed(need: TargetNeed, accountRef: ProofRef, slotRefs: Map<bigint, ProofRef>): Promise<void>; getProofs(target: HexAddress, slots?: bigint[]): Promise<RPCZKEVMGetProof>; fetchProofs(target: HexAddress, slots?: bigint[]): Promise<RPCZKEVMGetProof>; } //# sourceMappingURL=ZKEVMProver.d.ts.map