MCPcopy Create free account

hub / github.com/dexloom/loom / functions

Functions1,832 in github.com/dexloom/loom

↓ 847 callersMethodclone
(&self)
crates/types/entities/src/pool.rs:211
↓ 403 callersMethodunwrap
(&self)
crates/types/events/src/tx_compose.rs:19
↓ 235 callersMethodclone
(&self)
crates/defi/pools/src/curvepool.rs:47
↓ 165 callersMethodclone
(&self)
crates/core/actors/src/shared_state.rs:43
↓ 136 callersMethodinsert
(&mut self, opcode: MulticallerCall)
crates/types/blockchain/src/opcodes.rs:156
↓ 122 callersMethodas_ref
(&self)
crates/types/entities/src/pool.rs:225
↓ 117 callersMethodunwrap_or_default
(&self)
crates/types/entities/src/swap_line.rs:36
↓ 87 callersMethodlen
(&self)
crates/types/entities/src/signers.rs:133
↓ 84 callersMethodget_address
(&self)
crates/types/entities/src/token.rs:103
↓ 76 callersMethodunwrap
(&self)
crates/types/entities/src/swap_line.rs:29
↓ 74 callersMethodget
(&self, idx: usize)
crates/types/blockchain/src/opcodes.rs:166
↓ 71 callersMethodcall
(&mut self, req: RequestPacket)
crates/node/debug-provider/src/httpcached.rs:336
↓ 64 callersMethodproduce
(&mut self, broadcaster: Broadcaster<DataStruct0>)
crates/core/actors/src/actor.rs:118
↓ 64 callersMethodsend
(&self, value: T)
crates/core/actors/src/channels/broadcaster.rs:20
↓ 55 callersMethodconsume
(&mut self, consumer: Broadcaster<DataStruct2>)
crates/core/actors/src/actor.rs:111
↓ 55 callersMethodextend
(&mut self, path_vec: Vec<SwapPath<LDT>>)
crates/types/entities/src/swap_path_builder.rs:18
↓ 54 callersMethodaccess
(&mut self, _data: SharedState<T>)
crates/core/actors/src/actor.rs:58
↓ 53 callersMethodget
(&mut self, key: K, fx: F)
crates/types/entities/src/datafetcher.rs:78
↓ 46 callersMethodread
(&self)
crates/core/actors/src/shared_state.rs:16
↓ 42 callersMethodadd_call
(&mut self, to: A, call_data: T)
crates/types/entities/src/required_state.rs:28
↓ 42 callersMethodon_bc
(self, bc: &Blockchain, state: &BlockchainState<DB>)
crates/core/block-history-actor/src/block_history_actor.rs:387
↓ 42 callersMethodstart
(&self)
crates/core/actors/src/actor.rs:107
↓ 38 callersMethodadd
(&mut self, path: SwapPath<LDT>)
crates/types/entities/src/swap_path.rs:181
↓ 38 callersMethodpools
(&self)
crates/types/entities/src/market.rs:177
↓ 38 callersMethodto
(&self)
crates/types/entities/src/swap_direction.rs:23
↓ 37 callersMethodsubscribe
(&self)
crates/core/actors/src/channels/broadcaster.rs:40
↓ 32 callersMethodaddress
()
crates/evm/utils/src/nweth.rs:64
↓ 32 callersMethodstart
Start a custom actor
crates/core/blockchain-actors/src/actor.rs:106
↓ 31 callersMethodadd_token
Add a [`Token`] reference to the market.
crates/types/entities/src/market.rs:72
↓ 30 callersMethodis_none
(&self)
crates/types/events/src/tx_compose.rs:15
↓ 29 callersMethodtokens
Get all involved tokens in the swap line
crates/types/entities/src/swap_line.rs:169
↓ 27 callersMethodswap_compose_channel
(&self)
crates/core/blockchain/src/strategy.rs:33
↓ 26 callersMethodget_token_or_default
(&self, address: &LDT::Address)
crates/types/entities/src/market.rs:86
↓ 25 callersMethodis_empty
(&self)
crates/types/entities/src/signers.rs:137
↓ 25 callersMethodwrite
(&self)
crates/core/actors/src/shared_state.rs:24
↓ 23 callersMethodget_pool
(&self, address: &PoolId<LDT>)
crates/types/entities/src/market.rs:165
↓ 22 callersMethodget_coin_idx
(&self, address: Address)
crates/defi/pools/src/curvepool.rs:92
↓ 22 callersMethodmarket_events_channel
(&self)
crates/core/blockchain/src/blockchain.rs:128
↓ 22 callersMethodset_call_stack
(&mut self, is_relative: bool, stack_offset: u32, data_offset: u32, data_len: usize)
crates/types/blockchain/src/opcodes.rs:80
↓ 21 callersFunctionevm_call
(state_db: DB, env: Env, transact_to: Address, call_data_vec: Vec<u8>)
crates/evm/utils/src/evm.rs:45
↓ 21 callersMethodinsert_account_storage
insert account storage without overriding account info
crates/evm/db/src/loom_db.rs:214
↓ 21 callersFunctionnext_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 callersMethodrecv
(&mut self)
crates/core/actors/src/channels/multiproducer.rs:19
↓ 20 callersMethodadd_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 callersMethodblock_id
(&self)
crates/node/debug-provider/src/archiveprovider.rs:43
↓ 20 callersMethodget_block_by_number
( &'life0 self, number: BlockNumberOrTag, tx_kind: BlockTransactionsKind, )
crates/node/debug-provider/src/archiveprovider.rs:95
↓ 20 callersMethodlen
(&self)
crates/types/entities/src/swap_step.rs:41
↓ 19 callersMethodget_out_amount
(&self)
crates/types/entities/src/swap_step.rs:345
↓ 19 callersMethodmarket
(&self)
crates/core/blockchain/src/blockchain.rs:92
↓ 19 callersFunctionmul_div
returns (uint256 result)
crates/defi/uniswap-v3-math/src/full_math.rs:13
↓ 19 callersMethodnew_block_headers_channel
(&self)
crates/core/blockchain/src/blockchain.rs:108
↓ 19 callersMethodswap_line_vec
(&self)
crates/types/entities/src/swap_step.rs:37
↓ 18 callersMethodapply_geth_update
(&mut self, update: BTreeMap<Address, GethAccountState>)
crates/evm/db/src/loom_db.rs:316
↓ 18 callersFunctioninit_test_ticks
()
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:177
↓ 18 callersFunctioninitialized
(tick: i32, tick_provider: &T)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:186
↓ 18 callersMethodrequest
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 callersMethodbuild
(self)
crates/defi/pools/src/loaders/mod.rs:96
↓ 17 callersFunctionflip_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 callersMethodget_block_number
(self)
crates/node/debug-provider/src/httpcached.rs:142
↓ 17 callersFunctionget_next_sqrt_price_from_output
returns (sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:34
↓ 16 callersFunctionfetch_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 callersMethodget_in_amount
(&self)
crates/types/entities/src/swap_step.rs:334
↓ 16 callersMethodmut_ref
(&mut self)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:163
↓ 16 callersMethodnew_block_logs_channel
(&self)
crates/core/blockchain/src/blockchain.rs:120
↓ 16 callersMethodnew_block_with_tx_channel
(&self)
crates/core/blockchain/src/blockchain.rs:112
↓ 15 callersMethodadd_block_header
(&mut self, block_header: Header)
crates/types/entities/src/block_history/block_history_impl.rs:130
↓ 15 callersMethodget_address
(&self)
crates/defi/pools/src/curvepool.rs:234
↓ 15 callersFunctionget_next_sqrt_price_from_input
returns (sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:14
↓ 15 callersMethodget_token_token_pools
(&self, token_from_address: &LDT::Address, token_to_address: &LDT::Address)
crates/types/entities/src/market.rs:227
↓ 15 callersMethodwith_signers
Starts signer actor
crates/core/blockchain-actors/src/actor.rs:165
↓ 14 callersMethodcontains_pool
(&self, pool: &PoolWrapper<LDT>)
crates/types/entities/src/swap_path.rs:122
↓ 14 callersMethodencode
(&self)
crates/execution/multicaller/src/pool_opcodes_encoder/swap_opcodes_encoders.rs:35
↓ 14 callersMethodget_class
(&self)
crates/defi/pools/src/curvepool.rs:226
↓ 14 callersMethodinfluxdb_write_channel
(&self)
crates/core/blockchain/src/blockchain.rs:144
↓ 14 callersMethodis_pool_disabled
(&self, address: &PoolId<LDT>)
crates/types/entities/src/market.rs:221
↓ 14 callersMethodlatest_block
(&self)
crates/core/blockchain/src/blockchain.rs:96
↓ 14 callersMethodnew_block_state_update_channel
(&self)
crates/core/blockchain/src/blockchain.rs:116
↓ 14 callersMethodtx_compose_channel
(&self)
crates/core/blockchain/src/blockchain.rs:136
↓ 13 callersFunction_get_amount_0_delta
returns (uint256 amount0)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:127
↓ 13 callersMethodinsert_account_info
Insert account info but not override storage
crates/evm/db/src/loom_db.rs:208
↓ 13 callersMethodinsert_account_storage
insert account storage without overriding account info
crates/evm/db/src/fast_cache_db.rs:100
↓ 13 callersFunctionmatch_abi
(code: &Bytes, selectors: Vec<[u8; 4]>)
crates/defi/pools/src/protocols/helper.rs:71
↓ 13 callersMethodmerge
(&self)
crates/evm/db/src/in_memory_db.rs:17
↓ 12 callersMethodaddress
(&self)
crates/execution/multicaller/src/deploy.rs:137
↓ 12 callersMethodget_blockchain
(&self, name: Option<&String>)
crates/core/topology/src/topology.rs:685
↓ 12 callersMethodget_dy
(&self, i: u32, j: u32, amount: U256)
crates/defi/pools/src/protocols/curve.rs:252
↓ 12 callersMethodpools
Get all used pools in the swap line
crates/types/entities/src/swap_line.rs:174
↓ 12 callersMethodtx_hash
(&self)
crates/types/blockchain/src/loom_data_types_ethereum.rs:43
↓ 12 callersMethodwith_ext_db
(self, ext_db: ExtDB)
crates/evm/db/src/loom_db.rs:116
↓ 11 callersMethodabs_profit_eth
(&self)
crates/types/entities/src/swap.rs:61
↓ 11 callersFunctioncompute_swap_step
//returns ( uint160 sqrtRatioNextX96, uint256 amountIn, uint256 amountOut, uint256 feeAmount )
crates/defi/uniswap-v3-math/src/swap_math.rs:15
↓ 11 callersMethodfinish
(&self)
crates/evm/db/src/fast_hasher.rs:76
↓ 11 callersMethodget_client
(&self, name: Option<&String>)
crates/core/topology/src/topology.rs:671
↓ 11 callersMethodhash
(&self)
crates/types/entities/src/market_state.rs:53
↓ 11 callersMethodmarket_state
(&self)
crates/types/events/src/state_update_event.rs:65
↓ 10 callersFunction_get_amount_1_delta
returns (uint256 amount1)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:153
↓ 10 callersMethodadd
(&mut self, swap_path: SwapLine<LDT>)
crates/types/entities/src/swap_step.rs:67
↓ 10 callersFunctionbroadcast_latest_block
(provider: P, bc: &Blockchain, state_update: Option<GethStateUpdateVec>)
crates/core/block-history-actor/src/block_history_actor_test.rs:73
↓ 10 callersFunctioncreate_next_header
(parent: &Header, child_id: u64)
crates/types/entities/src/block_history/block_history_impl.rs:476
↓ 10 callersMethodget_pool_id
(&self)
crates/types/entities/src/mock_pool.rs:41
next →1–100 of 1,832, ranked by callers