1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg(feature = "testutils")]
#![cfg_attr(feature = "docs", doc(cfg(feature = "testutils")))]

//! Utilities intended for use when testing.

mod test_sign;
pub use test_sign::ed25519;

pub use crate::env::LedgerInfo;

use crate::{Env, RawVal, Symbol};

#[doc(hidden)]
pub trait ContractFunctionSet {
    fn call(&self, func: &Symbol, env: Env, args: &[RawVal]) -> Option<RawVal>;
}