diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2019-03-06 15:01:12 +0800 |
---|---|---|
committer | Hsuan Lee <boczeratul@gmail.com> | 2019-03-06 15:01:12 +0800 |
commit | c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f (patch) | |
tree | e925fdefbe35304b71e57c09c89fd6d123c3ab40 /packages/typescript-typings/types/ethereumjs-abi/index.d.ts | |
parent | 69dc8110f4be576fe91d28a653906fd67904a899 (diff) | |
download | dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.gz dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.bz2 dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.lz dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.xz dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.zst dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.zip |
Add typescript definitions
Diffstat (limited to 'packages/typescript-typings/types/ethereumjs-abi/index.d.ts')
-rw-r--r-- | packages/typescript-typings/types/ethereumjs-abi/index.d.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/typescript-typings/types/ethereumjs-abi/index.d.ts b/packages/typescript-typings/types/ethereumjs-abi/index.d.ts new file mode 100644 index 000000000..2d9fc9fcd --- /dev/null +++ b/packages/typescript-typings/types/ethereumjs-abi/index.d.ts @@ -0,0 +1,7 @@ +declare module 'ethereumjs-abi' { + export function soliditySHA3(argTypes: string[], args: any[]): Buffer; + export function soliditySHA256(argTypes: string[], args: any[]): Buffer; + export function methodID(name: string, types: string[]): Buffer; + export function simpleEncode(signature: string, ...args: any[]): Buffer; + export function rawDecode(signature: string[], data: Buffer): any[]; +} |