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 ERC-20 Approval event should be mapped to the subgraph. The addresses field should contain the relevant addresses for the user products to show the event in activity history views.
Currently, the event doesn't show up. At a quick glance, there is something off with the mapping. There seems to be two events with the same name:
approval for ERC-20 allowance
approval for FlowNFT
The mapping for FlowNFT approval event definitely has addresses missing.
I didn't find the mapping for ERC-20 approval event. I could only find it being handled for the FlowOperator entity:
Add a new field indicating whether it is Approval event for ERC-721 or ERC-20
vmichalik
changed the title
[subgraph] Investigate issues with Approval event mapping
[SUBGRAPH] Investigate issues with Approval event mapping
Feb 21, 2024
What?
The ERC-20
Approval
event should be mapped to the subgraph. Theaddresses
field should contain the relevant addresses for the user products to show the event in activity history views.Currently, the event doesn't show up. At a quick glance, there is something off with the mapping. There seems to be two events with the same name:
The mapping for FlowNFT approval event definitely has
addresses
missing.I didn't find the mapping for ERC-20 approval event. I could only find it being handled for the
FlowOperator
entity:protocol-monorepo/packages/subgraph/src/mappings/superToken.ts
Line 454 in fa5a75d
When querying from Mumbai, this error shows up:
Why?
The ERC-20 approval event is important and should be properly mapped to the subgraph.
The text was updated successfully, but these errors were encountered: