1 2 3 4 5 6 7 8
declare module 'solc' { export function compile(sources: any, optimizerEnabled: number, findImports: (importPath: string) => any): any; export function setupMethods(solcBin: any): any; } declare module 'web3-eth-abi' { export function encodeParameters(typesArray: string[], parameters: any[]): string; }