MCPcopy Create free account

hub / github.com/cutupdev/PumpSwap-Migration-Sniper-Bot / functions

Functions24 in github.com/cutupdev/PumpSwap-Migration-Sniper-Bot

↓ 6 callersMethodlog
Method to log a message with a prefix
src/common/logger.rs:20
↓ 5 callersFunctionimport_env_var
(key: &str)
src/common/utils.rs:12
↓ 3 callersFunctionget_associated_token_address
( client: Arc<solana_client::nonblocking::rpc_client::RpcClient>, keypair: Arc<Keypair>, address:
src/core/token.rs:12
↓ 2 callersFunctionget_bonding_curve_account
( rpc_client: Arc<solana_client::rpc_client::RpcClient>, mint: &Pubkey, program_id: &Pubkey, )
src/dex/pumpswap.rs:146
↓ 1 callersFunctioncreate_nonblocking_rpc_client
( )
src/common/utils.rs:25
↓ 1 callersFunctioncreate_rpc_client
()
src/common/utils.rs:16
↓ 1 callersFunctionget_pda
(mint: &Pubkey, program_id: &Pubkey)
src/dex/pumpswap.rs:177
↓ 1 callersFunctionget_unit_limit
()
src/core/tx.rs:31
↓ 1 callersFunctionget_unit_price
prioritization fee = UNIT_PRICE * UNIT_LIMIT
src/core/tx.rs:24
↓ 1 callersFunctionimport_wallet
()
src/common/utils.rs:35
↓ 1 callersMethodis_debug
(&self)
src/common/logger.rs:58
↓ 1 callersFunctionnew_signed_and_send
( client: &RpcClient, keypair: &Keypair, mut instructions: Vec<Instruction>, use_jito: bool,
src/core/tx.rs:38
Methoddebug
(&self, message: String)
src/common/logger.rs:26
Methoderror
(&self, message: String)
src/common/logger.rs:33
Functionget_account_info
( client: Arc<solana_client::nonblocking::rpc_client::RpcClient>, _keypair: Arc<Keypair>, address:
src/core/token.rs:31
Functionget_mint_info
( client: Arc<solana_client::nonblocking::rpc_client::RpcClient>, _keypair: Arc<Keypair>, address:
src/core/token.rs:59
Functionget_pump_info
https://frontend-api.pump.fun/coins/8zSLdDzM1XsqnfrHmHvA9ir6pvYDjs8UXz6B2Tydd6b2
src/dex/pumpswap.rs:184
Functionmain
()
src/main.rs:16
Functionmax_amount_with_slippage
(input_amount: u64, slippage_bps: u64)
src/dex/pumpswap.rs:109
Functionmin_amount_with_slippage
(input_amount: u64, slippage_bps: u64)
src/dex/pumpswap.rs:102
Methodnew
( rpc_nonblocking_client: Arc<solana_client::nonblocking::rpc_client::RpcClient>, rpc_client:
src/dex/pumpswap.rs:45
Methodnew
Constructor function to create a new Logger instance
src/common/logger.rs:12
Methodprefix_with_date
(&self)
src/common/logger.rs:40
Methodswap
(&self, mint: &str, swap_config: SwapConfig)
src/dex/pumpswap.rs:57