aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 20:29:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 20:29:09 +0800
commit10817aa33790dd4106df97d8a0dea729ed3d3257 (patch)
tree9fed6df2ee443915ca2fcf3f6524c88edb739842
parent542aae6cd9347e5f680266642861eb4c0bb57692 (diff)
downloaddexon-sol-tools-10817aa33790dd4106df97d8a0dea729ed3d3257.tar
dexon-sol-tools-10817aa33790dd4106df97d8a0dea729ed3d3257.tar.gz
dexon-sol-tools-10817aa33790dd4106df97d8a0dea729ed3d3257.tar.bz2
dexon-sol-tools-10817aa33790dd4106df97d8a0dea729ed3d3257.tar.lz
dexon-sol-tools-10817aa33790dd4106df97d8a0dea729ed3d3257.tar.xz
dexon-sol-tools-10817aa33790dd4106df97d8a0dea729ed3d3257.tar.zst
dexon-sol-tools-10817aa33790dd4106df97d8a0dea729ed3d3257.zip
Add types for web3/lib/solidity/coder.js
-rw-r--r--src/globals.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts
index 2120bd45d..f8d3b20c2 100644
--- a/src/globals.d.ts
+++ b/src/globals.d.ts
@@ -89,3 +89,7 @@ declare module 'abi-decoder' {
const addABI: (abi: Web3.AbiDefinition) => void;
const decodeLogs: (logs: Web3.LogEntry[]) => DecodedLog[];
}
+
+declare module 'web3/lib/solidity/coder.js' {
+ const decodeParams: (types: string[], data: string) => any[];
+}