Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zacholme7/PoolSync
/ functions
Functions
181 in github.com/Zacholme7/PoolSync
⨍
Functions
181
◇
Types & classes
39
↓ 6 callers
Method
is_balancer
(&self)
src/pools/mod.rs:95
↓ 5 callers
Method
is_v3
(&self)
src/pools/mod.rs:69
↓ 4 callers
Function
create_progress_bar
Creates a progress bar for visual feedback during synchronization
src/util.rs:4
↓ 4 callers
Method
get_balancer_mut
(&mut self)
src/pools/mod.rs:377
↓ 4 callers
Method
get_v2_mut
(&mut self)
src/pools/mod.rs:327
↓ 3 callers
Method
build
Consumes the builder and produces a constructed PoolSync
src/builder.rs:147
↓ 3 callers
Method
chain
Sets the chain to sync on The builder instance for method chaining
src/builder.rs:134
↓ 3 callers
Method
get_curve_tri_mut
(&mut self)
src/pools/mod.rs:370
↓ 3 callers
Method
get_token_index
(&self, token: &Address)
src/pools/pool_structures/balancer_v2_structure.rs:34
↓ 3 callers
Method
get_v3_mut
(&mut self)
src/pools/mod.rs:341
↓ 3 callers
Method
is_curve_tri
(&self)
src/pools/mod.rs:91
↓ 3 callers
Method
is_curve_two
(&self)
src/pools/mod.rs:87
↓ 3 callers
Method
is_maverick
(&self)
src/pools/mod.rs:83
↓ 3 callers
Method
is_v2
(&self)
src/pools/mod.rs:55
↓ 3 callers
Method
rate_limit
Set the rate limit of the rpc The builder instance for method chaining
src/builder.rs:141
↓ 3 callers
Method
sync_pools
Synchronizes all added pools for the specified chain
src/pool_sync.rs:36
↓ 2 callers
Method
add_pool
Adds a new pool type to be synced The builder instance for method chaining
src/builder.rs:34
↓ 2 callers
Method
add_pools
Add multiple pools to be synced
src/builder.rs:125
↓ 2 callers
Function
flip_tick
(pool: &mut UniswapV3Pool, tick: i32, tick_spacing: i32)
src/pools/pool_structures/v3_structure.rs:190
↓ 2 callers
Method
get_curve_two_mut
(&mut self)
src/pools/mod.rs:363
↓ 2 callers
Method
get_maverick_mut
(&mut self)
src/pools/mod.rs:355
↓ 2 callers
Function
modify_position
Modifies a positions liquidity in the pool.
src/pools/pool_structures/v3_structure.rs:92
↓ 2 callers
Function
update_tick
( pool: &mut UniswapV3Pool, tick: i32, liquidity_delta: i128, upper: bool, )
src/pools/pool_structures/v3_structure.rs:147
↓ 1 callers
Method
build_pool
(&self, pool_data: &[DynSolValue])
src/pools/mod.rs:99
↓ 1 callers
Function
build_pools
( provider: &Arc<P>, addresses: Vec<Address>, pool_type: PoolType, data: DynSolType, chain
src/pools/pool_builder.rs:27
↓ 1 callers
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/curve/tri_crypto.rs:18
↓ 1 callers
Function
fetch_v3_pool_data
( pool: &UniswapV3Pool, pool_type: PoolType, last_synced_block: u64, provider
src/tests/data_tests.rs:81
↓ 1 callers
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/curve/tri_crypto.rs:34
↓ 1 callers
Method
get_v3
(&self)
src/pools/mod.rs:284
↓ 1 callers
Method
is_valid
(&self)
src/pools/mod.rs:384
↓ 1 callers
Method
log_to_address
(&self, log: &Log)
src/pools/pool_fetchers/curve/tri_crypto.rs:29
↓ 1 callers
Method
pair_created_signature
(&self)
src/pools/pool_fetchers/curve/tri_crypto.rs:25
↓ 1 callers
Method
pool_type
(&self)
src/pools/pool_fetchers/curve/tri_crypto.rs:14
↓ 1 callers
Function
populate_pool_data
( provider: &Arc<P>, pool_addresses: Vec<Address>, pool_type: PoolType, data: DynSolType,
src/pools/pool_builder.rs:65
↓ 1 callers
Function
process_balance_data
(pool: &mut BalancerV2Pool, log: Log)
src/pools/pool_structures/balancer_v2_structure.rs:57
↓ 1 callers
Function
process_burn
(pool: &mut UniswapV3Pool, log: Log, is_initial_sync: bool)
src/pools/pool_structures/v3_structure.rs:55
↓ 1 callers
Function
process_mint
(pool: &mut UniswapV3Pool, log: Log, is_initial_sync: bool)
src/pools/pool_structures/v3_structure.rs:66
↓ 1 callers
Function
process_swap
(pool: &mut UniswapV3Pool, log: Log, pool_type: PoolType)
src/pools/pool_structures/v3_structure.rs:77
↓ 1 callers
Function
process_sync_data
(pool: &mut UniswapV2Pool, log: Log, pool_type: PoolType)
src/pools/pool_structures/v2_structure.rs:25
↓ 1 callers
Function
process_tick_data
( pool: &mut UniswapV3Pool, log: Log, pool_type: PoolType, is_initial_sync: bool, )
src/pools/pool_structures/v3_structure.rs:36
↓ 1 callers
Function
read_cache_file
(pool_type: &PoolType, chain: Chain)
src/cache.rs:22
↓ 1 callers
Method
supported
Determines if a given pool type is supported on this chain
src/chain.rs:87
↓ 1 callers
Function
update_position
( pool: &mut UniswapV3Pool, tick_lower: i32, tick_upper: i32, liquidity_delta: i128, )
src/pools/pool_structures/v3_structure.rs:116
↓ 1 callers
Function
write_cache_file
(pool_cache: &PoolCache, chain: Chain)
src/cache.rs:51
Method
builder
Construct a new builder to configure sync parameters
src/pool_sync.rs:31
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/maverick/maverick_v1_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/maverick/maverick_v2_fetcher.rs:34
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/swap_based/swapbased_v3_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/swap_based/swapbased_v2_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/alien_base/alienbase_v2_fetcher.rs:19
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/alien_base/alienbase_v3_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/pancake_swap/pancakeswap_v2_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/pancake_swap/pancakeswap_v3_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/aerodrome/aerodrome_fetcher.rs:19
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/aerodrome/slipstream_fetcher.rs:18
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/uniswap/uniswap_v2_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/uniswap/uniswap_v3_fetcher.rs:16
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/balancer/balancer_v2.rs:18
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/curve/two_crypto.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/dackie_swap/dackieswap_v2_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/dackie_swap/dackieswap_v3_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/sushiswap/sushiswap_v2_fetcher.rs:16
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/sushiswap/sushiswap_v3_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/base_swap/baseswap_v2_fetcher.rs:17
Method
factory_address
(&self, chain: Chain)
src/pools/pool_fetchers/base_swap/baseswap_v3_fetcher.rs:18
Method
fetch_event_logs
( start_block: u64, end_block: u64, step_size: u64, provider: Arc<P>,
src/rpc.rs:282
Method
fetch_logs_for_config
Given a config and a range, fetch all the logs for it This is a top level call which will delegate to individual fetching functions to get the logs an
src/rpc.rs:344
Method
fetch_pool_addrs
Fetch all pool addresses for the protocol
src/rpc.rs:43
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/chain.rs:97
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/pools/mod.rs:436
Method
from
(data: &[DynSolValue])
src/pools/pool_structures/two_crypto_curve_structure.rs:17
Method
from
(data: &[DynSolValue])
src/pools/pool_structures/tri_crypto_curve_structure.rs:37
Method
from
(data: &[DynSolValue])
src/pools/pool_structures/maverick_structure.rs:16
Method
from
(data: &[DynSolValue])
src/pools/pool_structures/v3_structure.rs:202
Method
from
(data: &[DynSolValue])
src/pools/pool_structures/v2_structure.rs:38
Method
from
(data: &[DynSolValue])
src/pools/pool_structures/balancer_v2_structure.rs:70
Method
get_balance
(&self, token: &Address)
src/pools/pool_structures/balancer_v2_structure.rs:47
Method
get_balancer
(&self)
src/pools/mod.rs:320
Method
get_block_range
Generate a range of blocks of step size distance
src/rpc.rs:441
Method
get_curve_tri
(&self)
src/pools/mod.rs:313
Method
get_curve_two
(&self)
src/pools/mod.rs:306
Method
get_event_config
(pool_type: PoolType, is_initial_sync: bool)
src/rpc.rs:402
Method
get_logs_with_retry
Fetch logs with retry functionality
src/rpc.rs:371
Method
get_maverick
(&self)
src/pools/mod.rs:298
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/maverick/maverick_v1_fetcher.rs:34
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/maverick/maverick_v2_fetcher.rs:51
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/swap_based/swapbased_v3_fetcher.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/swap_based/swapbased_v2_fetcher.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/alien_base/alienbase_v2_fetcher.rs:35
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/alien_base/alienbase_v3_fetcher.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/pancake_swap/pancakeswap_v2_fetcher.rs:34
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/pancake_swap/pancakeswap_v3_fetcher.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/aerodrome/aerodrome_fetcher.rs:36
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/aerodrome/slipstream_fetcher.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/uniswap/uniswap_v2_fetcher.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/uniswap/uniswap_v3_fetcher.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/balancer/balancer_v2.rs:34
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/curve/two_crypto.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/dackie_swap/dackieswap_v2_fetcher.rs:33
Method
get_pool_repr
(&self)
src/pools/pool_fetchers/dackie_swap/dackieswap_v3_fetcher.rs:33
next →
1–100 of 181, ranked by callers