Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dexloom/loom
/ functions
Functions
1,832 in github.com/dexloom/loom
⨍
Functions
1,832
◇
Types & classes
330
↓ 2 callers
Method
with_copied_accounts
(self, address_vec: Vec<Address>)
crates/defi/preloader/src/preloader_actor.rs:197
↓ 2 callers
Method
with_diff_path_merger
Start diff path merger
crates/core/blockchain-actors/src/actor.rs:434
↓ 2 callers
Method
with_flashbots_broadcaster
Starts flashbots broadcaster
crates/core/blockchain-actors/src/actor.rs:301
↓ 2 callers
Method
with_relays
(self, relays: Vec<RelayConfig>)
crates/broadcast/flashbots/src/flashbots.rs:169
↓ 2 callers
Method
with_same_path_merger
Start same path merger
crates/core/blockchain-actors/src/actor.rs:428
↓ 2 callers
Method
with_swap_path_merger
Start swap path merger
crates/core/blockchain-actors/src/actor.rs:420
↓ 2 callers
Method
with_token_balance
(self, token: Address, owner: Address, balance: U256)
crates/defi/preloader/src/preloader_actor.rs:209
↓ 2 callers
Method
write_u64
(&mut self, i: u64)
crates/evm/db/src/fast_hasher.rs:126
↓ 1 callers
Method
abs_profit
Calculate the absolute profit of the swap line
crates/types/entities/src/swap_line.rs:263
↓ 1 callers
Method
account_info
(&self)
crates/execution/multicaller/src/deploy.rs:38
↓ 1 callers
Function
accounts_vec_len
(state: &GethStateUpdateVec)
crates/types/entities/src/required_state.rs:134
↓ 1 callers
Method
add_account
(&mut self, account: Address)
crates/types/entities/src/account_nonce_balance.rs:66
↓ 1 callers
Method
add_balance
(&mut self, token: LDT::Address, balance: U256)
crates/types/entities/src/account_nonce_balance.rs:32
↓ 1 callers
Function
add_default_tokens_to_market
(market: &mut Market, chain_id: ChainId)
crates/core/blockchain/src/blockchain_tokens.rs:7
↓ 1 callers
Method
add_empty_slot
(&mut self, address: Address, slot: U256)
crates/types/entities/src/required_state.rs:43
↓ 1 callers
Method
add_force_insert
(&mut self, address: Address)
crates/types/entities/src/market_state.rs:18
↓ 1 callers
Method
add_internal_calls
(&self, opcodes: MulticallerCalls, inside_opcodes: MulticallerCalls)
crates/execution/multicaller/src/multicaller_encoder.rs:50
↓ 1 callers
Method
add_pool_manager_cell
(&mut self, pool_manager_address: LDT::Address, pool_id: PoolId<LDT>, cell: U256)
crates/types/entities/src/market.rs:270
↓ 1 callers
Method
add_revertible_transaction
Adds a revertible transaction to the bundle request. This function takes a mutable reference to `self` and adds the specified revertible transaction
crates/broadcast/flashbots/src/client/bundle.rs:160
↓ 1 callers
Method
add_slot
(&mut self, address: Address, slot: U256)
crates/types/entities/src/required_state.rs:38
↓ 1 callers
Method
add_transaction
Adds a transaction to the bundle request. This function takes a mutable reference to `self` and adds the specified transaction to the `transactions`
crates/broadcast/flashbots/src/client/bundle.rs:132
↓ 1 callers
Method
add_tx
(&mut self, tx: LDT::Transaction)
crates/types/blockchain/src/mempool.rs:33
↓ 1 callers
Method
address_or_zero
(&self)
crates/types/entities/src/pool_id.rs:59
↓ 1 callers
Function
anvil_broadcaster_worker
(client: P, bundle_rx: Broadcaster<MessageTxCompose>)
crates/broadcast/broadcaster/src/anvil.rs:44
↓ 1 callers
Method
apply_account_info_btree
( &mut self, address: &Address, account_updated_state: &alloy::rpc::types::trace::geth
crates/evm/db/src/loom_db.rs:349
↓ 1 callers
Method
apply_account_storage
(&mut self, address: &Address, acc_state: &GethAccountState, insert: bool, only_new: bool)
crates/evm/db/src/loom_db.rs:407
↓ 1 callers
Method
apply_geth_state_update
( &mut self, update_vec: &Vec<BTreeMap<Address, GethAccountState>>, insert: bool,
crates/evm/db/src/loom_db.rs:438
↓ 1 callers
Method
apply_geth_update
(&mut self, update: GethStateUpdate)
crates/types/entities/src/market_state.rs:64
↓ 1 callers
Method
apply_geth_update
(&mut self, update: BTreeMap<Address, GethAccountState>)
crates/evm/db/src/in_memory_db.rs:94
↓ 1 callers
Method
apply_geth_update_vec
(&mut self, update: Vec<BTreeMap<Address, GethAccountState>>)
crates/evm/db/src/loom_db.rs:343
↓ 1 callers
Function
arb_swap_path_merger_worker
( multicaller_address: Address, latest_block: SharedState<LatestBlock>, market_events_rx: Broadcas
crates/strategy/merger/src/swappath_merger_actor.rs:48
↓ 1 callers
Method
basic_ref
(&self, address: Address)
crates/evm/db/src/alloydb.rs:110
↓ 1 callers
Method
block_hash_ref
(&self, number: BlockNumber)
crates/evm/db/src/fast_cache_db.rs:256
↓ 1 callers
Function
block_state_change_worker
( chain_parameters: ChainParameters, market: SharedState<Market>, block_history: SharedState<Block
crates/strategy/backrun/src/block_state_change_processor.rs:14
↓ 1 callers
Method
build_blockchains
(self)
crates/core/topology/src/topology.rs:173
↓ 1 callers
Method
build_hasher
(&self)
crates/evm/db/src/fast_hasher.rs:137
↓ 1 callers
Function
build_swap_path_three_hopes_basic_in
(Basic -> Token1) -> (Token1 -> Token2) -> (Token2 -> Basic)
crates/types/entities/src/swap_path_builder.rs:61
↓ 1 callers
Function
build_swap_path_three_hopes_basic_out
( market: &Market<LDT>, pool: &PoolWrapper<LDT>, token_from_address: LDT::Address, token_to_ad
crates/types/entities/src/swap_path_builder.rs:233
↓ 1 callers
Function
build_swap_path_three_hopes_no_basic
(Token -> Token) -> (Token -> Token) -> (Token -> Token)
crates/types/entities/src/swap_path_builder.rs:378
↓ 1 callers
Function
build_swap_path_two_hopes_basic_in
(Basic -> Token1) -> (Token1 -> Basic)
crates/types/entities/src/swap_path_builder.rs:33
↓ 1 callers
Function
build_swap_path_two_hopes_basic_out
( market: &Market<LDT>, pool: &PoolWrapper<LDT>, token_from_address: LDT::Address, token_to_ad
crates/types/entities/src/swap_path_builder.rs:201
↓ 1 callers
Function
build_swap_path_vec
( market: &Market<LDT>, directions: &BTreeMap<PoolWrapper<LDT>, Vec<SwapDirection<LDT>>>, )
crates/types/entities/src/swap_path_builder.rs:435
↓ 1 callers
Method
calc_token_amount_call_data
(&self, i: u32, amount: U256)
crates/defi/pools/src/protocols/curve.rs:335
↓ 1 callers
Method
calc_withdraw_one_coin_call_data
(&self, i: u32, amount: U256)
crates/defi/pools/src/protocols/curve.rs:356
↓ 1 callers
Method
calculate_in_amount
( &self, state: &dyn DatabaseRef<Error = ErrReport>, env: Env, token_address_f
crates/types/entities/src/mock_pool.rs:68
↓ 1 callers
Method
calculate_in_amount
( &self, state_db: &dyn DatabaseRef<Error = ErrReport>, env: Env, token_addres
crates/defi/pools/src/uniswapv2pool.rs:263
↓ 1 callers
Method
calculate_out_amount
( &self, state: &dyn DatabaseRef<Error = ErrReport>, env: Env, token_address_f
crates/types/entities/src/mock_pool.rs:57
↓ 1 callers
Method
calculate_out_amount
( &self, state_db: &dyn DatabaseRef<Error = ErrReport>, env: Env, token_addres
crates/defi/pools/src/uniswapv2pool.rs:233
↓ 1 callers
Method
calculate_with_out_amount
(&mut self, state: &LoomDBType, env: Env, out_amount: Option<U256>)
crates/types/entities/src/swap_step.rs:391
↓ 1 callers
Method
call_bundle
(&self, request: &BundleRequest)
crates/broadcast/flashbots/src/flashbots.rs:52
↓ 1 callers
Method
can_calculate_in_amount
(&self)
crates/types/entities/src/swap_step.rs:96
↓ 1 callers
Method
can_calculate_in_amount
(&self)
crates/defi/pools/src/curvepool.rs:360
↓ 1 callers
Method
check
(&mut self, request: &SwapComposeData<DB>)
crates/types/events/src/best_tx_compose.rs:19
↓ 1 callers
Method
cmp
(&self, other: &Self)
crates/types/entities/src/pool_id.rs:104
↓ 1 callers
Method
cmp
(&self, other: &Self)
crates/types/entities/src/token.rs:45
↓ 1 callers
Method
code_by_hash_ref
(&self, code_hash: B256)
crates/evm/db/src/loom_db.rs:531
↓ 1 callers
Method
code_by_hash_ref
(&self, code_hash: B256)
crates/evm/db/src/fast_cache_db.rs:233
↓ 1 callers
Function
collect_stat_task
( id: usize, provider: RootProvider, grps: bool, stat: Arc<RwLock<StatCollector>>, warn_up
bin/nodebench/src/main.rs:223
↓ 1 callers
Method
contains_block
(&self, block_hash: &BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:244
↓ 1 callers
Function
convert_evm_result_to_rpc
( result: ResultAndState, tx_hash: TxHash, block_num_hash: BlockNumHash, block_timestamp: u64,
crates/evm/utils/src/evm.rs:130
↓ 1 callers
Method
create_block_filter
(&self)
crates/node/debug-provider/src/httpcached.rs:135
↓ 1 callers
Function
create_sol_test
(requests_vec: Vec<(String, Bytes)>)
bin/gasbench/src/soltest.rs:64
↓ 1 callers
Method
cross_pools
(&self, others_pools: &[PoolId<LDT>])
crates/types/events/src/swap_compose.rs:77
↓ 1 callers
Function
debug_trace_call_diff
( client: C, req: TR, block: BlockId, call_opts: Option<GethDebugTracingCallOptions>, )
crates/types/blockchain/src/state_update.rs:148
↓ 1 callers
Function
debug_trace_transaction
( client: P, req: TxHash, diff_mode: bool, )
crates/types/blockchain/src/state_update.rs:157
↓ 1 callers
Method
deploy
(self, client: P, priv_key: SecretKey)
crates/execution/multicaller/src/deploy.rs:42
↓ 1 callers
Method
determine_pool_class
( &self, log_entry: &<LoomDataTypesEthereum as LoomDataTypes>::Log, )
crates/types/entities/src/pool_loader.rs:92
↓ 1 callers
Function
diff_path_merger_worker
( market_events_rx: Broadcaster<MarketEvents>, compose_channel_rx: Broadcaster<MessageSwapCompose<DB>>
crates/strategy/merger/src/diffpath_merger_actor.rs:37
↓ 1 callers
Method
directions
(&self)
crates/types/events/src/state_update_event.rs:61
↓ 1 callers
Method
disable_cell
(&mut self, address: Address, cell: U256)
crates/types/entities/src/market_state.rs:22
↓ 1 callers
Method
disable_cell_vec
(&mut self, address: Address, cells: Vec<U256>)
crates/types/entities/src/market_state.rs:26
↓ 1 callers
Method
disable_pool_paths
( &mut self, pool_id: &PoolId<LDT>, token_from_address: &LDT::Address, token_t
crates/types/entities/src/swap_path.rs:216
↓ 1 callers
Method
disabled_len
(&self)
crates/types/entities/src/swap_path.rs:168
↓ 1 callers
Method
disabled_pools_count
(&self)
crates/types/entities/src/market.rs:266
↓ 1 callers
Method
encode_balancer_flash_loan
(&self, steps: Vec<SwapStep<LoomDataTypesEthereum>>)
crates/execution/multicaller/src/swapstep_encoder.rs:55
↓ 1 callers
Method
encode_calls
(&self, calls: MulticallerCalls)
crates/execution/multicaller/src/multicaller_encoder.rs:46
↓ 1 callers
Method
encode_flash_swap_in_amount_provided
( &self, swap_opcodes: &mut MulticallerCalls, abi_encoder: &dyn ProtocolAbiSwapEncoder
crates/execution/multicaller/src/pool_opcodes_encoder/uniswap3.rs:90
↓ 1 callers
Method
encode_flash_swap_line_in_amount
( &self, swap_path: &SwapLine<LoomDataTypesEthereum>, inside_swap_opcodes: Multicaller
crates/execution/multicaller/src/swapline_encoder.rs:40
↓ 1 callers
Method
encode_flash_swap_line_out_amount
( &self, swap_path: &SwapLine<LoomDataTypesEthereum>, inside_swap_opcodes: Multicaller
crates/execution/multicaller/src/swapline_encoder.rs:82
↓ 1 callers
Method
encode_flash_swap_out_amount_provided
( &self, swap_opcodes: &mut MulticallerCalls, abi_encoder: &dyn ProtocolAbiSwapEncoder
crates/execution/multicaller/src/pool_opcodes_encoder/uniswap3.rs:171
↓ 1 callers
Method
encode_in_amount
( &self, flash_step: SwapStep<LoomDataTypesEthereum>, swap_step: SwapStep<LoomDataType
crates/execution/multicaller/src/swapstep_encoder.rs:95
↓ 1 callers
Method
encode_out_amount
( &self, swap_step: SwapStep<LoomDataTypesEthereum>, flash_step: SwapStep<LoomDataType
crates/execution/multicaller/src/swapstep_encoder.rs:138
↓ 1 callers
Method
encode_swap_in_amount_provided
( &self, swap_opcodes: &mut MulticallerCalls, abi_encoder: &dyn ProtocolAbiSwapEncoder
crates/execution/multicaller/src/pool_opcodes_encoder/uniswap3.rs:15
↓ 1 callers
Method
encode_swap_in_amount_provided
( &self, swap_opcodes: &mut MulticallerCalls, abi_encoder: &dyn ProtocolAbiSwapEncoder
crates/execution/multicaller/src/pool_opcodes_encoder/steth.rs:16
↓ 1 callers
Method
encode_swap_out_amount_provided
( &self, _swap_opcodes: &mut MulticallerCalls, _abi_encoder: &dyn ProtocolAbiSwapEncod
crates/execution/multicaller/src/pool_opcodes_encoder/uniswap3.rs:75
↓ 1 callers
Method
encode_tips
( &self, swap_opcodes: MulticallerCalls, token_address: Address, min_balance:
crates/execution/multicaller/src/swapline_encoder.rs:394
↓ 1 callers
Function
encrypt_key
(private_key: Vec<u8>, pwd: Vec<u8>)
bin/keys/src/main.rs:21
↓ 1 callers
Method
eoa
(&self)
crates/strategy/backrun/src/backrun_config.rs:17
↓ 1 callers
Method
eq
(&self, other: &Self)
crates/types/entities/src/token.rs:36
↓ 1 callers
Function
estimator_worker
( client: Arc<Flashbots<P>>, encoder: impl SwapEncoder + Send + Sync + Clone + 'static, compose_ch
crates/execution/estimator/src/geth.rs:200
↓ 1 callers
Function
estimator_worker
( swap_encoder: impl SwapEncoder, compose_channel_rx: Broadcaster<MessageSwapCompose<DB>>, compose
crates/execution/estimator/src/hardhat.rs:17
↓ 1 callers
Function
estimator_worker
( client: Option<impl Provider<N> + Clone + 'static>, encoder: impl SwapEncoder + Send + Sync + Clone
crates/execution/estimator/src/evm.rs:238
↓ 1 callers
Method
eth_call
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:216
↓ 1 callers
Method
eth_get_block_by_hash
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:273
↓ 1 callers
Method
eth_get_block_by_number
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:257
↓ 1 callers
Method
eth_get_logs
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:321
↓ 1 callers
Method
eth_get_storage_at
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:234
↓ 1 callers
Function
evm_access_list
(state_db: DB, env: &Env, tx: &TransactionRequest)
crates/evm/utils/src/evm.rs:77
↓ 1 callers
Function
evm_call_tx_in_block
(tx: T, state_db: DB, header: &Header)
crates/evm/utils/src/evm.rs:115
↓ 1 callers
Method
evm_env
(&self)
crates/types/events/src/state_update_event.rs:57
← previous
next →
401–500 of 1,832, ranked by callers