diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-04 16:55:29 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-04 16:55:29 +0800 |
commit | a6f4f83b5b0440a3f63112514c6abe6be74df3f9 (patch) | |
tree | dd2eb4eed361d8883b104b5d63605a8d3971787d /src/utils/abi_decoder.ts | |
parent | 2b9418b7009a54c5943dd42b34db8f82ddf50e99 (diff) | |
download | dexon-0x-contracts-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.tar.gz dexon-0x-contracts-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.tar.zst dexon-0x-contracts-a6f4f83b5b0440a3f63112514c6abe6be74df3f9.zip |
Add a comment
Diffstat (limited to 'src/utils/abi_decoder.ts')
-rw-r--r-- | src/utils/abi_decoder.ts | 1 |
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]; |