module_ref_validator

package
v0.0.0-...-3a7ae5a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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