wasmre

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DecaimasBase = uint64(100000000)
	BcPrefix     = "BC"
)

Variables

View Source
var BcContract = "0xb78f12Cb3924607A8BC6a66799e159E3459097e9"

Functions

func NewWasmRe

func NewWasmRe() interpreter.PluginImpl

Types

type ParaPaser

type ParaPaser interface {
	ParseInputPara(para []byte, base, max int) (funcName string, args []uint64, mem []byte)
}

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

the Runtime object

func (*Runtime) Exec

func (rt *Runtime) Exec(code []byte, param []byte, ttl time.Duration) time.Duration

type RuntimeBc20

type RuntimeBc20 struct {
	// contains filtered or unexported fields
}

func (*RuntimeBc20) Exec

func (rt *RuntimeBc20) Exec(code []byte, param []byte, ttl time.Duration) time.Duration

type WasmRE

type WasmRE struct {
	// contains filtered or unexported fields
}

func (*WasmRE) Generate

func (self *WasmRE) Generate(ctx *actioncontext.Context) interpreter.Interpreter

func (*WasmRE) Initialize

func (self *WasmRE) Initialize()

func (*WasmRE) Shutdown

func (self *WasmRE) Shutdown()

func (*WasmRE) Startup

func (self *WasmRE) Startup()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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