Versions in this module Expand all Collapse all v0 v0.45.26 May 2, 2022 v0.45.25 May 2, 2022 Changes in this version + func DefaultTxEncoder(cdc *codec.LegacyAmino) sdk.TxEncoder + func MultiSignatureDataToAminoMultisignature(cdc *codec.LegacyAmino, mSig *signingtypes.MultiSignatureData) (multisig.AminoMultisignature, error) + func NewStdTxSignModeHandler() signing.SignModeHandler + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func SignatureDataToAminoSignature(cdc *codec.LegacyAmino, data signingtypes.SignatureData) ([]byte, error) + func StdSignBytes(chainID string, accnum, sequence, timeout uint64, fee StdFee, msgs []sdk.Msg, ...) []byte + func StdSignatureToSignatureV2(cdc *codec.LegacyAmino, sig StdSignature) (signing.SignatureV2, error) + type LegacyMsg interface + GetSignBytes func() []byte + Route func() string + Type func() string + type StdFee struct + Amount sdk.Coins + Gas uint64 + func NewStdFee(gas uint64, amount sdk.Coins) StdFee + func (fee StdFee) Bytes() []byte + func (fee StdFee) GasPrices() sdk.DecCoins + func (fee StdFee) GetAmount() sdk.Coins + func (fee StdFee) GetGas() uint64 + type StdSignDoc struct + AccountNumber uint64 + ChainID string + Fee json.RawMessage + Memo string + Msgs []json.RawMessage + Sequence uint64 + TimeoutHeight uint64 + type StdSignMsg struct + AccountNumber uint64 + ChainID string + Fee StdFee + Memo string + Msgs []sdk.Msg + Sequence uint64 + TimeoutHeight uint64 + func (msg StdSignMsg) Bytes() []byte + func (msg StdSignMsg) UnpackInterfaces(unpacker types.AnyUnpacker) error + type StdSignature struct + Signature []byte + func NewStdSignature(pk cryptotypes.PubKey, sig []byte) StdSignature + func SignatureV2ToStdSignature(cdc *codec.LegacyAmino, sig signing.SignatureV2) (StdSignature, error) + func (ss StdSignature) GetPubKey() cryptotypes.PubKey + func (ss StdSignature) GetSignature() []byte + func (ss StdSignature) MarshalYAML() (interface{}, error) + func (ss StdSignature) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type StdTx struct + Fee StdFee + Memo string + Msgs []sdk.Msg + Signatures []StdSignature + TimeoutHeight uint64 + func NewStdTx(msgs []sdk.Msg, fee StdFee, sigs []StdSignature, memo string) StdTx + func (tx *StdTx) AsAny() *codectypes.Any + func (tx StdTx) FeeGranter() sdk.AccAddress + func (tx StdTx) FeePayer() sdk.AccAddress + func (tx StdTx) GetFee() sdk.Coins + func (tx StdTx) GetGas() uint64 + func (tx StdTx) GetMemo() string + func (tx StdTx) GetMsgs() []sdk.Msg + func (tx StdTx) GetPubKeys() ([]cryptotypes.PubKey, error) + func (tx StdTx) GetSignatures() [][]byte + func (tx StdTx) GetSignaturesV2() ([]signing.SignatureV2, error) + func (tx StdTx) GetSigners() []sdk.AccAddress + func (tx StdTx) GetTimeoutHeight() uint64 + func (tx StdTx) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (tx StdTx) ValidateBasic() error + type StdTxBuilder struct + func (s *StdTxBuilder) GetTx() authsigning.Tx + func (s *StdTxBuilder) SetFeeAmount(amount sdk.Coins) + func (s *StdTxBuilder) SetFeeGranter(_ sdk.AccAddress) + func (s *StdTxBuilder) SetGasLimit(limit uint64) + func (s *StdTxBuilder) SetMemo(memo string) + func (s *StdTxBuilder) SetMsgs(msgs ...sdk.Msg) error + func (s *StdTxBuilder) SetSignatures(signatures ...signing.SignatureV2) error + func (s *StdTxBuilder) SetTimeoutHeight(height uint64) + type StdTxConfig struct + Cdc *codec.LegacyAmino + func (s StdTxConfig) MarshalSignatureJSON(sigs []signing.SignatureV2) ([]byte, error) + func (s StdTxConfig) NewTxBuilder() client.TxBuilder + func (s StdTxConfig) SignModeHandler() authsigning.SignModeHandler + func (s StdTxConfig) TxDecoder() sdk.TxDecoder + func (s StdTxConfig) TxEncoder() sdk.TxEncoder + func (s StdTxConfig) TxJSONDecoder() sdk.TxDecoder + func (s StdTxConfig) TxJSONEncoder() sdk.TxEncoder + func (s StdTxConfig) UnmarshalSignatureJSON(bz []byte) ([]signing.SignatureV2, error) + func (s StdTxConfig) WrapTxBuilder(newTx sdk.Tx) (client.TxBuilder, error) + type Unmarshaler func(bytes []byte, ptr interface{}) error