vmValues

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(router *wrapper.RouterWrapper)

Routes defines address related routes

Types

type FacadeHandler

type FacadeHandler interface {
	ExecuteSCQuery(*process.SCQuery) (*vmcommon.VMOutput, error)
	DecodeAddressPubkey(pk string) ([]byte, error)
	IsInterfaceNil() bool
}

FacadeHandler interface defines methods that can be used by the gin webserver

type VMValueRequest

type VMValueRequest struct {
	ScAddress string   `form:"scAddress" json:"scAddress"`
	FuncName  string   `form:"funcName" json:"funcName"`
	Args      []string `form:"args"  json:"args"`
}

VMValueRequest represents the structure on which user input for generating a new transaction will validate against

Jump to

Keyboard shortcuts

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