MCPcopy Create free account

hub / github.com/ChangeYourself0613/Solana-Arbitrage-Bot / functions

Functions450 in github.com/ChangeYourself0613/Solana-Arbitrage-Bot

↓ 1 callersFunctionunpack_coption_u64
(src: &[u8; 12])
client-pool/src/serialize/token.rs:128
↓ 1 callersMethodupdate_target_accounts
(&mut self, market_conditions: &MarketConditions)
solana-mev/bot/sniping_manager.rs:37
↓ 1 callersMethodupdate_target_accounts
(&mut self, market_conditions: &MarketConditions)
solana-mev/bot/copy_trade_manager.rs:37
↓ 1 callersFunctionupdate_tick_array_accounts_for_onchain
( whirlpool: &Whirlpool, whirlpool_pk: &Pubkey, whirlpool_program_id: &Pubkey, )
solana-arbitrage-bot2.0/src/dex/whirlpool/mod.rs:75
↓ 1 callersMethodwithdraw_single_token_type_exact_out
Get the amount of pool tokens for the withdrawn amount of token A or B
client-pool/src/pool_utils/base.rs:137
Method__init__
(self, token_file)
arb-opportunity-execute-trade-python-raydium-jupiter/1.py:18
Method__init__
(self, token_file: str, config: Dict)
arb-opportunity-execute-trade-python-raydium-jupiter/1.py:149
Functionaccount_info
(pk: &'a Pubkey, account: &'a mut Account)
client-pool/src/pools/jupiter.rs:37
Methodadd_order
(&self, order: Order)
solana-mev/monitoring/metrics.rs:23
Methodadd_strategy
(&mut self, strategy: impl Strategy + 'static)
solana-mev/bot/strategy_manager.rs:30
Functionaldrin
()
client-pool/src/tests/quotes.rs:30
Methodallows_deposits
Some curves function best and prevent attacks if we prevent deposits after initialization. For example, the offset curve in `offset.rs`, which fakes
client-pool/src/pool_utils/calculator.rs:172
Methodallows_deposits
Offset curves can cause arbitrage opportunities if outside users are allowed to deposit. For example, in the offset curve, if there's swap with 1 mil
client-pool/src/pool_utils/offset.rs:139
Functionanalyze_transaction
(transaction: &Transaction)
solana-mev/utils/solana.rs:4
Functionask_iteration
( iteration: &mut Iteration, fee_tier: &FeeTier, ob: &mut OrderBookState, )
client-pool/src/tmp.rs:119
Functioncalculate_profit
(market: &Market, buy_order: &Order, sell_order: &Order)
solana-mev/utils/profit_calculator.rs:6
Functioncalculate_profit
(transaction: &Transaction)
solana-mev/utils/solana.rs:25
Methodcan_trade
(&self, mint_in: &Pubkey, _mint_out: &Pubkey )
client-pool/src/pools/serum.rs:368
Methodcan_trade
( &self, mint_in: &Pubkey, _mint_out: &Pubkey, )
client-pool/src/pools/jupiter.rs:135
Methodcan_trade
(&self, _mint_in: &Pubkey, _mint_out: &Pubkey )
client-pool/src/pools/raydium.rs:127
Methodcancel_order
(&self, order: &Order)
solana-mev/dex/serum.rs:146
Methodcancel_order
(&self, _order: &Order)
solana-mev/dex/orca.rs:109
Methodcancel_order
(&self, order: &Order)
solana-mev/dex/raydium.rs:164
Functioncheck_curve_value_from_swap
Test function checking that a swap never reduces the overall value of the pool. Since curve calculations use unsigned integers, there is potential fo
client-pool/src/pool_utils/calculator.rs:390
Functioncheck_deposit_token_conversion
Test function to check that depositing token A is the same as swapping half for token B and depositing both. Since calculations use unsigned integers,
client-pool/src/pool_utils/calculator.rs:212
Methodcheck_is_valid_start_tick
(tick_index: i32, tick_spacing: u16)
solana-arbitrage-bot2.0/src/dex/whirlpool/state.rs:71
Functioncheck_pool_value_from_deposit
Test function checking that a deposit never reduces the value of pool tokens. Since curve calculations use unsigned integers, there is potential for
client-pool/src/pool_utils/calculator.rs:445
Functioncheck_pool_value_from_withdraw
Test function checking that a withdraw never reduces the value of pool tokens. Since curve calculations use unsigned integers, there is potential for
client-pool/src/pool_utils/calculator.rs:496
Functioncheck_withdraw_token_conversion
Test function to check that withdrawing token A is the same as withdrawing both and swapping one side. Since calculations use unsigned integers, there
client-pool/src/pool_utils/calculator.rs:304
Functionconstant_product_no_fee
()
client-pool/src/pool_utils/base.rs:378
Functionconstant_product_owner_fee
()
client-pool/src/pool_utils/base.rs:333
Functionconstant_product_swap_rounding
()
client-pool/src/pool_utils/constant_product.rs:378
Functionconstant_product_trade_fee
()
client-pool/src/pool_utils/base.rs:287
Methoddefault
()
client-pool/src/pool_utils/base.rs:168
Methoddeposit_single_token_type
Get the amount of pool tokens for the deposited amount of token A or B.
client-pool/src/pool_utils/constant_product.rs:205
Methoddeposit_single_token_type
Get the amount of pool tokens for the given amount of token A and B For the constant price curve, the total value of the pool is weighted by the price
client-pool/src/pool_utils/constant_price.rs:150
Methoddeposit_single_token_type
Get the amount of pool tokens for the given amount of token A or B. Re-implementation of `calc_token_amount`: <https://github.com/curvefi/curve-contr
client-pool/src/pool_utils/stable.rs:267
Methoddeposit_single_token_type
Get the amount of pool tokens for the given amount of token A and B, taking into account the offset
client-pool/src/pool_utils/offset.rs:81
Methodderef
(&self)
client-pool/src/serialize/token.rs:56
Methodeq
(&self, other: &Self)
client-pool/src/pool_utils/base.rs:193
Methodexecute_opportunities
(&self, opportunities: &[ArbitrageOpportunity])
solana-mev/strategies/arbitrage_strategy.rs:99
Functionexecute_orca_whirlpool_arbitrage
Multi-DEX Arbitrage (Orca -> Whirlpool -> Orca)
arbitrage/programs/tmp/src/lib.rs:106
Functionexecute_triangle_arbitrage
Triangle Arbitrage (Meteora -> Meteora -> Raydium)
arbitrage/programs/tmp/src/lib.rs:65
Functionexecute_two_hop_arbitrage
Two-Hop Arbitrage (Meteora -> Raydium)
arbitrage/programs/tmp/src/lib.rs:32
Functionfail_trading_token_conversion
()
client-pool/src/pool_utils/constant_product.rs:326
Functionfetch_prices_from_coingecko
(symbols: &[String])
solana-mev/utils/data_sources.rs:12
Functionfind_opportunities
(&self)
solana-mev/strategies/copy_trade_strategy.rs:50
Methodfind_opportunities
(&self, _target_accounts: &HashMap<Pubkey, crate::AccountInfo>)
solana-mev/strategies/liquidation.rs:14
Methodfind_opportunities
(&self, _target_accounts: &HashMap<Pubkey, crate::AccountInfo>)
solana-mev/strategies/arbitrage.rs:14
Methodfind_opportunities
(&self, market_conditions: &MarketConditions)
solana-mev/strategies/arbitrage_strategy.rs:95
Methodfind_opportunities
(&self, target_accounts: &HashMap<Pubkey, crate::AccountInfo>)
solana-mev/bot/strategy_manager.rs:34
Methodfind_opportunities
(&self)
solana-mev/bot/sniping_manager.rs:24
Methodfind_opportunities
(&self)
solana-mev/bot/copy_trade_manager.rs:24
Methodfind_opportunities
(&self)
solana-mev/bot/cross_chain_manager.rs:13
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
arbitrage/client/src/types.rs:13
Methodfmt
(&self, f: &mut fmt::Formatter)
client-pool/src/serialize/token.rs:49
Methodfrom
(s: WrappedString)
client-pool/src/serialize/token.rs:68
Methodfrom_bytes
(data: &[u8])
solana-arbitrage-bot2.0/src/dex/dlmm/dlmm_info.rs:179
Methodfrom_int
(n: u64)
client-pool/src/pool_utils/serum.rs:70
Methodfrom_srm_and_msrm_balances
(market: &Pubkey, srm_held: u64, msrm_held: u64)
client-pool/src/pool_utils/serum.rs:87
Methodget_asks_address
(&self, market: &Market)
solana-mev/dex/serum.rs:225
Methodget_asks_address
(&self, market: &Market)
solana-mev/dex/raydium.rs:246
Methodget_balances
(&self, market: &Market)
solana-mev/dex/serum.rs:179
Methodget_balances
(&self, market: &Market)
solana-mev/dex/orca.rs:113
Methodget_balances
(&self, market: &Market)
solana-mev/dex/raydium.rs:193
Methodget_bids_address
(&self, market: &Market)
solana-mev/dex/serum.rs:213
Methodget_bids_address
(&self, market: &Market)
solana-mev/dex/raydium.rs:232
Functionget_copy_trade_data
(thegraph_api: &TheGraphApi, trader_accounts: &[String])
solana-mev/utils/api.rs:21
Methodget_event_queue_address
(&self, market: &Market)
solana-mev/dex/serum.rs:237
Functionget_instruction_accounts
(transaction: &Transaction, program_id: &Pubkey)
solana-mev/utils/transaction_utils.rs:16
Functionget_instruction_data
(transaction: &Transaction, program_id: &Pubkey)
solana-mev/utils/transaction_utils.rs:5
Methodget_markets
(&self)
solana-mev/dex/serum.rs:30
Methodget_markets
(&self)
solana-mev/dex/orca.rs:30
Methodget_markets
(&self)
solana-mev/dex/raydium.rs:40
Methodget_mints
(&self)
client-pool/src/pools/serum.rs:226
Methodget_mints
(&self)
client-pool/src/pools/jupiter.rs:77
Methodget_name
(&self)
client-pool/src/pools/serum.rs:189
Methodget_name
(&self)
client-pool/src/pools/jupiter.rs:51
Methodget_name
(&self)
client-pool/src/pools/raydium.rs:154
Methodget_orderbook
(&self, market: &Market)
solana-mev/dex/serum.rs:52
Methodget_orderbook
(&self, market: &Market)
solana-mev/dex/raydium.rs:61
Methodget_output_token
(&self)
arbitrage/programs/tmp/src/state/arbitrage_state.rs:40
Methodget_output_token
(&self)
solana-program/programs/tmp/src/state/arbitrage_state.rs:40
Methodget_pool_info
(&self, pool_address: &str)
arbitrage/client/src/dex_client.rs:49
Functionget_pool_quote_with_amounts
( amount_in: u128, curve_type: CurveType, amp: u64, fees: &Fees, input_token_pool_amount
client-pool/src/pool_utils/raydium.rs:11
Methodget_price
( &self, token_in: &str, token_out: &str, dex_type: DexType )
arbitrage/client/src/price_monitor.rs:57
Methodget_quote
( &self, pool_amounts: [u128; 2], // [0] = src_amount, [1] = dst_amount percision_
client-pool/src/pool_utils/stable.rs:33
Methodget_quote_with_amounts_scaled
( &self, amount_in: u128, mint_in: &Pubkey, _mint_out: &Pubkey, )
client-pool/src/pools/serum.rs:245
Methodget_quote_with_amounts_scaled
( &self, amount_in: u128, mint_in: &Pubkey, _mint_out: &Pubkey, )
client-pool/src/pools/jupiter.rs:91
Methodget_quote_with_amounts_scaled
( &self, scaled_amount_in: u128, mint_in: &Pubkey, mint_out: &Pubkey, )
client-pool/src/pools/raydium.rs:86
Functionget_recent_trades
(&self, trader: &Pubkey)
solana-mev/strategies/copy_trade_strategy.rs:73
Functionget_sniping_data
(parsec_api: &ParsecApi, flipside_api: &FlipsideApi)
solana-mev/utils/api.rs:5
Functionget_tick_array_address
( whirlpool: &Pubkey, start_tick_index: i32, program_id: &Pubkey, )
solana-arbitrage-bot2.0/src/dex/whirlpool/mod.rs:60
Methodget_update_accounts
(&self)
client-pool/src/pools/serum.rs:193
Methodget_update_accounts
(&self)
client-pool/src/pools/jupiter.rs:55
Methodget_update_accounts
(&self)
client-pool/src/pools/raydium.rs:120
Methodhandle_shutdown
Handle graceful shutdown on signals
arb-opportunity-execute-trade-python-raydium-jupiter/1.py:164
Methodhost_fee
Calculate the host fee based on the owner fee, only used in production situations where a program is hosted by multiple frontends
client-pool/src/pool_utils/fees.rs:104
Functioninitial_pool_amount
()
client-pool/src/pool_utils/constant_product.rs:291
Functioninitialize
(ctx: Context<Initialize>)
arbitrage/programs/tmp/src/lib.rs:23
← previousnext →201–300 of 450, ranked by callers