pub type RuntimeContractFunction<T> = dyn Fn(T) -> Result<T>;