aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 16:55:29 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 16:55:29 +0800
commita6f4f83b5b0440a3f63112514c6abe6be74df3f9 (patch)
treedd2eb4eed361d8883b104b5d63605a8d3971787d /src
parent2b9418b7009a54c5943dd42b34db8f82ddf50e99 (diff)
downloaddexon-sol-tools-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.tar
dexon-sol-tools-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.tar.gz
dexon-sol-tools-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.tar.bz2
dexon-sol-tools-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.tar.lz
dexon-sol-tools-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.tar.xz
dexon-sol-tools-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.tar.zst
dexon-sol-tools-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.zip
Add a comment
Diffstat (limited to 'src')
-rw-r--r--src/utils/abi_decoder.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/abi_decoder.ts b/src/utils/abi_decoder.ts
index 75d78629c..b601dd2f4 100644
--- a/src/utils/abi_decoder.ts
+++ b/src/utils/abi_decoder.ts
@@ -10,6 +10,7 @@ export class AbiDecoder {
constructor(abiArrays: Web3.AbiDefinition[][]) {
_.map(abiArrays, this.addABI.bind(this));
}
+ // This method can only decode logs from the 0x smart contracts
public tryToDecodeLogOrNoop(log: Web3.LogEntry): LogWithDecodedArgs|RawLog {
const methodId = log.topics[0];
const event = this.methodIds[methodId];