//! Chain module - DAG-based multi-contract orchestration.
//!
//! Chains are directed acyclic graphs (DAGs) of contracts that work together
//! to achieve a larger goal. Each contract can depend on others, and contracts
//! run in parallel when no dependencies exist.

pub mod dag;
pub mod parser;
pub mod runner;

pub use dag::{validate_dag, DagError};
pub use parser::{parse_chain_file, ChainDefinition, ParseError};
pub use runner::{ChainRunner, RunnerError};
