Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DecodedModuleRefDatumsCmd = &cobra.Command{ Use: "list", Short: "View module datum for course with specified policy", Long: ``, Run: func(cmd *cobra.Command, args []string) { response, err := client.GetDecodedModuleRefDatums(policy) if err != nil { log.Fatalf("Falied to get list of module datums: %v", err) } utils.SaveOutputToFile(cmd, response) }, }
View Source
var ModuleRefValidatorAddressCmd = &cobra.Command{ Use: "module-ref-validator-address", Short: "View module reference validator address for course with specified policy", Long: ``, Run: func(cmd *cobra.Command, args []string) { client.GetModuleRefValidatorAddress(policy) }, }
View Source
var ModuleRefValidatorCmd = &cobra.Command{ Use: "modules", Short: "View course module credential details", Long: ``, Run: func(cmd *cobra.Command, args []string) { if len(args) == 0 { cmd.Help() return } fmt.Printf("Error: '%s' is not a valid subcommand for 'module-ref-validator'\n", args[0]) fmt.Println("Run './andamio-cli query course module-ref-validator --help' for available subcommands.") os.Exit(1) }, }
View Source
var ModuleRefValidatorUtxoCmd = &cobra.Command{ Use: "module-ref-validator-utxo", Short: "View module reference utxo for module with specified token-name in course with specified policy", Long: ``, Run: func(cmd *cobra.Command, args []string) { client.GetModuleRefValidatorUtxo(policy, token_name) }, }
View Source
var ModuleRefValidatorUtxosCmd = &cobra.Command{ Use: "module-ref-validator-utxos", Short: "View all module reference utxos for course with specified policy", Long: ``, Run: func(cmd *cobra.Command, args []string) { client.GetModuleRefValidatorUtxos(policy) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.