All packages

uniswap_v3

StreamingFast
This is not the latest version — go to v0.2.11
v0.2.7/618 downloads

Package ref

uniswap-v3@v0.2.7

Run package

CLI

Run graph_out from the command line.

substreams run uniswap-v3@v0.2.7 graph_out -e mainnet
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

These substream modules compose all the things to build up the Uniswap v3 substreams. See individual modules docs for help.

Modules

Execution graph

22 modules
mapMain

graph_out

from #12369621

Output

sf.substreams.entity.v1.EntityChanges

map

map_pools_created

Dynamic data sources pattern for Uniswap V3 pools. This module will loop over block transactions and detect pools created events. Once the pool created events have been detected, we will create `Pools` structs. Try with ``` substreams gui substreams.yaml map_pools_created -e $SUBSTREAMS_ENDPOINT -t +1000 ```

from #12369621
store

store_derived_factory_tvl

from #12369621

Store value

bigdecimal

Update policy

add

Inputs

sf.substreams.v1.Clockstore_derived_tvl
store

store_pool_count

from #12369621

Store value

bigint

Update policy

add

store

store_pool_liquidities

from #12369621

Store value

bigint

Update policy

set

Inputs

sf.substreams.v1.Clockmap_extract_data_types
store

store_ticks_liquidities

### Hello world This is how you use this: ``` substreams gui blah blah ```

from #12369621

Store value

bigint

Update policy

add

Inputs

sf.substreams.v1.Clockmap_extract_data_types
store

store_tokens

from #12369621

Store value

int64

Update policy

add

store

store_total_tx_counts

from #12369621

Store value

bigint

Update policy

add

Inputs

sf.substreams.v1.Clockmap_extract_data_types