commands

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagFee   = "fee"
	FlagPayer = "payer"
)

nolint

Variables

This section is empty.

Functions

This section is empty.

Types

type FeeWrapper

type FeeWrapper struct{}

FeeWrapper wraps a tx with an optional fee payment

func (FeeWrapper) Register

func (FeeWrapper) Register(fs *pflag.FlagSet)

Register adds the sequence flags to the cli

func (FeeWrapper) Wrap

func (FeeWrapper) Wrap(tx sdk.Tx) (res sdk.Tx, err error)

Wrap checks for FlagFee and if present wraps the tx with a FeeTx of the given amount, paid by the signer

Jump to

Keyboard shortcuts

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