Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CosmosMessageAddressesParser = JoinMessageParsers( DefaultMessagesParser, )
CosmosMessageAddressesParser represents a MessageAddressesParser that parses a Cosmos message and returns all the involved addresses (both accounts and validators)
Functions ¶
func DefaultMessagesParser ¶
DefaultMessagesParser represents the default messages parser that simply returns all account that mutate the state by the transaction
func MessageNotSupported ¶
MessageNotSupported returns an error telling that the given message is not supported
Types ¶
type MessageAddressesParser ¶
MessageAddressesParser represents a function that extracts all the involved addresses from a provided message (both accounts and validators)
func JoinMessageParsers ¶
func JoinMessageParsers(parsers ...MessageAddressesParser) MessageAddressesParser
JoinMessageParsers joins together all the given parsers, calling them in order
Click to show internal directories.
Click to hide internal directories.