Module interface
Available on crate feature 
evm only.Expand description
Interface for the precompiles. It contains the precompile result type, the precompile output type, and the precompile error type.
Structs§
- Default
Crypto  - Default implementation of the Crypto trait using the existing crypto libraries.
 - Precompile
Output  - Precompile execution output
 
Enums§
- Precompile
Error  - Precompile error type.
 
Traits§
- Crypto
 - Crypto operations trait for precompiles.
 
Functions§
- crypto
 - Get the installed crypto provider, or the default if none is installed.
 - install_
crypto  - Install a custom crypto provider globally.
 
Type Aliases§
- Precompile
Fn  - Precompile function type. Takes input, gas limit, and crypto implementation and returns precompile result.
 - Precompile
Result  - A precompile operation result type