tx

package
v0.0.0-...-bf46863 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMsgs

func GetMsgs(anys []*types.Any, name string) ([]sdk.Msg, error)

GetMsgs takes a slice of Any's and turn them into sdk.Msg's.

func SetMsgs

func SetMsgs(msgs []sdk.Msg) ([]*types.Any, error)

SetMsgs takes a slice of sdk.Msg's and turn them into Any's.

func UnpackInterfaces

func UnpackInterfaces(unpacker types.AnyUnpacker, anys []*types.Any) error

UnpackInterfaces unpacks Any's to sdk.Msg's.

Types

type MsgResponse

type MsgResponse interface{}

MsgResponse is the interface all Msg server handlers' response types need to implement. It's the interface that's representing all Msg responses packed in Anys.

type TxExtensionOptionI

type TxExtensionOptionI interface{}

TxExtensionOptionI defines the interface for tx extension options

Jump to

Keyboard shortcuts

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