Output
contract.v1.EventsInputs
Package ref
xarb-spoke@v0.1.3Run package
CLI
Run map_events_only from the command line.
substreams run xarb-spoke@v0.1.3 map_events_only -e sepolia --start-block -1substreams auth or directly on thegraph.market (see docs).README
Substreams package for xArb spoke-side events on:
11155111)80002)xarb-substreams-spoke/
substreams.yaml
config/tracked_contracts.yaml
src/
build.rs
cd /Users/kd/substreams/xarb-substreams/xarb-substreams-spoke
substreams build
map_events_only is the default output module used by current propagator flow.
Sepolia:
cd /Users/kd/substreams/xarb-substreams/xarb-substreams-spoke
substreams run substreams.yaml map_events_only \
-p "map_events=11155111"
Amoy:
cd /Users/kd/substreams/xarb-substreams/xarb-substreams-spoke
substreams run substreams.yaml map_events_only --network polygon-amoy \
-p "map_events=80002"
When contracts are re-deployed, run the monorepo sync script:
cd /Users/kd/substreams/xarb-substreams
./scripts/redeploy_and_sync_contracts.sh
It updates tracked contracts config and deployment references.
map_events requires the chain id parameter (for example -p "map_events=11155111").config/tracked_contracts.yaml, rebuild with substreams build.Modules
Output
contract.v1.EventsInputs
Output
contract.v1.EventsInputs
Output
contract.v1.TxIndicesOutput
sf.substreams.ethereum.v1.Events