Closed belopash closed 2 years ago
should we do the same with contract addresses for
.addContractsContractEmittedHandler()
andaddContractsContractEmitted()
?
You mean.toLowerCase()
? Seems like we should.
Hey, @RaekwonIII and @dzhelezov !
For batch processing the above normalisation will not help, because an explicit dispatch on a contract address will be often required.
if (item.event.args.contract == '0xaA...') {
else {
}
Docs should clearly advise to work only with decoded raw addresses in a lower cased hex form.
@eldargab should we do the same with contract addresses for
.addContractsContractEmittedHandler()
andaddContractsContractEmitted()
?