vm

package
v0.0.0-...-16063ba Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Type Type `yaml:"type" validate:"required,oneof=evm"`
}

Config -

type Decoder

type Decoder interface {
	Methods() ([]storage.Method, error)
	Events() ([]storage.Event, error)
}

Decoder -

type Type

type Type string

Type -

const (
	TypeEVM Type = "evm"
)

vm types

type VirtualMachine

type VirtualMachine interface {
	Decoder

	JSONSchema() ([]byte, error)
}

VirtualMachine -

func Factory

func Factory(typ Type, abi []byte) (VirtualMachine, error)

Factory -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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