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
↓ 847 callers
Method
clone
(&self)
crates/types/entities/src/pool.rs:211
↓ 403 callers
Method
unwrap
(&self)
crates/types/events/src/tx_compose.rs:19
↓ 235 callers
Method
clone
(&self)
crates/defi/pools/src/curvepool.rs:47
↓ 165 callers
Method
clone
(&self)
crates/core/actors/src/shared_state.rs:43
↓ 136 callers
Method
insert
(&mut self, opcode: MulticallerCall)
crates/types/blockchain/src/opcodes.rs:156
↓ 122 callers
Method
as_ref
(&self)
crates/types/entities/src/pool.rs:225
↓ 117 callers
Method
unwrap_or_default
(&self)
crates/types/entities/src/swap_line.rs:36
↓ 87 callers
Method
len
(&self)
crates/types/entities/src/signers.rs:133
↓ 84 callers
Method
get_address
(&self)
crates/types/entities/src/token.rs:103
↓ 76 callers
Method
unwrap
(&self)
crates/types/entities/src/swap_line.rs:29
↓ 74 callers
Method
get
(&self, idx: usize)
crates/types/blockchain/src/opcodes.rs:166
↓ 71 callers
Method
call
(&mut self, req: RequestPacket)
crates/node/debug-provider/src/httpcached.rs:336
↓ 64 callers
Method
produce
(&mut self, broadcaster: Broadcaster<DataStruct0>)
crates/core/actors/src/actor.rs:118
↓ 64 callers
Method
send
(&self, value: T)
crates/core/actors/src/channels/broadcaster.rs:20
↓ 55 callers
Method
consume
(&mut self, consumer: Broadcaster<DataStruct2>)
crates/core/actors/src/actor.rs:111
↓ 55 callers
Method
extend
(&mut self, path_vec: Vec<SwapPath<LDT>>)
crates/types/entities/src/swap_path_builder.rs:18
↓ 54 callers
Method
access
(&mut self, _data: SharedState<T>)
crates/core/actors/src/actor.rs:58
↓ 53 callers
Method
get
(&mut self, key: K, fx: F)
crates/types/entities/src/datafetcher.rs:78
↓ 46 callers
Method
read
(&self)
crates/core/actors/src/shared_state.rs:16
↓ 42 callers
Method
add_call
(&mut self, to: A, call_data: T)
crates/types/entities/src/required_state.rs:28
↓ 42 callers
Method
on_bc
(self, bc: &Blockchain, state: &BlockchainState<DB>)
crates/core/block-history-actor/src/block_history_actor.rs:387
↓ 42 callers
Method
start
(&self)
crates/core/actors/src/actor.rs:107
↓ 38 callers
Method
add
(&mut self, path: SwapPath<LDT>)
crates/types/entities/src/swap_path.rs:181
↓ 38 callers
Method
pools
(&self)
crates/types/entities/src/market.rs:177
↓ 38 callers
Method
to
(&self)
crates/types/entities/src/swap_direction.rs:23
↓ 37 callers
Method
subscribe
(&self)
crates/core/actors/src/channels/broadcaster.rs:40
↓ 32 callers
Method
address
()
crates/evm/utils/src/nweth.rs:64
↓ 32 callers
Method
start
Start a custom actor
crates/core/blockchain-actors/src/actor.rs:106
↓ 31 callers
Method
add_token
Add a [`Token`] reference to the market.
crates/types/entities/src/market.rs:72
↓ 30 callers
Method
is_none
(&self)
crates/types/events/src/tx_compose.rs:15
↓ 29 callers
Method
tokens
Get all involved tokens in the swap line
crates/types/entities/src/swap_line.rs:169
↓ 27 callers
Method
swap_compose_channel
(&self)
crates/core/blockchain/src/strategy.rs:33
↓ 26 callers
Method
get_token_or_default
(&self, address: &LDT::Address)
crates/types/entities/src/market.rs:86
↓ 25 callers
Method
is_empty
(&self)
crates/types/entities/src/signers.rs:137
↓ 25 callers
Method
write
(&self)
crates/core/actors/src/shared_state.rs:24
↓ 23 callers
Method
get_pool
(&self, address: &PoolId<LDT>)
crates/types/entities/src/market.rs:165
↓ 22 callers
Method
get_coin_idx
(&self, address: Address)
crates/defi/pools/src/curvepool.rs:92
↓ 22 callers
Method
market_events_channel
(&self)
crates/core/blockchain/src/blockchain.rs:128
↓ 22 callers
Method
set_call_stack
(&mut self, is_relative: bool, stack_offset: u32, data_offset: u32, data_len: usize)
crates/types/blockchain/src/opcodes.rs:80
↓ 21 callers
Function
evm_call
(state_db: DB, env: Env, transact_to: Address, call_data_vec: Vec<u8>)
crates/evm/utils/src/evm.rs:45
↓ 21 callers
Method
insert_account_storage
insert account storage without overriding account info
crates/evm/db/src/loom_db.rs:214
↓ 21 callers
Function
next_initialized_tick_within_one_word
Returns the next initialized tick contained in the same word (or adjacent word) as the tick that is either to the left (less than or equal to) or righ
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:31
↓ 21 callers
Method
recv
(&mut self)
crates/core/actors/src/channels/multiproducer.rs:19
↓ 20 callers
Method
add_pool
Add a new pool to the market if it does not exist or the class is unknown.
crates/types/entities/src/market.rs:103
↓ 20 callers
Method
block_id
(&self)
crates/node/debug-provider/src/archiveprovider.rs:43
↓ 20 callers
Method
get_block_by_number
( &'life0 self, number: BlockNumberOrTag, tx_kind: BlockTransactionsKind, )
crates/node/debug-provider/src/archiveprovider.rs:95
↓ 20 callers
Method
len
(&self)
crates/types/entities/src/swap_step.rs:41
↓ 19 callers
Method
get_out_amount
(&self)
crates/types/entities/src/swap_step.rs:345
↓ 19 callers
Method
market
(&self)
crates/core/blockchain/src/blockchain.rs:92
↓ 19 callers
Function
mul_div
returns (uint256 result)
crates/defi/uniswap-v3-math/src/full_math.rs:13
↓ 19 callers
Method
new_block_headers_channel
(&self)
crates/core/blockchain/src/blockchain.rs:108
↓ 19 callers
Method
swap_line_vec
(&self)
crates/types/entities/src/swap_step.rs:37
↓ 18 callers
Method
apply_geth_update
(&mut self, update: BTreeMap<Address, GethAccountState>)
crates/evm/db/src/loom_db.rs:316
↓ 18 callers
Function
init_test_ticks
()
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:177
↓ 18 callers
Function
initialized
(tick: i32, tick_provider: &T)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:186
↓ 18 callers
Method
request
Sends a request with the provided method to the relay, with the parameters serialized as JSON.
crates/broadcast/flashbots/src/client/relay.rs:73
↓ 17 callers
Method
build
(self)
crates/defi/pools/src/loaders/mod.rs:96
↓ 17 callers
Function
flip_tick
Flips the initialized state for a given tick from false to true, or vice versa
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:17
↓ 17 callers
Method
get_block_number
(self)
crates/node/debug-provider/src/httpcached.rs:142
↓ 17 callers
Function
get_next_sqrt_price_from_output
returns (sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:34
↓ 16 callers
Function
fetch_and_add_pool_by_pool_id
Fetch pool data, add it to the market and fetch the required state
crates/defi/market/src/pool_loader_actor.rs:99
↓ 16 callers
Method
get_in_amount
(&self)
crates/types/entities/src/swap_step.rs:334
↓ 16 callers
Method
mut_ref
(&mut self)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:163
↓ 16 callers
Method
new_block_logs_channel
(&self)
crates/core/blockchain/src/blockchain.rs:120
↓ 16 callers
Method
new_block_with_tx_channel
(&self)
crates/core/blockchain/src/blockchain.rs:112
↓ 15 callers
Method
add_block_header
(&mut self, block_header: Header)
crates/types/entities/src/block_history/block_history_impl.rs:130
↓ 15 callers
Method
get_address
(&self)
crates/defi/pools/src/curvepool.rs:234
↓ 15 callers
Function
get_next_sqrt_price_from_input
returns (sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:14
↓ 15 callers
Method
get_token_token_pools
(&self, token_from_address: &LDT::Address, token_to_address: &LDT::Address)
crates/types/entities/src/market.rs:227
↓ 15 callers
Method
with_signers
Starts signer actor
crates/core/blockchain-actors/src/actor.rs:165
↓ 14 callers
Method
contains_pool
(&self, pool: &PoolWrapper<LDT>)
crates/types/entities/src/swap_path.rs:122
↓ 14 callers
Method
encode
(&self)
crates/execution/multicaller/src/pool_opcodes_encoder/swap_opcodes_encoders.rs:35
↓ 14 callers
Method
get_class
(&self)
crates/defi/pools/src/curvepool.rs:226
↓ 14 callers
Method
influxdb_write_channel
(&self)
crates/core/blockchain/src/blockchain.rs:144
↓ 14 callers
Method
is_pool_disabled
(&self, address: &PoolId<LDT>)
crates/types/entities/src/market.rs:221
↓ 14 callers
Method
latest_block
(&self)
crates/core/blockchain/src/blockchain.rs:96
↓ 14 callers
Method
new_block_state_update_channel
(&self)
crates/core/blockchain/src/blockchain.rs:116
↓ 14 callers
Method
tx_compose_channel
(&self)
crates/core/blockchain/src/blockchain.rs:136
↓ 13 callers
Function
_get_amount_0_delta
returns (uint256 amount0)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:127
↓ 13 callers
Method
insert_account_info
Insert account info but not override storage
crates/evm/db/src/loom_db.rs:208
↓ 13 callers
Method
insert_account_storage
insert account storage without overriding account info
crates/evm/db/src/fast_cache_db.rs:100
↓ 13 callers
Function
match_abi
(code: &Bytes, selectors: Vec<[u8; 4]>)
crates/defi/pools/src/protocols/helper.rs:71
↓ 13 callers
Method
merge
(&self)
crates/evm/db/src/in_memory_db.rs:17
↓ 12 callers
Method
address
(&self)
crates/execution/multicaller/src/deploy.rs:137
↓ 12 callers
Method
get_blockchain
(&self, name: Option<&String>)
crates/core/topology/src/topology.rs:685
↓ 12 callers
Method
get_dy
(&self, i: u32, j: u32, amount: U256)
crates/defi/pools/src/protocols/curve.rs:252
↓ 12 callers
Method
pools
Get all used pools in the swap line
crates/types/entities/src/swap_line.rs:174
↓ 12 callers
Method
tx_hash
(&self)
crates/types/blockchain/src/loom_data_types_ethereum.rs:43
↓ 12 callers
Method
with_ext_db
(self, ext_db: ExtDB)
crates/evm/db/src/loom_db.rs:116
↓ 11 callers
Method
abs_profit_eth
(&self)
crates/types/entities/src/swap.rs:61
↓ 11 callers
Function
compute_swap_step
//returns ( uint160 sqrtRatioNextX96, uint256 amountIn, uint256 amountOut, uint256 feeAmount )
crates/defi/uniswap-v3-math/src/swap_math.rs:15
↓ 11 callers
Method
finish
(&self)
crates/evm/db/src/fast_hasher.rs:76
↓ 11 callers
Method
get_client
(&self, name: Option<&String>)
crates/core/topology/src/topology.rs:671
↓ 11 callers
Method
hash
(&self)
crates/types/entities/src/market_state.rs:53
↓ 11 callers
Method
market_state
(&self)
crates/types/events/src/state_update_event.rs:65
↓ 10 callers
Function
_get_amount_1_delta
returns (uint256 amount1)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:153
↓ 10 callers
Method
add
(&mut self, swap_path: SwapLine<LDT>)
crates/types/entities/src/swap_step.rs:67
↓ 10 callers
Function
broadcast_latest_block
(provider: P, bc: &Blockchain, state_update: Option<GethStateUpdateVec>)
crates/core/block-history-actor/src/block_history_actor_test.rs:73
↓ 10 callers
Function
create_next_header
(parent: &Header, child_id: u64)
crates/types/entities/src/block_history/block_history_impl.rs:476
↓ 10 callers
Method
get_pool_id
(&self)
crates/types/entities/src/mock_pool.rs:41
next →
1–100 of 1,832, ranked by callers