Collecting Transfer Events
The process begins by collecting every transaction record in every block from the time of issuance.
For example: suppose there is a token called ALPHA, with holders that have the addresses 0xA, 0xB, and 0xC. At block height 10000, address 0xA transfers 3000 ALPHA tokens to address 0xB, and at block height 10001, address 0xA transfers 5000 ALPHA tokens to address 0xB. These transaction records would be stored in our database as shown below: