pub type PrecompileFn = fn(&[u8], u64) -> Result<PrecompileOutput, PrecompileError>;
Expand description
Precompile function type. Takes input, gas limit, and crypto implementation and returns precompile result.
pub type PrecompileFn = fn(&[u8], u64) -> Result<PrecompileOutput, PrecompileError>;
Precompile function type. Takes input, gas limit, and crypto implementation and returns precompile result.