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
↓ 5 callers
Method
is_parity
Returns true if this is a parity style tracer.
crates/reth-tracing-ext/src/reth_tracer/utils.rs:128
↓ 5 callers
Function
is_stable_pair
(token_in: &str, token_out: &str)
crates/brontes-inspect/src/mev_inspectors/atomic_arb.rs:425
↓ 5 callers
Method
lock
(&self)
crates/brontes-database/libmdbx-rs/src/transaction.rs:572
↓ 5 callers
Function
make_fake_transfer
Makes a swap for initializing a virtual pool with the quote token. this swap is empty such that we don't effect the state
crates/brontes-classifier/src/test_utils/tests.rs:711
↓ 5 callers
Method
metadata
(&self)
crates/brontes-database/brontes-db/src/libmdbx/env.rs:130
↓ 5 callers
Method
pair_gt
(&self)
crates/brontes-pricing/src/types.rs:49
↓ 5 callers
Function
parse
(item: DeriveInput)
crates/brontes-macros/src/transpose.rs:5
↓ 5 callers
Method
parse
(mut input: syn::parse::ParseStream)
crates/brontes-macros/src/action_classifier/action_impl.rs:129
↓ 5 callers
Function
position
Computes the position in the mapping where the initialized bit for a tick lives
crates/brontes-pricing/src/protocols/uniswap_v3/uniswap_v3_math/tick_bitmap.rs:85
↓ 5 callers
Method
run_in_span_mut
catches all panics and errors and makes sure to log with block number to ensure easy debugging
crates/brontes-types/src/tree/mod.rs:326
↓ 5 callers
Method
run_in_span_ref
(self: Arc<Self>, action: impl Fn(Arc<Self>) -> Ret)
crates/brontes-types/src/tree/mod.rs:349
↓ 5 callers
Method
spawn_critical_with_graceful_shutdown_signal
This spawns a critical task onto the runtime. If this task panics, the TaskManager is notified. The TaskManager will wait until the given future has
crates/brontes-types/src/executor.rs:381
↓ 5 callers
Method
tvl
(&self, _base: Address)
crates/brontes-pricing/src/graphs/subgraph.rs:1104
↓ 5 callers
Function
u128_to_binary_array
(values: Vec<u128>)
crates/brontes-database/brontes-db/src/parquet/utils.rs:13
↓ 5 callers
Method
update_state
(&mut self, x: usize, y: usize, state: bool, length: usize)
crates/bin/src/misc/banner.rs:100
↓ 4 callers
Method
action_split_out_ref
(self, filters: &Fns)
crates/brontes-types/src/action_iter.rs:61
↓ 4 callers
Method
as_bytes
(&self)
crates/reth-tracing-ext/src/reth_tracer/types.rs:622
↓ 4 callers
Method
best_block_number
(&self)
crates/brontes-core/src/local_provider.rs:63
↓ 4 callers
Method
block_and_tx_index
(&self, hash: TxHash)
crates/brontes-core/src/local_provider.rs:96
↓ 4 callers
Method
build_block_tree_with_pricing
( &self, block: u64, quote_asset: Address, needs_tokens: Vec<Address>, )
crates/brontes-classifier/src/test_utils/tests.rs:412
↓ 4 callers
Function
build_edge
(lookup_pair: Address, t0: Address, t1: Address)
crates/brontes-pricing/src/graphs/subgraph.rs:1109
↓ 4 callers
Method
can_write
(&self)
crates/brontes-types/src/buf_writer.rs:148
↓ 4 callers
Method
clear
(&self)
crates/brontes-database/brontes-db/src/libmdbx/implementation/compressed_wrappers/tx.rs:125
↓ 4 callers
Method
cmp
(&self, other: &MinScored<K, T>)
crates/brontes-pricing/src/graphs/subgraph.rs:1058
↓ 4 callers
Method
collect_address_set_for_accounting
(&self)
crates/brontes-types/src/tree/tx_info.rs:83
↓ 4 callers
Method
contains_time
Returns true if supplied timestamp is within the blocks time window
crates/brontes-types/src/db/block_times.rs:39
↓ 4 callers
Method
convert_to_prices
(self)
crates/brontes-types/src/db/cex/quotes/download.rs:73
↓ 4 callers
Method
create_block_num_map_with_pairs
( &self, )
crates/brontes-types/src/db/cex/quotes/download.rs:156
↓ 4 callers
Function
determine_eth_prices
( cex_quotes: &CexPriceMap, block_timestamp: u64, quote_asset: Address, )
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:1311
↓ 4 callers
Method
drain
(self)
crates/brontes-types/src/tree/util/scope/mod.rs:85
↓ 4 callers
Method
eq
(&self, other: &MinScored<K, T>)
crates/brontes-pricing/src/graphs/subgraph.rs:1042
↓ 4 callers
Method
execute_block
(self, block_num: u64)
crates/brontes-core/src/decoding/parser.rs:100
↓ 4 callers
Function
extract_uni_v3_immutables
TODO: Good first issue for someone to prune the unnecessary data we are loading for the pools TODO: We don't need ticks or fees, we should already hav
crates/brontes-pricing/src/protocols/uniswap_v3/batch_request/mod.rs:69
↓ 4 callers
Method
fees
Returns the maker & taker fees by exchange Assumes best possible fee structure e.g Binanace VIP 9 for example Does not account for special market make
crates/brontes-types/src/db/cex/exchanges.rs:220
↓ 4 callers
Method
fetch_symbol_rank
( &self, block_times: &[BlockTimes], range_or_arbitrary: &CexRangeOrArbitrary, )
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:822
↓ 4 callers
Method
first
(&mut self)
crates/brontes-database/brontes-db/src/libmdbx/implementation/native/cursor.rs:52
↓ 4 callers
Method
flatten_nested_actions_default
will flatten nested and filter out actions that aren't swap, transfer or eth_transfer
crates/brontes-inspect/src/mev_inspectors/shared_utils.rs:121
↓ 4 callers
Method
generate_arb_details
(&self, normalized_swaps: &[NormalizedSwap])
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/types.rs:468
↓ 4 callers
Method
generate_search_args
(&self, node: &Node, node_data: &NodeData<V>)
crates/brontes-types/src/tree/search_args.rs:98
↓ 4 callers
Method
get_all_pools
(&self)
crates/brontes-pricing/src/graphs/subgraph.rs:323
↓ 4 callers
Method
get_base_token
(&self)
crates/brontes-types/src/price_graph_types.rs:81
↓ 4 callers
Method
get_callframe_info
(&self)
crates/brontes-types/src/structured_trace.rs:102
↓ 4 callers
Method
get_cex_prices
( &self, range_or_arbitrary: CexRangeOrArbitrary, )
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:545
↓ 4 callers
Method
get_deltas_usd
( &self, tx_index: u64, at: PriceAt, mev_addresses: &FastHashSet<Address>,
crates/brontes-inspect/src/mev_inspectors/shared_utils.rs:428
↓ 4 callers
Method
get_max_time_delta
(&self, timestamp: u64)
crates/brontes-types/src/db/cex/trades/utils.rs:57
↓ 4 callers
Method
get_price_all
for the given pair, grabs the price for all go-through variants
crates/brontes-pricing/src/graphs/registry.rs:327
↓ 4 callers
Method
get_quote_from_most_liquid_exchange
Retrieves the quote closest to the specified timestamp for the given pair on the exchange with the highest trading volume in that month.
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:103
↓ 4 callers
Method
get_storage
( &self, block_number: Option<u64>, address: Address, storage_key: B256, )
crates/brontes-core/src/local_provider.rs:141
↓ 4 callers
Function
get_string_array
(values: Vec<Option<&str>>)
crates/brontes-database/brontes-db/src/parquet/utils.rs:27
↓ 4 callers
Method
get_token_info
(&self, address: Address)
crates/brontes-classifier/src/test_utils/tests.rs:57
↓ 4 callers
Method
get_token_value_dex
( &self, tx_index: usize, at: PriceAt, token_address: Address, amount:
crates/brontes-inspect/src/mev_inspectors/shared_utils.rs:227
↓ 4 callers
Method
get_tx_traces_with_header
( &self, tx_hashes: Vec<B256>, )
crates/brontes-core/src/test_utils/mod.rs:318
↓ 4 callers
Method
get_vm_quote
Retrieves a volume weighted CEX quote for a specified token pair from a given exchange. This function looks up the quote for the `pair` in the contex
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:273
↓ 4 callers
Function
init
Initializes a new [Subscriber] based on the given layers.
crates/brontes-tracing/src/lib.rs:12
↓ 4 callers
Method
insert_pool
( &self, block: u64, address: Address, tokens: &[Address], curve_lp_to
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:263
↓ 4 callers
Method
into_metadata
( self, cex_quotes: CexPriceMap, dex_quotes: Option<DexQuotes>, builder_info:
crates/brontes-types/src/db/metadata.rs:192
↓ 4 callers
Method
is_burn
(&self)
crates/brontes-types/src/normalized_actions/mod.rs:402
↓ 4 callers
Method
is_collecting_state
(&self)
crates/bin/src/executors/shared/state_collector.rs:74
↓ 4 callers
Method
is_disjoint
(&self)
crates/brontes-pricing/src/graphs/subgraph.rs:817
↓ 4 callers
Method
is_mint
(&self)
crates/brontes-types/src/normalized_actions/mod.rs:410
↓ 4 callers
Function
load_clickhouse
()
crates/brontes-core/src/test_utils/mod.rs:610
↓ 4 callers
Function
load_database
( executor: &BrontesTaskExecutor, db_endpoint: String, _: Option<HeartRateMonitor>, _: Option<
crates/bin/src/cli/utils.rs:39
↓ 4 callers
Function
make_call_request
( call: C, provider: &Arc<T>, to: Address, block: Option<u64>, )
crates/brontes-types/src/queries.rs:9
↓ 4 callers
Method
merge
(&mut self, other: StateToInitialize)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_read_write.rs:395
↓ 4 callers
Method
new_cursor
Create db Cursor
crates/brontes-database/brontes-db/src/libmdbx/implementation/compressed_wrappers/tx.rs:23
↓ 4 callers
Method
nodes
Returns the nodes in the arena
crates/reth-tracing-ext/src/reth_tracer/arena.rs:64
↓ 4 callers
Method
open
Open an environment. Database files will be opened with 644 permissions.
crates/brontes-database/libmdbx-rs/src/environment.rs:636
↓ 4 callers
Method
open_db
Opens a handle to an MDBX database. If `name` is [None], then the returned handle will be for the default database. If `name` is not [None], then th
crates/brontes-database/libmdbx-rs/src/transaction.rs:226
↓ 4 callers
Method
price_at
(&self, mut pair: Pair, mut tx: usize)
crates/brontes-types/src/db/dex.rs:115
↓ 4 callers
Method
remove_duplicate_data
Uses search args to collect two types of nodes. Nodes that could be a parent to a child node that we want to remove. and child nodes we want to remove
crates/brontes-types/src/tree/mod.rs:307
↓ 4 callers
Method
run_until_graceful_shutdown
(self, shutdown: GracefulShutdown)
crates/bin/src/executors/tip.rs:64
↓ 4 callers
Method
rw_tx
returns a RW transaction
crates/brontes-database/brontes-db/src/libmdbx/mod.rs:233
↓ 4 callers
Method
send_message
(&self, message: TxnManagerMessage)
crates/brontes-database/libmdbx-rs/src/txn_manager.rs:103
↓ 4 callers
Function
serialize
( value: &Option<FastHashMap<Pair, DexPrices>>, serializer: S, )
crates/brontes-types/src/db/clickhouse_serde/dex.rs:27
↓ 4 callers
Method
set
(&mut self, this: u16, availability: u16)
crates/brontes-types/src/db/initialized_state.rs:65
↓ 4 callers
Method
set_range
Position at first key greater than or equal to specified key.
crates/brontes-database/libmdbx-rs/src/cursor.rs:304
↓ 4 callers
Function
size_of_rational
(rational: &Rational)
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:808
↓ 4 callers
Method
split_to_storage_info
(self)
crates/brontes-types/src/tree/tx_info.rs:71
↓ 4 callers
Method
store_dex_price
For a given block number and tx idx, finds the path to the following tokens and inserts the data into dex_quotes.
crates/brontes-pricing/src/lib.rs:310
↓ 4 callers
Method
try_create_swaps
tries to convert transfer over to swaps
crates/brontes-inspect/src/mev_inspectors/shared_utils.rs:160
↓ 4 callers
Method
txn
(&self)
crates/brontes-database/libmdbx-rs/src/transaction.rs:122
↓ 4 callers
Function
workspace_dir
()
crates/brontes-database/brontes-db/src/libmdbx/initialize.rs:523
↓ 4 callers
Method
write_searcher_contract_info
( &self, searcher_contract: Address, searcher_info: SearcherInfo, )
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:381
↓ 4 callers
Method
write_searcher_eoa_info
( &self, searcher_eoa: Address, searcher_info: SearcherInfo, )
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:368
↓ 3 callers
Method
add_failed_tree
(&mut self, block: u64)
crates/bin/src/executors/shared/dex_pricing.rs:88
↓ 3 callers
Method
add_subgraph
( &mut self, pair: PairWithFirstPoolHop, extends_to: Option<Pair>, block: u64,
crates/brontes-pricing/src/lib.rs:897
↓ 3 callers
Method
adjust_for_direction
(&self, direction: Direction)
crates/brontes-types/src/db/cex/trades/cex_trades.rs:184
↓ 3 callers
Method
adjust_for_direction
(&self, direction: Direction)
crates/brontes-types/src/db/cex/quotes/types.rs:84
↓ 3 callers
Method
begin_rw_txn
Create a read-write transaction for use with the environment. This method will block while there are any other read-write transactions open on the env
crates/brontes-database/libmdbx-rs/src/environment.rs:117
↓ 3 callers
Method
bench_composer_block
( &self, bench_name: &str, block: u64, iters: usize, inspectors: Vec<I
crates/brontes-inspect/src/test_utils/benches.rs:308
↓ 3 callers
Method
bench_pricing_post_init
( &self, bench_name: &str, start_block_number: u64, bench_past_n_blocks: u64,
crates/brontes-pricing/pricing-test-utils/src/bench.rs:31
↓ 3 callers
Method
build_init_state_progress_bar
( &self, multi_progress_bar: &MultiProgress, blocks_to_init: u64, )
crates/brontes-database/brontes-db/src/libmdbx/tables/mod.rs:137
↓ 3 callers
Method
build_tree_txes_with_pricing
( &self, tx_hashes: Vec<TxHash>, quote_asset: Address, needs_tokens: Vec<Addre
crates/brontes-classifier/src/test_utils/tests.rs:341
↓ 3 callers
Method
build_tx_trees
( &self, traces: Vec<TxTrace>, header: &Header, )
crates/brontes-classifier/src/tree_builder/mod.rs:129
↓ 3 callers
Function
build_uint64_array
(values: Vec<u64>)
crates/brontes-database/brontes-db/src/parquet/utils.rs:106
↓ 3 callers
Method
calculate_jit
( &self, frontrun_info: Vec<TxInfo>, backrun_info: TxInfo, metadata: Arc<Metad
crates/brontes-inspect/src/mev_inspectors/jit/jit_liquidity.rs:160
↓ 3 callers
Method
calculate_sandwich
( &self, tree: Arc<BlockTree<Action>>, metadata: Arc<Metadata>, possible_front
crates/brontes-inspect/src/mev_inspectors/sandwich/mod.rs:168
↓ 3 callers
Method
calculate_time_window_vwam
( &self, config: CexDexTradeConfig, exchanges: &[CexExchange], pair: Pair,
crates/brontes-types/src/db/cex/trades/mod.rs:63
↓ 3 callers
Method
can_progress
(&self)
crates/brontes-pricing/src/lib.rs:979
↓ 3 callers
Method
cex_trade_map
(&self)
crates/brontes-types/src/db/cex/trades/window_loader.rs:65
← previous
next →
201–300 of 2,610, ranked by callers