cli

package
v0.50.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FlagDelayed = "delayed"
)

Transaction command flags

Variables

This section is empty.

Functions

func GetTxCmd

func GetTxCmd(ac address.Codec) *cobra.Command

GetTxCmd returns vesting module's transaction commands.

func NewMsgCreatePeriodicVestingAccountCmd added in v0.46.0

func NewMsgCreatePeriodicVestingAccountCmd(ac address.Codec) *cobra.Command

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

func NewMsgCreatePermanentLockedAccountCmd added in v0.46.0

func NewMsgCreatePermanentLockedAccountCmd(ac address.Codec) *cobra.Command

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

func NewMsgCreateVestingAccountCmd

func NewMsgCreateVestingAccountCmd(ac address.Codec) *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