github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/x/auth/ibcsigning/sig_verifiable_tx.go (about) 1 package signing 2 3 import ( 4 types3 "github.com/fibonacci-chain/fbc/libs/cosmos-sdk/crypto/types" 5 types2 "github.com/fibonacci-chain/fbc/libs/cosmos-sdk/types" 6 txmsg "github.com/fibonacci-chain/fbc/libs/cosmos-sdk/types/ibc-adapter" 7 signing2 "github.com/fibonacci-chain/fbc/libs/cosmos-sdk/types/tx/signing" 8 ) 9 10 // SigVerifiableTx defines a transaction interface for all signature verification 11 // handlers. 12 type SigVerifiableTx interface { 13 txmsg.Tx 14 GetSigners() []types2.AccAddress 15 GetPubKeys() ([]types3.PubKey, error) // If signer already has pubkey in context, this list will have nil in its place 16 GetSignaturesV2() ([]signing2.SignatureV2, error) 17 } 18 19 // Tx defines a transaction interface that supports all standard message, signature 20 // fee, memo, and auxiliary interfaces. 21 type Tx interface { 22 SigVerifiableTx 23 24 txmsg.TxWithMemo 25 txmsg.FeeTx 26 txmsg.TxWithTimeoutHeight 27 }