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
as_error_msg
Returns the error message if it is an erroneous result.
crates/reth-tracing-ext/src/reth_tracer/types.rs:80
↓ 2 callers
Method
bench_pool_state_loads
( &self, bench_name: &str, pool: Address, block_number: u64, pool_pair
crates/brontes-pricing/pricing-test-utils/src/bench.rs:123
↓ 2 callers
Method
bench_pool_state_price
( &self, bench_name: &str, pool: Address, block_number: u64, pool_pair
crates/brontes-pricing/pricing-test-utils/src/bench.rs:96
↓ 2 callers
Method
bench_tree_operations
( &self, bench_name: &str, block: u64, c: &mut Criterion, bench_fn: im
crates/brontes-classifier/src/test_utils/benches.rs:140
↓ 2 callers
Method
block_analysis
(&self, block_analysis: BlockAnalysis)
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:281
↓ 2 callers
Method
block_window
default is 1
crates/brontes-inspect/src/lib.rs:94
↓ 2 callers
Method
build_range_executors
Builds a stream of RangeExecutors for processing blocks. This function creates a stream of RangeExecutors, each responsible for processing a chunk of
crates/bin/src/executors/mod.rs:244
↓ 2 callers
Function
build_record_batch
( schema: Schema, arrays: Vec<Arc<dyn Array>>, )
crates/brontes-database/brontes-db/src/parquet/utils.rs:114
↓ 2 callers
Method
build_tree_txes
( &self, tx_hashes: Vec<TxHash>, )
crates/brontes-classifier/src/test_utils/tests.rs:312
↓ 2 callers
Function
calculate_intermediary_addresses
( trade_map: &FastHashMap<CexExchange, FastHashMap<Pair, Vec<CexTrades>>>, exchanges: &[CexExchange],
crates/bin/src/cli/db/cex_data.rs:168
↓ 2 callers
Method
calculate_intermediary_addresses
( &self, exchange: &CexExchange, pair: &Pair, )
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:476
↓ 2 callers
Method
calculate_price
(&self, base_token: Address)
crates/brontes-pricing/src/protocols/uniswap_v3/mod.rs:189
↓ 2 callers
Function
calculate_weight
Calculates the weight for a trade using a bi-exponential decay function based on its timestamp relative to a block time. This function is designed to
crates/brontes-types/src/db/cex/trades/utils.rs:485
↓ 2 callers
Method
cex_try_convert_transfer_to_swap
( &self, transfers: Vec<NormalizedTransfer>, info: &TxInfo, mev_type: MevType,
crates/brontes-inspect/src/mev_inspectors/shared_utils.rs:711
↓ 2 callers
Function
clickhouse_config
()
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:945
↓ 2 callers
Function
cmd_summary
Returns the summary for a command and its subcommands.
book/cli/help.py:197
↓ 2 callers
Method
collect
(&self, call: &TreeSearchBuilder<V>)
crates/brontes-types/src/tree/root.rs:259
↓ 2 callers
Method
collect
Collects all actions that match the call closure. This is useful for fetching all actions that match a certain criteria.
crates/brontes-types/src/tree/node.rs:553
↓ 2 callers
Method
collect_spans
Collects subsets of actions that match the action criteria specified by the closure. This is useful for collecting the subtrees of a transaction that
crates/brontes-types/src/tree/mod.rs:172
↓ 2 callers
Method
collect_txes
( self: Arc<Self>, txes: &[B256], call: TreeSearchBuilder<V>, )
crates/brontes-types/src/tree/mod.rs:249
↓ 2 callers
Method
commit
Commits the transaction. Any pending operations will be saved.
crates/brontes-database/libmdbx-rs/src/transaction.rs:164
↓ 2 callers
Method
complete_pair
(&self)
crates/brontes-pricing/src/graphs/subgraph.rs:180
↓ 2 callers
Method
configuration
(&self)
crates/brontes-types/src/block_metadata/relays.rs:92
↓ 2 callers
Method
construct_time_baskets
(&mut self)
crates/brontes-types/src/db/cex/trades/utils.rs:285
↓ 2 callers
Method
contains_action_except
( &self, tx_hash: TxHash, action_number_in_tx: usize, eq_action: Action,
crates/brontes-classifier/src/test_utils/tests.rs:450
↓ 2 callers
Method
could_be_mev_contract
(&self)
crates/brontes-types/src/db/address_metadata.rs:191
↓ 2 callers
Method
data_is_populated
(&self)
crates/brontes-pricing/src/protocols/uniswap_v2/mod.rs:189
↓ 2 callers
Method
db_stat
Retrieves database statistics.
crates/brontes-database/libmdbx-rs/src/transaction.rs:245
↓ 2 callers
Method
db_stat_with_dbi
Retrieves database statistics by the given dbi.
crates/brontes-database/libmdbx-rs/src/transaction.rs:250
↓ 2 callers
Method
decode
(value: B)
crates/brontes-types/src/pair.rs:113
↓ 2 callers
Function
decode_params
( sol_value: DynSolValue, field_name: &mut Vec<String>, output: &mut Vec<DecodedParams>, )
crates/brontes-core/src/decoding/dyn_decode.rs:81
↓ 2 callers
Function
default_tables_to_init
()
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:1328
↓ 2 callers
Method
depth
(&self)
crates/brontes-database/libmdbx-rs/src/environment.rs:349
↓ 2 callers
Method
detect_cex_dex
( &self, dex_swaps: Vec<NormalizedSwap>, metadata: &Metadata, tx_info: &TxInfo
crates/brontes-inspect/src/mev_inspectors/cex_dex/quotes/cex_dex.rs:261
↓ 2 callers
Function
dijkstra_internal
( start: &N, second: Option<&N>, successors: &FN, path_value: &PV, success: &FS, max_i
crates/brontes-pricing/src/graphs/dijkstras.rs:119
↓ 2 callers
Method
dijkstra_path
( &self, start: NodeIndex<u16>, state: &FastHashMap<Address, &T>, )
crates/brontes-pricing/src/graphs/subgraph.rs:908
↓ 2 callers
Function
display_cex_dex
(bundle: &Bundle, f: &mut fmt::Formatter)
crates/brontes-types/src/display/utils.rs:678
↓ 2 callers
Function
display_cex_dex_quotes
(bundle: &Bundle, f: &mut fmt::Formatter)
crates/brontes-types/src/display/utils.rs:901
↓ 2 callers
Method
do_graceful_shutdown
(self, timeout: Option<std::time::Duration>)
crates/brontes-types/src/executor.rs:125
↓ 2 callers
Method
eq_unordered
(&self, other: &Self)
crates/brontes-types/src/pair.rs:51
↓ 2 callers
Method
eth_call_light
eth call that fetches state and does minimal processing will bypass threadpool
crates/brontes-types/src/traits.rs:25
↓ 2 callers
Method
execute
(self, tasks: usize)
crates/brontes-database/brontes-db/src/libmdbx/db_utils/libmdbx_partitioning.rs:72
↓ 2 callers
Method
expand
(self)
crates/brontes-macros/src/action_classifier/action_impl.rs:33
↓ 2 callers
Method
expand_time_bounds
(&mut self, min: u64, max: u64)
crates/brontes-types/src/db/cex/trades/utils.rs:61
↓ 2 callers
Method
fetch_block_metadata
(&self, block_num: u64)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:1218
↓ 2 callers
Method
fetch_cex_quotes
(&self, block_num: u64)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:1242
↓ 2 callers
Method
fetch_dex_quotes
(&self, block_num: u64)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:1257
↓ 2 callers
Method
fetch_missing_metadata
(&self, block: u64)
crates/brontes-core/src/test_utils/mod.rs:145
↓ 2 callers
Method
fetch_state_for
(&mut self, block: u64, id: usize, metrics: Option<GlobalRangeMetrics>)
crates/bin/src/executors/shared/state_collector.rs:118
↓ 2 callers
Function
fetch_test_data
( client: &Clickhouse, range: CexRangeOrArbitrary, )
crates/brontes-database/brontes-db/tests/shared/mod.rs:7
↓ 2 callers
Method
fetch_underlying_actions
(self)
crates/brontes-types/src/normalized_actions/batch.rs:23
↓ 2 callers
Method
fill_trace_on_call_end
Fills the current trace with the outcome of a call. Invoked on [Inspector::call_end]. # Panics This expects an existing trace [Self::start_trace_on
crates/reth-tracing-ext/src/reth_tracer/inspector.rs:229
↓ 2 callers
Function
filter_fields
(value: &Value, ignore_fields: &[&str])
crates/brontes-classifier/src/test_utils/tests.rs:671
↓ 2 callers
Method
filter_possible_cex_dex
Filters and validates identified CEX-DEX arbitrage opportunities to minimize false positives. # Arguments `possible_cex_dex` - The arbitrage opportun
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:639
↓ 2 callers
Method
finalize
(&mut self)
crates/brontes-types/src/tree/root.rs:284
↓ 2 callers
Method
finalize_block
(&mut self, block: u64)
crates/brontes-pricing/src/graphs/mod.rs:345
↓ 2 callers
Method
find_closest_to_time_boundary
( &self, block_time: u64, exchange_symbol_map: FastHashMap<Pair, Vec<usize>>, )
crates/brontes-types/src/db/cex/quotes/download.rs:223
↓ 2 callers
Method
finished_block
(&self, id: usize)
crates/brontes-metrics/src/range.rs:135
↓ 2 callers
Method
first_hop_connections
shows how well the given node is.
crates/brontes-pricing/src/graphs/subgraph.rs:871
↓ 2 callers
Method
flip_tick
(&mut self, tick: i32, tick_spacing: i32)
crates/brontes-pricing/src/protocols/uniswap_v3/mod.rs:452
↓ 2 callers
Method
force_swap
(self)
crates/brontes-types/src/normalized_actions/mod.rs:265
↓ 2 callers
Method
freelist
Retrieves the total number of pages on the freelist. Along with [Environment::info()], this can be used to calculate the exact number of used pages a
crates/brontes-database/libmdbx-rs/src/environment.rs:225
↓ 2 callers
Method
gas_accounting
Accounts for gas costs in the calculation of potential arbitrage profits. This function calculates the final pnl for the transaction by subtracting ga
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:610
↓ 2 callers
Function
gas_details_fields
()
crates/brontes-database/brontes-db/src/parquet/normalized_actions/gas_details.rs:92
↓ 2 callers
Function
gas_details_struct_builder
()
crates/brontes-database/brontes-db/src/parquet/normalized_actions/gas_details.rs:101
↓ 2 callers
Method
generate_dex_pricing
( &self, block: u64, libmdbx: &'static DB, )
crates/bin/src/executors/shared/metadata_loader.rs:85
↓ 2 callers
Method
get_all_parent_nodes_for_discovery
( &self, res: &mut Vec<Node>, start_index: u64, trace_index: u64, )
crates/brontes-types/src/tree/node.rs:324
↓ 2 callers
Method
get_all_tarballs
(&self)
crates/brontes-database/brontes-db/src/libmdbx/db_utils/rclone_wrapper.rs:65
↓ 2 callers
Method
get_bundle_accounting
( &self, bundle_txes: Vec<FixedBytes<32>>, bundle_deltas: Vec<AddressDeltas>,
crates/brontes-inspect/src/mev_inspectors/shared_utils.rs:461
↓ 2 callers
Method
get_bundle_count_for_type
(&self, mev_type: MevType)
crates/brontes-types/src/db/searcher.rs:65
↓ 2 callers
Method
get_cex_symbols
( &self, )
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:902
↓ 2 callers
Method
get_cex_trades
(&self, block: u64)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:412
↓ 2 callers
Method
get_create_output
(&self)
crates/brontes-types/src/structured_trace.rs:51
↓ 2 callers
Function
get_db_handle
(handle: Handle)
crates/brontes-core/src/test_utils/mod.rs:445
↓ 2 callers
Method
get_db_range
(&self)
crates/brontes-database/brontes-db/src/clickhouse/middleware.rs:195
↓ 2 callers
Method
get_eth_price
Retrieves the ETH price in terms of the given quote token. First checks the block metadata for a pre-stored price. If that's zero, falls back to DEX
crates/brontes-types/src/db/metadata.rs:118
↓ 2 callers
Method
get_graceful_shutdown
(&self)
crates/brontes-types/src/executor.rs:352
↓ 2 callers
Method
get_highest_block_number
(&self)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:1301
↓ 2 callers
Method
get_last_create_call
returns the last create call index
crates/brontes-types/src/tree/node.rs:304
↓ 2 callers
Function
get_list_string_array
(values: Vec<&Vec<Q>>)
crates/brontes-database/brontes-db/src/parquet/utils.rs:43
↓ 2 callers
Method
get_min_time_delta
(&self, timestamp: u64)
crates/brontes-types/src/db/cex/trades/utils.rs:53
↓ 2 callers
Method
get_msg_value_not_eth_transfer
(&self)
crates/brontes-types/src/normalized_actions/mod.rs:174
↓ 2 callers
Function
get_normalized_burn_list_array
( normalized_burns_list: Vec<&Vec<NormalizedBurn>>, )
crates/brontes-database/brontes-db/src/parquet/normalized_actions/burns.rs:15
↓ 2 callers
Function
get_normalized_mint_list_array
( normalized_mints_list: Vec<Vec<&NormalizedMint>>, )
crates/brontes-database/brontes-db/src/parquet/normalized_actions/mints.rs:15
↓ 2 callers
Method
get_optimistic_vmap
( &self, config: CexDexTradeConfig, exchanges: &[CexExchange], pair: Pair,
crates/brontes-types/src/db/cex/trades/mod.rs:87
↓ 2 callers
Method
get_protocol
(&self)
crates/brontes-types/src/normalized_actions/mod.rs:438
↓ 2 callers
Method
get_quote_token
(&self)
crates/brontes-types/src/price_graph_types.rs:97
↓ 2 callers
Method
get_root
(&self, tx_hash: B256)
crates/brontes-types/src/tree/mod.rs:107
↓ 2 callers
Method
get_searcher_contract_info
(&self)
crates/brontes-types/src/tree/tx_info.rs:79
↓ 2 callers
Method
get_searcher_eao_info
(&self)
crates/brontes-types/src/tree/tx_info.rs:75
↓ 2 callers
Method
get_sibling_searchers
(&self, searchers: &mut FastHashSet<Address>)
crates/brontes-types/src/tree/tx_info.rs:93
↓ 2 callers
Method
get_subgraph_extends
(&self, pair: PairWithFirstPoolHop)
crates/brontes-pricing/src/graphs/registry.rs:147
↓ 2 callers
Method
get_token_with_direction
(&self, outgoing: bool)
crates/brontes-types/src/price_graph_types.rs:73
↓ 2 callers
Method
handle_drastic_price_changes
For the given DexQuotes, checks to see if the start price vs the end price contains a drastic change. This is done to avoid incorrect prices. prices c
crates/brontes-pricing/src/lib.rs:1079
↓ 2 callers
Method
handle_msg
(&mut self, stamped_msg: StampedWriterMessage)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:238
↓ 2 callers
Method
has_extension
(&self, pair: &Pair, quote: Address)
crates/brontes-pricing/src/graphs/mod.rs:117
↓ 2 callers
Method
has_go_through
(&self, pair: PairWithFirstPoolHop)
crates/brontes-pricing/src/graphs/registry.rs:176
↓ 2 callers
Method
header_by_number
(&self, number: BlockNumber)
crates/brontes-core/src/local_provider.rs:103
↓ 2 callers
Method
id
Returns the transaction id.
crates/brontes-database/libmdbx-rs/src/transaction.rs:132
↓ 2 callers
Method
init
(&self, animated_term: &mut AnimatedTerm)
crates/bin/src/misc/banner.rs:218
← previous
next →
401–500 of 2,610, ranked by callers