From a6f4f83b5b0440a3f63112514c6abe6be74df3f9 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 4 Oct 2017 11:55:29 +0300 Subject: Add a comment --- src/utils/abi_decoder.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utils/abi_decoder.ts') 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]; -- cgit