MCPcopy Create free account

hub / github.com/Zacholme7/PoolSync / functions

Functions181 in github.com/Zacholme7/PoolSync

↓ 6 callersMethodis_balancer
(&self)
src/pools/mod.rs:95
↓ 5 callersMethodis_v3
(&self)
src/pools/mod.rs:69
↓ 4 callersFunctioncreate_progress_bar
Creates a progress bar for visual feedback during synchronization
src/util.rs:4
↓ 4 callersMethodget_balancer_mut
(&mut self)
src/pools/mod.rs:377
↓ 4 callersMethodget_v2_mut
(&mut self)
src/pools/mod.rs:327
↓ 3 callersMethodbuild
Consumes the builder and produces a constructed PoolSync
src/builder.rs:147
↓ 3 callersMethodchain
Sets the chain to sync on The builder instance for method chaining
src/builder.rs:134
↓ 3 callersMethodget_curve_tri_mut
(&mut self)
src/pools/mod.rs:370
↓ 3 callersMethodget_token_index
(&self, token: &Address)
src/pools/pool_structures/balancer_v2_structure.rs:34
↓ 3 callersMethodget_v3_mut
(&mut self)
src/pools/mod.rs:341
↓ 3 callersMethodis_curve_tri
(&self)
src/pools/mod.rs:91
↓ 3 callersMethodis_curve_two
(&self)
src/pools/mod.rs:87
↓ 3 callersMethodis_maverick
(&self)
src/pools/mod.rs:83
↓ 3 callersMethodis_v2
(&self)
src/pools/mod.rs:55
↓ 3 callersMethodrate_limit
Set the rate limit of the rpc The builder instance for method chaining
src/builder.rs:141
↓ 3 callersMethodsync_pools
Synchronizes all added pools for the specified chain
src/pool_sync.rs:36
↓ 2 callersMethodadd_pool
Adds a new pool type to be synced The builder instance for method chaining
src/builder.rs:34
↓ 2 callersMethodadd_pools
Add multiple pools to be synced
src/builder.rs:125
↓ 2 callersFunctionflip_tick
(pool: &mut UniswapV3Pool, tick: i32, tick_spacing: i32)
src/pools/pool_structures/v3_structure.rs:190
↓ 2 callersMethodget_curve_two_mut
(&mut self)
src/pools/mod.rs:363
↓ 2 callersMethodget_maverick_mut
(&mut self)
src/pools/mod.rs:355
↓ 2 callersFunctionmodify_position
Modifies a positions liquidity in the pool.
src/pools/pool_structures/v3_structure.rs:92
↓ 2 callersFunctionupdate_tick
( pool: &mut UniswapV3Pool, tick: i32, liquidity_delta: i128, upper: bool, )
src/pools/pool_structures/v3_structure.rs:147
↓ 1 callersMethodbuild_pool
(&self, pool_data: &[DynSolValue])
src/pools/mod.rs:99
↓ 1 callersFunctionbuild_pools
( provider: &Arc<P>, addresses: Vec<Address>, pool_type: PoolType, data: DynSolType, chain
src/pools/pool_builder.rs:27
↓ 1 callersMethodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/curve/tri_crypto.rs:18
↓ 1 callersFunctionfetch_v3_pool_data
( pool: &UniswapV3Pool, pool_type: PoolType, last_synced_block: u64, provider
src/tests/data_tests.rs:81
↓ 1 callersMethodget_pool_repr
(&self)
src/pools/pool_fetchers/curve/tri_crypto.rs:34
↓ 1 callersMethodget_v3
(&self)
src/pools/mod.rs:284
↓ 1 callersMethodis_valid
(&self)
src/pools/mod.rs:384
↓ 1 callersMethodlog_to_address
(&self, log: &Log)
src/pools/pool_fetchers/curve/tri_crypto.rs:29
↓ 1 callersMethodpair_created_signature
(&self)
src/pools/pool_fetchers/curve/tri_crypto.rs:25
↓ 1 callersMethodpool_type
(&self)
src/pools/pool_fetchers/curve/tri_crypto.rs:14
↓ 1 callersFunctionpopulate_pool_data
( provider: &Arc<P>, pool_addresses: Vec<Address>, pool_type: PoolType, data: DynSolType,
src/pools/pool_builder.rs:65
↓ 1 callersFunctionprocess_balance_data
(pool: &mut BalancerV2Pool, log: Log)
src/pools/pool_structures/balancer_v2_structure.rs:57
↓ 1 callersFunctionprocess_burn
(pool: &mut UniswapV3Pool, log: Log, is_initial_sync: bool)
src/pools/pool_structures/v3_structure.rs:55
↓ 1 callersFunctionprocess_mint
(pool: &mut UniswapV3Pool, log: Log, is_initial_sync: bool)
src/pools/pool_structures/v3_structure.rs:66
↓ 1 callersFunctionprocess_swap
(pool: &mut UniswapV3Pool, log: Log, pool_type: PoolType)
src/pools/pool_structures/v3_structure.rs:77
↓ 1 callersFunctionprocess_sync_data
(pool: &mut UniswapV2Pool, log: Log, pool_type: PoolType)
src/pools/pool_structures/v2_structure.rs:25
↓ 1 callersFunctionprocess_tick_data
( pool: &mut UniswapV3Pool, log: Log, pool_type: PoolType, is_initial_sync: bool, )
src/pools/pool_structures/v3_structure.rs:36
↓ 1 callersFunctionread_cache_file
(pool_type: &PoolType, chain: Chain)
src/cache.rs:22
↓ 1 callersMethodsupported
Determines if a given pool type is supported on this chain
src/chain.rs:87
↓ 1 callersFunctionupdate_position
( pool: &mut UniswapV3Pool, tick_lower: i32, tick_upper: i32, liquidity_delta: i128, )
src/pools/pool_structures/v3_structure.rs:116
↓ 1 callersFunctionwrite_cache_file
(pool_cache: &PoolCache, chain: Chain)
src/cache.rs:51
Methodbuilder
Construct a new builder to configure sync parameters
src/pool_sync.rs:31
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/maverick/maverick_v1_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/maverick/maverick_v2_fetcher.rs:34
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/swap_based/swapbased_v3_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/swap_based/swapbased_v2_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/alien_base/alienbase_v2_fetcher.rs:19
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/alien_base/alienbase_v3_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/pancake_swap/pancakeswap_v2_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/pancake_swap/pancakeswap_v3_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/aerodrome/aerodrome_fetcher.rs:19
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/aerodrome/slipstream_fetcher.rs:18
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/uniswap/uniswap_v2_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/uniswap/uniswap_v3_fetcher.rs:16
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/balancer/balancer_v2.rs:18
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/curve/two_crypto.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/dackie_swap/dackieswap_v2_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/dackie_swap/dackieswap_v3_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/sushiswap/sushiswap_v2_fetcher.rs:16
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/sushiswap/sushiswap_v3_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/base_swap/baseswap_v2_fetcher.rs:17
Methodfactory_address
(&self, chain: Chain)
src/pools/pool_fetchers/base_swap/baseswap_v3_fetcher.rs:18
Methodfetch_event_logs
( start_block: u64, end_block: u64, step_size: u64, provider: Arc<P>,
src/rpc.rs:282
Methodfetch_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
Methodfetch_pool_addrs
Fetch all pool addresses for the protocol
src/rpc.rs:43
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/chain.rs:97
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/pools/mod.rs:436
Methodfrom
(data: &[DynSolValue])
src/pools/pool_structures/two_crypto_curve_structure.rs:17
Methodfrom
(data: &[DynSolValue])
src/pools/pool_structures/tri_crypto_curve_structure.rs:37
Methodfrom
(data: &[DynSolValue])
src/pools/pool_structures/maverick_structure.rs:16
Methodfrom
(data: &[DynSolValue])
src/pools/pool_structures/v3_structure.rs:202
Methodfrom
(data: &[DynSolValue])
src/pools/pool_structures/v2_structure.rs:38
Methodfrom
(data: &[DynSolValue])
src/pools/pool_structures/balancer_v2_structure.rs:70
Methodget_balance
(&self, token: &Address)
src/pools/pool_structures/balancer_v2_structure.rs:47
Methodget_balancer
(&self)
src/pools/mod.rs:320
Methodget_block_range
Generate a range of blocks of step size distance
src/rpc.rs:441
Methodget_curve_tri
(&self)
src/pools/mod.rs:313
Methodget_curve_two
(&self)
src/pools/mod.rs:306
Methodget_event_config
(pool_type: PoolType, is_initial_sync: bool)
src/rpc.rs:402
Methodget_logs_with_retry
Fetch logs with retry functionality
src/rpc.rs:371
Methodget_maverick
(&self)
src/pools/mod.rs:298
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/maverick/maverick_v1_fetcher.rs:34
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/maverick/maverick_v2_fetcher.rs:51
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/swap_based/swapbased_v3_fetcher.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/swap_based/swapbased_v2_fetcher.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/alien_base/alienbase_v2_fetcher.rs:35
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/alien_base/alienbase_v3_fetcher.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/pancake_swap/pancakeswap_v2_fetcher.rs:34
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/pancake_swap/pancakeswap_v3_fetcher.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/aerodrome/aerodrome_fetcher.rs:36
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/aerodrome/slipstream_fetcher.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/uniswap/uniswap_v2_fetcher.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/uniswap/uniswap_v3_fetcher.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/balancer/balancer_v2.rs:34
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/curve/two_crypto.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/dackie_swap/dackieswap_v2_fetcher.rs:33
Methodget_pool_repr
(&self)
src/pools/pool_fetchers/dackie_swap/dackieswap_v3_fetcher.rs:33
next →1–100 of 181, ranked by callers