types

package
v0.0.0-...-640f24c Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2018 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Native = VmType(0xFF)
	NEOVM  = VmType(0x80)
	WASMVM = VmType(0x90)
)

Variables

This section is empty.

Functions

func IsVmCodeAddress

func IsVmCodeAddress(addr common.Address) bool

Types

type VmCode

type VmCode struct {
	VmType VmType
	Code   []byte
}

func (*VmCode) AddressFromVmCode

func (self *VmCode) AddressFromVmCode() common.Address

func (*VmCode) Deserialize

func (self *VmCode) Deserialize(r io.Reader) error

func (*VmCode) Serialize

func (self *VmCode) Serialize(w io.Writer) error

type VmType

type VmType byte

Jump to

Keyboard shortcuts

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