commands

package
v0.10.20 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(cmd *cobra.Command, cdc *wire.Codec)

func BuildMultiSendMsg

func BuildMultiSendMsg(from sdk.AccAddress, fromCoins sdk.Coins, toAddrs []sdk.AccAddress, toCoins []sdk.Coins) sdk.Msg

func MultiSendCmd

func MultiSendCmd(cdc *wire.Codec) *cobra.Command

MultiSendCmd will create a send tx and sign it with the given key

Types

type Commander

type Commander struct {
	Cdc *wire.Codec
}

type Transfer

type Transfer struct {
	To     string `json:"to"`
	Amount string `json:"amount"`
}

type Transfers

type Transfers []Transfer

Jump to

Keyboard shortcuts

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