slotstrike 1.0.0

Low-latency Solana slotstrike runtime for event-driven token execution
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::domain::entities::SnipeRule;

#[trait_variant::make(Send + Sync)]
pub trait RuleRepository {
    async fn load_rules(
        &self,
        file_type: &str,
        initial: bool,
    ) -> Result<Vec<SnipeRule>, std::io::Error>;
}