UNPKG

407 BTypeScriptView Raw
1declare module 'ethereumjs-abi' {
2 export function soliditySHA3(argTypes: string[], args: any[]): Buffer;
3 export function soliditySHA256(argTypes: string[], args: any[]): Buffer;
4 export function methodID(name: string, types: string[]): Buffer;
5 export function simpleEncode(signature: string, ...args: any[]): Buffer;
6 export function rawDecode(signature: string[], data: Buffer): any[];
7}