github.com/Finschia/finschia-sdk@v0.48.1/x/auth/signing/sig_verifiable_tx.go (about)

     1  package signing
     2  
     3  import (
     4  	cryptotypes "github.com/Finschia/finschia-sdk/crypto/types"
     5  	"github.com/Finschia/finschia-sdk/types"
     6  	"github.com/Finschia/finschia-sdk/types/tx/signing"
     7  )
     8  
     9  // SigVerifiableTx defines a transaction interface for all signature verification
    10  // handlers.
    11  type SigVerifiableTx interface {
    12  	types.Tx
    13  	GetSigners() []types.AccAddress
    14  	GetPubKeys() ([]cryptotypes.PubKey, error) // If signer already has pubkey in context, this list will have nil in its place
    15  	GetSignaturesV2() ([]signing.SignatureV2, error)
    16  }
    17  
    18  // Tx defines a transaction interface that supports all standard message, signature
    19  // fee, memo, and auxiliary interfaces.
    20  type Tx interface {
    21  	SigVerifiableTx
    22  
    23  	types.TxWithMemo
    24  	types.FeeTx
    25  	types.TxWithTimeoutHeight
    26  }