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
↓ 3 callers
Method
collect_action_vec
(self, filter: fn(V) -> Option<R>)
crates/brontes-types/src/action_iter.rs:68
↓ 3 callers
Function
command_name
Returns the name of a command.
book/cli/help.py:249
↓ 3 callers
Method
convert_to_timestamp_query
(&self, before_block: f64, after_block: f64)
crates/brontes-types/src/db/block_times.rs:11
↓ 3 callers
Function
correct_usdc_address
(pair: &Pair)
crates/brontes-types/src/db/cex/quotes/download.rs:267
↓ 3 callers
Method
create_db
Opens a handle to an MDBX database, creating the database if necessary. If the database is already created, the given option flags will be added to i
crates/brontes-database/libmdbx-rs/src/transaction.rs:387
↓ 3 callers
Method
create_subgraph
creates a subgraph returning the edges and the state to load. this is done so that this isn't mut and be ran in parallel
crates/brontes-pricing/src/graphs/mod.rs:128
↓ 3 callers
Method
dec
(&mut self, am: u64)
crates/brontes-pricing/src/graphs/state_tracker.rs:221
↓ 3 callers
Function
decode_transfer
(log: &Log)
crates/brontes-classifier/src/tree_builder/utils.rs:20
↓ 3 callers
Method
dedup
( self, parent_actions: KS, possible_prune_actions: RS, )
crates/brontes-types/src/tree/util/dedup.rs:53
↓ 3 callers
Method
del
Deletes the current key/data pair. ### Flags [WriteFlags::NO_DUP_DATA] may be used to delete all data items for the current key, if the database was
crates/brontes-database/libmdbx-rs/src/cursor.rs:469
↓ 3 callers
Function
determine_max_tasks
(max_tasks: Option<u64>)
crates/bin/src/cli/utils.rs:139
↓ 3 callers
Function
display_arb_details
(f: &mut fmt::Formatter<'_>, details: &ArbDetails)
crates/brontes-types/src/display/utils.rs:809
↓ 3 callers
Method
eth_call
( &self, request: TransactionRequest, block_number: Option<BlockId>, state_ove
crates/brontes-core/src/local_provider.rs:30
↓ 3 callers
Method
execute
(mut self, brontes_db_path: String, ctx: CliContext)
crates/bin/src/cli/run.rs:107
↓ 3 callers
Method
fetch_price
( &self, edge_state: &FastHashMap<Address, &T>, )
crates/brontes-pricing/src/graphs/subgraph.rs:316
↓ 3 callers
Function
fetch_test_data
( client: &Clickhouse, range: CexRangeOrArbitrary, )
crates/brontes-database/brontes-db/benches/cex_quotes_conversion.rs:20
↓ 3 callers
Method
first_hop_min_liq
returns the pools liquidity in quote token for the other token that we are requesting price for. this allows us to have a good ref to how accurate the
crates/brontes-pricing/src/graphs/subgraph.rs:882
↓ 3 callers
Method
flatten_specified
(self, wanted: W, transform: T)
crates/brontes-types/src/action_iter.rs:6
↓ 3 callers
Method
get_block_tree
( &self, block: u64, )
crates/brontes-inspect/src/test_utils/tests.rs:90
↓ 3 callers
Method
get_block_tree_with_pricing
( &self, block: u64, needs_tokens: Vec<Address>, )
crates/brontes-inspect/src/test_utils/tests.rs:100
↓ 3 callers
Method
get_both_range
[DatabaseFlags::DUP_SORT]-only: Position at given key and at first data greater than or equal to specified data.
crates/brontes-database/libmdbx-rs/src/cursor.rs:176
↓ 3 callers
Method
get_exchange_quote_at_direct
( &self, pair: &Pair, exchange: &CexExchange, timestamp: u64, _max_tim
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:142
↓ 3 callers
Method
get_libmdbx_handle
(&self)
crates/brontes-database/brontes-db/src/libmdbx/initialize.rs:54
↓ 3 callers
Method
get_metadata_no_dex_price
( &self, block_num: u64, quote_asset: Address, )
crates/brontes-database/brontes-db/src/clickhouse/middleware.rs:259
↓ 3 callers
Method
get_optimistic_direct
( &self, config: CexDexTradeConfig, block_timestamp: u64, pair: Pair,
crates/brontes-types/src/db/cex/trades/optimistic.rs:227
↓ 3 callers
Method
get_protocol_details
(&self, address: Address)
crates/brontes-database/brontes-db/src/clickhouse/middleware.rs:381
↓ 3 callers
Method
get_raw_cex_quotes_range
( &self, start_time: u64, end_time: u64, )
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:908
↓ 3 callers
Method
get_receipts
gets the transaction $receipts for a block
crates/brontes-core/src/decoding/parser.rs:290
↓ 3 callers
Method
get_start_block
(&self, db: &DB)
crates/bin/src/executors/mod.rs:685
↓ 3 callers
Method
get_tracing_provider
(&self)
crates/brontes-classifier/src/test_utils/tests.rs:53
↓ 3 callers
Method
get_tree_txes
( &self, tx_hashes: Vec<TxHash>, )
crates/brontes-inspect/src/test_utils/tests.rs:58
↓ 3 callers
Method
get_tree_txes_with_pricing
( &self, tx_hashes: Vec<TxHash>, needs_tokens: Vec<Address>, )
crates/brontes-inspect/src/test_utils/tests.rs:72
↓ 3 callers
Method
get_tvl
(&self, base: Address)
crates/brontes-pricing/src/types.rs:121
↓ 3 callers
Method
get_tx_info
(&self, tx_hash: B256, database: &DB)
crates/brontes-types/src/tree/mod.rs:96
↓ 3 callers
Method
get_vwap_price
Calculates the Volume Weighted Markout over a dynamic time window. This function adjusts the time window dynamically around a given block time to ach
crates/brontes-types/src/db/cex/trades/time_window_vwam.rs:249
↓ 3 callers
Method
get_window_lookahead
(&self)
crates/brontes-types/src/db/cex/trades/window_loader.rs:43
↓ 3 callers
Method
handle
Returns the [Handle] to the tokio runtime.
crates/brontes-types/src/executor.rs:183
↓ 3 callers
Method
has_subgraph_goes_through
(&self, pair: PairWithFirstPoolHop)
crates/brontes-pricing/src/graphs/mod.rs:248
↓ 3 callers
Method
init_state_updating
(&self, block: u64, flag: u16, availability: u16)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:1140
↓ 3 callers
Function
init_trace_parser
( handle: Handle, metrics_tx: UnboundedSender<ParserMetricEvents>, libmdbx: &'static LibmdbxReadWr
crates/brontes-core/src/test_utils/mod.rs:568
↓ 3 callers
Method
initialize
( &self, table: Tables, clear_tables: bool, block_range: Option<(u64, u64)>, /
crates/brontes-database/brontes-db/src/libmdbx/initialize.rs:58
↓ 3 callers
Method
initialize_full_range_tables
(&self)
crates/brontes-database/brontes-db/src/libmdbx/initialize.rs:81
↓ 3 callers
Method
insert
( client: ClickhouseClient<BrontesClickhouseTables>, data: Vec<BrontesClickhouseTableDataTypes
crates/brontes-database/brontes-db/src/clickhouse/split_db.rs:75
↓ 3 callers
Method
insert_root
(&mut self, root: Root<V>)
crates/brontes-types/src/tree/mod.rs:128
↓ 3 callers
Method
is_delegate_call
(&self)
crates/brontes-types/src/structured_trace.rs:44
↓ 3 callers
Method
is_searcher_of_type
(&self, mev_type: MevType)
crates/brontes-types/src/db/searcher.rs:51
↓ 3 callers
Method
is_selfdestruct
(&self)
crates/reth-tracing-ext/src/reth_tracer/types.rs:196
↓ 3 callers
Method
is_write_map
(&self)
crates/brontes-database/libmdbx-rs/src/environment.rs:68
↓ 3 callers
Method
kind
(&self)
crates/reth-tracing-ext/src/reth_tracer/types.rs:176
↓ 3 callers
Method
last_trace_idx
(&self)
crates/reth-tracing-ext/src/reth_tracer/inspector.rs:148
↓ 3 callers
Method
load_cex_trades
( &mut self, libmdbx: &'static DB, block: u64, )
crates/bin/src/executors/shared/metadata_loader.rs:126
↓ 3 callers
Function
load_clickhouse
( cex_download_config: CexDownloadConfig, run_id: Option<u64>, )
crates/bin/src/cli/utils.rs:102
↓ 3 callers
Function
load_libmdbx
( executor: &BrontesTaskExecutor, db_endpoint: String, )
crates/bin/src/cli/utils.rs:93
↓ 3 callers
Function
load_missing_token_info
( provider: &Arc<T>, db: &W, block: u64, missing_address: Address, )
crates/brontes-core/src/missing_token_info.rs:25
↓ 3 callers
Function
log_insufficient_trade_volume
( pair: Pair, dex_swap: &NormalizedSwap, tx_hash: &TxHash, trade_volume_global: Rational,
crates/brontes-types/src/db/cex/trades/utils.rs:426
↓ 3 callers
Function
make_filter_key_range
(block_number: u64)
crates/brontes-types/src/db/dex.rs:432
↓ 3 callers
Method
merge_in_map
merges in another map extending each of the pairs trades to the current map
crates/brontes-types/src/db/cex/trades/cex_trades.rs:51
↓ 3 callers
Method
no_timeout_ro_tx
(&self)
crates/brontes-database/brontes-db/src/libmdbx/mod.rs:225
↓ 3 callers
Method
pair
(&self)
crates/brontes-pricing/src/types.rs:91
↓ 3 callers
Method
price_for_block
(&self, mut pair: Pair, price_at: BlockPrice)
crates/brontes-types/src/db/dex.rs:219
↓ 3 callers
Method
priority_fee
(&self, base_fee: u128)
crates/brontes-types/src/tree/root.rs:372
↓ 3 callers
Method
profit_classifier
For a given swap & CEX quote, calculates the potential profit from buying on DEX and selling on CEX.
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:420
↓ 3 callers
Method
protocol_info
( &self, read: bool, f: impl FnOnce(&SegmentedCache<Address, Option<ProtocolInfo>, aha
crates/brontes-database/brontes-db/src/libmdbx/cache_middleware.rs:118
↓ 3 callers
Method
protocols_created_before
( &self, start_block: u64, )
crates/brontes-database/brontes-db/src/clickhouse/middleware.rs:366
↓ 3 callers
Method
protocols_created_range
( &self, start_block: u64, end_block: u64, )
crates/brontes-database/brontes-db/src/clickhouse/middleware.rs:373
↓ 3 callers
Function
query_trade_stats
( clickhouse: &ClickhouseClient<D>, trading_pair: &str, block_timestamp: u64, tw_size: u64, )
crates/bin/src/cli/db/cex_data.rs:143
↓ 3 callers
Function
query_trading_pair_info
( clickhouse: &ClickhouseClient<D>, pair: Pair, )
crates/bin/src/cli/db/cex_data.rs:201
↓ 3 callers
Method
remove_active_read_transaction
Removes a transaction from the list of active read transactions.
crates/brontes-database/libmdbx-rs/src/txn_manager.rs:157
↓ 3 callers
Method
remove_finalized_state_dep
(&mut self, pool: Address, amount: u64)
crates/brontes-pricing/src/graphs/state_tracker.rs:70
↓ 3 callers
Method
remove_pair_graph_address
( &mut self, pool_pair: Pair, pool_address: Address, )
crates/brontes-pricing/src/graphs/mod.rs:193
↓ 3 callers
Method
run_bfs_with_liquidity_params
( &self, start: Address, start_price: Rational, state: &FastHashMap<Address, &
crates/brontes-pricing/src/graphs/subgraph.rs:474
↓ 3 callers
Function
run_block_inspection
( orchestra: &[&dyn Inspector<Result = Vec<Bundle>>], data: MultiBlockData, db: &'static DB, )
crates/brontes-inspect/src/composer/mod.rs:71
↓ 3 callers
Method
serialize
(&self, _serializer: S)
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:592
↓ 3 callers
Method
set_max_read_transaction_duration
Set the maximum time a read-only transaction can be open.
crates/brontes-database/libmdbx-rs/src/environment.rs:910
↓ 3 callers
Function
setup_runtime_and_client
()
crates/brontes-database/brontes-db/benches/cex_quotes_conversion.rs:37
↓ 3 callers
Function
setup_runtime_and_client
()
crates/brontes-database/brontes-db/benches/cex_downloader_benchmarks.rs:10
↓ 3 callers
Method
tar_ball_dir
( &self, directory: &PathBuf, new_name: Option<&str>, )
crates/brontes-database/brontes-db/src/libmdbx/db_utils/rclone_wrapper.rs:129
↓ 3 callers
Method
to_clickhouse_filter
(&self)
crates/brontes-types/src/db/cex/exchanges.rs:61
↓ 3 callers
Method
token_in_symbol
(&self)
crates/brontes-types/src/normalized_actions/swaps.rs:82
↓ 3 callers
Method
token_info
( &self, read: bool, f: impl FnOnce(&SegmentedCache<Address, Option<TokenInfo>, ahash:
crates/brontes-database/brontes-db/src/libmdbx/cache_middleware.rs:126
↓ 3 callers
Method
token_out_symbol
(&self)
crates/brontes-types/src/normalized_actions/swaps.rs:86
↓ 3 callers
Method
trace_block
traces a block into a vec of tx traces
crates/brontes-core/src/decoding/parser.rs:219
↓ 3 callers
Method
try_load_state
( self, address: Address, provider: Arc<T>, block_number: u64, pool_pa
crates/brontes-pricing/src/protocols/mod.rs:58
↓ 3 callers
Method
update_state
(&mut self, address: Address, update: PoolUpdate)
crates/brontes-pricing/src/graphs/mod.rs:244
↓ 3 callers
Method
update_tick
(&mut self, tick: i32, liquidity_delta: i128, upper: bool)
crates/brontes-pricing/src/protocols/uniswap_v3/mod.rs:413
↓ 3 callers
Method
valid_pricing
Evaluates the validity of swap prices against DEX quoted prices within a given metadata context. This function iterates over each token involved in t
crates/brontes-inspect/src/mev_inspectors/shared_utils.rs:546
↓ 3 callers
Function
value_parse
(sol_value: &[DynSolValue], tuple: bool)
crates/brontes-core/src/decoding/dyn_decode.rs:158
↓ 3 callers
Method
verification_done_for_block
(&self, block: u64)
crates/brontes-pricing/src/graphs/mod.rs:353
↓ 3 callers
Method
write
(&self)
crates/brontes-database/libmdbx-rs/src/transaction.rs:673
↓ 3 callers
Method
write_address_meta
(&self, address: Address, metadata: AddressMetadata)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:394
↓ 3 callers
Method
write_builder_info
( &self, builder_address: Address, builder_info: BuilderInfo, )
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:534
↓ 3 callers
Function
write_parquet
(record_batch: RecordBatch, file_path: PathBuf)
crates/brontes-database/brontes-db/src/parquet/mod.rs:339
↓ 2 callers
Function
accounting_calc
(accounting: &mut Accounting, next: Action)
crates/brontes-types/src/normalized_actions/accounting.rs:25
↓ 2 callers
Method
action_type
(&self)
crates/brontes-types/src/structured_trace.rs:58
↓ 2 callers
Function
add_edge
( graph: &mut DiGraph<(), Vec<SubGraphEdge>, u16>, edge_idx: EdgeIndex<u16>, edge_info: &'static P
crates/brontes-pricing/src/graphs/subgraph.rs:1007
↓ 2 callers
Method
add_edge_with_liq
(&mut self, addr: Address, bad_edge: BadEdge)
crates/brontes-pricing/src/graphs/subgraph_verifier.rs:471
↓ 2 callers
Method
add_pending_inspection
(&mut self, block: u64, tree: BlockTree<Action>, meta: Metadata)
crates/bin/src/executors/shared/dex_pricing.rs:92
↓ 2 callers
Method
add_pool
(&mut self, pair: Pair, pool_addr: Address, dex: Protocol, block: u64)
crates/brontes-pricing/src/graphs/mod.rs:103
↓ 2 callers
Method
add_protocol_parent
( &mut self, block: u64, id: Option<u64>, address: Address, pair: Pair
crates/brontes-pricing/src/protocols/lazy.rs:142
↓ 2 callers
Method
address
(&self)
crates/brontes-pricing/src/types.rs:114
← previous
next →
301–400 of 2,610, ranked by callers