MCPcopy Create free account

hub / github.com/cakevm/kabu / functions

Functions1,664 in github.com/cakevm/kabu

↓ 609 callersMethodclone
(&self)
crates/types/market/src/pool.rs:211
↓ 347 callersMethodunwrap
(&self)
crates/types/swap/src/swap_line.rs:29
↓ 204 callersMethodclone
(&self)
crates/defi/pools/src/curvepool.rs:47
↓ 124 callersMethodinsert
(&mut self, opcode: MulticallerCall)
crates/types/blockchain/src/opcodes.rs:156
↓ 110 callersMethodunwrap_or_default
(&self)
crates/types/swap/src/swap_line.rs:36
↓ 100 callersMethodlen
(&self)
crates/types/swap/src/swap_step.rs:43
↓ 97 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
↓ 69 callersMethodget_address
(&self)
crates/types/market/src/token.rs:108
↓ 48 callersMethodas_ref
(&self)
crates/types/market/src/pool.rs:225
↓ 48 callersMethodpools
Get all used pools in the swap line
crates/types/swap/src/swap_line.rs:161
↓ 45 callersMethodadd
(&mut self, swap_path: SwapLine)
crates/types/swap/src/swap_step.rs:69
↓ 44 callersMethodread
(&self, method: String, index: B256)
crates/node/debug-provider/src/cachefolder.rs:28
↓ 43 callersMethodadd_call
(&mut self, to: A, call_data: T)
crates/types/market/src/required_state.rs:29
↓ 38 callersMethodspawn
(self, executor: TaskExecutor)
crates/core/components/src/kabu_node.rs:20
↓ 38 callersMethodto
(&self)
crates/types/market/src/swap_direction.rs:23
↓ 37 callersMethodwrite
(&self, method: String, index: B256, data: String)
crates/node/debug-provider/src/cachefolder.rs:21
↓ 35 callersMethodtokens
Get all involved tokens in the swap line
crates/types/swap/src/swap_line.rs:156
↓ 26 callersMethodget_token_or_default
(&self, address: &Address)
crates/types/market/src/market.rs:84
↓ 24 callersMethodis_none
(&self)
crates/types/events/src/tx_compose.rs:17
↓ 23 callersMethodadd_token
Add a [`Token`] reference to the market.
crates/types/market/src/market.rs:65
↓ 23 callersMethodextend
(&mut self, path_vec: Vec<SwapPath>)
crates/types/market/src/swap_path_builder.rs:18
↓ 23 callersMethodunwrap
(&self)
crates/types/events/src/tx_compose.rs:21
↓ 22 callersMethodadd_pool
Add a new pool to the market if it does not exist or the class is unknown.
crates/types/market/src/market.rs:105
↓ 22 callersMethodget_coin_idx
(&self, address: Address)
crates/defi/pools/src/curvepool.rs:92
↓ 22 callersMethodget_pool
(&self, address: &PoolId)
crates/types/market/src/market.rs:163
↓ 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
Execute a call without any block validations
crates/evm/utils/src/evm.rs:49
↓ 21 callersMethodinsert_account_storage
insert account storage without overriding account info
crates/evm/db/src/kabu_db.rs:210
↓ 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
↓ 20 callersMethodis_empty
(&self)
crates/types/swap/src/swap_step.rs:47
↓ 19 callersMethodaddress
()
crates/evm/utils/src/nweth.rs:64
↓ 19 callersMethodapply_geth_update
(&mut self, update: BTreeMap<Address, GethAccountState>)
crates/evm/db/src/kabu_db.rs:312
↓ 19 callersMethodbuild
Build the final component set
crates/core/node/src/node.rs:261
↓ 19 callersMethodget_out_amount
(&self)
crates/types/swap/src/swap_step.rs:369
↓ 19 callersFunctionmul_div
returns (uint256 result)
crates/defi/uniswap-v3-math/src/full_math.rs:13
↓ 19 callersMethodswap_line_vec
(&self)
crates/types/swap/src/swap_step.rs:39
↓ 18 callersMethodblock_id
(&self)
crates/node/debug-provider/src/archiveprovider.rs:40
↓ 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
↓ 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 callersFunctionget_next_sqrt_price_from_output
returns (sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:34
↓ 16 callersMethodget_block_by_number
(&self, number: BlockNumberOrTag)
crates/node/debug-provider/src/archiveprovider.rs:91
↓ 16 callersMethodget_in_amount
(&self)
crates/types/swap/src/swap_step.rs:358
↓ 16 callersMethodget_pool_id
(&self)
crates/types/market/src/mock_pool.rs:41
↓ 16 callersMethodmut_ref
(&mut self)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:163
↓ 15 callersMethodadd_block_header
(&mut self, block_header: N::BlockHeader)
crates/types/entities/src/block_history/block_history_impl.rs:131
↓ 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: &Address, token_to_address: &Address)
crates/types/market/src/market.rs:225
↓ 14 callersMethodcontains_pool
(&self, pool: &PoolWrapper)
crates/types/market/src/swap_path.rs:115
↓ 14 callersMethodget_class
(&self)
crates/defi/pools/src/curvepool.rs:220
↓ 14 callersMethodis_pool_disabled
(&self, address: &PoolId)
crates/types/market/src/market.rs:219
↓ 14 callersMethodlen
(&self)
crates/types/market/src/swap_path.rs:157
↓ 14 callersMethodmerge
(&self)
crates/evm/db/src/in_memory_db.rs:17
↓ 13 callersFunction_get_amount_0_delta
returns (uint256 amount0)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:123
↓ 13 callersMethodinsert_account_storage
insert account storage without overriding account info
crates/evm/db/src/fast_cache_db.rs:98
↓ 13 callersFunctionmatch_abi
(code: &Bytes, selectors: Vec<[u8; 4]>)
crates/defi/pools/src/protocols/helper.rs:67
↓ 12 callersMethodget_block_number
(self)
crates/node/debug-provider/src/httpcached.rs:142
↓ 12 callersMethodget_dy
(&self, i: u32, j: u32, amount: U256)
crates/defi/pools/src/protocols/curve.rs:248
↓ 12 callersMethodinsert_account_info
Insert account info but not override storage
crates/evm/db/src/kabu_db.rs:204
↓ 12 callersMethodpools
(&self)
crates/types/market/src/market.rs:175
↓ 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 callersMethodmarket
Replace the market component
crates/core/node/src/node.rs:149
↓ 11 callersMethodnumber
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:50
↓ 11 callersMethodspawn
(self, _executor: reth_tasks::TaskExecutor)
crates/core/node/src/traits.rs:19
↓ 11 callersMethodwith_ext_db
(self, ext_db: ExtDB)
crates/evm/db/src/kabu_db.rs:112
↓ 10 callersFunction_get_amount_1_delta
returns (uint256 amount1)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:149
↓ 10 callersMethodarb_profit_eth
(&self)
crates/types/swap/src/swap.rs:61
↓ 10 callersFunctionbroadcast_latest_block
( provider: &P, mock_canonical: &MockCanonicalProvider<P>, _bc: &Blockchain<EthPrimiti
crates/core/block-history/src/block_history_actor_test.rs:92
↓ 10 callersFunctioncreate_next_header
(parent: &Header, child_id: u64)
crates/types/entities/src/block_history/block_history_impl.rs:529
↓ 10 callersMethodget
(&mut self, key: K, fx: F)
crates/types/entities/src/datafetcher.rs:78
↓ 10 callersMethodset_return_stack
(&mut self, is_relative: bool, stack_offset: u32, data_offset: u32, data_len: usize)
crates/types/blockchain/src/opcodes.rs:104
↓ 9 callersMethodblock_on
(&self, f: F)
crates/evm/db/src/alloydb.rs:21
↓ 9 callersMethodcalculate_with_in_amount
( &mut self, db: &DB, evm_env: &EvmEnv, in_ammount: Option<U256>, )
crates/types/swap/src/swap_step.rs:380
↓ 9 callersMethodencode
(&self)
crates/execution/multicaller/src/pool_opcodes_encoder/swap_opcodes_encoders.rs:36
↓ 9 callersFunctionget_protocol_by_factory
(factory_address: Address)
crates/types/market/src/pool.rs:20
↓ 9 callersMethodget_swap_directions
(&self)
crates/defi/pools/src/curvepool.rs:244
↓ 9 callersMethodget_tokens
(&self)
crates/defi/pools/src/curvepool.rs:240
↓ 9 callersMethodhash
(&self, state: &mut H)
crates/evm/db/src/fast_hasher.rs:19
↓ 9 callersMethodinsert_account_info
Insert account info but not override storage
crates/evm/db/src/fast_cache_db.rs:75
↓ 9 callersMethodis_weth
(&self)
crates/types/market/src/token.rs:113
↓ 9 callersMethodmarket_events_channel
(&self)
crates/core/blockchain/src/blockchain.rs:96
↓ 8 callersMethodaddress
(&self)
crates/execution/multicaller/src/deploy.rs:135
↓ 8 callersMethodbasic_ref
(&self, address: Address)
crates/evm/db/src/kabu_db.rs:507
↓ 8 callersMethodcalculate_out_amount
( &self, db: &dyn DatabaseRef<Error = KabuDBError>, evm_env: &EvmEnv, token_ad
crates/defi/pools/src/curvepool.rs:270
↓ 8 callersMethodclear
(&mut self)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:166
↓ 8 callersFunctiondefault_swap_line
()
crates/types/swap/src/swap_line.rs:542
↓ 8 callersMethodget_address
(&self)
crates/defi/pools/src/curvepool.rs:228
↓ 8 callersMethodget_first_token
(&self)
crates/types/swap/src/swap_step.rs:336
↓ 8 callersMethodget_last_token
Get the last token in the swap line
crates/types/swap/src/swap_line.rs:171
↓ 8 callersMethodget_protocol
(&self)
crates/defi/pools/src/curvepool.rs:224
↓ 8 callersMethodget_state_required
(&self)
crates/defi/pools/src/curvepool.rs:402
↓ 8 callersMethodget_storage_at
(&self, address: Address, key: U256)
crates/node/debug-provider/src/archiveprovider.rs:85
↓ 8 callersMethodget_token_tokens
(&self, token_from_address: &Address)
crates/types/market/src/market.rs:231
↓ 8 callersMethodhash
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:42
↓ 8 callersMethodpreswap_requirement
(&self)
crates/defi/pools/src/curvepool.rs:483
↓ 8 callersMethodwith_ro_db
(self, db: Option<KabuDB>)
crates/evm/db/src/kabu_db.rs:128
↓ 7 callersMethodadd_testkey
(&mut self)
crates/types/entities/src/signers.rs:95
↓ 7 callersMethodanvil
(&self)
crates/node/debug-provider/src/debugprovider.rs:105
next →1–100 of 1,664, ranked by callers