Closed fschoell closed 1 year ago
@DenisCarriere or @YaroShkvorets how would you find the creation of a new token from parsing the blocks?
We don't have an ERC-20 like standard, but the defacto standard is eosio.token
contract.
This would be the action to look for:
https://bloks.io/transaction/b510b95094909d6c551be5136ba483946f2263d6c8ffa154be3b26685248ba66?tab=traces
First stab: https://github.com/EOS-Nation/substreams-monorepo/tree/develop/substreams/tokens Can be improved upon, but seems to work.
Implemented via https://github.com/EOS-Nation/substreams-antelope/tree/develop/substreams/eosio.token
StreamingFast team needs to implement kV Sink to make it useful
Goal
Retrieve a list of tokens that are available on the chain.
Models
Briefly describe the models that are used as input / output for this Substream
Maps
Briefly list the maps including their input / output for this Substream
Stores
Briefly list the stores used in this Substream
Consumers
Briefly explain how to consume this substream and whether this is a custom consumer or a default sink