smplx-sdk 0.0.5

Simplex sdk to simplify the development with simplicity
Documentation
1
2
3
4
5
6
7
8
9
10
11
use dyn_clone::DynClone;
use simplicityhl::Arguments;

/// An interface for structs capable of generating static argument mapping for Simplicity programs.
/// See the `include_simc!()` macro, which generates automatic `ArgumentsTrait` implementation.
pub trait ArgumentsTrait: DynClone {
    /// Compiles and returns the bound `Arguments` dict required to instantiate a program.
    fn build_arguments(&self) -> Arguments;
}

dyn_clone::clone_trait_object!(ArgumentsTrait);