Output
contract.v1.EventsCallsInputs
Package ref
xarb@v0.1.0Run package
CLI
Run map_events_calls from the command line.
substreams run xarb@v0.1.0 map_events_calls -e base-sepolia --start-block -1substreams auth or directly on thegraph.market (see docs).README
Substreams package for xArb hub-side events on Base Sepolia (84532).
xarb-substreams-hub/
substreams.yaml
.env.example
src/
build.rs
cd /Users/kd/substreams/xarb-substreams/xarb-substreams-hub
cp -n .env.example .env
substreams build
map_events_only is the default output module used by current propagator flow.
cd /Users/kd/substreams/xarb-substreams/xarb-substreams-hub
substreams run substreams.yaml map_events_only
Use map_events_calls only when you need call-level output.
cd /Users/kd/substreams/xarb-substreams/xarb-substreams-hub
set -a
source .env
set +a
substreams run substreams.yaml map_events_calls \
-p "map_calls=${XARB_HUB_TRACKED_CONTRACTS}"
When contracts are re-deployed, run the monorepo sync script:
cd /Users/kd/substreams/xarb-substreams
./scripts/redeploy_and_sync_contracts.sh
It updates .env, deployment JSONs, and substreams.yaml filters to latest addresses.
substreams.yaml has static blockFilter values for call indexing modules.substreams build.Modules
Output
contract.v1.EventsCallsInputs
Output
contract.v1.CallsInputs
Output
contract.v1.EventsOutput
contract.v1.EventsInputs
Output
contract.v1.TxIndicesOutput
sf.substreams.ethereum.v1.Calls
Output
sf.substreams.ethereum.v1.Events
`index_calls` sets the following keys on the block: * Call contract call_to:0x0123456789abcdef0123456789abcdef01234567 (contract address in hex, prefixed by 0x) * Caller call_from:0x0123456789abcdef0123456789abcdef01234567 (caller address in hex, prefixed by 0x) * Call method call_method:0x01234567 (4 bytes of method signature in hex, prefixed by 0x)
Output
sf.substreams.index.v1.Keys
Inputs