Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
GetSigners(sdk.Tx) ([]SignerData, error)
}
SignerExtractionAdapter is an interface used to determine how the signers of a transaction should be extracted from the transaction.
type DefaultAdapter ¶
type DefaultAdapter struct{}
DefaultSignerExtractionAdapter is the default implementation of SignerExtractionAdapter. It extracts the signers from a cosmos-sdk tx via GetSignaturesV2.
func NewDefaultAdapter ¶
func NewDefaultAdapter() DefaultAdapter
func (DefaultAdapter) GetSigners ¶
func (DefaultAdapter) GetSigners(tx sdk.Tx) ([]SignerData, error)
type SignerData ¶
type SignerData struct { Signer sdk.AccAddress Sequence uint64 }
Click to show internal directories.
Click to hide internal directories.