1
0
mirror of https://github.com/payden/libwsclient synced 2025-06-13 12:53:52 +00:00
payden_libwsclient/bot/path_finder.rs

18 lines
558 B
Rust
Raw Normal View History

2025-05-16 06:09:24 +00:00
use crate::models::mev_opportunity::MevOpportunity;
use solana_sdk::pubkey::Pubkey;
use std::collections::HashMap;
pub struct PathFinder {}
impl PathFinder {
pub fn new(_rpc_client: solana_client::rpc_client::RpcClient) -> Self {
Self {}
}
pub fn update(&mut self, _market_conditions: &crate::models::market_conditions::MarketConditions) {}
pub async fn find_opportunities(&self, _target_accounts: &HashMap<Pubkey, crate::AccountInfo>) -> Vec<MevOpportunity> {
let opportunities = Vec::new();
opportunities
}
}