UNPKG

@unruggable/gateways

Version:

Trustless Ethereum Multichain CCIP-Read Gateway

30 lines 1.03 kB
import type { EncodedProof, HexAddress, HexString, HexString32 } from '../types.js'; export declare const ROOT_CHAIN_ABI: any; export type ABIHeaderTuple = { readonly rootHash: HexString32; readonly l2BlockNumberStart: bigint; readonly l2BlockNumberEnd: bigint; }; export declare const ROLLUP_ABI: any; export type ZKEVMProof = HexString[]; export type RPCZKEVMGetProof = { address: HexAddress; balance: HexString; codeHash: HexString32; codeLength: HexString; nonce: HexString; balanceProof: ZKEVMProof; nonceProof: ZKEVMProof; codeHashProof: ZKEVMProof; codeLengthProof: ZKEVMProof; storageProof: ZKEVMStorageProof[]; }; export type ZKEVMAccountProof = Omit<RPCZKEVMGetProof, 'storageProof'>; export type ZKEVMStorageProof = { key: HexString32; value: HexString; proof: ZKEVMProof; }; export declare function isContract(proof: ZKEVMAccountProof): boolean; export declare function encodeProof(proof: ZKEVMProof): EncodedProof; //# sourceMappingURL=types.d.ts.map