cli

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagReporter        = "reporter-addr"
	FlagEpoch           = "epoch"
	FlagReportReference = "reference"
	FlagWalletVolumes   = "wallet-volumes"
	FlagAmount          = "amount"
	FlagWalletAddress   = "wallet-address"
	FlagTargetAddress   = "target-address"
)

Variables

View Source
var (
	FsReporter        = flag.NewFlagSet("", flag.ContinueOnError)
	FsEpoch           = flag.NewFlagSet("", flag.ContinueOnError)
	FsReportReference = flag.NewFlagSet("", flag.ContinueOnError)
	FsWalletVolumes   = flag.NewFlagSet("", flag.ContinueOnError)
	FsAmount          = flag.NewFlagSet("", flag.ContinueOnError)
	FsWalletAddress   = flag.NewFlagSet("", flag.ContinueOnError)
	FsTargetAddress   = flag.NewFlagSet("", flag.ContinueOnError)
)

Functions

func FoundationDepositCmd added in v0.5.0

func FoundationDepositCmd(cdc *codec.Codec) *cobra.Command

func GetCmdQueryVolumeReport

func GetCmdQueryVolumeReport(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryVolumeReport implements the query volume report command.

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for pot module

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

func QueryVolumeReport

func QueryVolumeReport(cliCtx context.CLIContext, queryRoute string, epoch sdk.Int) (types.ReportInfo, int64, error)

func VolumeReportCmd

func VolumeReportCmd(cdc *codec.Codec) *cobra.Command

VolumeReportCmd will report wallets volume and sign it with the given key.

func WithdrawCmd

func WithdrawCmd(cdc *codec.Codec) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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