cli

package
v0.400.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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

func NewMsgCreatePeriodicVestingAccountCmd() *cobra.Command

NewMsgCreatePeriodicVestingAccountCmd returns a CLI command handler for creating a MsgCreatePeriodicVestingAccountCmd 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"`
	Length 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