owlprotocol / web3-redux

Web3 Redux Library
6 stars 1 forks source link

`EventSignature` model & Contract middleware to cache event signatures by signature #113

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

Separate the event signatures from the 4byte function signatures and add middleware on the Contract model to add any relevant signatures to model. Then update the ContractEvent to decode getPastLogs and subscribeLogs calls when possible.

To summarize