MCPcopy Create free account

hub / github.com/SorellaLabs/brontes / functions

Functions2,610 in github.com/SorellaLabs/brontes

↓ 1 callersMethodpoll_state_processing
( &mut self, cx: &mut Context<'_>, )
crates/brontes-pricing/src/lib.rs:1190
↓ 1 callersMethodpool_dep_failure
( &mut self, pair: &PairWithFirstPoolHop, pool_addr: Address, pool_pair: Pair,
crates/brontes-pricing/src/graphs/mod.rs:107
↓ 1 callersMethodpool_dep_failure
(&mut self, pair: PairWithFirstPoolHop)
crates/brontes-pricing/src/protocols/lazy.rs:387
↓ 1 callersFunctionpools
(db: &ClickhouseTestClient<BrontesClickhouseTables>)
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:1353
↓ 1 callersMethodpop_historical_trades
given the amount of entries per exchange per pair. removes the specified amount from the trade vector
crates/brontes-types/src/db/cex/trades/cex_trades.rs:85
↓ 1 callersMethodpop_trace_idx
(&mut self)
crates/reth-tracing-ext/src/reth_tracer/inspector.rs:162
↓ 1 callersMethodpopulate_data
( &mut self, block: Option<u64>, middleware: Arc<M>, )
crates/brontes-pricing/src/protocols/uniswap_v3/mod.rs:213
↓ 1 callersFunctionpopulate_pool_data_from_tokens
(mut pool: UniswapV2Pool, pool_data: PoolData)
crates/brontes-pricing/src/protocols/uniswap_v2/batch_request/mod.rs:30
↓ 1 callersMethodpossible_jit_set
(&self, tree: Arc<BlockTree<Action>>)
crates/brontes-inspect/src/mev_inspectors/jit/jit_liquidity.rs:464
↓ 1 callersFunctionpre_process
Pre-processes the block data for the Builder PNL calculation
crates/brontes-inspect/src/composer/utils.rs:414
↓ 1 callersFunctionprepare_call_env
( mut cfg: CfgEnvWithHandlerCfg, block: BlockEnv, request: TransactionRequest, gas_limit: u64,
crates/reth-tracing-ext/src/provider.rs:150
↓ 1 callersFunctionprepare_test_data
( converter: &mut CexQuotesConverter, data: FastHashMap<(u64, u64), FastHashMap<CexExchange, Vec<usize
crates/brontes-database/brontes-db/benches/cex_quotes_conversion.rs:167
↓ 1 callersFunctionpreprocess_help
Preprocesses the help output of a command.
book/cli/help.py:253
↓ 1 callersMethodpretty_print
(&self, f: &mut fmt::Formatter<'_>, spaces: usize)
crates/brontes-types/src/normalized_actions/liquidation.rs:95
↓ 1 callersMethodprice
(&self, base: Address)
crates/brontes-pricing/src/types.rs:64
↓ 1 callersMethodprice_at_or_before
(&self, mut pair: Pair, mut tx: usize)
crates/brontes-types/src/db/dex.rs:183
↓ 1 callersMethodprint_rem
(&self, block: u64)
crates/brontes-pricing/src/graphs/subgraph_verifier.rs:82
↓ 1 callersFunctionprint_trade_stats
(stats: &[TradeStats])
crates/bin/src/cli/db/cex_data.rs:225
↓ 1 callersMethodprocess_batch_swaps
( &self, actions: Vec<Action>, tx_info: TxInfo, metadata: Arc<Metadata>, )
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:207
↓ 1 callersMethodprocess_dex_swaps
( &self, actions: Vec<Action>, tx_info: TxInfo, metadata: Arc<Metadata>, )
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:157
↓ 1 callersMethodprocess_future_blocks
lets the state loader know if it should be pre processing more blocks. this lets us sync between the two tasks and only let a certain amount of pre-p
crates/brontes-pricing/src/lib.rs:990
↓ 1 callersMethodprocess_global_vwam
( &self, cex_prices: &CexPricesForSwaps, metadata: &Metadata, tx_info: &TxInfo
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:316
↓ 1 callersFunctionprocess_intermediaries
( clickhouse: &ClickhouseClient<D>, pair: Pair, intermediaries: FastHashSet<Address>, block_ti
crates/bin/src/cli/db/cex_data.rs:103
↓ 1 callersMethodprocess_optimistic
TODO: Remove horendous clones, just getting ouput for debugging purposes right now
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:379
↓ 1 callersFunctionprocess_pair
( clickhouse: &ClickhouseClient<D>, pair: Pair, block_timestamp: u64, tw_size: u64, )
crates/bin/src/cli/db/cex_data.rs:130
↓ 1 callersMethodprocess_per_exchange
( &self, cex_prices: &CexPricesForSwaps, metadata: &Metadata, tx_info: &TxInfo
crates/brontes-inspect/src/mev_inspectors/cex_dex/markout/cex_dex_markout.rs:344
↓ 1 callersMethodprocess_swaps
( &self, trees: Vec<Arc<BlockTree<Action>>>, info: TxInfo, metadata: Arc<Metad
crates/brontes-inspect/src/mev_inspectors/atomic_arb.rs:107
↓ 1 callersMethodprocess_triangle_arb
(&self, tx_info: &TxInfo, multiplier: u64)
crates/brontes-inspect/src/mev_inspectors/atomic_arb.rs:341
↓ 1 callersMethodprocess_tx_roots
( &self, tx_roots: Vec<TxTreeResult>, tree: &mut BlockTree<Action>, block: u64
crates/brontes-classifier/src/tree_builder/mod.rs:94
↓ 1 callersMethodprocess_txs
(&self, traces: Vec<TxTrace>, header: &Header)
crates/brontes-classifier/src/discovery_only.rs:47
↓ 1 callersMethodprofit_classifier
For a given DEX swap & CEX quote, calculates the potential profit from buying on DEX and selling on CEX.
crates/brontes-inspect/src/mev_inspectors/cex_dex/quotes/cex_dex.rs:314
↓ 1 callersMethodprogress
(&mut self, cx: &mut Context<'_>)
crates/brontes-types/src/buf_writer.rs:171
↓ 1 callersMethodprune_subgraph
(&mut self, removal_state: &FastHashMap<Pair, FastHashSet<BadEdge>>)
crates/brontes-pricing/src/graphs/subgraph.rs:677
↓ 1 callersMethodprune_subgraph_rundown
(&mut self, data: Vec<(Pair, Address)>)
crates/brontes-pricing/src/graphs/subgraph.rs:643
↓ 1 callersMethodpush_trace
Pushes a new trace into the arena, returning the trace ID This appends a new trace to the arena, and also inserts a new entry in the node's parent no
crates/reth-tracing-ext/src/reth_tracer/arena.rs:18
↓ 1 callersMethodput
Puts a key/data pair into the database. The cursor will be positioned at the new data item, or on failure usually near it.
crates/brontes-database/libmdbx-rs/src/cursor.rs:449
↓ 1 callersFunctionquery_error_types
()
crates/brontes-metrics/src/db_initialization.rs:32
↓ 1 callersFunctionquery_errors
()
crates/brontes-metrics/src/db_initialization.rs:20
↓ 1 callersFunctionquery_speed
()
crates/brontes-metrics/src/db_initialization.rs:8
↓ 1 callersMethodquote_count
(&self)
crates/brontes-types/src/db/cex/quotes/cex_quotes.rs:509
↓ 1 callersFunctionrain
()
crates/bin/src/misc/banner.rs:19
↓ 1 callersMethodrange_finished
(&self, waker: &Waker)
crates/bin/src/executors/shared/state_collector.rs:128
↓ 1 callersMethodranges_to_download
returns a error if the data isn't available. NOTE: assumes r2 data is continuous
crates/bin/src/cli/db/snapshot.rs:152
↓ 1 callersMethodready_to_remove
(&self, block: u64)
crates/brontes-pricing/src/graphs/subgraph.rs:174
↓ 1 callersMethodrecursive_possible_jits
( &self, frontrun_info: Vec<TxInfo>, backrun_info: TxInfo, metadata: Arc<Metad
crates/brontes-inspect/src/mev_inspectors/jit/jit_liquidity.rs:377
↓ 1 callersMethodrecursive_possible_sandwiches
For the given set of possible sandwich data. Calls with two different revisions. 1) front shrink 2) back shrink This is done recursively as this will
crates/brontes-inspect/src/mev_inspectors/sandwich/mod.rs:447
↓ 1 callersMethodremove_bad_node
(&mut self, pool_pair: Pair, pool_address: Address)
crates/brontes-pricing/src/graphs/subgraph.rs:286
↓ 1 callersFunctionremove_burn_transfers
(tree: &mut BlockTree<Action>)
crates/brontes-types/src/tree/frontend_prunes.rs:62
↓ 1 callersFunctionremove_collect_transfers
(tree: &mut BlockTree<Action>)
crates/brontes-types/src/tree/frontend_prunes.rs:91
↓ 1 callersMethodremove_empty_address
( &mut self, pool_pair: Pair, pool_addr: Address, )
crates/brontes-pricing/src/graphs/all_pair_graph.rs:152
↓ 1 callersFunctionremove_mint_transfers
(tree: &mut BlockTree<Action>)
crates/brontes-types/src/tree/frontend_prunes.rs:33
↓ 1 callersMethodremove_node_and_children
( &mut self, index: u64, data: &mut NodeData<V>, )
crates/brontes-types/src/tree/node.rs:455
↓ 1 callersMethodremove_pending_tree
(&self, id: usize)
crates/brontes-metrics/src/range.rs:113
↓ 1 callersMethodremove_pool
(&mut self, pool: Address, block: u64)
crates/brontes-pricing/src/protocols/lazy.rs:327
↓ 1 callersFunctionremove_possible_transfer_double_counts
(tree: &mut BlockTree<Action>)
crates/brontes-classifier/src/tree_builder/tree_pruning.rs:123
↓ 1 callersMethodremove_state
(&mut self, block: u64)
crates/brontes-pricing/src/graphs/state_tracker.rs:262
↓ 1 callersMethodremove_subgraph
(&mut self, pair: PairWithFirstPoolHop)
crates/brontes-pricing/src/graphs/mod.rs:202
↓ 1 callersMethodreplay_block_transactions_with_inspector
Replays all transactions in a block using a custom inspector for each transaction
crates/reth-tracing-ext/src/lib.rs:148
↓ 1 callersMethodreschedule
(&mut self, pricer: BrontesBatchPricer<T>)
crates/bin/src/executors/shared/dex_pricing.rs:81
↓ 1 callersMethodreturn_pairs_ready_for_loading
( &mut self, )
crates/brontes-pricing/src/protocols/lazy.rs:371
↓ 1 callersFunctionrun
()
crates/bin/src/main.rs:51
↓ 1 callersMethodrun
(self, shutdown: GracefulShutdown)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:569
↓ 1 callersMethodrun
Done like this to avoid runtime load and ensure we always are sending
crates/brontes-database/brontes-db/src/clickhouse/split_db.rs:142
↓ 1 callersMethodrun
(self, brontes_db_path: String, ctx: CliContext)
crates/bin/src/cli/db/clickhouse_download.rs:49
↓ 1 callersFunctionrun_all
(database: &ClickhouseTestClient<BrontesClickhouseTables>)
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:1399
↓ 1 callersMethodrun_cex_price_vol
(&self, f: impl FnOnce() -> Option<R>)
crates/brontes-metrics/src/inspectors.rs:99
↓ 1 callersMethodrun_cex_price_window
(&self, f: impl FnOnce() -> Option<R>)
crates/brontes-metrics/src/inspectors.rs:87
↓ 1 callersMethodrun_composer
( &self, config: ComposerRunConfig, specific_state_tests: StateTests, )
crates/brontes-inspect/src/test_utils/tests.rs:301
↓ 1 callersFunctionrun_dijkstra
( start: &N, second: Option<&N>, successors: &FN, path_value: &PV, stop: &FS, max_iter
crates/brontes-pricing/src/graphs/dijkstras.rs:147
↓ 1 callersMethodrun_discovery
(&self, traces: Vec<TxTrace>, header: Header)
crates/brontes-classifier/src/discovery_only.rs:43
↓ 1 callersFunctionrun_inspectors
( orchestra: &[&dyn Inspector<Result = Vec<Bundle>>], data: MultiBlockData, )
crates/brontes-inspect/src/composer/mod.rs:93
↓ 1 callersMethodrun_no_shutdown
used for testing to avoid random drops
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:584
↓ 1 callersMethodrun_to_completion
(mut self, shutdown: GracefulShutdown)
crates/brontes-database/brontes-db/src/clickhouse/split_db.rs:155
↓ 1 callersFunctionrun_to_completion_or_panic
( mut tasks: BrontesTaskManager, fut: F, )
crates/bin/src/runner.rs:72
↓ 1 callersFunctionrun_until_ctrl_c
(fut: F)
crates/bin/src/runner.rs:91
↓ 1 callersMethodrun_until_shutdown
(self, shutdown: GracefulShutdown)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:595
↓ 1 callersMethodrundown_subgraph_check
( &mut self, start: Address, start_price: Rational, state: &FastHashMap<Addres
crates/brontes-pricing/src/graphs/subgraph.rs:409
↓ 1 callersFunctionsandwich
(db: &ClickhouseTestClient<BrontesClickhouseTables>)
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:1325
↓ 1 callersFunctionsandwich_to_record_batch
(sandwiches: Vec<Sandwich>)
crates/brontes-database/brontes-db/src/parquet/mev_data/sandwich.rs:20
↓ 1 callersMethodsave_last_verification_liquidity
( &mut self, state: &FastHashMap<Address, &T>, )
crates/brontes-pricing/src/graphs/subgraph.rs:196
↓ 1 callersMethodsave_mev_blocks
( &mut self, block_number: u64, block: MevBlock, mev: Vec<Bundle>, )
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:404
↓ 1 callersMethodsave_mev_blocks
( &self, _block_number: u64, block: MevBlock, mev: Vec<Bundle>, )
crates/brontes-database/brontes-db/src/clickhouse/db_client.rs:159
↓ 1 callersMethodsave_traces
(&mut self, block: u64, traces: Vec<TxTrace>)
crates/brontes-database/brontes-db/src/libmdbx/libmdbx_writer.rs:518
↓ 1 callersFunctionsearcher_info_to_record_batch
( eoa_info: Vec<(Address, SearcherInfo)>, contract_info: Vec<(Address, SearcherInfo)>, )
crates/brontes-database/brontes-db/src/parquet/searcher.rs:15
↓ 1 callersFunctionsearcher_tx_to_record_batch
( searcher_txs: Vec<SearcherTx>, )
crates/brontes-database/brontes-db/src/parquet/mev_data/searcher_tx.rs:19
↓ 1 callersMethodsend_traces_for_block
( &self, block: u64, tx: UnboundedSender<DexPriceMsg>, )
crates/brontes-classifier/src/test_utils/tests.rs:209
↓ 1 callersFunctionserialize
(u: &DexKey, serializer: S)
crates/brontes-types/src/serde_utils.rs:9
↓ 1 callersMethodset_committed
Marks the transaction as committed.
crates/brontes-database/libmdbx-rs/src/transaction.rs:319
↓ 1 callersMethodset_flags
Sets the provided options in the environment.
crates/brontes-database/libmdbx-rs/src/environment.rs:789
↓ 1 callersMethodset_handle_slow_readers
(&mut self, hsr: HandleSlowReadersCallback)
crates/brontes-database/libmdbx-rs/src/environment.rs:875
↓ 1 callersMethodset_kind
Configures how this environment will be opened.
crates/brontes-database/libmdbx-rs/src/environment.rs:776
↓ 1 callersMethodset_last_block
(&mut self, block: u64)
crates/brontes-types/src/db/cex/trades/window_loader.rs:47
↓ 1 callersMethodset_log_level
(&mut self, log_level: ffi::MDBX_log_level_t)
crates/brontes-database/libmdbx-rs/src/environment.rs:867
↓ 1 callersMethodset_max_readers
Sets the maximum number of threads or reader slots for the environment. This defines the number of slots in the lock table that is used to track read
crates/brontes-database/libmdbx-rs/src/environment.rs:800
↓ 1 callersMethodset_memory_snapshots
Configure whether the tracer should record memory snapshots
crates/reth-tracing-ext/src/reth_tracer/config.rs:120
↓ 1 callersMethodset_queue_size
Instruments the current size of the write queue. Queue size will be bracketed to the max i64 value if it exceeds this but at that point we probably h
crates/brontes-metrics/src/db_writer.rs:161
↓ 1 callersMethodset_rp_augment_limit
(&mut self, v: u64)
crates/brontes-database/libmdbx-rs/src/environment.rs:819
↓ 1 callersMethodset_stack_snapshots
Configure how the tracer should record stack snapshots
crates/reth-tracing-ext/src/reth_tracer/config.rs:126
↓ 1 callersMethodset_state
testing / benching utils
crates/brontes-pricing/src/lib.rs:163
↓ 1 callersMethodset_steps
Configure whether individual opcode level steps should be recorded
crates/reth-tracing-ext/src/reth_tracer/config.rs:114
← previousnext →1,101–1,200 of 2,610, ranked by callers