@unruggable/gateways
Version:
Trustless Ethereum Multichain CCIP-Read Gateway
37 lines • 1.11 kB
TypeScript
import type { HexAddress, HexString32 } 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 declare const DIAMOND_ABI: any;
export declare function encodeProof(proof: ZKSyncStorageProof): any;
export {};
//# sourceMappingURL=types.d.ts.map