whisky_common/interfaces/
evaluator.rs

1use crate::*;
2use async_trait::async_trait;
3use uplc::tx::SlotConfig;
4
5#[async_trait]
6pub trait Evaluator: Send {
7    async fn evaluate_tx(
8        &self,
9        tx_hex: &str,
10        inputs: &[UTxO],
11        additional_txs: &[String],
12        network: &Network,
13        slot_config: &SlotConfig,
14    ) -> Result<Vec<Action>, WError>;
15}