UNPKG

@tokamak-zk-evm/synthesizer

Version:

Tokamak zk-EVM Synthesizer - Processes Ethereum transactions into wire maps for Tokamak zk-SNARK proof generation

27 lines 794 B
import { Address } from '@synthesizer-libs/util'; import { EVM } from '../../evm.js'; interface StorageItem { astId: number; contract: string; label: string; offset: number; slot: string; type: string; } interface StorageLayout { storageLayout: { storage: StorageItem[]; types: { [key: string]: { encoding: string; label: string; numberOfBytes: string; key?: string; value?: string; }; }; }; } export declare const setupEVMFromCalldata: (evm: EVM, contractAddr: Address, contractCode: Uint8Array, storageLayout: StorageLayout, calldata: string, sender: Address) => Promise<void>; export {}; //# sourceMappingURL=erc20EvmSetup.d.ts.map