cli

package
v7.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FlagDelayed = "delayed"
)

FlagDelayed Transaction command flags.

Variables

This section is empty.

Functions

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns vesting module's transaction commands.

func NewMsgCreateCliffVestingAccountCmd

func NewMsgCreateCliffVestingAccountCmd() *cobra.Command

NewMsgCreateCliffVestingAccountCmd returns a CLI command handler for creating a MsgCreateCliffVestingAccount transaction.

func NewMsgCreatePeriodicVestingAccountCmd

func NewMsgCreatePeriodicVestingAccountCmd() *cobra.Command

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

func NewMsgCreatePermanentLockedAccountCmd

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

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

type VestingData

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