Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmpSignModeHandler ¶
func NewCmpSignModeHandler(defaultConf client.TxConfig) authsigning.SignModeHandler
NewCmpSignModeHandler returns a new SignModeHandler which supports CMP based signing
Types ¶
type CmpSignModeHandler ¶
type CmpSignModeHandler struct {
// contains filtered or unexported fields
}
CmpSignModeHandler Is a struct that implements the `SignModeHandler` interface.
func (CmpSignModeHandler) DefaultMode ¶
func (h CmpSignModeHandler) DefaultMode() signingtypes.SignMode
DefaultMode is the default mode that is to be used with this handler if no
func (CmpSignModeHandler) GetSignBytes ¶
func (h CmpSignModeHandler) GetSignBytes(mode signing.SignMode, data authsigning.SignerData, tx sdk.Tx) ([]byte, error)
GetSignBytes returns the sign bytes for the provided SignMode, SignerData and Tx,
func (CmpSignModeHandler) Modes ¶
func (h CmpSignModeHandler) Modes() []signingtypes.SignMode
Modes is the list of modes supporting by this handler
Click to show internal directories.
Click to hide internal directories.