cli

package
v0.46.9 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 191

Documentation

Index

Constants

View Source
const (
	FlagDelayed = "delayed"
)

Transaction command flags

Variables

This section is empty.

Functions

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns vesting module's transaction commands.

func NewMsgCreatePeriodicVestingAccountCmd added in v0.46.0

func NewMsgCreatePeriodicVestingAccountCmd() *cobra.Command

NewMsgCreatePeriodicVestingAccountCmd returns a CLI command handler for creating a MsgCreatePeriodicVestingAccountCmd transaction.

func NewMsgCreatePermanentLockedAccountCmd added in v0.46.0

func NewMsgCreatePermanentLockedAccountCmd() *cobra.Command

NewMsgCreatePermanentLockedAccountCmd returns a CLI command handler for creating a MsgCreatePermanentLockedAccount transaction.

func NewMsgCreateVestingAccountCmd

func NewMsgCreateVestingAccountCmd() *cobra.Command

NewMsgCreateVestingAccountCmd returns a CLI command handler for creating a MsgCreateVestingAccount transaction.

Types

type InputPeriod added in v0.46.0

type InputPeriod struct {
	Coins  string `json:"coins"`
	Length int64  `json:"length_seconds"`
}

type VestingData added in v0.46.0

type VestingData struct {
	StartTime int64         `json:"start_time"`
	Periods   []InputPeriod `json:"periods"`
}

Jump to

Keyboard shortcuts

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