Type Definition t3rn_sdk::UserStepHandler
source · pub type UserStepHandler<Hash, AccountId, Balance> = Box<dyn Fn(&ExecutionState<Hash, AccountId, u64, Balance>) -> Result<Step<AccountId, Balance, Hash>, Error>>;
Expand description
A user provided function that takes a hash and returns some steps to be appended to local state on-chain.