cli

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNextDrawCmd

func GetNextDrawCmd() *cobra.Command

GetNextDrawCmd allows to query the details of the next draw

func GetParamsCmd

func GetParamsCmd() *cobra.Command

GetParamsCmd allows to query the current parameters

func GetPastDrawsCmd

func GetPastDrawsCmd() *cobra.Command

GetPastDrawsCmd allows to query all the past draws

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the parent command for all x/wta CLi query commands. The provided clientCtx should have, at a minimum, a verifier, Tendermint RPC client, and marshaller set.

func GetTicketsCmd

func GetTicketsCmd() *cobra.Command

GetTicketsCmd returns the Cobra command allowing to query all the sold tickets for the next draw

func NewBuyTicketsCmd

func NewBuyTicketsCmd() *cobra.Command

NewBuyTicketsCmd returns the Cobra command allowing to buy a specific amount of tickets for the next draw

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns a root CLI command handler for all x/staking transaction commands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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