MCPcopy Create free account

hub / github.com/cakevm/kabu / functions

Functions1,664 in github.com/cakevm/kabu

↓ 7 callersMethodbuild_swap_path_vec
Build a list of swap paths from the given directions.
crates/types/market/src/market.rs:245
↓ 7 callersMethodenable
(self, pool_class: PoolClass)
crates/types/market/src/pool_config.rs:30
↓ 7 callersMethodencode_swap_line_in_amount
(&self, swap_path: &SwapLine, funds_to: Option<&PoolWrapper>)
crates/execution/multicaller/src/swapline_encoder.rs:277
↓ 7 callersMethodfrom
(paths: Vec<SwapPath>)
crates/types/market/src/swap_path.rs:149
↓ 7 callersMethodget_block_history_entry
(&self, block_hash: &BlockHash)
crates/types/entities/src/block_history/block_history_impl.rs:221
↓ 7 callersMethodinsert_swap_hope
(&mut self, token_from: Arc<Token>, token_to: Arc<Token>, pool: PoolWrapper)
crates/types/market/src/swap_path.rs:99
↓ 7 callersFunctionleast_significant_bit
(x: U256)
crates/defi/uniswap-v3-math/src/bit_math.rs:11
↓ 7 callersFunctionmost_significant_bit
(x: U256)
crates/defi/uniswap-v3-math/src/bit_math.rs:4
↓ 7 callersFunctionmul_div_rounding_up
(a: U256, b: U256, denominator: U256)
crates/defi/uniswap-v3-math/src/full_math.rs:100
↓ 7 callersMethodparent_hash
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:46
↓ 7 callersMethodpush_swap_hope
(&mut self, token_from: Arc<Token>, token_to: Arc<Token>, pool: PoolWrapper)
crates/types/market/src/swap_path.rs:84
↓ 6 callersFunctionadd_delta
returns (uint128 z)
crates/defi/uniswap-v3-math/src/liquidity_math.rs:8
↓ 6 callersMethodcached_or_execute
(&self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:187
↓ 6 callersFunctioncalc_hashmap_cell
(offset: U0, cell: U1)
crates/evm/utils/src/remv_db_direct_access.rs:6
↓ 6 callersMethodchain_id
Set the chain ID
crates/core/node/src/context.rs:129
↓ 6 callersFunctioncreate_pool
(token0: Address, token1: Address)
crates/types/entities/benches/benchmark.rs:14
↓ 6 callersFunctiondecrypt_key
Decrypts data that was encrypted with `encrypt_key` # Arguments `encrypted_data` - The encrypted data containing salt, nonce, and ciphertext `pwd` -
bin/keys/src/main.rs:90
↓ 6 callersFunctionencrypt_key
Encrypts a private key using AES-256-GCM with PBKDF2 key derivation # Arguments `private_key` - The private key bytes to encrypt `pwd` - The password
bin/keys/src/main.rs:52
↓ 6 callersMethodfactory
(db: &DB, evm_env: &EvmEnv, pool: Address)
crates/defi/pools/src/state_readers/uniswapv2.rs:15
↓ 6 callersFunctionfetch_original_contract_amounts
( client: AnvilDebugProviderType, pool_address: Address, token_in: Address, to
crates/defi/pools/src/uniswapv3pool.rs:555
↓ 6 callersFunctionfill_trait
(db: &mut DB, addr: &[Address], accs: &[FastDbAccount])
crates/evm/db/benches/benchmark.rs:63
↓ 6 callersMethodget_balance
(&self, token_address: &Address)
crates/types/entities/src/account_nonce_balance.rs:49
↓ 6 callersMethodget_dy_call_data
(&self, i: u32, j: u32, amount: U256)
crates/defi/pools/src/protocols/curve.rs:314
↓ 6 callersMethodget_first_token
(&self)
crates/types/swap/src/swap.rs:71
↓ 6 callersFunctionget_tick_at_sqrt_ratio
(sqrt_price_x_96: U256)
crates/defi/uniswap-v3-math/src/tick_math.rs:98
↓ 6 callersFunctionget_uniswap3pool_address
(token0: Address, token1: Address, fee: u32, factory: Address, init_code: B256)
crates/defi/pools/src/protocols/helper.rs:30
↓ 6 callersMethodis_not_set
(&self)
crates/types/swap/src/swap_line.rs:48
↓ 6 callersMethodread_block_number
(&self)
crates/node/debug-provider/src/httpcached.rs:131
↓ 6 callersMethodsplit
Split the swap line into two swap lines at a specific pool index
crates/types/swap/src/swap_line.rs:219
↓ 6 callersMethodstorage_ref
(&self, address: Address, slot: U256)
crates/evm/db/src/kabu_db.rs:528
↓ 5 callersMethodadd_slot_range
(&mut self, address: A, start_slot: U256, size: usize)
crates/types/market/src/required_state.rs:52
↓ 5 callersMethodaddress
(&self)
crates/types/entities/src/signers.rs:43
↓ 5 callersMethodarb_profit
(&self)
crates/types/swap/src/swap.rs:38
↓ 5 callersMethodblock_history
(&self)
crates/core/blockchain/src/blockchain_state.rs:56
↓ 5 callersMethodbuild_pool
(self, ctx: &BuilderContext<AppState<NP>>)
crates/core/mempool/src/mempool_builder.rs:24
↓ 5 callersMethodcan_flash_swap
Check if all pools in the swap line can be flash swapped
crates/types/swap/src/swap_line.rs:240
↓ 5 callersMethodencrypt_once
(&self, data: &[u8])
crates/types/entities/src/keystore.rs:27
↓ 5 callersMethodeq
(&self, other: &Self)
crates/types/market/src/pool.rs:205
↓ 5 callersMethodget_address_vec
(&self)
crates/types/entities/src/signers.rs:135
↓ 5 callersMethodget_fee
(&self)
crates/defi/pools/src/curvepool.rs:236
↓ 5 callersMethodget_pool_id
(&self)
crates/types/market/src/swap_path.rs:305
↓ 5 callersFunctionget_sqrt_ratio_at_tick
(tick: i32)
crates/defi/uniswap-v3-math/src/tick_math.rs:20
↓ 5 callersMethodget_swap_directions
(&self)
crates/types/market/src/mock_pool.rs:53
↓ 5 callersMethodget_token_pools_len
Get all pool addresses as reference that allow to swap `token_address`.
crates/types/market/src/market.rs:241
↓ 5 callersMethodload_account
Returns the account for the given address. If the account was not found in the cache, it will be loaded from the underlying database.
crates/evm/db/src/fast_cache_db.rs:85
↓ 5 callersMethodload_cached_account
(&mut self, address: Address)
crates/evm/db/src/kabu_db.rs:480
↓ 5 callersMethodmarket_state_commit
(&self)
crates/core/blockchain/src/blockchain_state.rs:48
↓ 5 callersFunctionposition
Computes the position in the mapping where the initialized bit for a tick lives
crates/defi/uniswap-v3-math/src/tick_bitmap.rs:144
↓ 5 callersMethodset_nonce
(&mut self, account: Address, nonce: u64)
crates/types/blockchain/src/mempool.rs:124
↓ 5 callersMethodtoken0
(db: &DB, evm_env: &EvmEnv, pool: Address)
crates/defi/pools/src/state_readers/uniswapv2.rs:24
↓ 5 callersMethodtoken1
(db: &DB, evm_env: &EvmEnv, pool: Address)
crates/defi/pools/src/state_readers/uniswapv2.rs:33
↓ 5 callersFunctiontry_read_cell
(db: &DB, account: &Address, cell: &U256)
crates/evm/utils/src/remv_db_direct_access.rs:17
↓ 5 callersMethodwith_db
(self, db: Arc<FastCacheDB<EmptyDB>>)
crates/evm/db/src/in_memory_db.rs:13
↓ 4 callersMethodadd
(&mut self, path: SwapPath)
crates/types/market/src/swap_path.rs:174
↓ 4 callersMethodadd_loader
(self, pool_class: PoolClass, pool_loader: L)
crates/defi/pools/src/loaders/mod.rs:93
↓ 4 callersMethodadd_privkey
(&mut self, priv_key: Bytes)
crates/types/entities/src/signers.rs:89
↓ 4 callersMethodcalc_eth_value
(&self, value: U256)
crates/types/market/src/token.rs:184
↓ 4 callersMethodcalc_next_block_base_fee
(&self, gas_used: u64, gas_limit: u64, base_fee: u64)
crates/types/blockchain/src/chain_parameters.rs:15
↓ 4 callersMethodcalc_token_value_from_eth
(&self, eth_value: U256)
crates/types/market/src/token.rs:188
↓ 4 callersMethodcalculate_in_amount
( &self, db: &dyn DatabaseRef<Error = KabuDBError>, evm_env: &EvmEnv, token_ad
crates/defi/pools/src/uniswapv3pool.rs:301
↓ 4 callersMethodcommit
(&mut self, changes: HashMap<Address, Account>)
crates/evm/db/src/kabu_db.rs:637
↓ 4 callersFunctiondebug_trace_block
( client: P, block_id: BlockId, diff_mode: bool, )
crates/types/blockchain/src/state_update.rs:52
↓ 4 callersMethoddebug_trace_block_by_hash
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:316
↓ 4 callersMethoddebug_trace_block_by_number
(self, req: SerializedRequest)
crates/node/debug-provider/src/httpcached.rs:278
↓ 4 callersMethodencode_swap_steps
(&self, sp0: &SwapStep, sp1: &SwapStep)
crates/execution/multicaller/src/swapstep_encoder.rs:168
↓ 4 callersMethodfee
(db: &DB, evm_env: &EvmEnv, pool: Address)
crates/defi/pools/src/state_readers/uniswapv3.rs:42
↓ 4 callersMethodget_account
(&self, account: &Address)
crates/types/entities/src/account_nonce_balance.rs:68
↓ 4 callersMethodget_address
(&self)
crates/defi/pools/src/protocols/curve.rs:219
↓ 4 callersMethodget_block_hash_for_block_number
(&self, block_number: BlockNumber)
crates/types/entities/src/block_history/block_history_impl.rs:237
↓ 4 callersMethodget_eth_price
(&self)
crates/types/market/src/token.rs:167
↓ 4 callersMethodget_first_pool
Get the first pool in the swap line
crates/types/swap/src/swap_line.rs:176
↓ 4 callersMethodget_meta_coin_idx
(&self, address: Address)
crates/defi/pools/src/curvepool.rs:83
↓ 4 callersMethodget_pool_id_vec
(&self)
crates/types/swap/src/swap.rs:81
↓ 4 callersMethodget_token
(&self, address: &Address)
crates/types/market/src/market.rs:94
↓ 4 callersMethodinfluxdb_write_channel
(&self)
crates/core/blockchain/src/blockchain.rs:112
↓ 4 callersMethodinfo
(&self)
crates/evm/db/src/fast_cache_db.rs:276
↓ 4 callersMethodinsert_contract
(&mut self, account: &mut AccountInfo)
crates/evm/db/src/kabu_db.rs:189
↓ 4 callersMethodis_basic_token
(&self, address: &Address)
crates/types/market/src/market.rs:73
↓ 4 callersMethodis_empty
(&self)
crates/types/market/src/swap_path.rs:64
↓ 4 callersMethodis_empty
(&self)
crates/execution/multicaller/src/pool_opcodes_encoder/swap_opcodes_encoders.rs:25
↓ 4 callersMethodlen
(&self)
crates/types/entities/src/signers.rs:105
↓ 4 callersFunctionload_from_file
(file_name: String)
crates/core/config/src/config_loader.rs:31
↓ 4 callersMethodmarket_state
(&self)
crates/core/blockchain/src/blockchain_state.rs:52
↓ 4 callersMethodmerge_all
(self)
crates/evm/db/src/kabu_db.rs:224
↓ 4 callersMethodprofit_eth_gas_ratio
(&self)
crates/types/events/src/swap_compose.rs:95
↓ 4 callersMethodset_eth_price
(&self, price: Option<U256>)
crates/types/market/src/token.rs:178
↓ 4 callersMethodswap_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 callersMethodswap_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 callersMethodtick_bitmap
(db: &DB, address: Address, tick: i16)
crates/defi/pools/src/db_reader/uniswapv3.rs:57
↓ 4 callersMethodtimestamp
(&self)
crates/types/entities/src/block_history/block_history_impl.rs:54
↓ 4 callersMethodtips_gas_ratio
(&self)
crates/types/events/src/swap_compose.rs:91
↓ 4 callersFunctiontry_read_hashmap_cell
(db: &DB, account: &Address, hashmap_offset: &U256, item: &U256)
crates/evm/utils/src/remv_db_direct_access.rs:21
↓ 3 callersMethodabs_profit_eth
Calculate the absolute profit of the swap line in ETH
crates/types/swap/src/swap_line.rs:274
↓ 3 callersFunctionaccount_state_with_nonce_and_balance
(nonce: u64, balance: U256)
crates/evm/utils/src/geth_state_update.rs:5
↓ 3 callersMethodadd_account
(&mut self, account: Address)
crates/types/entities/src/account_nonce_balance.rs:64
↓ 3 callersMethodadd_paths
Add a swap path to the market.
crates/types/market/src/market.rs:128
↓ 3 callersMethodbasic_ref
(&self, address: Address)
crates/evm/db/src/fast_cache_db.rs:224
↓ 3 callersMethodcmp
(&self, other: &Self)
crates/types/market/src/pool.rs:181
↓ 3 callersMethodconfig
Set the configuration
crates/core/node/src/context.rs:141
↓ 3 callersMethodconvert_block_number
(&self, number_or_tag: BlockNumberOrTag)
crates/node/debug-provider/src/httpcached.rs:59
← previousnext →101–200 of 1,664, ranked by callers