cli

package
v10.0.1-0...-246915f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FlagDuration    = "duration"
	FlagMinDuration = "min-duration"
	FlagAmount      = "amount"
)

flags for lockup module tx commands.

Variables

This section is empty.

Functions

func FlagSetLockTokens

func FlagSetLockTokens() *flag.FlagSet

FlagSetLockTokens returns flags for LockTokens msg builder.

func FlagSetMinDuration

func FlagSetMinDuration() *flag.FlagSet

func FlagSetUnlockTokens

func FlagSetUnlockTokens() *flag.FlagSet

func GetCmdAccountLockedCoins

func GetCmdAccountLockedCoins() *cobra.Command

GetCmdAccountLockedCoins returns locked coins that can't be withdrawn.

func GetCmdAccountLockedDuration

func GetCmdAccountLockedDuration() *cobra.Command

GetCmdAccountLockedDuration returns account locked records with a specific duration.

func GetCmdAccountLockedLongerDuration

func GetCmdAccountLockedLongerDuration() *cobra.Command

GetCmdAccountLockedLongerDuration returns account locked records with longer duration.

func GetCmdAccountLockedLongerDurationDenom

func GetCmdAccountLockedLongerDurationDenom() *cobra.Command

GetCmdAccountLockedLongerDurationDenom returns account's locked records for a denom with longer duration.

func GetCmdAccountLockedLongerDurationNotUnlockingOnly

func GetCmdAccountLockedLongerDurationNotUnlockingOnly() *cobra.Command

GetCmdAccountLockedLongerDurationNotUnlockingOnly returns account locked records with longer duration from unlocking only queue.

func GetCmdAccountLockedPastTime

func GetCmdAccountLockedPastTime() *cobra.Command

GetCmdAccountLockedPastTime returns locked records of an account with unlock time beyond timestamp.

func GetCmdAccountLockedPastTimeDenom

func GetCmdAccountLockedPastTimeDenom() *cobra.Command

GetCmdAccountLockedPastTimeDenom returns lock records by address, timestamp, denom.

func GetCmdAccountLockedPastTimeNotUnlockingOnly

func GetCmdAccountLockedPastTimeNotUnlockingOnly() *cobra.Command

GetCmdAccountLockedPastTimeNotUnlockingOnly returns locked records of an account with unlock time beyond timestamp within not unlocking queue.

func GetCmdAccountUnlockableCoins

func GetCmdAccountUnlockableCoins() *cobra.Command

GetCmdAccountUnlockableCoins returns unlockable coins which are not withdrawn yet.

func GetCmdAccountUnlockedBeforeTime

func GetCmdAccountUnlockedBeforeTime() *cobra.Command

GetCmdAccountUnlockedBeforeTime returns unlocked records with unlock time before timestamp.

func GetCmdAccountUnlockingCoins

func GetCmdAccountUnlockingCoins() *cobra.Command

GetCmdAccountUnlockingCoins returns unlocking coins.

func GetCmdLockedByID

func GetCmdLockedByID() *cobra.Command

GetCmdLockedByID returns lock record by id.

func GetCmdModuleBalance

func GetCmdModuleBalance() *cobra.Command

GetCmdModuleBalance returns full balance of the module.

func GetCmdModuleLockedAmount

func GetCmdModuleLockedAmount() *cobra.Command

GetCmdModuleLockedAmount returns locked balance of the module.

func GetCmdOutputLocksJson

func GetCmdOutputLocksJson() *cobra.Command

GetCmdOutputLocksJson outputs all locks into a file called lock_export.json.

func GetCmdSyntheticLockupsByLockupID

func GetCmdSyntheticLockupsByLockupID() *cobra.Command

GetCmdSyntheticLockupsByLockupID returns synthetic lockups by lockup id.

func GetCmdTotalLockedByDenom

func GetCmdTotalLockedByDenom() *cobra.Command

GetCmdTotalBondedByDenom returns total amount of locked asset.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module.

func NewBeginUnlockByIDCmd

func NewBeginUnlockByIDCmd() *cobra.Command

NewBeginUnlockByIDCmd unlock individual period lock by ID.

func NewBeginUnlockingCmd

func NewBeginUnlockingCmd() *cobra.Command

NewBeginUnlockingCmd unlock all unlockable tokens from user's account.

func NewLockTokensCmd

func NewLockTokensCmd() *cobra.Command

NewLockTokensCmd lock tokens into lockup pool from user's account.

Types

This section is empty.

Jump to

Keyboard shortcuts

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