Documentation ¶
Index ¶
- func ErrIncorrectStdTxType() sdk.Error
- func ErrMsgFeeNotEnough() sdk.Error
- func ErrNoSignatures() sdk.Error
- func ErrUnknownMsgType() sdk.Error
- func ErrUnverifiedBytes(msg string) sdk.Error
- func ErrWrongNumberOfSigners() sdk.Error
- func GetMsgDonationAmount(msg types.Msg) types.Coin
- func GetMsgDonationValidAmount(ctx sdk.Context, msg types.Msg, am acc.AccountKeeper, pm post.PostKeeper) types.Coin
- func NewAnteHandler(am acc.AccountKeeper, bm bandwidth.BandwidthKeeper) sdk.AnteHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrIncorrectStdTxType ¶
ErrIncorrectStdTxType - error if parse std tx failed
func ErrMsgFeeNotEnough ¶ added in v0.3.0
ErrMsgFeeNotEnough - error if the provided message fee is not enough
func ErrNoSignatures ¶
ErrNoSignatures - error if transaction without signatures
func ErrUnknownMsgType ¶
ErrUnknownMsgType - error if msg can't be recognized
func ErrUnverifiedBytes ¶
ErrUnverifiedBytes - error if signbyte verification failed
func ErrWrongNumberOfSigners ¶
ErrWrongNumberOfSigners - error if number of signers and signatures mismatch
func GetMsgDonationAmount ¶ added in v0.2.3
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 ¶
func NewAnteHandler(am acc.AccountKeeper, bm bandwidth.BandwidthKeeper) sdk.AnteHandler
NewAnteHandler - return an AnteHandler
Types ¶
This section is empty.