Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPrecompiledContract ¶
func PrecompiledContractCount ¶
func PrecompiledContractCount() uint64
func RegisterContracts ¶
func RegisterContracts(c PrecompiledContract)
Types ¶
type PrecompiledContract ¶
type PrecompiledContract interface { GasCost(input []byte) uint64 Execute(input []byte) ([]byte, error) }
func GetContract ¶
func GetContract(addr uint64) PrecompiledContract
Click to show internal directories.
Click to hide internal directories.