Documentation ¶
Index ¶
- Constants
- func FlagSetOrganizationDescriptionCreate() *flag.FlagSet
- func FlagSetProductDescriptionCreate() *flag.FlagSet
- func FlagSetUnitComponentsCreate() *flag.FlagSet
- func FlagSetUnitDetailsCreate() *flag.FlagSet
- func GetCmdAppendOrganization(cdc *codec.Codec) *cobra.Command
- func GetCmdCreateProduct(cdc *codec.Codec) *cobra.Command
- func GetCmdCreateUnit(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryOrganization(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryOrganizations(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryProduct(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryProductUnits(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUnit(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUnitComponents(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUnitTrace(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdReapproveOrganization(cdc *codec.Codec) *cobra.Command
- func GetCmdRelegateOrganization(cdc *codec.Codec) *cobra.Command
- func GetCmdTransferUnit(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagOrganizationDescription = "organization-description" FlagProductDescription = "product-description" FlagUnitDetails = "unit-details" FlagUnitComponents = "unit-components" )
Variables ¶
This section is empty.
Functions ¶
func GetCmdAppendOrganization ¶
Transactions sent by authority to append new organization
func GetCmdCreateProduct ¶
Create a new product from an approved organization
func GetCmdCreateUnit ¶
Create a new unit of an existing product
func GetCmdQueryOrganization ¶
func GetCmdQueryProduct ¶
func GetCmdQueryProductUnits ¶
func GetCmdQueryUnitTrace ¶
func GetCmdReapproveOrganization ¶
Reapprove a relegated organization
func GetCmdRelegateOrganization ¶
Relegate an organization so it is not authorized to perform actions anymore
func GetCmdTransferUnit ¶
Transfer a product unit to a new organization
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.