'Index future generated contracts using TheGraph

I have an ethereum contract that is called:

tokenFactory.sol

This contract generates ERC20 tokens as it goes along, and when it does it emits and event that has the generated ERC20 address.

I would like to go and then index the Transfer event of these generated Token Contracts. Is there a way to do that programmatically with Subgraph?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source