ante

package
v0.6.25 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

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

Modes is the list of modes supporting by this handler

Jump to

Keyboard shortcuts

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