We built a custom subgraph using The Graph Protocol to go beyond just tracking basic transfer events. The smart contracts emit complex events like StreamCompleted, which can represent 100s or 1000s of low-level token movements. To make this actionable, we wrote custom logic in AssemblyScript that reconstructs complete transfer paths: It listens for StreamCompleted events. It gathers all related TransferSingle and TransferBatch events in that transaction. We build a flow network and decompose it into individual paths using a custom findAllPaths function. These paths are stored as entities like TransferPath and TransferHop for later querying.