You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.
If the event contains dynamic data types, it can be a bit challenging to define.
For example, the OrderFulfilled event in the opensea.seaport protocol includes two dynamic struct types. These "dynamic events" are not fully expressed on etherscan and only record tuple[].
If the developer only defines the dynamic type field as tuple[] (as written in the above YAML), then esig will calculate incorrectly. It won't be able to filter the correct events.
advice
Add a "signature" field to the eventHandlers in the configuration file. Use it to directly assign the value of esig.
The text was updated successfully, but these errors were encountered:
Good point. Yes I can see the actual event def in your code: OrderFulfilled(bytes32,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256,address)[]) , a bit hard to write I agree.
The "eventHandlers" field in the current configuration file only supports two fields: "event define" and "handle function".
If the event contains dynamic data types, it can be a bit challenging to define.
For example, the
OrderFulfilled
event in the opensea.seaport protocol includes two dynamic struct types. These "dynamic events" are not fully expressed on etherscan and only record tuple[].If the developer only defines the dynamic type field as
tuple[]
(as written in the above YAML), then esig will calculate incorrectly. It won't be able to filter the correct events.advice
Add a "signature" field to the eventHandlers in the configuration file. Use it to directly assign the value of esig.
The text was updated successfully, but these errors were encountered: