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
The first issue is that the event.args structure is not named like in the docs
The second issue is that when I console.log event, I can see that token0 and token1 are not in event.args, they just show in event.log.topics[1] and [2], maybe because they are indexed in the ABI
I have an issue when getting the args coming from the event filtered.
This is my setup :
The first issue is that the event.args structure is not named like in the docs
![image](https://private-user-images.githubusercontent.com/112528487/347822445-00301281-8b0e-4315-b6f9-9e4e9de59790.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA4OTI2OTEsIm5iZiI6MTcyMDg5MjM5MSwicGF0aCI6Ii8xMTI1Mjg0ODcvMzQ3ODIyNDQ1LTAwMzAxMjgxLThiMGUtNDMxNS1iNmY5LTllNGU5ZGU1OTc5MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxM1QxNzM5NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZTJlMmU4Zjc0N2FhOTUyYmZiZWI5OTk4OTZkNjViOWU3OTEyZGZiMjY3NTIwMjUyNzk1NWIyZjc0YTIwMDZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.op4OQ4CXkyqGQW5xD3jdRu7utTviGxp_aAMOHCa_B5c)
The second issue is that when I console.log event, I can see that token0 and token1 are not in event.args, they just show in event.log.topics[1] and [2], maybe because they are indexed in the ABI
The text was updated successfully, but these errors were encountered: