rest

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryContractCallRequestHandlerFn

func QueryContractCallRequestHandlerFn(ctx context.CLIContext) http.HandlerFunc

func RegisterRoutes

func RegisterRoutes(ctx context.CLIContext, r *mux.Router)

RegisterRoutes - Central function to define routes that get registered by the main application

Types

type ContractCallReq

type ContractCallReq struct {
	From                string                 `json:"from"`
	Signers             []string               `json:"signers"`
	CallInfo            types.ContractCallInfo `json:"call_info"`
	StateConstraintType *uint8                 `json:"state_constraint_type,omitempty"`
}

func (*ContractCallReq) SetStateConstraintType added in v0.0.3

func (r *ContractCallReq) SetStateConstraintType(tp uint8)

Jump to

Keyboard shortcuts

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