cli

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())
)

Functions

func CmdAddAdmin

func CmdAddAdmin() *cobra.Command

func CmdAddDistributor

func CmdAddDistributor() *cobra.Command

func CmdRemoveAdmin

func CmdRemoveAdmin() *cobra.Command

func CmdRemoveDistributor

func CmdRemoveDistributor() *cobra.Command

func CmdSubmitDistributorsAuthProposal

func CmdSubmitDistributorsAuthProposal() *cobra.Command

GetCmdSubmitDistributorsAuthProposal implements the command to submit a add_distributor proposal

func GetCmdQueryAdmin

func GetCmdQueryAdmin() *cobra.Command

GetCmdQueryAdmin implements the query admin with address admin command.

func GetCmdQueryAdmins

func GetCmdQueryAdmins() *cobra.Command

GetCmdQueryAdmins implements the query admins info admins command.

func GetCmdQueryDistributor

func GetCmdQueryDistributor() *cobra.Command

GetCmdQueryDistributor implements the query distributor with address distributor command.

func GetCmdQueryDistributors

func GetCmdQueryDistributors() *cobra.Command

GetCmdQueryDistributors implements the query distributors info distributorsauth command.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func ParseAddDistributorProposal

func ParseAddDistributorProposal(cdc codec.JSONCodec, proposalFile string) (types.AddDistributorProposal, error)

ParseAddDistributorProposal reads and parses a ParseAddDistributorProposal from a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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