Package Logo
pm_staking
pm_staking@v0.1.0
Total Downloads
7
Published
1 weeks ago
Network
polygon polygon
Publisher
User Avatar 0xLedgerwing

Readme

pm_staking 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:

  • vaultmanager at 0x443d773831c8b542f20bd9712c672084911ee10b
  • genesisvault at 0xaa489b4f076ce1459b48a730efb981641a91b7c7
  • stakingvault contracts created from vaultmanager

map_events

This module gets you only events that matched.

Documentation

Modules

Maps icon
Maps

map
map_events

38cb7c7bfb2ed085008e6fe5ad513e5d40b24b6e
map map_events (
blocksf.ethereum.type.v2.Block
)  -> contract.v1.Events
substreams gui pm-staking@v0.1.0 map_events

map
ethcommon:all_events

433686393b184c57628660f7dbe6cfed4d72a9e9
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 pm-staking@v0.1.0 ethcommon:all_events
Stores icon
Stores

store
store_stakingvault_created

0ccf2a03132b964676bde585bea8aacce8887d40
store <set,dynamic_datasource> store_stakingvault_created (
)
substreams gui pm-staking@v0.1.0 store_stakingvault_created
Block Indexes icon
Block Indexes

blockIndex
ethcommon:index_events

8375ddd2cb44363ab1691748ecb6303603f29568

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 pm-staking@v0.1.0 ethcommon:index_events
Protobuf

Protobuf Docs Explorer

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