We use indexer address and the storage slot of the stakes mapping in the Staking contract in order to find the key for the storage_changes regarding the indexer's stake. This allows us to track indexer's current stake without having to make contract calls or track multiple events to calculate indexer stake.
Description
We use indexer address and the storage slot of the stakes mapping in the Staking contract in order to find the key for the storage_changes regarding the indexer's stake. This allows us to track indexer's current stake without having to make contract calls or track multiple events to calculate indexer stake.