pub trait PrecompileFactory:
Send
+ Sync
+ Unpin
+ Debug {
// Required method
fn precompiles(&self) -> Vec<(Address, Precompile)>;
}
Expand description
Object-safe trait that enables injecting extra precompiles when using
anvil
as a library.
Required Methods§
Sourcefn precompiles(&self) -> Vec<(Address, Precompile)>
fn precompiles(&self) -> Vec<(Address, Precompile)>
Returns a set of precompiles to extend the EVM with.