Package Logo
gtrade_events
gtrade_events@v0.1.0
Total Downloads
17
Published
1 months ago
Publisher
User Avatar 0xCrumb

Readme

gtrade_events Substreams modules

This package was initialized via substreams init, using the evm-events-calls template.

Usage

substreams build
substreams auth
substreams gui       			  # Get streaming!

Optionally, you can publish your Substreams to the Substreams Registry.

substreams registry login         # Login to substreams.dev
substreams registry publish       # Publish your Substreams to substreams.dev

Modules

All of these modules produce data filtered by these contracts:

  • diamond at 0xff162c694eaa571f685030649814282ea457f169

map_events

This module gets you only events that matched.

Documentation

Modules

Maps icon
Maps

map
map_events

a20a1b9db94e95c4d4a398380811a2d3f46b086b
map map_events (
blocksf.ethereum.type.v2.Block
)  -> contract.v1.Events
substreams gui gtrade-events@v0.1.0 map_events

map
ethcommon:all_events

963652a247fd23d0823dde62d21ae54c783b6073
map ethcommon:all_events (
)  -> sf.substreams.ethereum.v1.Events

all_events gives you all the events in a block (from successful transactions), with basic block hash/number/timestamp and transaction hash

substreams gui gtrade-events@v0.1.0 ethcommon:all_events
Block Indexes icon
Block Indexes

blockIndex
ethcommon:index_events

87255243f80f5d4755cd826ec57bf70696a4d7b6

index_events sets the following keys on the block:

  • Event signatures evt_sig:0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef (signature in hex, prefixed by 0x)
  • Event address evt_addr:0x0123456789abcdef0123456789abcdef01234567 (address in hex, prefixed by 0x)
substreams gui gtrade-events@v0.1.0 ethcommon:index_events
Protobuf

Protobuf Docs Explorer

contract.v1
sf.ethereum.substreams.v1
sf.ethereum.type.v2