Skip to main content

PrecompileEthFn

Type Alias PrecompileEthFn 

Source
pub type PrecompileEthFn = fn(&[u8], u64) -> EthPrecompileResult;
Expand description

Eth precompile function type. Takes input and gas limit, returns an Eth precompile result.

This is the function signature used by individual Ethereum precompile implementations. Use PrecompileFn for the higher-level type that returns PrecompileOutput.