All packages
uniswap_v3

uniswap_v3

streamingfast
This is not the latest version — go to v0.2.11
v0.2.7/638 downloads

Package ref

streamingfast/uniswap-v3@v0.2.7

Run package

Start block
12369621, the module's first block

This module reads a store, which starts empty at the module's first block: it runs from there, so its output is from then, not from the chain head. Any later block would first need the store rebuilt up to it.

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