 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterModule ¶
RegisterModule registers a stateful precompile module
func ReservedAddress ¶
ReservedAddress returns true if [addr] is in a reserved range for custom precompiles
Types ¶
type Module ¶
type Module struct {
	// ConfigKey is the key used in json config files to specify this precompile config.
	ConfigKey string
	// Address returns the address where the stateful precompile is accessible.
	Address common.Address
	// Contract returns a thread-safe singleton that can be used as the StatefulPrecompiledContract when
	// this config is enabled.
	Contract contract.StatefulPrecompiledContract
	// Configurator is used to configure the stateful precompile when the config is enabled.
	contract.Configurator
}
    func GetPrecompileModule ¶
func RegisteredModules ¶
func RegisteredModules() []Module
 Click to show internal directories. 
   Click to hide internal directories.