MCPcopy Create free account

hub / github.com/cakevm/kabu / functions

Functions1,664 in github.com/cakevm/kabu

↓ 3 callersFunctioncreate_header
(number: BlockNumber, _hash: BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:537
↓ 3 callersFunctiondebug_trace_call
( client: C, req: TR, block: BlockId, opts: Option<GethDebugTracingCallOptions>, diff_mode
crates/types/blockchain/src/state_update.rs:95
↓ 3 callersMethoddebug_trace_call
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:294
↓ 3 callersFunctiondiv_rounding_up
(a: U256, b: U256)
crates/defi/uniswap-v3-math/src/unsafe_math.rs:5
↓ 3 callersMethodencode_swap_out_amount_provided
( &self, _swap_opcodes: &mut MulticallerCalls, _abi_encoder: &dyn ProtocolAbiSwapEncod
crates/execution/multicaller/src/pool_opcodes_encoder/uniswap2.rs:81
↓ 3 callersMethodeq
(&self, other: &Self)
crates/types/market/src/swap_path.rs:37
↓ 3 callersFunctionfetch_data_and_pool
()
testing/backtest-runner/benches/benchmark.rs:51
↓ 3 callersMethodfetch_reserves
( &self, db: &DB, evm_env: &EvmEnv, )
crates/defi/pools/src/uniswapv2pool.rs:188
↓ 3 callersMethodget_block_by_hash
(&self, block_hash: &BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:233
↓ 3 callersMethodget_entry_mut_or_panic
(&mut self, block_hash: BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:118
↓ 3 callersMethodget_exchange_call_data
(&self, i: u32, j: u32, amount: U256, min_dy: U256, to: Address)
crates/defi/pools/src/protocols/curve.rs:368
↓ 3 callersMethodget_first_token
Get the first token in the swap line
crates/types/swap/src/swap_line.rs:166
↓ 3 callersMethodget_mut_account
(&mut self, account: &Address)
crates/types/entities/src/account_nonce_balance.rs:72
↓ 3 callersMethodget_nonce
(&self)
crates/types/entities/src/account_nonce_balance.rs:15
↓ 3 callersMethodget_pool_paths_enabled_vec
(&self, pool_id: &PoolId)
crates/types/market/src/swap_path.rs:237
↓ 3 callersMethodget_state_required
(&self)
crates/defi/pools/src/uniswapv2pool.rs:310
↓ 3 callersMethodget_symbol
(&self)
crates/types/market/src/token.rs:88
↓ 3 callersFunctionget_uniswap2pool_address
(token0: Address, token1: Address, factory: Address, init_code: B256)
crates/defi/pools/src/protocols/helper.rs:12
↓ 3 callersFunctiongeth_state_update_add_account
(update: GethStateUpdate, address: Address, account_state: AccountState)
crates/evm/utils/src/geth_state_update.rs:14
↓ 3 callersMethodhash
(&self, state: &mut H)
crates/types/market/src/swap_direction.rs:44
↓ 3 callersMethodinit
(&self, current_state: S, depth: usize, block: NP::Block)
crates/types/entities/src/block_history/block_history_impl.rs:299
↓ 3 callersMethodlaunch
Launch the node with all components
crates/core/node/src/builder.rs:129
↓ 3 callersMethodload_account
(&mut self, address: Address)
crates/evm/db/src/kabu_db.rs:476
↓ 3 callersMethodmarket_state
(&self)
crates/types/events/src/state_update_event.rs:61
↓ 3 callersFunctionnew_block_history_worker_canonical
( reth_provider: R, client: P, chain_parameters: ChainParameters, _market_state: Arc<RwLock<Ma
crates/core/block-history/src/block_history_actor.rs:74
↓ 3 callersFunctionparse_execution_result
(execution_result: ResultAndState)
crates/evm/utils/src/evm.rs:36
↓ 3 callersMethodset_block_number
(&self, block_number: u64)
crates/node/debug-provider/src/httpcached.rs:55
↓ 3 callersFunctionset_monitor_token_balance
( account_nonce_balance_state: Option<Arc<RwLock<AccountNonceAndBalanceState>>>, owner: Address, t
crates/defi/preloader/src/preloader_actor.rs:38
↓ 3 callersMethodwith_channels
( self, state_update_rx: broadcast::Sender<StateUpdateEvent<DB, LDT>>, swap_tx: broadc
crates/strategy/backrun/src/state_change_arb_searcher.rs:351
↓ 3 callersMethodwith_components
( self, components: ComponentSet<N, E, S, M, B, Est, H, Mer, Mon, Sig>, )
crates/core/node/src/builder.rs:94
↓ 2 callersMethodabs_profit
Calculate the absolute profit of the swap line
crates/types/swap/src/swap_line.rs:250
↓ 2 callersFunctionaccount_state_add_storage
(account_state: AccountState, key: B256, value: B256)
crates/evm/utils/src/geth_state_update.rs:8
↓ 2 callersFunctionaccounts_len
(state: &BTreeMap<Address, AccountState>)
crates/types/market/src/required_state.rs:129
↓ 2 callersMethodaccounts_len
(&self)
crates/evm/db/src/kabu_db.rs:468
↓ 2 callersMethodadd_block
(&mut self, block: N::Block)
crates/types/entities/src/block_history/block_history_impl.rs:162
↓ 2 callersMethodadd_empty_slot_range
(&mut self, address: A, start_slot: U256, size: usize)
crates/types/market/src/required_state.rs:43
↓ 2 callersMethodaddress_or_zero
(&self)
crates/types/market/src/pool_id.rs:26
↓ 2 callersMethodapply_update
(self, block_history_entry: &BlockHistoryEntry<N>, market_state_config: &MarketStateConfig)
crates/types/entities/src/block_history/block_history_state.rs:15
↓ 2 callersMethodbackrun_config
Set the backrun configuration
crates/core/node/src/context.rs:147
↓ 2 callersMethodbalances
(client: P, address: Address)
crates/defi/pools/src/protocols/curve.rs:176
↓ 2 callersMethodblock_hash_ref
(&self, number: BlockNumber)
crates/evm/db/src/kabu_db.rs:550
↓ 2 callersMethodblock_number
(&self)
crates/node/debug-provider/src/archiveprovider.rs:36
↓ 2 callersMethodbuild_components
(self)
crates/core/components/src/node.rs:155
↓ 2 callersFunctionbuild_many
(addr: &[Address], accs: &[FastDbAccount])
crates/evm/db/benches/benchmark.rs:130
↓ 2 callersFunctionbuild_one
(addr: &[Address], accs: &[FastDbAccount])
crates/evm/db/benches/benchmark.rs:117
↓ 2 callersMethodcalculate_out_amount
( &self, db: &dyn DatabaseRef<Error = KabuDBError>, evm_env: &EvmEnv, token_ad
crates/defi/pools/src/uniswapv3pool.rs:249
↓ 2 callersMethodcalculate_out_amount
( &self, db: &dyn DatabaseRef<Error = KabuDBError>, evm_env: &EvmEnv, token_ad
crates/defi/pools/src/maverickpool.rs:176
↓ 2 callersMethodcalculate_out_amount
( &self, db: &dyn DatabaseRef<Error = KabuDBError>, evm_env: &EvmEnv, token_ad
crates/defi/pools/src/pancakev3pool.rs:210
↓ 2 callersMethodcoins
(client: P, address: Address)
crates/defi/pools/src/protocols/curve.rs:159
↓ 2 callersMethodcontracts_len
(&self)
crates/evm/db/src/kabu_db.rs:464
↓ 2 callersMethodconvert_block_number_next
(&self, number_or_tag: BlockNumberOrTag)
crates/node/debug-provider/src/httpcached.rs:74
↓ 2 callersFunctiondebug_trace_call_pre_state
( client: C, req: TR, block: BlockId, opts: Option<GethDebugTracingCallOptions>, )
crates/types/blockchain/src/state_update.rs:131
↓ 2 callersMethoddirections
(&self)
crates/types/events/src/state_update_event.rs:57
↓ 2 callersMethoddisable_path
(&mut self, swap_path: &SwapPath, disable: bool)
crates/types/market/src/swap_path.rs:197
↓ 2 callersMethodencode_do_calls
(&self, opcodes: MulticallerCalls, inside_opcodes: MulticallerCalls)
crates/execution/multicaller/src/swapstep_encoder.rs:36
↓ 2 callersFunctionexecute_test
Complete test execution - everything happens here for isolation
testing/backtest-runner/src/main.rs:213
↓ 2 callersMethodexecutor
Replace the executor component
crates/core/node/src/node.rs:117
↓ 2 callersFunctionexpand_vars
(raw_config: &str)
crates/core/config/src/config_loader.rs:47
↓ 2 callersMethodfetch
(&mut self, key: K, fx: F)
crates/types/entities/src/datafetcher.rs:39
↓ 2 callersFunctionfetch_account_state
(client: P, address: Address)
crates/defi/preloader/src/preloader_actor.rs:26
↓ 2 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:104
↓ 2 callersMethodfetch_entry_by_hash
(&self, block_hash: BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:481
↓ 2 callersMethodfetch_entry_data
(&self, entry: &mut BlockHistoryEntry<NP>)
crates/types/entities/src/block_history/block_history_impl.rs:323
↓ 2 callersFunctionfetch_original_contract_amounts
( client: AnvilDebugProviderType, pool_address: Address, amount: U256, block_n
crates/defi/pools/src/uniswapv2pool.rs:424
↓ 2 callersMethodfetch_out_amount
(&self, token_address_from: Address, token_address_to: Address, amount_in: U256)
crates/defi/pools/src/curvepool.rs:109
↓ 2 callersFunctionfill_cache_db
(db: &mut CacheDB<EmptyDB>, addr: &[Address], accs: &[FastDbAccount])
crates/evm/db/benches/benchmark.rs:45
↓ 2 callersFunctionfill_kabu_db
(db: &mut KabuDBType, addr: &[Address], accs: &[FastDbAccount])
crates/evm/db/benches/benchmark.rs:54
↓ 2 callersMethodfirst_swap_line
(&self)
crates/types/swap/src/swap_step.rs:51
↓ 2 callersMethodfirst_token
(&self)
crates/types/swap/src/swap_step.rs:55
↓ 2 callersFunctiongenerate_accounts
(acc_size: usize, mem_size: usize)
crates/evm/db/benches/benchmark.rs:37
↓ 2 callersMethodget_abi_encoder
(&self)
crates/defi/pools/src/curvepool.rs:393
↓ 2 callersMethodget_add_liquidity_call_data
(&self, i: u32, amount: U256, _to: Address)
crates/defi/pools/src/protocols/curve.rs:394
↓ 2 callersMethodget_address
(&self)
crates/types/market/src/swap_path.rs:301
↓ 2 callersFunctionget_affected_pools_from_state_update
( market: Arc<RwLock<Market>>, state_update: &GethStateUpdateVec, )
crates/strategy/backrun/src/affected_pools_state.rs:12
↓ 2 callersMethodget_contract_address
(&self)
crates/execution/multicaller/src/swapstep_encoder.rs:32
↓ 2 callersMethodget_entry_or_default
(&mut self, account: Address)
crates/types/entities/src/account_nonce_balance.rs:84
↓ 2 callersMethodget_eth_balance
(&self)
crates/types/entities/src/account_nonce_balance.rs:46
↓ 2 callersMethodget_first_block_number
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:241
↓ 2 callersMethodget_hash
(&self)
crates/types/market/src/swap_path.rs:125
↓ 2 callersFunctionget_liquidity_for_amount0
(sqrt_ratio_a_x_96: U256, sqrt_ratio_b_x_96: U256, amount0: U256)
crates/defi/uniswap-v3-math/src/liquidity_math.rs:19
↓ 2 callersFunctionget_liquidity_for_amount1
(sqrt_ratio_a_x_96: U256, sqrt_ratio_b_x_96: U256, amount1: U256)
crates/defi/uniswap-v3-math/src/liquidity_math.rs:29
↓ 2 callersMethodget_mut_swap_line_by_index
(&mut self, idx: usize)
crates/types/swap/src/swap_step.rs:35
↓ 2 callersFunctionget_next_sqrt_price_from_amount_0_rounding_up
returns (uint160 sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:54
↓ 2 callersFunctionget_next_sqrt_price_from_amount_1_rounding_down
returns (uint160 sqrtQX96)
crates/defi/uniswap-v3-math/src/sqrt_price_math.rs:91
↓ 2 callersMethodget_or_insert_entry_with_header
(&mut self, header: N::BlockHeader)
crates/types/entities/src/block_history/block_history_impl.rs:98
↓ 2 callersMethodget_pool_id
(&self)
crates/defi/pools/src/curvepool.rs:232
↓ 2 callersMethodget_protocol
(&self)
crates/defi/pools/src/uniswapv3pool.rs:226
↓ 2 callersMethodget_state_required
(&self)
crates/defi/pools/src/uniswapv3pool.rs:369
↓ 2 callersMethodget_tick
(&self, word_pos: i16)
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:171
↓ 2 callersMethodget_underlying_coin_idx
(&self, address: Address)
crates/defi/pools/src/curvepool.rs:100
↓ 2 callersMethodgeth_debug_trace_call
( &self, tx: N::TransactionRequest, block: BlockId, trace_options: GethDebugTr
crates/node/debug-provider/src/debugprovider.rs:180
↓ 2 callersMethodinner
(&self)
crates/types/events/src/message.rs:29
↓ 2 callersMethodinsert_contract
Inserts the account's code into the cache. Accounts objects and code are stored separately in the cache, this will take the code from the account and
crates/evm/db/src/fast_cache_db.rs:60
↓ 2 callersMethodis_account
(&self, address: &Address)
crates/evm/db/src/kabu_db.rs:456
↓ 2 callersMethodis_basic
(&self)
crates/types/market/src/token.rs:118
↓ 2 callersMethodis_empty
(&self)
crates/types/entities/src/signers.rs:109
↓ 2 callersMethodis_fetched
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:38
↓ 2 callersMethodis_middle
(&self)
crates/types/market/src/token.rs:123
↓ 2 callersMethodis_native
(&self)
crates/defi/pools/src/curvepool.rs:479
↓ 2 callersMethodis_pool
(&self, address: &PoolId)
crates/types/market/src/market.rs:169
← previousnext →201–300 of 1,664, ranked by callers