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
disable_path
(&mut self, swap_path: &SwapPath<LDT>, disable: bool)
crates/types/entities/src/swap_path.rs:204
↓ 2 callers
Method
enable
(self, pool_class: PoolClass)
crates/types/entities/src/pool_config.rs:30
↓ 2 callers
Method
encode
(&self)
crates/types/blockchain/src/loom_data_types_ethereum.rs:55
↓ 2 callers
Method
encode_do_calls
(&self, opcodes: MulticallerCalls, inside_opcodes: MulticallerCalls)
crates/execution/multicaller/src/swapstep_encoder.rs:37
↓ 2 callers
Function
env_from_signed_tx
(rpl_bytes: Bytes)
crates/evm/utils/src/evm_tx_env.rs:20
↓ 2 callers
Function
evm_transact
(evm: &mut Evm<(), DB>)
crates/evm/utils/src/evm.rs:63
↓ 2 callers
Method
fetch
(&mut self, key: K, fx: F)
crates/types/entities/src/datafetcher.rs:39
↓ 2 callers
Function
fetch_account_state
(client: P, address: Address)
crates/defi/preloader/src/preloader_actor.rs:21
↓ 2 callers
Method
fetch_entry_by_hash
(&self, block_hash: BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:259
↓ 2 callers
Method
fetch_entry_data
(&self, entry: &mut BlockHistoryEntry)
crates/types/entities/src/block_history/block_history_impl.rs:353
↓ 2 callers
Function
fetch_original_contract_amounts
( client: AnvilDebugProviderType, pool_address: Address, amount: U256, block_n
crates/defi/pools/src/uniswapv2pool.rs:428
↓ 2 callers
Method
fetch_out_amount
(&self, token_address_from: Address, token_address_to: Address, amount_in: U256)
crates/defi/pools/src/curvepool.rs:109
↓ 2 callers
Function
fetch_state_and_add_pool
( client: P, market: SharedState<Market>, market_state: SharedState<MarketState<DB>>, pool_wra
crates/defi/market/src/pool_loader_actor.rs:119
↓ 2 callers
Function
fill_cache_db
(db: &mut CacheDB<EmptyDB>, addr: &[Address], accs: &[DbAccount])
crates/evm/db/benches/benchmark.rs:43
↓ 2 callers
Function
fill_loom_db
(db: &mut LoomDBType, addr: &[Address], accs: &[DbAccount])
crates/evm/db/benches/benchmark.rs:52
↓ 2 callers
Method
first_swap_line
(&self)
crates/types/entities/src/swap_step.rs:49
↓ 2 callers
Method
first_token
(&self)
crates/types/entities/src/swap_step.rs:53
↓ 2 callers
Method
gas_price
(&self)
crates/types/blockchain/src/loom_data_types_ethereum.rs:35
↓ 2 callers
Function
generate_accounts
(acc_size: usize, mem_size: usize)
crates/evm/db/benches/benchmark.rs:35
↓ 2 callers
Method
get_abi_encoder
(&self)
crates/defi/pools/src/curvepool.rs:364
↓ 2 callers
Method
get_account
(&self, account: &Address)
crates/types/entities/src/account_nonce_balance.rs:70
↓ 2 callers
Method
get_add_liquidity_call_data
(&self, i: u32, amount: U256, _to: Address)
crates/defi/pools/src/protocols/curve.rs:398
↓ 2 callers
Function
get_affected_pools_from_state_update
( market: SharedState<Market>, state_update: &GethStateUpdateVec, )
crates/strategy/backrun/src/affected_pools_state.rs:9
↓ 2 callers
Method
get_block_hash_for_block_number
(&self, block_number: BlockNumber)
crates/types/entities/src/block_history/block_history_impl.rs:236
↓ 2 callers
Method
get_contract_address
(&self)
crates/execution/multicaller/src/swapstep_encoder.rs:33
↓ 2 callers
Method
get_entry_or_default
(&mut self, account: Address)
crates/types/entities/src/account_nonce_balance.rs:86
↓ 2 callers
Method
get_first_block_number
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:240
↓ 2 callers
Method
get_hash
(&self)
crates/types/entities/src/swap_path.rs:132
↓ 2 callers
Function
get_liquidity_for_amount0
(sqrt_ratio_a_x_96: U256, sqrt_ratio_b_x_96: U256, amount0: U256)
crates/defi/uniswap-v3-math/src/liquidity_math.rs:27
↓ 2 callers
Function
get_liquidity_for_amount1
(sqrt_ratio_a_x_96: U256, sqrt_ratio_b_x_96: U256, amount1: U256)
crates/defi/uniswap-v3-math/src/liquidity_math.rs:41
↓ 2 callers
Method
get_mut_swap_line_by_index
(&mut self, idx: usize)
crates/types/entities/src/swap_step.rs:33
↓ 2 callers
Function
get_next_sqrt_price_from_amount_0_rounding_up
returns (uint160 sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:54
↓ 2 callers
Function
get_next_sqrt_price_from_amount_1_rounding_down
returns (uint160 sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:91
↓ 2 callers
Method
get_or_insert_entry_with_header
(&mut self, header: Header)
crates/types/entities/src/block_history/block_history_impl.rs:93
↓ 2 callers
Method
get_pool_id
(&self)
crates/defi/pools/src/curvepool.rs:238
↓ 2 callers
Method
get_pool_paths
(&self, pool_address: &PoolId<LDT>)
crates/types/entities/src/market.rs:132
↓ 2 callers
Method
get_protocol
(&self)
crates/defi/pools/src/uniswapv3pool.rs:231
↓ 2 callers
Method
get_state_required
(&self)
crates/defi/pools/src/uniswapv3pool.rs:376
↓ 2 callers
Method
get_tick
(&self, word_pos: i16)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:171
↓ 2 callers
Method
get_time
(&self, id: usize)
bin/nodebench/src/main.rs:53
↓ 2 callers
Method
get_underlying_coin_idx
(&self, address: Address)
crates/defi/pools/src/curvepool.rs:100
↓ 2 callers
Method
geth_debug_trace_call
( &self, tx: TransactionRequest, block: BlockId, trace_options: GethDebugTraci
crates/node/debug-provider/src/debugprovider.rs:180
↓ 2 callers
Method
insert_contract
Inserts the account's code into the cache. Accounts objects and code are stored separately in the cache, this will take the code from the account and
crates/evm/db/src/fast_cache_db.rs:62
↓ 2 callers
Method
into_result
Consume response and return value
crates/broadcast/flashbots/src/client/jsonrpc.rs:83
↓ 2 callers
Method
is_account
(&self, address: &Address)
crates/evm/db/src/loom_db.rs:464
↓ 2 callers
Method
is_basic
(&self)
crates/types/entities/src/token.rs:108
↓ 2 callers
Method
is_emply
(&self)
crates/types/entities/src/swap_path.rs:66
↓ 2 callers
Method
is_fetched
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:34
↓ 2 callers
Method
is_middle
(&self)
crates/types/entities/src/token.rs:113
↓ 2 callers
Method
is_native
(&self)
crates/defi/pools/src/curvepool.rs:440
↓ 2 callers
Method
is_pool
(&self, address: &PoolId<LDT>)
crates/types/entities/src/market.rs:171
↓ 2 callers
Method
is_rw_ro_account
(&self, address: &Address)
crates/evm/db/src/loom_db.rs:71
↓ 2 callers
Method
is_slot
(&self, address: &Address, slot: &U256)
crates/evm/db/src/loom_db.rs:468
↓ 2 callers
Method
load_ro_rw_account
Returns the account for the given address. If the account was not found in the cache, it will be loaded from the underlying database.
crates/evm/db/src/loom_db.rs:162
↓ 2 callers
Function
mempool_worker
(mempool: Pool, notifications: broadcast::Sender<TransactionSigned>)
bin/exex_grpc_node/src/main.rs:228
↓ 2 callers
Method
only_once
(self)
crates/defi/price/src/price_actor.rs:115
↓ 2 callers
Method
optimize_with_in_amount
Optimize the swap line for a given in amount
crates/types/entities/src/swap_line.rs:433
↓ 2 callers
Function
parse_execution_result
( execution_result: ExecutionResult, gas_used: u64, tx_trace: Vec<TransactionTrace>, )
crates/evm/utils/src/evm_trace.rs:36
↓ 2 callers
Function
parse_execution_result
(execution_result: ExecutionResult, gas_used: u64)
crates/evm/utils/src/evm.rs:36
↓ 2 callers
Method
pool_count
(&self)
crates/types/entities/src/swap_path.rs:76
↓ 2 callers
Function
preload_market_state
( client: P, copied_accounts_vec: Vec<Address>, new_accounts_vec: Vec<(Address, u64, U256, Option<
crates/defi/preloader/src/preloader_actor.rs:59
↓ 2 callers
Method
privkey
(&self)
crates/node/debug-provider/src/debugprovider.rs:109
↓ 2 callers
Function
process_chain
( chain: Arc<Chain<EthPrimitives>>, block_header_channel: Broadcaster<MessageBlockHeader>, block_w
crates/node/exex/src/reth_exex_worker.rs:29
↓ 2 callers
Method
push_revertible_transaction
Adds a revertible transaction to the bundle request. This differs from [`BundleRequest::push_transaction`] in that the bundle will still be considere
crates/broadcast/flashbots/src/client/bundle.rs:140
↓ 2 callers
Function
rayon_parallel_run
(state_db: &LoomDBType, pool: PoolWrapper)
bin/loom_anvil/benches/benchmark.rs:141
↓ 2 callers
Function
read_trait
(db: &DB, addr: &[Address], accs: &[DbAccount])
crates/evm/db/benches/benchmark.rs:72
↓ 2 callers
Method
revert
(&self, snap_id: u64)
crates/node/debug-provider/src/anvilprovider.rs:41
↓ 2 callers
Function
revert_bytes_to_string
(bytes: &Bytes)
crates/evm/utils/src/evm.rs:172
↓ 2 callers
Method
ro_contracts_len
(&self)
crates/evm/db/src/loom_db.rs:101
↓ 2 callers
Method
set_address
(&mut self, multicaller_address: Address)
crates/execution/multicaller/src/swap_encoder.rs:11
↓ 2 callers
Method
set_automine
(&self, to_mine: bool)
crates/node/debug-provider/src/anvilprovider.rs:49
↓ 2 callers
Method
set_code
(self, client: P, address: Address)
crates/execution/multicaller/src/deploy.rs:120
↓ 2 callers
Method
set_entry
(&mut self, entry: BlockHistoryEntry)
crates/types/entities/src/block_history/block_history_impl.rs:117
↓ 2 callers
Method
set_max_timestamp
Set the maximum timestamp for which this bundle is valid (if any), in seconds since the UNIX epoch.
crates/broadcast/flashbots/src/client/bundle.rs:276
↓ 2 callers
Method
set_min_timestamp
Set the minimum timestamp for which this bundle is valid (if any), in seconds since the UNIX epoch.
crates/broadcast/flashbots/src/client/bundle.rs:263
↓ 2 callers
Method
set_nonce
(&mut self, account: LDT::Address, nonce: u64)
crates/types/blockchain/src/mempool.rs:115
↓ 2 callers
Method
set_pool_disabled
Set the pool status to ok or not ok.
crates/types/entities/src/market.rs:190
↓ 2 callers
Method
set_simulation_basefee
Set the base gas fee for bundle simulation (if any). Optional: will default to a value chosen by the node if not specified.
crates/broadcast/flashbots/src/client/bundle.rs:250
↓ 2 callers
Method
set_simulation_timestamp
Set the UNIX timestamp used for bundle simulation.
crates/broadcast/flashbots/src/client/bundle.rs:233
↓ 2 callers
Method
sign_sync
( &self, tx_req: <LoomDataTypesEthereum as LoomDataTypes>::TransactionRequest, )
crates/types/entities/src/signers.rs:77
↓ 2 callers
Method
slot0
(db: &DB, address: Address)
crates/defi/pools/src/db_reader/uniswapv3.rs:77
↓ 2 callers
Function
sort_tokens
(token0: Address, token1: Address)
crates/defi/pools/src/protocols/helper.rs:8
↓ 2 callers
Method
start
(&self)
crates/core/block-history-actor/src/block_history_actor.rs:408
↓ 2 callers
Function
start_loom
( provider: P, bc: Blockchain, bc_state: BlockchainState<DB>, strategy: Strategy<DB>, topo
bin/loom_exex/src/loom_runtime.rs:39
↓ 2 callers
Method
state_update
(&self)
crates/types/events/src/state_update_event.rs:69
↓ 2 callers
Method
storage_ref
(&self, address: Address, index: U256)
crates/evm/db/src/fast_cache_db.rs:240
↓ 2 callers
Method
subscribe_ex_ex
(&self, _request: Request<ProtoSubscribeRequest>)
bin/exex_grpc_node/src/main.rs:151
↓ 2 callers
Method
swap_paths
(&self)
crates/types/entities/src/market.rs:181
↓ 2 callers
Method
target_block
Get the target block (if any).
crates/broadcast/flashbots/src/client/bundle.rs:191
↓ 2 callers
Method
tick_spacing
(db: &DB, env: Env, pool: Address)
crates/defi/pools/src/state_readers/uniswapv3.rs:42
↓ 2 callers
Method
timestamp
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:50
↓ 2 callers
Method
to_call_data
(&self, opcodes: &MulticallerCalls)
crates/execution/multicaller/src/swapstep_encoder.rs:172
↓ 2 callers
Method
to_float
(value: U256)
crates/evm/utils/src/nweth.rs:20
↓ 2 callers
Method
to_relative
(&self, pings: &[TimeDelta])
bin/nodebench/src/main.rs:57
↓ 2 callers
Method
to_swap_steps
(self: &Swap<LDT>, multicaller: LDT::Address)
crates/types/entities/src/swap.rs:30
↓ 2 callers
Method
update
( &mut self, block_number: BlockNumber, block_hash: BlockHash, block_header: O
crates/types/entities/src/latest_block.rs:73
↓ 2 callers
Method
with_backrun_block
Start backrun on block
crates/core/blockchain-actors/src/actor.rs:445
↓ 2 callers
Method
with_backrun_mempool
Start backrun for pending txs
crates/core/blockchain-actors/src/actor.rs:455
↓ 2 callers
Method
with_block_events
Starts receiving blocks events through RPC
crates/core/blockchain-actors/src/actor.rs:255
↓ 2 callers
Method
with_block_history
Starts block history actor
crates/core/blockchain-actors/src/actor.rs:243
← previous
next →
301–400 of 1,832, ranked by callers