Type Alias evm::executor::stack::PrecompileFn

source ·
pub type PrecompileFn = fn(_: &[u8], _: Option<u64>, _: &Context, _: bool) -> Result<(PrecompileOutput, u64), PrecompileFailure>;
Expand description

Precompiles function signature. Expected input arguments are:

  • Input
  • Gas limit
  • Context
  • Is static

In case of success returns the output and the cost.