Skip to main content
Decoding events:
Similar to events, transaction access is provided by the functions object for each contract method defined in the ABI. Generated event objects also expose is(log), topicSelection(indexedArgs), and the topic constant. topicSelection() returns a topic0 through topic3 filter object that can be used as the where option of addLog():
Generated function objects expose sighash, is(transaction), encode(args), decode(input), and decodeResult(output). Overloaded ABI names receive a signature-based suffix so every generated export remains unique.