cli

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Overview

Genesis block related commands for VM module.

Index

Constants

View Source
const (
	FlagOutput        = "to-file"
	FlagCompilerUsage = "--compiler " + vmClient.DefaultCompilerAddr
)

Variables

This section is empty.

Functions

func CompileModule

func CompileModule(cdc *codec.Codec) *cobra.Command

Compile Mvir module.

func CompileScript

func CompileScript(cdc *codec.Codec) *cobra.Command

Compile Mvir script.

func DeployContract

func DeployContract(cdc *codec.Codec) *cobra.Command

Deploy contract cli TX command.

func ExecuteScript

func ExecuteScript(cdc *codec.Codec) *cobra.Command

Execute script contract.

func GenesisWSFromFile

func GenesisWSFromFile(ctx *server.Context, cdc *codec.Codec) *cobra.Command

Reading genesis state from file generated by Move VM. File contains write set operations for standard libraries.

func GetData

func GetData(queryRoute string, cdc *codec.Codec) *cobra.Command

Get data from data source by access path.

func GetMVFromFile

func GetMVFromFile(filePath string) (vmClient.MVFile, error)

Read MVir file contains code in hex.

func GetQueriesCmd

func GetQueriesCmd(cdc *codec.Codec) *cobra.Command

Get query commands for VM module.

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

Return TX commands for CLI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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