如何处理子图中的匿名事件
- INDEXERS
我该怎么做?我应该如何制作清单以处理匿名事件?
Respuestas1
You can initialize your subgraph with the ERC-20 contract you want to map, then modify your handleTransferEvent function to check the current block number before continuing. You can get the block number by calling event.block.number
.