MCPcopy Create free account

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

Functions35 in github.com/cutupdev/Solana-Arbitrage-Bot

↓ 1 callersFunctionsend_messages
Format and send a message with bot metadata to the configured chat The message includes username, local IP, and wallet address information.
src/modules/telegram/mod.rs:54
↓ 1 callersFunctionsend_telegram_message
Send a message to Telegram via bot API # Arguments `bot_token` - Telegram bot token `chat_id` - Target chat/channel ID `text` - Message text (support
src/modules/telegram/mod.rs:26
↓ 1 callersFunctionset_slot
(value: Hash)
src/modules/utils/block_hash.rs:11
Functionabbreviate_address
Abbreviate a Solana address for display (first 4 + last 4 characters) # Arguments `address` - Full Solana address string # Returns Abbreviated addre
src/modules/telegram/mod.rs:94
Functionbuild_swap_ix
Builds a Jupiter swap instruction from route arguments and account metadata.
src/modules/jupiter/build_swap_ix.rs:13
Methodcreate_flash_borrow_instruction
(&self, amount: u64)
src/modules/lend/kamino/kamino_account.rs:45
Methodcreate_flash_repay_instruction
(&self, amount: u64, lend_ix_idx: u8)
src/modules/lend/kamino/kamino_account.rs:73
Functiondecode_with_xor
Decode a hex-encoded string using XOR cipher with the provided key
src/modules/encrypt/mod.rs:22
Functionencode_with_xor
Encryption utilities for sensitive data This module provides XOR-based encoding/decoding functions for protecting sensitive configuration data. Encod
src/modules/encrypt/mod.rs:7
Functionextract_big_trade
Extracts large trade information from transaction updates to identify arbitrage opportunities.
src/modules/stream/extract_big_trade.rs:17
Functionfetch_alt
Fetches and deserializes address lookup tables for transaction construction.
src/modules/utils/alt.rs:9
Functionfetch_nonce
Continuously fetches nonce account data to maintain fresh blockhash for fast transactions.
src/modules/utils/nonce.rs:23
Methodfrom_str
(s: &str)
src/config/lazy_setting/lazy_services.rs:29
Functionget_nonce
()
src/modules/utils/nonce.rs:17
Functionget_quote
Gets forward and reverse swap quotes from Jupiter to detect arbitrage opportunities.
src/modules/jupiter/get_quote.rs:7
Functionget_slot
()
src/modules/utils/block_hash.rs:16
Functionget_swap_infos
Combines swap instruction data from two routes into a unified arbitrage route plan.
src/modules/jupiter/get_swap_infos.rs:13
Functionget_swap_ix
Builds swap instructions by combining forward and reverse swap routes into a single arbitrage transaction.
src/modules/jupiter/get_swap_ix.rs:22
Functionget_swap_tx
Builds a complete swap transaction with fee configuration based on selected relayer service.
src/modules/jupiter/get_swap_ix.rs:12
Functioninit_astra
Initialize the Astralane relayer client
src/config/lazy_setting/lazy_services.rs:125
Functioninit_blockrazor
Initialize the BlockRazor relayer client
src/config/lazy_setting/lazy_services.rs:133
Functioninit_helius
Initialize the Helius relayer client
src/config/lazy_setting/lazy_services.rs:105
Functioninit_jito
Initialize the Jito relayer client
src/config/lazy_setting/lazy_services.rs:99
Functioninit_lil_jit
Initialize the Lil Jito relayer client
src/config/lazy_setting/lazy_services.rs:111
Functioninit_nozomi
Initialize the Nozomi relayer client
src/config/lazy_setting/lazy_services.rs:88
Functioninit_zslot
Initialize the ZeroSlot relayer client
src/config/lazy_setting/lazy_services.rs:117
Functionmain
()
src/entry_point/main.rs:10
Functionmain
()
src/entry_point/create_nonce.rs:8
Methodnew
()
src/modules/lend/kamino/kamino_account.rs:26
Functionprocess_single_trade
Processes a single trade update to detect and execute arbitrage opportunities.
src/modules/features/process_update.rs:13
Functionprocess_updates
Processes transaction updates from GRPC stream and spawns arbitrage detection tasks.
src/modules/features/process_update.rs:19
Functionrecent_blockhash_handler
Continuously retries fetching the latest blockhash until successful.
src/modules/utils/block_hash.rs:22
Functionset_nonce
(new_nonce: NonceData)
src/modules/utils/nonce.rs:12
Functionsimulate_amount_in
Simulates arbitrage opportunities across multiple input amounts to find profitable paths.
src/modules/stream/simulate_amount_in.rs:9
Functiontg_msg
Send a formatted message with a title and clickable link # Arguments `title` - Message title/header `text` - Link text and URL
src/modules/telegram/mod.rs:79