Documentation ¶
Index ¶
- func IsAppInjectedMsg(msg sdk.Msg) bool
- func IsDisallowExternalSubmitMsg(msg sdk.Msg) bool
- func IsInternalMsg(msg sdk.Msg) bool
- func IsNestedMsg(msg sdk.Msg) bool
- func IsSingleAppInjectedMsg(msgs []sdk.Msg) bool
- func IsUnsupportedMsg(msg sdk.Msg) bool
- func ValidateNestedMsg(msg sdk.Msg) error
- type AppInjectedMsgAnteWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAppInjectedMsg ¶
IsAppInjectedMsg returns true if the given msg is an "app-injected msg". Otherwise, returns false.
func IsDisallowExternalSubmitMsg ¶
IsDisallowExternalSubmitMsg returns true if the msg is not allowed to be submitted externally.
func IsInternalMsg ¶
IsInternalMsg returns true if the given msg is an internal message.
func IsNestedMsg ¶
IsNestedMsg returns true if the given msg is a nested msg.
func IsSingleAppInjectedMsg ¶
IsSingleAppInjectedMsg returns true if the given list of msgs contains an "app-injected msg" and it's the only msg in the list. Otherwise, returns false.
func IsUnsupportedMsg ¶
IsUnsupportedMsg returns true if the msg is unsupported by the app.
func ValidateNestedMsg ¶
ValidateNestedMsg returns err if the given msg is an invalid nested msg.
Types ¶
type AppInjectedMsgAnteWrapper ¶
type AppInjectedMsgAnteWrapper struct {
// contains filtered or unexported fields
}
AppInjectedMsgAnteWrapper is a wrapper for AnteHandlers that need to be skipped for "App-injected message" tx due to the fact that the "App-injected message" txs do not have certain features of regular txs like signatures.
func NewAppInjectedMsgAnteWrapper ¶
func NewAppInjectedMsgAnteWrapper(handler sdk.AnteDecorator) AppInjectedMsgAnteWrapper
func (AppInjectedMsgAnteWrapper) AnteHandle ¶
func (AppInjectedMsgAnteWrapper) GetAnteHandler ¶
func (imaw AppInjectedMsgAnteWrapper) GetAnteHandler() sdk.AnteDecorator