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.