EEVM.Precompile behaviour (eevm v0.1.0)

Copy Markdown View Source

Behaviour for EVM precompile implementations.

Summary

Callbacks

execute(binary, non_neg_integer)

@callback execute(binary(), non_neg_integer()) ::
  {:ok, binary(), non_neg_integer()} | {:error, atom()}