Documentation ¶
Index ¶
- Constants
- func FlagSetLockTokens() *flag.FlagSet
- func FlagSetMinDuration() *flag.FlagSet
- func FlagSetUnlockTokens() *flag.FlagSet
- func GetCmdAccountLockedCoins() *cobra.Command
- func GetCmdAccountLockedLongerDuration() *cobra.Command
- func GetCmdAccountLockedLongerDurationDenom() *cobra.Command
- func GetCmdAccountLockedLongerDurationNotUnlockingOnly() *cobra.Command
- func GetCmdAccountLockedPastTime() *cobra.Command
- func GetCmdAccountLockedPastTimeDenom() *cobra.Command
- func GetCmdAccountLockedPastTimeNotUnlockingOnly() *cobra.Command
- func GetCmdAccountUnlockableCoins() *cobra.Command
- func GetCmdAccountUnlockedBeforeTime() *cobra.Command
- func GetCmdAccountUnlockingCoins() *cobra.Command
- func GetCmdLockedByID() *cobra.Command
- func GetCmdModuleBalance() *cobra.Command
- func GetCmdModuleLockedAmount() *cobra.Command
- func GetCmdOutputLocksJson() *cobra.Command
- func GetCmdSyntheticLockupsByLockupID() *cobra.Command
- func GetCmdTotalLockedByDenom() *cobra.Command
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewBeginUnlockByIDCmd() *cobra.Command
- func NewBeginUnlockingCmd() *cobra.Command
- func NewLockTokensCmd() *cobra.Command
Constants ¶
const ( FlagDuration = "duration" FlagMinDuration = "min-duration" FlagAmount = "amount" )
flags for lockup module tx commands
Variables ¶
This section is empty.
Functions ¶
func FlagSetLockTokens ¶
FlagSetLockTokens returns flags for LockTokens msg builder
func FlagSetMinDuration ¶
func FlagSetUnlockTokens ¶
func GetCmdAccountLockedCoins ¶
GetCmdAccountLockedCoins returns locked coins that can't be withdrawn
func GetCmdAccountLockedLongerDuration ¶
GetCmdAccountLockedLongerDuration returns account locked records with longer duration
func GetCmdAccountLockedLongerDurationDenom ¶
GetCmdAccountLockedLongerDurationDenom returns account's locked records for a denom with longer duration
func GetCmdAccountLockedLongerDurationNotUnlockingOnly ¶
GetCmdAccountLockedLongerDurationNotUnlockingOnly returns account locked records with longer duration from unlocking only queue
func GetCmdAccountLockedPastTime ¶
GetCmdAccountLockedPastTime returns locked records of an account with unlock time beyond timestamp
func GetCmdAccountLockedPastTimeDenom ¶
GetCmdAccountLockedPastTimeDenom returns lock records by address, timestamp, denom
func GetCmdAccountLockedPastTimeNotUnlockingOnly ¶
GetCmdAccountLockedPastTimeNotUnlockingOnly returns locked records of an account with unlock time beyond timestamp within not unlocking queue
func GetCmdAccountUnlockableCoins ¶
GetCmdAccountUnlockableCoins returns unlockable coins which are not withdrawn yet
func GetCmdAccountUnlockedBeforeTime ¶
GetCmdAccountUnlockedBeforeTime returns unlocked records with unlock time before timestamp
func GetCmdAccountUnlockingCoins ¶
GetCmdAccountUnlockingCoins returns unlocking coins
func GetCmdLockedByID ¶
GetCmdLockedByID returns lock record by id
func GetCmdModuleBalance ¶
GetCmdModuleBalance returns full balance of the module
func GetCmdModuleLockedAmount ¶
GetCmdModuleLockedAmount returns locked balance of the module
func GetCmdOutputLocksJson ¶
GetCmdOutputLocksJson outputs all locks into a file called lock_export.json
func GetCmdSyntheticLockupsByLockupID ¶
GetCmdSyntheticLockupsByLockupID returns synthetic lockups by lockup id
func GetCmdTotalLockedByDenom ¶
GetCmdTotalBondedByDenom returns total amount of locked asset
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func NewBeginUnlockByIDCmd ¶
NewBeginUnlockByIDCmd unlock individual period lock by ID
func NewBeginUnlockingCmd ¶
NewBeginUnlockingCmd unlock all unlockable tokens from user's account
func NewLockTokensCmd ¶
NewLockTokensCmd lock tokens into lockup pool from user's account
Types ¶
This section is empty.