UNPKG

@ensdomains/unruggable-gateways

Version:

Trustless Ethereum Multichain CCIP-Read Gateway

49 lines 1.51 kB
import type { HexAddress, HexString32, HexString } from '../types.js'; export type ZKSyncStorageProof = { index: number; key: HexString32; proof: HexString32[]; value: HexString32; }; export type RPCZKSyncGetProof = { address: HexAddress; storageProof: ZKSyncStorageProof[]; }; type ISO8601DateTimeString = string; export type RPCZKSyncL1BatchDetails = { baseSystemContractsHashes: { bootloader: HexString32; default_aa: HexString32; }; commitTxHash: HexString32 | null; committedAt: ISO8601DateTimeString | null; executeTxHash: HexString32 | null; executedAt: ISO8601DateTimeString | null; proveTxHash: HexString32 | null; provenAt: ISO8601DateTimeString | null; fairPubdataPrice: number | null; l1GasPrice: number; l1TxCount: number; l2FairGasPrice: number; l2TxCount: number; number: number; rootHash: HexString32 | null; status: string; timestamp: number; }; export type ABIZKSyncCommitBatchInfo = { batchNumber: bigint; timestamp: bigint; indexRepeatedStorageChanges: bigint; newStateRoot: HexString32; numberOfLayer1Txs: bigint; priorityOperationsHash: HexString32; bootloaderHeapInitialContentsHash: HexString32; eventsQueueStateHash: HexString32; systemLogs: HexString; pubdataCommitments: HexString; }; export declare const DIAMOND_ABI: any; export declare function encodeProof(proof: ZKSyncStorageProof): any; export {}; //# sourceMappingURL=types.d.ts.map