Documentation ¶
Overview ¶
Genesis block related commands for VM module.
Index ¶
- Constants
- func Compile(addr string, sourceFile *vm_grpc.MvIrSourceFile) ([]byte, error)
- func CompileModule(cdc *codec.Codec) *cobra.Command
- func CompileScript(cdc *codec.Codec) *cobra.Command
- func CreateConnection(addr string) (*grpc.ClientConn, error)
- func DeployContract(cdc *codec.Codec) *cobra.Command
- func ExecuteScript(cdc *codec.Codec) *cobra.Command
- func ExtractArguments(addr string, bytecode []byte) ([]vm_grpc.VMTypeTag, error)
- func GenesisWSFromFile(ctx *server.Context, cdc *codec.Codec) *cobra.Command
- func GetData(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetDenomHex(cdc *codec.Codec) *cobra.Command
- func GetQueriesCmd(cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- type MVFile
Constants ¶
View Source
const ( FlagOutput = "to-file" FlagCompilerAddr = "compiler" FlagCompilerDefault = "127.0.0.1:50053" FlagCompilerUsage = "--compiler 127.0.0.1:50053" )
Variables ¶
This section is empty.
Functions ¶
func Compile ¶
func Compile(addr string, sourceFile *vm_grpc.MvIrSourceFile) ([]byte, error)
Compile script via grpc compiler.
func CreateConnection ¶
func CreateConnection(addr string) (*grpc.ClientConn, error)
Create connection to vm.
func DeployContract ¶
Deploy contract cli TX command.
func ExtractArguments ¶
Extract arguments from bytecode with compiler.
func GenesisWSFromFile ¶
Reading genesis state from file generated by Move VM. File contains write set operations for standard libraries.
func GetQueriesCmd ¶
Get query commands for VM module.
Types ¶
Click to show internal directories.
Click to hide internal directories.