Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SorellaLabs/brontes
/ functions
Functions
2,610 in github.com/SorellaLabs/brontes
⨍
Functions
2,610
◇
Types & classes
607
↓ 2 callers
Method
init_dex_pricer
( &self, block: u64, end_block: Option<u64>, rx: UnboundedReceiver<DexPriceMsg
crates/brontes-pricing/pricing-test-utils/src/test.rs:27
↓ 2 callers
Method
init_new_pool_override
Similar to update known state but doesn't apply the state transfer given the pool is from end of block.
crates/brontes-pricing/src/lib.rs:359
↓ 2 callers
Method
init_state_collector
Initializes a StateCollector for a specific range of blocks. This function sets up the necessary components for collecting state data over a range of
crates/bin/src/executors/mod.rs:387
↓ 2 callers
Method
init_state_updating
(&mut self, block: u64, flag: u16)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:546
↓ 2 callers
Method
insert_new_pool
(&self, block: u64, pool: NormalizedNewPool)
crates/brontes-classifier/src/discovery_only.rs:321
↓ 2 callers
Method
insert_new_pool
(&self, block: u64, pool: &NormalizedNewPool)
crates/brontes-classifier/src/tree_builder/mod.rs:637
↓ 2 callers
Method
insert_pool
( &self, block: u64, address: Address, tokens: &[Address], curve_lp_to
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:471
↓ 2 callers
Method
inspect_block_inner
( &self, tree: Arc<BlockTree<Action>>, metadata: Arc<Metadata>, )
crates/brontes-inspect/src/mev_inspectors/searcher_activity.rs:54
↓ 2 callers
Method
inspect_block_inner
( &self, tree: Arc<BlockTree<Action>>, metadata: Arc<Metadata>, )
crates/brontes-inspect/src/mev_inspectors/jit/jit_liquidity.rs:62
↓ 2 callers
Method
inspect_block_inner
( &self, tree: Arc<BlockTree<Action>>, metadata: Arc<Metadata>, )
crates/brontes-inspect/src/mev_inspectors/jit/jit_cex_dex.rs:62
↓ 2 callers
Method
inspect_block_inner
( &self, tree: Arc<BlockTree<Action>>, metadata: Arc<Metadata>, )
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:105
↓ 2 callers
Method
inspect_block_inner
Processes the block tree to find CEX-DEX arbitrage opportunities. This is the entry point for the inspection process, identifying transactions that in
crates/brontes-inspect/src/mev_inspectors/cex_dex/quotes/cex_dex.rs:156
↓ 2 callers
Method
inspect_block_inner
( &self, tree: Arc<BlockTree<Action>>, metadata: Arc<Metadata>, )
crates/brontes-inspect/src/mev_inspectors/sandwich/mod.rs:75
↓ 2 callers
Method
into_full_metadata
(mut self, dex_quotes: DexQuotes)
crates/brontes-types/src/db/metadata.rs:131
↓ 2 callers
Method
is_cex
(&self)
crates/brontes-types/src/db/address_metadata.rs:96
↓ 2 callers
Method
is_create
(&self)
crates/brontes-types/src/normalized_actions/mod.rs:50
↓ 2 callers
Method
is_cross_pair_or_stable_arb
(&self, tx_info: &TxInfo, multiplier: u64)
crates/brontes-inspect/src/mev_inspectors/atomic_arb.rs:355
↓ 2 callers
Method
is_defi_automation
(&self)
crates/brontes-types/src/db/address_metadata.rs:203
↓ 2 callers
Method
is_done
(&self)
crates/bin/src/executors/shared/dex_pricing.rs:77
↓ 2 callers
Method
is_free
(&self, x: usize, y: usize, length: usize)
crates/bin/src/misc/banner.rs:109
↓ 2 callers
Method
is_initialized
(&self, flag: u16)
crates/brontes-types/src/db/initialized_state.rs:73
↓ 2 callers
Method
is_long_tail
(&self, tx_info: &TxInfo, multiplier: u64)
crates/brontes-inspect/src/mev_inspectors/atomic_arb.rs:369
↓ 2 callers
Method
is_mev_contract
(&self)
crates/brontes-types/src/db/address_metadata.rs:199
↓ 2 callers
Method
is_new_pool
(&self)
crates/brontes-types/src/normalized_actions/mod.rs:426
↓ 2 callers
Method
is_over_buffer
(&self)
crates/brontes-types/src/buf_writer.rs:41
↓ 2 callers
Method
is_pool_config_update
(&self)
crates/brontes-types/src/normalized_actions/mod.rs:430
↓ 2 callers
Method
is_revert
(&self)
crates/reth-tracing-ext/src/reth_tracer/types.rs:75
↓ 2 callers
Method
is_searcher_of_type_with_threshold
(&self, mev_type: MevType, threshold: u64)
crates/brontes-types/src/db/searcher.rs:55
↓ 2 callers
Method
is_static_call
(&self)
crates/brontes-types/src/normalized_actions/mod.rs:459
↓ 2 callers
Method
is_superior_action
(&self, other: &Action)
crates/brontes-types/src/normalized_actions/comparison.rs:18
↓ 2 callers
Method
is_timed_out
Returns `true` if the transaction is timed out. When transaction is timed out via `TxnManager`, it's actually reset using `mdbx_txn_reset`. It makes
crates/brontes-database/libmdbx-rs/src/transaction.rs:563
↓ 2 callers
Method
is_triangular_arb
Filters out triangular arbitrage
crates/brontes-inspect/src/mev_inspectors/cex_dex/quotes/cex_dex.rs:515
↓ 2 callers
Method
is_verifying_with_block
(&self, pair: PairWithFirstPoolHop, block: u64)
crates/brontes-pricing/src/graphs/subgraph_verifier.rs:107
↓ 2 callers
Method
load_block_from_db
(&self, block_num: u64)
crates/brontes-core/src/decoding/parser.rs:55
↓ 2 callers
Method
load_cex_trades
(&self, block: u64)
crates/brontes-core/src/test_utils/mod.rs:237
↓ 2 callers
Function
load_clickhouse
()
crates/brontes-database/brontes-db/src/libmdbx/test_utils.rs:19
↓ 2 callers
Function
load_read_only_database
( executor: &BrontesTaskExecutor, db_endpoint: String, )
crates/bin/src/cli/utils.rs:84
↓ 2 callers
Function
load_tree
()
crates/brontes-types/src/tree/mod.rs:381
↓ 2 callers
Function
log_missing_trade_data
(dex_swap: &NormalizedSwap, tx_hash: &TxHash)
crates/brontes-types/src/db/cex/trades/utils.rs:410
↓ 2 callers
Function
make_key
(block_number: u64, tx_idx: u16)
crates/brontes-types/src/db/dex.rs:427
↓ 2 callers
Method
mark_future_use
(&self, pair: Pair, goes_through: Pair, block: u64)
crates/brontes-pricing/src/graphs/mod.rs:121
↓ 2 callers
Method
max_traced_block
(&self)
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:127
↓ 2 callers
Method
mdb_commit_latency
Returns a mut pointer to `ffi::MDBX_commit_latency`.
crates/brontes-database/libmdbx-rs/src/transaction.rs:645
↓ 2 callers
Method
mdb_stat
Returns a mut pointer to `ffi::MDB_stat`.
crates/brontes-database/libmdbx-rs/src/environment.rs:334
↓ 2 callers
Method
merge
(&mut self, other: &GasDetails)
crates/brontes-types/src/tree/root.rs:384
↓ 2 callers
Method
missing_state
( &mut self, block: u64, edges: &[SubGraphEdge], )
crates/brontes-pricing/src/graphs/state_tracker.rs:137
↓ 2 callers
Method
modify_position
(&mut self, tick_lower: i32, tick_upper: i32, liquidity_delta: i128)
crates/brontes-pricing/src/protocols/uniswap_v3/mod.rs:368
↓ 2 callers
Method
move_down
(&mut self, animated_term: &mut AnimatedTerm)
crates/bin/src/misc/banner.rs:180
↓ 2 callers
Method
needs_more_data
(&self, range_id: usize, enabled: bool)
crates/brontes-metrics/src/pricing.rs:87
↓ 2 callers
Method
next_edges_directed
( &self, node: u16, outgoing: bool, )
crates/brontes-pricing/src/graphs/subgraph.rs:712
↓ 2 callers
Function
on_decimal_query_resolution
( database: &W, result: eyre::Result<(Address, u8, String)>, )
crates/brontes-core/src/missing_token_info.rs:75
↓ 2 callers
Method
page_size
(&self)
crates/brontes-database/libmdbx-rs/src/environment.rs:343
↓ 2 callers
Method
par_rundown
(&mut self, pairs: Vec<(PairWithFirstPoolHop, u64)>)
crates/brontes-pricing/src/lib.rs:786
↓ 2 callers
Function
parse_1inch
( this_action: &mut Action, child_nodes: Vec<(NodeDataIndex, Action)>, is_fusion: bool, )
crates/brontes-classifier/src/multi_frame_classification/aggregator/one_inch.rs:56
↓ 2 callers
Method
parse_ignore_before
( &self, next_log: Option<&Vec<Ident>>, log_name: &[Ident], index: &Index,
crates/brontes-macros/src/action_classifier/logs.rs:270
↓ 2 callers
Method
populate_data
( &mut self, block: Option<u64>, middleware: Arc<M>, )
crates/brontes-pricing/src/protocols/uniswap_v2/mod.rs:125
↓ 2 callers
Method
price
(&self, _base: Address)
crates/brontes-pricing/src/graphs/subgraph.rs:1100
↓ 2 callers
Method
process_best_cex_venues
(&self)
crates/brontes-types/src/db/cex/quotes/download.rs:133
↓ 2 callers
Method
process_classification
( &self, block_number: u64, root_head: Option<&Node>, node_data_store: &NodeDa
crates/brontes-classifier/src/discovery_only.rs:125
↓ 2 callers
Method
process_classification
( &self, block_number: u64, root_head: Option<&Node>, node_data_store: &NodeDa
crates/brontes-classifier/src/tree_builder/mod.rs:273
↓ 2 callers
Method
process_resolved_pricing
( &mut self, block: u64, prices: DexQuotes, )
crates/bin/src/executors/shared/dex_pricing.rs:100
↓ 2 callers
Method
process_swaps
( &self, dex_swaps: Vec<NormalizedSwap>, tx_info: TxInfo, metadata: Arc<Metada
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:237
↓ 2 callers
Function
proposer_payment
( tree: &Arc<BlockTree<Action>>, builder_address: Address, collateral_address: Option<Address>,
crates/brontes-inspect/src/composer/utils.rs:307
↓ 2 callers
Method
prune_dead_subgraphs
prunes dead sup_graphs and empty state.
crates/brontes-pricing/src/graphs/mod.rs:176
↓ 2 callers
Method
prune_low_liq_subgraphs
returns true if the subgraph should be requeried. will mark it for removal at the current block and it won't be used in pricing in the future
crates/brontes-pricing/src/graphs/mod.rs:254
↓ 2 callers
Function
query_base_pool
query_base_pool returns a Vec<Address> of the tokens used by base_pool. It attempts to use the `coins` method with i128 and U256 argument, sequentiall
crates/brontes-classifier/src/classifiers/curve/discovery.rs:73
↓ 2 callers
Function
query_missing_data
( provider: &Arc<T>, block: u64, missing_address: Address, )
crates/brontes-core/src/missing_token_info.rs:51
↓ 2 callers
Method
query_trades
( &'a self, exchanges: &[CexExchange], pair: &Pair, )
crates/brontes-types/src/db/cex/trades/time_window_vwam.rs:470
↓ 2 callers
Function
queue_loading_returns
( graph: &GraphManager, block: u64, must_include: Pair, pair: Pair, )
crates/brontes-pricing/src/subgraph_query.rs:168
↓ 2 callers
Method
range_finished_block
(&self, range_id: usize)
crates/brontes-metrics/src/pricing.rs:106
↓ 2 callers
Function
read_sql
Reads an SQL file into a string
crates/brontes-database/brontes-db/build.rs:71
↓ 2 callers
Function
rec
(cmd: list[str], obj: object)
book/cli/help.py:157
↓ 2 callers
Method
remove_active
Removes a transaction from the list of active read transactions.
crates/brontes-database/libmdbx-rs/src/txn_manager.rs:200
↓ 2 callers
Method
remove_state_trackers
removes state trackers return a list of pairs that is dependent on the state
crates/brontes-pricing/src/protocols/lazy.rs:126
↓ 2 callers
Function
remove_swap_transfers
(tree: &mut BlockTree<Action>)
crates/brontes-types/src/tree/frontend_prunes.rs:3
↓ 2 callers
Method
replay_block_transactions
(&self, _: BlockId)
crates/brontes-core/src/local_provider.rs:72
↓ 2 callers
Method
replay_block_transactions
( &self, block_id: BlockId, )
crates/reth-tracing-ext/src/provider.rs:82
↓ 2 callers
Method
requery_bad_state_par
(&mut self, pairs: Vec<RequeryPairs>, frayed_ext: bool)
crates/brontes-pricing/src/lib.rs:726
↓ 2 callers
Method
resize
(&mut self, size: usize)
crates/reth-tracing-ext/src/reth_tracer/types.rs:627
↓ 2 callers
Function
reverse_path
( parents: &FxIndexMap<N, V>, mut parent: F, mut collect: K, start: usize, )
crates/brontes-pricing/src/graphs/dijkstras.rs:380
↓ 2 callers
Method
run
Execute `db stats` command
crates/bin/src/cli/db/table_stats.rs:37
↓ 2 callers
Function
run_command_until_exit
( metrics_port: Option<u16>, shutdown_time: Duration, command: impl FnOnce(CliContext) -> F, )
crates/bin/src/runner.rs:15
↓ 2 callers
Method
save_traces
(&self, _block: u64, _traces: Vec<TxTrace>)
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:289
↓ 2 callers
Method
seek_exact
(&mut self, key: <T as Table>::Key)
crates/brontes-database/brontes-db/src/libmdbx/implementation/compressed_wrappers/cursor.rs:48
↓ 2 callers
Method
set_geometry
Set all size-related parameters of environment, including page size and the min/max size of the memory map.
crates/brontes-database/libmdbx-rs/src/environment.rs:851
↓ 2 callers
Method
set_max_dbs
Sets the maximum number of named databases for the environment. This function is only needed if multiple databases will be used in the environment. S
crates/brontes-database/libmdbx-rs/src/environment.rs:814
↓ 2 callers
Method
should_process_next_block
(&self)
crates/bin/src/executors/shared/state_collector.rs:78
↓ 2 callers
Method
should_return
checks skip
crates/brontes-pricing/src/lib.rs:1058
↓ 2 callers
Method
should_use_for_new
(&self)
crates/brontes-pricing/src/graphs/subgraph.rs:170
↓ 2 callers
Function
signal
Create a channel pair that's used to propagate shutdown event
crates/brontes-types/src/executor.rs:524
↓ 2 callers
Function
size_of_fast_hash_map
(map: &FastHashMap<K, V>)
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:795
↓ 2 callers
Function
size_of_natural
(natural: &Natural)
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:814
↓ 2 callers
Function
slice_to_val
(slice: Option<&[u8]>)
crates/brontes-database/libmdbx-rs/src/cursor.rs:510
↓ 2 callers
Method
spawn_blocking
Spawns a blocking task onto the runtime. The given future resolves as soon as the [Shutdown] signal is received. See also [`Handle::spawn_blocking`].
crates/brontes-types/src/executor.rs:247
↓ 2 callers
Method
spawn_critical_as
Spawns a critical task depending on the given [TaskKind]
crates/brontes-types/src/executor.rs:271
↓ 2 callers
Method
spawn_on_rt
Spawns a future on the tokio runtime depending on the [TaskKind]
crates/brontes-types/src/executor.rs:199
↓ 2 callers
Method
spawn_task_as
Spawns a regular task depending on the given [TaskKind]
crates/brontes-types/src/executor.rs:213
↓ 2 callers
Method
split_return_rem
(self, filters: Fns)
crates/brontes-types/src/tree/util/collectors.rs:24
↓ 2 callers
Method
start_message_listener
Spawns a new thread with [std::thread::spawn] that listens to incoming [TxnManagerMessage] messages, executes an FFI function, and returns the result
crates/brontes-database/libmdbx-rs/src/txn_manager.rs:59
↓ 2 callers
Method
start_trace_on_call
( &mut self, context: &EvmContext<DB>, address: Address, input_data: Bytes,
crates/reth-tracing-ext/src/reth_tracer/inspector.rs:172
← previous
next →
501–600 of 2,610, ranked by callers