duktape

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSubTrxFunc

func AddSubTrxFunc(contractName *C.char, method *C.char, param *C.char) uint32

func InitDuktapeVm

func InitDuktapeVm(roleIntfInput role.RoleInterface)

func Process

func Process(contractCode []byte, contractAbi []byte, trx *types.Transaction) (uint32, []*types.Transaction)

func StorageReadFunc

func StorageReadFunc(contract *C.char, object *C.char, key *C.char, binResult *C.BinResult) uint32

func StorageSaveFunc

func StorageSaveFunc(contract *C.char, object *C.char, key *C.char, value *C.char) uint32

Types

type SubTrx

type SubTrx struct {
	Contract string // max length 21
	Method   string // max length 21
	Param    string
}

Jump to

Keyboard shortcuts

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