All packages
pm_staking

pm_staking

0xLedgerwing
v0.1.0/8 downloads/Repository

Package ref

pm-staking@v0.1.0

Run package

CLI

Run map_events from the command line.

substreams run pm-staking@v0.1.0 map_events -e polygon
Authenticate by running substreams auth or directly on thegraph.market (see docs).

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.

Modules

Execution graph

4 modules
store

store_stakingvault_created

from #77366606

Store value

proto:dynamic_datasource

Update policy

set

Show 2 dependencies
map

ethcommon:all_events

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

Output

sf.substreams.ethereum.v1.Events

blockIndex

ethcommon:index_events

`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)

Output

sf.substreams.index.v1.Keys