mirror of
https://github.com/payden/libwsclient
synced 2025-06-13 12:53:52 +00:00
18 lines
558 B
Rust
18 lines
558 B
Rust
|
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
|
||
|
}
|
||
|
}
|