Package Logo
uniswap_v3
uniswap-v3@v0.2.8
README

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

)
Documentation
Modules
Maps icon
Maps

map
map_pools_created

7918f53b0f5e840db352709a21da159146ccd6d6
map map_pools_created (
blocksf.ethereum.type.v2.Block
)  -> uniswap.types.v1.Pools

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
substreams gui uniswap-v3@v0.2.8 map_pools_created

map
map_tokens_whitelist_pools

a65e7cf35214a34a68f737c8677a600ab6d02fd6
substreams gui uniswap-v3@v0.2.8 map_tokens_whitelist_pools

map
map_extract_data_types

4e6c455d42de78b7b35aa29468bbf3a6a77b186d
substreams gui uniswap-v3@v0.2.8 map_extract_data_types

map
graph_out

ae7e06c44bb5141cdc79e38295f171970baa4b9e
substreams gui uniswap-v3@v0.2.8 graph_out
Stores icon
Stores

store
store_pools_created

dc0c038381a387113f64298143dce1551d8b74b0
substreams gui uniswap-v3@v0.2.8 store_pools_created

store
store_tokens

26722398ad3df582f261fdf60f420f7a907210c4
store <add,int64> store_tokens (
)
substreams gui uniswap-v3@v0.2.8 store_tokens

store
store_pool_count

7d593056d40448a4dc33b7b873927d7c4d871530
store <add,bigint> store_pool_count (
)
substreams gui uniswap-v3@v0.2.8 store_pool_count

store
store_tokens_whitelist_pools

c6d659b905dd5b7412b0f5c7c2435ffb9ec6ffa9
store <append,string> store_tokens_whitelist_pools (
)
substreams gui uniswap-v3@v0.2.8 store_tokens_whitelist_pools

store
store_pool_sqrt_price

1be64a6f95facd35d1f1b442352b81d04776bce5
substreams gui uniswap-v3@v0.2.8 store_pool_sqrt_price

store
store_prices

6f72fba93e79634c92dd229e86b18d2d63a8137a
substreams gui uniswap-v3@v0.2.8 store_prices

store
store_pool_liquidities

0ce3b5aa06a52a689eeb4302db82bb59014f73cb
store <set,bigint> store_pool_liquidities (
)
substreams gui uniswap-v3@v0.2.8 store_pool_liquidities

store
store_total_tx_counts

304377ef5b11956057121ce8247d1cf88119ac4f
store <add,bigint> store_total_tx_counts (
)
substreams gui uniswap-v3@v0.2.8 store_total_tx_counts

store
store_swaps_volume

a535b51e08cdaea936fbff8e6fea32e8fe803870
substreams gui uniswap-v3@v0.2.8 store_swaps_volume

store
store_native_amounts

5004bf9664500e1f5f708a99ec75495fc9aaf7a4
store <set,bigdecimal> store_native_amounts (
)
substreams gui uniswap-v3@v0.2.8 store_native_amounts

store
store_eth_prices

5182bcee053d19d2478f516b471aae0bb7db972e
store <set,bigdecimal> store_eth_prices (
store_pricesGET<set,bigdecimal>
store_native_amountsGET<set,bigdecimal>
store_pool_liquiditiesGET<set,bigint>
)
substreams gui uniswap-v3@v0.2.8 store_eth_prices

store
store_token_tvl

b99e2165a027a9989878b37d97eae8f1933c5f3b
store <add,bigdecimal> store_token_tvl (
)
substreams gui uniswap-v3@v0.2.8 store_token_tvl

store
store_derived_tvl

2ffc4b9029b0f3dad1bcd19057bd0a56dce3ae56
store <set,bigdecimal> store_derived_tvl (
store_token_tvlGET<add,bigdecimal>
store_eth_pricesGET<set,bigdecimal>
)
substreams gui uniswap-v3@v0.2.8 store_derived_tvl

store
store_derived_factory_tvl

5fcb17a63ad0275441ddaf9588c3f9795ca552b0
store <add,bigdecimal> store_derived_factory_tvl (
store_derived_tvlDELTAS<set,bigdecimal>
)
substreams gui uniswap-v3@v0.2.8 store_derived_factory_tvl

store
store_ticks_liquidities

c4e7292a771c1b7857213cb2f7a06f69daf5f4ca
store <add,bigint> store_ticks_liquidities (
)

Hello world

This is how you use this:

substreams gui blah blah
substreams gui uniswap-v3@v0.2.8 store_ticks_liquidities

store
store_positions

a78d759c8953d8dfc3344b6eaf79b9dbe203e8b3
substreams gui uniswap-v3@v0.2.8 store_positions

store
store_min_windows

1478a6059c8eded1cdf83d06919730f7e09baf12
store <min,bigdecimal> store_min_windows (
store_pricesDELTAS<set,bigdecimal>
store_eth_pricesDELTAS<set,bigdecimal>
)
substreams gui uniswap-v3@v0.2.8 store_min_windows

store
store_max_windows

ecbff5f6028961b672f63a3115f47fc1940f5f25
store <max,bigdecimal> store_max_windows (
store_pricesDELTAS<set,bigdecimal>
store_eth_pricesDELTAS<set,bigdecimal>
)
substreams gui uniswap-v3@v0.2.8 store_max_windows
Protobuf

Protobuf Docs Explorer

uniswap.types.v1