whisky-common 1.0.25

The Cardano Rust SDK, inspired by MeshJS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::*;
use async_trait::async_trait;
use uplc::tx::SlotConfig;

#[async_trait]
pub trait Evaluator: Send {
    async fn evaluate_tx(
        &self,
        tx_hex: &str,
        inputs: &[UTxO],
        additional_txs: &[String],
        network: &Network,
        slot_config: &SlotConfig,
    ) -> Result<Vec<Action>, WError>;
}