Documentation ¶
Index ¶
- Constants
- Variables
- func FoundationDepositCmd(cdc *codec.Codec) *cobra.Command
- 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 string, epoch sdk.Int) (types.ReportInfo, int64, error)
- func SlashingResourceNodeCmd(cdc *codec.Codec) *cobra.Command
- func VolumeReportCmd(cdc *codec.Codec) *cobra.Command
- func WithdrawCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagReporterAddr = "reporter-addr" FlagEpoch = "epoch" FlagReportReference = "reference" FlagWalletVolumes = "wallet-volumes" FlagAmount = "amount" FlagWalletAddress = "wallet-address" FlagTargetAddress = "target-address" FlagReporters = "reporters" FlagReporterOwner = "reporter-owner" FlagNetworkAddress = "network-address" FlagSlashing = "slashing" FlagSuspend = "suspend" )
Variables ¶
View Source
var ( FsReporterAddr = 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) FsReporters = flag.NewFlagSet("", flag.ContinueOnError) FsReportOwner = flag.NewFlagSet("", flag.ContinueOnError) FsNetworkAddress = flag.NewFlagSet("", flag.ContinueOnError) FsSlashing = flag.NewFlagSet("", flag.ContinueOnError) FsSuspend = flag.NewFlagSet("", flag.ContinueOnError) )
Functions ¶
func FoundationDepositCmd ¶ added in v0.5.0
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 string, epoch sdk.Int) (types.ReportInfo, int64, error)
func SlashingResourceNodeCmd ¶ added in v0.6.2
func VolumeReportCmd ¶
VolumeReportCmd will report wallets volume and sign it with the given key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.