All packages
base_portfolio_history

base_portfolio_history

KentonParton
v0.2.0/4 downloads

Package ref

base-portfolio-history@v0.2.0

Run package

CLI

Run graph_out from the command line.

substreams run base-portfolio-history@v0.2.0 graph_out -e base --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

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.

Modules

Execution graph

4 modules
mapMain

graph_out

from #29597221

Output

substreams.entity.v1.EntityChanges

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