Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ModeHandler ¶
type ModeHandler struct{}
ModeHandler defines the SIGN_MODE_DIRECT SignModeHandler
func (ModeHandler) DefaultMode ¶
func (ModeHandler) DefaultMode() signingtypes.SignMode
DefaultMode implements SignModeHandler.DefaultMode
func (ModeHandler) GetSignBytes ¶
func (ModeHandler) GetSignBytes(mode signingtypes.SignMode, data signing.SignerData, tx sdk.Tx) ([]byte, error)
GetSignBytes implements SignModeHandler.GetSignBytes
func (ModeHandler) Modes ¶
func (ModeHandler) Modes() []signingtypes.SignMode
Modes implements SignModeHandler.Modes
type ProtoTx ¶
type ProtoTx interface { // GetBodyBytes returns the raw serialized bytes for TxBody GetBodyBytes() []byte // GetBodyBytes returns the raw serialized bytes for AuthInfo GetAuthInfoBytes() []byte }
ProtoTx defines an interface which protobuf transactions must implement for signature verification via SignModeDirect
Click to show internal directories.
Click to hide internal directories.