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
↓ 4 callers
Method
encode_swap_steps
( &self, sp0: &SwapStep<LoomDataTypesEthereum>, sp1: &SwapStep<LoomDataTypesEthereum>,
crates/execution/multicaller/src/swapstep_encoder.rs:177
↓ 4 callers
Method
fee
(db: &DB, env: Env, pool: Address)
crates/defi/pools/src/state_readers/uniswapv3.rs:35
↓ 4 callers
Method
from
(paths: Vec<SwapPath<LDT>>)
crates/types/entities/src/swap_path.rs:156
↓ 4 callers
Method
get_address
(&self)
crates/types/entities/src/swap_path.rs:317
↓ 4 callers
Method
get_address
(&self)
crates/defi/pools/src/protocols/curve.rs:223
↓ 4 callers
Method
get_address_vec
(&self)
crates/types/entities/src/signers.rs:163
↓ 4 callers
Method
get_blockchain_state
(&self, name: Option<&String>)
crates/core/topology/src/topology.rs:692
↓ 4 callers
Function
get_chain
(notification: ExExNotification)
bin/exex_grpc_node/src/main.rs:26
↓ 4 callers
Method
get_eth_price
(&self)
crates/types/entities/src/token.rs:166
↓ 4 callers
Method
get_first_pool
Get the first pool in the swap line
crates/types/entities/src/swap_line.rs:189
↓ 4 callers
Method
get_meta_coin_idx
(&self, address: Address)
crates/defi/pools/src/curvepool.rs:83
↓ 4 callers
Method
get_multicaller_address
(&self, name: Option<&String>)
crates/core/topology/src/topology.rs:706
↓ 4 callers
Method
get_pool_id_vec
(&self)
crates/types/entities/src/swap.rs:81
↓ 4 callers
Method
get_token
(&self, address: &LDT::Address)
crates/types/entities/src/market.rs:92
↓ 4 callers
Method
info
(&self)
crates/evm/db/src/fast_cache_db.rs:279
↓ 4 callers
Method
insert_contract
(&mut self, account: &mut AccountInfo)
crates/evm/db/src/loom_db.rs:193
↓ 4 callers
Method
is_basic_token
(&self, address: &LDT::Address)
crates/types/entities/src/market.rs:80
↓ 4 callers
Method
is_empty
(&self)
crates/execution/multicaller/src/pool_opcodes_encoder/swap_opcodes_encoders.rs:24
↓ 4 callers
Method
merge_all
(self)
crates/evm/db/src/loom_db.rs:228
↓ 4 callers
Method
parent_hash
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:42
↓ 4 callers
Method
profit_eth_gas_ratio
(&self)
crates/types/events/src/swap_compose.rs:93
↓ 4 callers
Method
set_eth_price
(&self, price: Option<U256>)
crates/types/entities/src/token.rs:177
↓ 4 callers
Method
swap_in_amount_offset
(&self, pool: &dyn Pool, token_from_address: Address, token_to_address: Address)
crates/execution/multicaller/src/pool_abi_encoder/abi_encoder.rs:74
↓ 4 callers
Method
swap_out_amount_offset
(&self, pool: &dyn Pool, token_from_address: Address, token_to_address: Address)
crates/execution/multicaller/src/pool_abi_encoder/abi_encoder.rs:80
↓ 4 callers
Method
tick_bitmap
(db: &DB, address: Address, tick: i16)
crates/defi/pools/src/db_reader/uniswapv3.rs:57
↓ 4 callers
Method
tips_gas_ratio
(&self)
crates/types/events/src/swap_compose.rs:85
↓ 4 callers
Function
try_read_hashmap_cell
(db: &DB, account: &Address, hashmap_offset: &U256, item: &U256)
crates/evm/utils/src/remv_db_direct_access.rs:21
↓ 4 callers
Method
update
(&self, inner: T)
crates/core/actors/src/shared_state.rs:36
↓ 4 callers
Method
with_default_relays
(self)
crates/broadcast/flashbots/src/flashbots.rs:119
↓ 3 callers
Function
account_state_with_nonce_and_balance
(nonce: u64, balance: U256)
crates/evm/utils/src/geth_state_update.rs:5
↓ 3 callers
Method
add_paths
Add a swap path to the market.
crates/types/entities/src/market.rs:126
↓ 3 callers
Method
add_privkey
(&mut self, priv_key: Bytes)
crates/types/entities/src/signers.rs:117
↓ 3 callers
Method
basic_ref
(&self, address: Address)
crates/evm/db/src/fast_cache_db.rs:226
↓ 3 callers
Method
broadcast_txes
(&self, txs: Vec<TX>, target_block: u64)
crates/broadcast/flashbots/src/flashbots.rs:204
↓ 3 callers
Method
calc_next_block_base_fee
(&self, gas_used: u64, gas_limit: u64, base_fee: u64)
crates/types/blockchain/src/chain_parameters.rs:15
↓ 3 callers
Method
calc_next_block_base_fee_from_header
(&self, header: &Header)
crates/types/blockchain/src/chain_parameters.rs:19
↓ 3 callers
Method
chain_parameters
(&self)
crates/core/blockchain/src/blockchain.rs:88
↓ 3 callers
Method
cmp
(&self, other: &Self)
crates/types/entities/src/pool.rs:181
↓ 3 callers
Method
commit
(&mut self, changes: HashMap<Address, Account>)
crates/evm/db/src/loom_db.rs:647
↓ 3 callers
Method
convert_block_number
(&self, number_or_tag: BlockNumberOrTag)
crates/node/debug-provider/src/httpcached.rs:59
↓ 3 callers
Function
create_header
(number: BlockNumber, hash: BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:486
↓ 3 callers
Function
debug_trace_call
( client: C, req: TR, block: BlockId, opts: Option<GethDebugTracingCallOptions>, diff_mode
crates/types/blockchain/src/state_update.rs:95
↓ 3 callers
Method
debug_trace_call
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:294
↓ 3 callers
Function
div_rounding_up
(a: U256, b: U256)
crates/defi/uniswap-v3-math/src/unsafe_math.rs:5
↓ 3 callers
Method
encode_swap_out_amount_provided
( &self, _swap_opcodes: &mut MulticallerCalls, _abi_encoder: &dyn ProtocolAbiSwapEncod
crates/execution/multicaller/src/pool_opcodes_encoder/uniswap2.rs:76
↓ 3 callers
Function
env_for_block
(block_id: u64, block_timestamp: u64)
crates/evm/utils/src/evm_env.rs:17
↓ 3 callers
Method
eq
(&self, other: &Self)
crates/types/entities/src/swap_path.rs:39
↓ 3 callers
Function
fetch_data_and_pool
()
bin/loom_anvil/benches/benchmark.rs:51
↓ 3 callers
Method
fetch_reserves
(&self, state_db: &dyn DatabaseRef<Error = ErrReport>, env: Env)
crates/defi/pools/src/uniswapv2pool.rs:187
↓ 3 callers
Method
filter_on_block
(&self, block_number: BlockNumber)
crates/types/blockchain/src/mempool.rs:70
↓ 3 callers
Method
gas_limit
(&self)
crates/types/blockchain/src/loom_data_types_ethereum.rs:39
↓ 3 callers
Method
get_address
(&self)
crates/defi/pools/src/maverickpool.rs:159
↓ 3 callers
Method
get_exchange_call_data
(&self, i: u32, j: u32, amount: U256, min_dy: U256, to: Address)
crates/defi/pools/src/protocols/curve.rs:372
↓ 3 callers
Method
get_first_token
Get the first token in the swap line
crates/types/entities/src/swap_line.rs:179
↓ 3 callers
Method
get_or_insert_entry_mut
(&mut self, block_hash: BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:113
↓ 3 callers
Method
get_pool_id
(&self)
crates/types/entities/src/swap_path.rs:321
↓ 3 callers
Method
get_pool_paths_enabled_vec
(&self, pool_id: &PoolId<LDT>)
crates/types/entities/src/swap_path.rs:254
↓ 3 callers
Method
get_signers
(&self, name: Option<&String>)
crates/core/topology/src/topology.rs:713
↓ 3 callers
Method
get_state_required
(&self)
crates/defi/pools/src/uniswapv2pool.rs:314
↓ 3 callers
Method
get_strategy
(&self, name: Option<&String>)
crates/core/topology/src/topology.rs:699
↓ 3 callers
Function
get_uniswap2pool_address
(token0: Address, token1: Address, factory: Address, init_code: B256)
crates/defi/pools/src/protocols/helper.rs:16
↓ 3 callers
Function
geth_state_update_add_account
(update: GethStateUpdate, address: Address, account_state: AccountState)
crates/evm/utils/src/geth_state_update.rs:14
↓ 3 callers
Method
hash
(&self, state: &mut H)
crates/types/entities/src/swap_direction.rs:44
↓ 3 callers
Method
inner
(&self)
crates/core/actors/src/shared_state.rs:32
↓ 3 callers
Method
is_empty
(&self)
crates/types/entities/src/swap_path.rs:172
↓ 3 callers
Method
load_account
(&mut self, address: Address)
crates/evm/db/src/loom_db.rs:484
↓ 3 callers
Method
mempool
Starts mempool actor collecting pending txes from all mempools and pulling new tx hashes in mempool_events channel
crates/core/blockchain-actors/src/actor.rs:275
↓ 3 callers
Method
set_block_number
(&self, block_number: u64)
crates/node/debug-provider/src/httpcached.rs:55
↓ 3 callers
Function
set_monitor_token_balance
( account_nonce_balance_state: Option<SharedState<AccountNonceAndBalanceState>>, owner: Address, t
crates/defi/preloader/src/preloader_actor.rs:33
↓ 3 callers
Method
set_simulation_block
Set the block that determines the state for bundle simulation.
crates/broadcast/flashbots/src/client/bundle.rs:212
↓ 3 callers
Method
state_update_channel
(&self)
crates/core/blockchain/src/strategy.rs:37
↓ 3 callers
Method
try_read
(&self)
crates/core/actors/src/shared_state.rs:20
↓ 3 callers
Method
with_copied_account
(self, address: Address)
crates/defi/preloader/src/preloader_actor.rs:191
↓ 3 callers
Method
with_evm_estimator
Starts EVM gas estimator and tips filler
crates/core/blockchain-actors/src/actor.rs:403
↓ 3 callers
Method
with_new_pool_loader
Start pool loader from new block events
crates/core/blockchain-actors/src/actor.rs:339
↓ 3 callers
Method
with_pool_history_loader
Start pool loader for last 10000 blocks
crates/core/blockchain-actors/src/actor.rs:346
↓ 3 callers
Method
with_pool_loader
Start pool loader from new block events
crates/core/blockchain-actors/src/actor.rs:353
↓ 3 callers
Method
with_swap_encoder
( self, swap_encoder: NE, )
crates/core/topology/src/topology.rs:96
↓ 2 callers
Function
account_state_add_storage
(account_state: AccountState, key: B256, value: B256)
crates/evm/utils/src/geth_state_update.rs:8
↓ 2 callers
Function
accounts_len
(state: &BTreeMap<Address, AccountState>)
crates/types/entities/src/required_state.rs:128
↓ 2 callers
Method
accounts_len
(&self)
crates/evm/db/src/loom_db.rs:476
↓ 2 callers
Method
add_empty_slot_range
(&mut self, address: Address, start_slot: U256, size: usize)
crates/types/entities/src/required_state.rs:48
↓ 2 callers
Function
append_all_matching_block_logs_sealed
Appends all matching logs of a block's receipts. If the log matches, look up the corresponding transaction hash.
crates/node/grpc-exex-proto/src/helpers.rs:9
↓ 2 callers
Method
apply_update
(self, block_history_entry: &BlockHistoryEntry, market_state_config: &MarketStateConfig)
crates/types/entities/src/block_history/block_history_state.rs:11
↓ 2 callers
Method
balances
(client: P, address: Address)
crates/defi/pools/src/protocols/curve.rs:180
↓ 2 callers
Method
block_hash_ref
(&self, number: BlockNumber)
crates/evm/db/src/loom_db.rs:560
↓ 2 callers
Method
block_number
(&self)
crates/node/debug-provider/src/archiveprovider.rs:39
↓ 2 callers
Function
broadcast_to_channels
( bc: &Blockchain, header: Header, block: Option<Block>, logs: Option<Vec<Log>
crates/core/block-history-actor/src/block_history_actor_test.rs:31
↓ 2 callers
Function
build_many
(addr: &[Address], accs: &[DbAccount])
crates/evm/db/benches/benchmark.rs:128
↓ 2 callers
Function
build_one
(addr: &[Address], accs: &[DbAccount])
crates/evm/db/benches/benchmark.rs:115
↓ 2 callers
Method
calculate_out_amount
( &self, state_db: &dyn DatabaseRef<Error = ErrReport>, _env: Env, token_addre
crates/defi/pools/src/uniswapv3pool.rs:254
↓ 2 callers
Method
calculate_out_amount
( &self, state_db: &dyn DatabaseRef<Error = ErrReport>, env: Env, token_addres
crates/defi/pools/src/maverickpool.rs:179
↓ 2 callers
Method
calculate_out_amount
( &self, state_db: &dyn DatabaseRef<Error = ErrReport>, env: Env, token_addres
crates/defi/pools/src/pancakev3pool.rs:217
↓ 2 callers
Method
calculate_with_in_amount
Calculate the out amount for the swap line for a given in amount
crates/types/entities/src/swap_line.rs:319
↓ 2 callers
Method
cmp
(&self, other: &Self)
bin/gasbench/src/dto.rs:20
↓ 2 callers
Method
coins
(client: P, address: Address)
crates/defi/pools/src/protocols/curve.rs:163
↓ 2 callers
Method
contracts_len
(&self)
crates/evm/db/src/loom_db.rs:472
↓ 2 callers
Method
convert_block_number_next
(&self, number_or_tag: BlockNumberOrTag)
crates/node/debug-provider/src/httpcached.rs:74
↓ 2 callers
Function
debug_trace_call_pre_state
( client: C, req: TR, block: BlockId, opts: Option<GethDebugTracingCallOptions>, )
crates/types/blockchain/src/state_update.rs:130
↓ 2 callers
Method
deref
(&self)
crates/types/entities/src/pool.rs:219
← previous
next →
201–300 of 1,832, ranked by callers