In this repository, you will find all the foundational modules containing various mappers and indexed Substreams. These foundational modules allow users to easily consume any Extrinsic or Even from the Vara Mainnet blockchain. The Substreams were written in Golang using tinygo, for reference and wizer, for reference
substreams gui
The raw sf.gear.type.v1.Block will contain the Extrinsics and the Events of each block in raw format. Run map_decoded_block to get the augmented block with all Extrinsics and Events decoded.
all_extrinsicsOutput the extrinsics decoded with this format sf.substreams.gear.type.v1.Extrinsics.
substreams gui
index_extrinsicsThe keys for the extrinsics will follow this format: extrinsic:${CallName} and extrinsic:${CallName}:event:${eventName}.
You can visit this page to see all the Runtime Modules. The extrinsics are named Call Functions on the Runtime Modules. For example, you can see the extrinsics for set Timestamp module here.
So for example, for the Timestamp - set, you will have keys of this format: extrinsic:Timestamp.set.
filtered_extrinsicsThis module is probably the most interesting one to use. The filtered_extrinsics module will output only the extrinsics of the query passed in --params.
substreams gui
For more information on how to contribute refer to CONTRIBUTING.md
substreams gui vara-common@v0.1.6 map_decoded_blockall_extrinsics reads from the sf.substreams.vara.type.v1.Block source and outputs a list of all extrinsics in the block.
substreams gui vara-common@v0.1.6 all_extrinsicsfiltered_extrinsics reads from all_extrinsics and applies a filter on keys,
only outputting extrinsics that match the filter.
Example usage: (extrinsic:Timestamp.set || extrinsic:Gear.run)
substreams gui vara-common@v0.1.6 filtered_extrinsicsindex_extrinsics sets the keys corresponding to all events and extrinsics in the block
substreams gui vara-common@v0.1.6 index_extrinsicsmessage
Block
message
Header
message
DigestItem
message
PreRuntime
message
Consensus
message
Seal
message
ChangesTrieSignal
message
Extrinsic
message
Signature
message
MultiAddress
message
MultiSignature
message
ExtrinsicEra
message
Call
message
CallIndex
message
Event
message
Phase
message
MortalEra
message
PaymentFields
message
Modules
message
Binary
message
Module
message
Package
message
NetworkParams
message
PackageMetadata
message
ModuleMetadata
message
Clock
message
BlockRef
message
Request
message
Response
message
BlockUndoSignal
message
BlockScopedData
message
SessionInit
message
InitialSnapshotComplete
message
InitialSnapshotData
message
MapModuleOutput
message
StoreModuleOutput
message
OutputDebugInfo
message
ModulesProgress
message
ProcessedBytes
message
Error
message
Job
message
Stage
message
ModuleStats
message
ExternalCallMetric
message
StoreDelta
message
BlockRange
message
DeployRequest
message
Parameter
message
DeployResponse
message
UpdateRequest
message
UpdateResponse
message
InfoRequest
message
InfoResponse
message
SinkProgress
message
PackageInfo
message
ListRequest
message
ListResponse
message
DeploymentWithStatus
message
RemoveRequest
message
RemoveResponse
message
PauseRequest
message
PauseResponse
message
StopRequest
message
StopResponse
message
ResumeRequest
message
ResumeResponse
enum
DeploymentStatus
message
Block
message
Extrinsics
message
Events
message
Extrinsic
message
Call
message
Event
message
Value
message
Fields
message
Array
message
Timestamp
message
Duration
message
FileDescriptorSet
message
FileDescriptorProto
message
DescriptorProto
message
ExtensionRangeOptions
message
FieldDescriptorProto
message
OneofDescriptorProto
message
EnumDescriptorProto
message
EnumValueDescriptorProto
message
ServiceDescriptorProto
message
MethodDescriptorProto
message
FileOptions
message
MessageOptions
message
FieldOptions
message
OneofOptions
message
EnumOptions
message
EnumValueOptions
message
ServiceOptions
message
MethodOptions
message
UninterpretedOption
message
SourceCodeInfo
message
GeneratedCodeInfo
message
Any