Type Definition enjen::SystemOrCodeCall[][src]

type SystemOrCodeCall<'a> = dyn FnMut(SystemOrCodeCallKind, Vec<u8>) -> Result<Vec<u8>, String> + 'a;

A system-calling closure. Enacts calls on a block’s state with code either from an on-chain contract, or hard-coded VVM or WASM (if enabled on-chain) codes.