cli

package
v6.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagDenom = "denom"
)

Flag constants

Variables

This section is empty.

Functions

func BeginUnbonding

func BeginUnbonding() *cobra.Command

transaction with a MsgBeginUnbonding message.

func Bond

func Bond() *cobra.Command

transaction with a MsgBond message.

func Claim

func Claim() *cobra.Command

Claim creates a Cobra command to generate or broadcast a transaction with a MsgClaim message.

func EmergencyUnbond

func EmergencyUnbond() *cobra.Command

transaction with a MsgEmergencyUnbond message.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the CLI query commands for the x/incentive module.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the CLI transaction commands for the x/incentive module.

func QueryAccountBonds

func QueryAccountBonds() *cobra.Command

QueryAccountBonds creates a Cobra command to query all bonds and unbondings associated with a single account.

func QueryActualRates

func QueryActualRates() *cobra.Command

QueryActualRates creates a Cobra command to query current annual rewards for a reference amount of a given bonded uToken.

func QueryCompletedIncentivePrograms

func QueryCompletedIncentivePrograms() *cobra.Command

QueryCompletedIncentivePrograms creates a Cobra command to query for all completed incentive programs.

func QueryCurrentRates

func QueryCurrentRates() *cobra.Command

QueryCurrentRates creates a Cobra command to query current annual rewards for a reference amount of a given bonded uToken.

func QueryIncentiveProgram

func QueryIncentiveProgram() *cobra.Command

QueryIncentiveProgram creates a Cobra command to query a single incentive program by its ID.

func QueryOngoingIncentivePrograms

func QueryOngoingIncentivePrograms() *cobra.Command

QueryOngoingIncentivePrograms creates a Cobra command to query for all ongoing incentive programs.

func QueryParams

func QueryParams() *cobra.Command

QueryParams creates a Cobra command to query for the x/incentive module parameters.

func QueryPendingRewards

func QueryPendingRewards() *cobra.Command

QueryPendingRewards creates a Cobra command to query the pending incentive rewards of a single account.

func QueryTotalBonded

func QueryTotalBonded() *cobra.Command

QueryTotalBonded creates a Cobra command to query bonded tokens across all users.

func QueryTotalUnbonding

func QueryTotalUnbonding() *cobra.Command

QueryTotalUnbonding creates a Cobra command to query unbonding tokens across all users.

func QueryUpcomingIncentivePrograms

func QueryUpcomingIncentivePrograms() *cobra.Command

QueryUpcomingIncentivePrograms creates a Cobra command to query for all upcoming incentive programs.

func Sponsor() *cobra.Command

transaction with a MsgSponsor message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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