ethapi

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallPredefinedContract

func CallPredefinedContract(context unsafe.Pointer, address []byte, data []byte) error

CallPredefinedContract executes a predefined contract specified by address

func EthereumImports

func EthereumImports(imports *wasmer.Imports) (*wasmer.Imports, error)

EthereumImports creates a new wasmer.Imports populated with the Ethereum API methods

func IsAddressForPredefinedContract

func IsAddressForPredefinedContract(address []byte) bool

IsAddressForPredefinedContract returns whether the address is recognized as a eth "precompiled contract" (predefined contract)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL