Package Logo
base_portfolio_history
base_portfolio_history@v0.2.0
Total Downloads
3
Published
5 days ago
Network
base base
Publisher
User Avatar KentonParton

Readme

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

  • usdc at 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
  • ausdc at 0x4e65fe4dba92790696d040ac24aa414708f5c0ab

map_events

This module gets you only events that matched.

Documentation

Modules

Maps icon
Maps

map
map_transfers

68d385d696e297582f75e8db67a9528e73aaf9ab
map map_transfers (
blocksf.ethereum.type.v2.Block
)  -> compose.v1.TransferDeltas
substreams gui base-portfolio-history@v0.2.0 map_transfers

map
graph_out

ab9727b231f6a2f43c145c08458fdf57a42b9ee3
substreams gui base-portfolio-history@v0.2.0 graph_out

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 base-portfolio-history@v0.2.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 base-portfolio-history@v0.2.0 ethcommon:index_events
Protobuf

Protobuf Docs Explorer

compose.v1
sf.ethereum.substreams.v1
sf.ethereum.type.v2