In function call crawler I am using abstract class for EthereumStateProvider to get blocks, transaction.
I've already implemented EthereumStateProviderW3Impl which uses web3. But for crawling in moonstream we can use mix of our db and web3 for better performance. Since we are crawling all transactions, our db is enough, however if we face missing block from our db we need to get data from web3
FunctionCallCrawlerState
This is abstract class that implements saving/getting data from db. Need to write MoonstreamState for this crawler. Which will save data to labels
EthereumStateProvider
In function call crawler I am using abstract class for
EthereumStateProvider
to getblocks
,transaction
.I've already implemented
EthereumStateProviderW3Impl
which usesweb3
. But for crawling in moonstream we can use mix of our db and web3 for better performance. Since we are crawling all transactions, our db is enough, however if we face missing block from ourdb
we need to get data fromweb3
FunctionCallCrawlerState
This is abstract class that implements saving/getting data from db. Need to write
MoonstreamState
for this crawler. Which will save data to labels