Package Logo
uniswap_v3
uniswap-v3@v0.2.7
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

e30f8bc0a07d7846296db7eb2a247f24528e0f34
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.7 map_pools_created

map
map_tokens_whitelist_pools

3c2042581224f67073cbe2e6cb020ed58de31781
substreams gui uniswap-v3@v0.2.7 map_tokens_whitelist_pools

map
map_extract_data_types

95913fba5af1a792b5e0747b9154a3e4913c4db8
substreams gui uniswap-v3@v0.2.7 map_extract_data_types

map
graph_out

2ff3870bf196b2576744e7d60efbf624d83e176e
substreams gui uniswap-v3@v0.2.7 graph_out
Stores icon
Stores

store
store_pools_created

f5e547d9c75af2d3bc829223662ea160bfb838d1
substreams gui uniswap-v3@v0.2.7 store_pools_created

store
store_tokens

faf9093ef4bc91e6a683b95b0609da93a81af18f
store <add,int64> store_tokens (
)
substreams gui uniswap-v3@v0.2.7 store_tokens

store
store_pool_count

6c4ae43664e0b4d1c6c886ce5f4a2d2477278dd4
store <add,bigint> store_pool_count (
)
substreams gui uniswap-v3@v0.2.7 store_pool_count

store
store_tokens_whitelist_pools

4f5a73d985372fb83d5db139d621123badf1ec61
store <append,string> store_tokens_whitelist_pools (
)
substreams gui uniswap-v3@v0.2.7 store_tokens_whitelist_pools

store
store_pool_sqrt_price

1b49deacc2083135638aa6d4dca3c919045eb0a8
substreams gui uniswap-v3@v0.2.7 store_pool_sqrt_price

store
store_prices

71b56be4148cb87d20f928162ca126e60971d980
substreams gui uniswap-v3@v0.2.7 store_prices

store
store_pool_liquidities

5a9c7976975b9cb32e15c39bb08a224bbdbf067c
store <set,bigint> store_pool_liquidities (
)
substreams gui uniswap-v3@v0.2.7 store_pool_liquidities

store
store_total_tx_counts

ef3ddb17079f246e72eb8ab0a25c9782142090a1
store <add,bigint> store_total_tx_counts (
)
substreams gui uniswap-v3@v0.2.7 store_total_tx_counts

store
store_swaps_volume

21df11803988269cebd0b56e7b09a4736c4ddbd7
substreams gui uniswap-v3@v0.2.7 store_swaps_volume

store
store_native_amounts

2540b78c2f9f23a445bb28a75909e845c5f3484f
store <set,bigdecimal> store_native_amounts (
)
substreams gui uniswap-v3@v0.2.7 store_native_amounts

store
store_eth_prices

3f65c47dd669ecd18fa042100a20b2cf17387716
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.7 store_eth_prices

store
store_token_tvl

5267415efd9caf41078139fdfacbb293bc6721dc
store <add,bigdecimal> store_token_tvl (
)
substreams gui uniswap-v3@v0.2.7 store_token_tvl

store
store_derived_tvl

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

store
store_derived_factory_tvl

3dfbb8eac844371f35ef57635555da578669f5ed
store <add,bigdecimal> store_derived_factory_tvl (
store_derived_tvlDELTAS<set,bigdecimal>
)
substreams gui uniswap-v3@v0.2.7 store_derived_factory_tvl

store
store_ticks_liquidities

c3b8206ba85b7e5f63713f35aa72a49ae91b17ff
store <add,bigint> store_ticks_liquidities (
)

Hello world

This is how you use this:

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

store
store_positions

be707c832d434e4dde1a57aaec7082f373019313
substreams gui uniswap-v3@v0.2.7 store_positions

store
store_min_windows

3950fb8391deaa519aab514dabec2a1aba882d07
store <min,bigdecimal> store_min_windows (
store_pricesDELTAS<set,bigdecimal>
store_eth_pricesDELTAS<set,bigdecimal>
)
substreams gui uniswap-v3@v0.2.7 store_min_windows

store
store_max_windows

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

Protobuf Docs Explorer

uniswap.types.v1