auth

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrIncorrectStdTxType

func ErrIncorrectStdTxType() sdk.Error

ErrIncorrectStdTxType - error if parse std tx failed

func ErrMsgFeeNotEnough added in v0.3.0

func ErrMsgFeeNotEnough() sdk.Error

ErrMsgFeeNotEnough - error if the provided message fee is not enough

func ErrNoSignatures

func ErrNoSignatures() sdk.Error

ErrNoSignatures - error if transaction without signatures

func ErrUnknownMsgType

func ErrUnknownMsgType() sdk.Error

ErrUnknownMsgType - error if msg can't be recognized

func ErrUnverifiedBytes

func ErrUnverifiedBytes(msg string) sdk.Error

ErrUnverifiedBytes - error if signbyte verification failed

func ErrWrongNumberOfSigners

func ErrWrongNumberOfSigners() sdk.Error

ErrWrongNumberOfSigners - error if number of signers and signatures mismatch

func GetMsgDonationAmount added in v0.2.3

func GetMsgDonationAmount(msg types.Msg) types.Coin

GetMsgDonationAmount - return the amount of donation in of @p msg, if not donation, return 0. XXX(yumin): outdated, should be remove after Upgrade2.

func GetMsgDonationValidAmount added in v0.2.8

func GetMsgDonationValidAmount(ctx sdk.Context, msg types.Msg, am acc.AccountKeeper, pm post.PostKeeper) types.Coin

GetMsgDonationValidAmount - return the min of (amount of donation in of @p msg, saving) if not donation, return 0.

func NewAnteHandler

NewAnteHandler - return an AnteHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

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