UNPKG

@tokamak-zk-evm/synthesizer

Version:

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

27 lines 959 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 setupUSDCFromCalldata: (evm: EVM, proxyAddr: Address, implementationV1Addr: Address, implementationV2Addr: Address, proxyCode: Uint8Array, v1Code: Uint8Array, v2Code: Uint8Array, proxyStorageLayout: StorageLayout, v1StorageLayout: StorageLayout, v2StorageLayout: StorageLayout, calldata: string, sender: Address) => Promise<void>; export {}; //# sourceMappingURL=usdcEvmSetup.d.ts.map