Documentation ¶
Index ¶
- Constants
- func GetAuthorizedMembersCmd() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetDivisionCmd() *cobra.Command
- func GetDivisionsCmd() *cobra.Command
- func GetNodeCmd() *cobra.Command
- func GetNodesCmd() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetSaleLevelCmd() *cobra.Command
- func GetSupplyCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewTxCmdAddAuthorizedMembers() *cobra.Command
- func NewTxCmdClaimComputingPower() *cobra.Command
- func NewTxCmdCommitComputingPower() *cobra.Command
- func NewTxCmdCommitReport() *cobra.Command
- func NewTxCmdCreateNode() *cobra.Command
- func NewTxCmdDraftReport() *cobra.Command
- func NewTxCmdRemoveAuthorizedMembers() *cobra.Command
- func NewTxCmdUpdateSaleLevel() *cobra.Command
Constants ¶
const ( FlagOwner = "owner" FlagReportType = "report_type" ReportTypeDigest = "digest" ReportTypeBatch = "batch" ReportTypeEnd = "end" )
Variables ¶
This section is empty.
Functions ¶
func GetAuthorizedMembersCmd ¶
GetAuthorizedMembersCmd returns the command to query the authorized members
func GetCmdQueryParams ¶
GetCmdQueryParams implements a command to return the current minting parameters.
func GetDivisionCmd ¶
GetDivisionCmd returns the command to query a division
func GetDivisionsCmd ¶
GetDivisionsCmd returns the command to query all divisions
func GetNodesCmd ¶
GetNodesCmd returns the command to query all nodes
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for the captains module.
func GetSaleLevelCmd ¶
GetSaleLevelCmd returns the command to query the sale level details
func GetSupplyCmd ¶
GetSupplyCmd returns the command to query the supply of a division
func NewTxCmdAddAuthorizedMembers ¶
NewTxCmdAddAuthorizedMembers returns a command to add members to the authorized members list
func NewTxCmdClaimComputingPower ¶
NewTxCmdClaimComputingPower returns a command to claim computing power
func NewTxCmdCommitComputingPower ¶
NewTxCmdCommitComputingPower returns a command to commit computing power
func NewTxCmdCommitReport ¶
NewTxCmdCommitReport returns a command to commit a report
func NewTxCmdCreateNode ¶
NewTxCmdCreateNode returns a command to mint a new Node
func NewTxCmdDraftReport ¶
NewTxCmdDraftReport returns a command to draft a report
func NewTxCmdRemoveAuthorizedMembers ¶
NewTxCmdRemoveAuthorizedMembers returns a command to remove members from the authorized members list
func NewTxCmdUpdateSaleLevel ¶
NewTxCmdUpdateSaleLevel returns a command to update the sale level of a node
Types ¶
This section is empty.