vmValues

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVmValueAsBigInt added in v1.0.11

func GetVmValueAsBigInt(c *gin.Context)

GetVmValueAsBigInt returns the data as big int

func GetVmValueAsHexBytes added in v1.0.11

func GetVmValueAsHexBytes(c *gin.Context)

GetVmValueAsHexBytes returns the data as byte slice

func GetVmValueAsString added in v1.0.11

func GetVmValueAsString(c *gin.Context)

GetVmValueAsString returns the data as string

func Routes

func Routes(router *gin.RouterGroup)

Routes defines address related routes

Types

type FacadeHandler

type FacadeHandler interface {
	GetVmValue(address string, funcName string, argsBuff ...[]byte) ([]byte, error)
}

FacadeHandler interface defines methods that can be used from `elrondFacade` context variable

type VmValueRequest added in v1.0.11

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