Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdQueryVolumeReport(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- func QueryVolumeReport(cliCtx context.CLIContext, queryRoute, reporter string) ([]byte, int64, error)
- func VolumeReportCmd(cdc *codec.Codec) *cobra.Command
- func WithdrawCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagReporter = "reporter-addr" FlagEpoch = "epoch" FlagReportReference = "reference" FlagNodesVolume = "nodes-volume" FlagAmount = "amount" FlagNodeAddress = "node-address" )
Variables ¶
View Source
var ( FsReporter = flag.NewFlagSet("", flag.ContinueOnError) FsEpoch = flag.NewFlagSet("", flag.ContinueOnError) FsReportReference = flag.NewFlagSet("", flag.ContinueOnError) FsNodesVolume = flag.NewFlagSet("", flag.ContinueOnError) FsAmount = flag.NewFlagSet("", flag.ContinueOnError) FsNodeAddress = flag.NewFlagSet("", flag.ContinueOnError) )
Functions ¶
func GetCmdQueryVolumeReport ¶
GetCmdQueryVolumeReport implements the query volume report command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for pot module
func QueryVolumeReport ¶
func QueryVolumeReport(cliCtx context.CLIContext, queryRoute, reporter string) ([]byte, int64, error)
QueryVolumeReport queries the volume hash by reporter
func VolumeReportCmd ¶
VolumeReportCmd will report nodes volume and sign it with the given key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.