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
↓ 10 callers
Method
get_protocol
(&self)
crates/defi/pools/src/curvepool.rs:230
↓ 10 callers
Method
get_swap_directions
(&self)
crates/defi/pools/src/curvepool.rs:250
↓ 10 callers
Method
insert_account_info
Insert account info but not override storage
crates/evm/db/src/fast_cache_db.rs:77
↓ 10 callers
Method
set_return_stack
(&mut self, is_relative: bool, stack_offset: u32, data_offset: u32, data_len: usize)
crates/types/blockchain/src/opcodes.rs:104
↓ 9 callers
Method
block_on
(&self, f: F)
crates/evm/db/src/alloydb.rs:20
↓ 9 callers
Method
calculate_out_amount
( &self, state_db: &dyn DatabaseRef<Error = ErrReport>, env: Env, token_addres
crates/defi/pools/src/curvepool.rs:276
↓ 9 callers
Method
calculate_with_in_amount
( &mut self, state: &DB, env: Env, in_ammount: Option<U256>, )
crates/types/entities/src/swap_step.rs:356
↓ 9 callers
Function
get_protocol_by_factory
(factory_address: Address)
crates/types/entities/src/pool.rs:20
↓ 9 callers
Method
hash
(&self, state: &mut H)
crates/evm/db/src/fast_hasher.rs:19
↓ 9 callers
Method
is_weth
(&self)
crates/types/entities/src/token.rs:162
↓ 9 callers
Method
start_and_wait
Start a custom actor and wait for it to finish
crates/core/blockchain-actors/src/actor.rs:112
↓ 9 callers
Method
write
(&self, method: String, index: B256, data: String)
crates/node/debug-provider/src/cachefolder.rs:21
↓ 8 callers
Method
clear
(&mut self)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:166
↓ 8 callers
Function
default_swap_line
()
crates/types/entities/src/swap_line.rs:542
↓ 8 callers
Method
get_storage_at
(&self, address: Address, key: U256)
crates/node/debug-provider/src/archiveprovider.rs:89
↓ 8 callers
Method
get_token_tokens
(&self, token_from_address: &LDT::Address)
crates/types/entities/src/market.rs:233
↓ 8 callers
Method
hash
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:38
↓ 8 callers
Method
preswap_requirement
(&self)
crates/defi/pools/src/curvepool.rs:444
↓ 8 callers
Method
tasks_channel
(&self)
crates/core/blockchain/src/blockchain.rs:148
↓ 8 callers
Method
with_ro_db
(self, db: Option<LoomDB>)
crates/evm/db/src/loom_db.rs:132
↓ 7 callers
Method
add_testkey
(&mut self)
crates/types/entities/src/signers.rs:123
↓ 7 callers
Method
address
(&self)
crates/types/entities/src/signers.rs:42
↓ 7 callers
Method
anvil
(&self)
crates/node/debug-provider/src/debugprovider.rs:105
↓ 7 callers
Method
basic_ref
(&self, address: Address)
crates/evm/db/src/loom_db.rs:515
↓ 7 callers
Method
build_swap_path_vec
Build a list of swap paths from the given directions.
crates/types/entities/src/market.rs:247
↓ 7 callers
Method
encode_swap_line_in_amount
( &self, swap_path: &SwapLine<LoomDataTypesEthereum>, funds_to: Option<&PoolWrapper>,
crates/execution/multicaller/src/swapline_encoder.rs:277
↓ 7 callers
Method
eq
(&self, other: &Self)
crates/types/entities/src/pool.rs:205
↓ 7 callers
Method
get_first_token
(&self)
crates/types/entities/src/swap.rs:71
↓ 7 callers
Method
get_tokens
(&self)
crates/defi/pools/src/curvepool.rs:246
↓ 7 callers
Method
insert_swap_hope
( &mut self, token_from: Arc<Token<LDT>>, token_to: Arc<Token<LDT>>, pool: Poo
crates/types/entities/src/swap_path.rs:101
↓ 7 callers
Function
least_significant_bit
(x: U256)
crates/defi/uniswap-v3-math/src/bit_math.rs:11
↓ 7 callers
Function
most_significant_bit
(x: U256)
crates/defi/uniswap-v3-math/src/bit_math.rs:4
↓ 7 callers
Function
mul_div_rounding_up
(a: U256, b: U256, denominator: U256)
crates/defi/uniswap-v3-math/src/full_math.rs:100
↓ 7 callers
Method
new_mempool_tx_channel
(&self)
crates/core/blockchain/src/blockchain.rs:124
↓ 7 callers
Method
nonce_and_balance
(&self)
crates/core/blockchain/src/blockchain.rs:104
↓ 7 callers
Method
push_swap_hope
(&mut self, token_from: Arc<Token<LDT>>, token_to: Arc<Token<LDT>>, pool: PoolWrapper<LDT>)
crates/types/entities/src/swap_path.rs:86
↓ 7 callers
Method
storage_ref
(&self, address: Address, slot: U256)
crates/evm/db/src/loom_db.rs:538
↓ 6 callers
Method
abs_profit
(&self)
crates/types/entities/src/swap.rs:38
↓ 6 callers
Function
add_delta
returns (uint128 z)
crates/defi/uniswap-v3-math/src/liquidity_math.rs:8
↓ 6 callers
Method
cached_or_execute
(&self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:187
↓ 6 callers
Function
calc_hashmap_cell
(offset: U0, cell: U1)
crates/evm/utils/src/remv_db_direct_access.rs:6
↓ 6 callers
Method
chain_id
(&self)
crates/core/blockchain/src/blockchain.rs:84
↓ 6 callers
Function
create_pool
(token0: Address, token1: Address)
crates/types/entities/benches/benchmark.rs:14
↓ 6 callers
Function
debug_trace_block
( client: P, block_id: BlockId, diff_mode: bool, )
crates/types/blockchain/src/state_update.rs:52
↓ 6 callers
Method
encrypt_once
(&self, data: &[u8])
crates/types/entities/src/keystore.rs:27
↓ 6 callers
Method
factory
(db: &DB, env: Env, pool: Address)
crates/defi/pools/src/state_readers/uniswapv2.rs:13
↓ 6 callers
Function
fetch_original_contract_amounts
( client: AnvilDebugProviderType, pool_address: Address, token_in: Address, to
crates/defi/pools/src/uniswapv3pool.rs:564
↓ 6 callers
Function
fill_trait
(db: &mut DB, addr: &[Address], accs: &[DbAccount])
crates/evm/db/benches/benchmark.rs:61
↓ 6 callers
Method
get_address
(&self)
crates/defi/pools/src/uniswapv3pool.rs:235
↓ 6 callers
Method
get_balance
(&self, token_address: &LDT::Address)
crates/types/entities/src/account_nonce_balance.rs:51
↓ 6 callers
Method
get_first_token
(&self)
crates/types/entities/src/swap_step.rs:312
↓ 6 callers
Method
get_last_token
Get the last token in the swap line
crates/types/entities/src/swap_line.rs:184
↓ 6 callers
Function
get_tick_at_sqrt_ratio
(sqrt_price_x_96: U256)
crates/defi/uniswap-v3-math/src/tick_math.rs:98
↓ 6 callers
Function
get_uniswap3pool_address
(token0: Address, token1: Address, fee: u32, factory: Address, init_code: B256)
crates/defi/pools/src/protocols/helper.rs:34
↓ 6 callers
Method
health_monitor_channel
(&self)
crates/core/blockchain/src/blockchain.rs:140
↓ 6 callers
Method
init
(&self, current_state: S, depth: usize, block: Block)
crates/types/entities/src/block_history/block_history_impl.rs:329
↓ 6 callers
Method
is_not_set
(&self)
crates/types/entities/src/swap_line.rs:48
↓ 6 callers
Method
len
(&self)
crates/types/entities/src/swap_path.rs:164
↓ 6 callers
Method
market_state
(&self)
crates/core/blockchain/src/blockchain_state.rs:44
↓ 6 callers
Method
mempool
(&self)
crates/core/blockchain/src/blockchain.rs:100
↓ 6 callers
Method
read_block_number
(&self)
crates/node/debug-provider/src/httpcached.rs:131
↓ 6 callers
Method
split
Split the swap line into two swap lines at a specific pool index
crates/types/entities/src/swap_line.rs:232
↓ 5 callers
Method
add_slot_range
(&mut self, address: Address, start_slot: U256, size: usize)
crates/types/entities/src/required_state.rs:57
↓ 5 callers
Method
block_history
(&self)
crates/core/blockchain/src/blockchain_state.rs:48
↓ 5 callers
Method
calc_eth_value
(&self, value: U256)
crates/types/entities/src/token.rs:183
↓ 5 callers
Method
can_flash_swap
Check if all pools in the swap line can be flash swapped
crates/types/entities/src/swap_line.rs:253
↓ 5 callers
Method
get_address
(&self)
crates/defi/pools/src/pancakev3pool.rs:197
↓ 5 callers
Method
get_address
(&self)
crates/defi/pools/src/uniswapv2pool.rs:214
↓ 5 callers
Method
get_block_by_hash
(&self, block_hash: &BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:232
↓ 5 callers
Method
get_block_history_entry
(&self, block_hash: &BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:220
↓ 5 callers
Method
get_dy_call_data
(&self, i: u32, j: u32, amount: U256)
crates/defi/pools/src/protocols/curve.rs:318
↓ 5 callers
Method
get_fee
(&self)
crates/defi/pools/src/curvepool.rs:242
↓ 5 callers
Function
get_sqrt_ratio_at_tick
(tick: i32)
crates/defi/uniswap-v3-math/src/tick_math.rs:20
↓ 5 callers
Method
get_state_required
(&self)
crates/defi/pools/src/curvepool.rs:373
↓ 5 callers
Method
get_swap_directions
(&self)
crates/types/entities/src/mock_pool.rs:53
↓ 5 callers
Method
get_symbol
(&self)
crates/types/entities/src/token.rs:79
↓ 5 callers
Method
get_time_delta
(&self, id: usize)
bin/nodebench/src/main.rs:67
↓ 5 callers
Method
get_token_pools_len
Get all pool addresses as reference that allow to swap `token_address`.
crates/types/entities/src/market.rs:243
↓ 5 callers
Method
load_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/fast_cache_db.rs:87
↓ 5 callers
Method
load_cached_account
(&mut self, address: Address)
crates/evm/db/src/loom_db.rs:488
↓ 5 callers
Function
load_from_file
(file_path: PathBuf)
crates/types/entities/src/strategy_config.rs:20
↓ 5 callers
Method
market_state_commit
(&self)
crates/core/blockchain/src/blockchain_state.rs:40
↓ 5 callers
Method
mempool_events_channel
(&self)
crates/core/blockchain/src/blockchain.rs:132
↓ 5 callers
Method
nonce
(&self)
crates/types/blockchain/src/loom_data_types_ethereum.rs:47
↓ 5 callers
Method
number
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:46
↓ 5 callers
Function
position
Computes the position in the mapping where the initialized bit for a tick lives
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:144
↓ 5 callers
Method
push_transaction
Adds a transaction to the bundle request. Transactions added to the bundle can either be novel transactions, i.e. transactions that you have crafted,
crates/broadcast/flashbots/src/client/bundle.rs:121
↓ 5 callers
Method
read
(&self, method: String, index: B256)
crates/node/debug-provider/src/cachefolder.rs:28
↓ 5 callers
Method
set_target_block
Set the target block of the bundle.
crates/broadcast/flashbots/src/client/bundle.rs:196
↓ 5 callers
Method
start_and_wait
(&mut self, actor: impl Actor + Send + Sync + 'static)
crates/core/actors/src/actor_manager.rs:31
↓ 5 callers
Method
token0
(db: &DB, env: Env, pool: Address)
crates/defi/pools/src/state_readers/uniswapv2.rs:21
↓ 5 callers
Method
token1
(db: &DB, env: Env, pool: Address)
crates/defi/pools/src/state_readers/uniswapv2.rs:28
↓ 5 callers
Function
try_read_cell
(db: &DB, account: &Address, cell: &U256)
crates/evm/utils/src/remv_db_direct_access.rs:17
↓ 5 callers
Method
wait
(self)
crates/core/actors/src/actor_manager.rs:44
↓ 4 callers
Method
add_loader
(self, pool_class: PoolClass, pool_loader: L)
crates/defi/pools/src/loaders/mod.rs:92
↓ 4 callers
Method
calc_token_value_from_eth
(&self, eth_value: U256)
crates/types/entities/src/token.rs:187
↓ 4 callers
Method
calculate_in_amount
( &self, state_db: &dyn DatabaseRef<Error = ErrReport>, _env: Env, token_addre
crates/defi/pools/src/uniswapv3pool.rs:307
↓ 4 callers
Method
data
(&self)
crates/types/events/src/swap_compose.rs:45
↓ 4 callers
Method
debug_trace_block_by_hash
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:316
↓ 4 callers
Method
debug_trace_block_by_number
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:278
← previous
next →
101–200 of 1,832, ranked by callers