mirror of
https://github.com/payden/libwsclient
synced 2025-06-13 12:53:52 +00:00
17 lines
549 B
Rust
17 lines
549 B
Rust
|
use crate::models::market_conditions::MarketConditions;
|
||
|
use crate::models::mev_opportunity::MevOpportunity;
|
||
|
use crate::strategies::strategy::Strategy;
|
||
|
use async_trait::async_trait;
|
||
|
use solana_sdk::pubkey::Pubkey;
|
||
|
use std::collections::HashMap;
|
||
|
|
||
|
pub struct LiquidationStrategy {}
|
||
|
|
||
|
#[async_trait]
|
||
|
impl Strategy for LiquidationStrategy {
|
||
|
fn update(&mut self, _market_conditions: &MarketConditions) {}
|
||
|
|
||
|
async fn find_opportunities(&self, _target_accounts: &HashMap<Pubkey, crate::AccountInfo>) -> Vec<MevOpportunity> {
|
||
|
Vec::new()
|
||
|
}
|
||
|
}
|