Versions in this module Expand all Collapse all v0 v0.50.9 Jul 10, 2024 Changes in this version + var RegressionTestingAminoCodec *codec.LegacyAmino + func DefaultTxEncoder(cdc *codec.LegacyAmino) sdk.TxEncoder + func MultiSignatureDataToAminoMultisignature(cdc *codec.LegacyAmino, mSig *signingtypes.MultiSignatureData) (multisig.AminoMultisignature, error) + 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 + type StdFee struct + Amount sdk.Coins + Gas uint64 + Granter string + Payer string + 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) 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 StdTip struct + Amount sdk.Coins + Tipper string + 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) 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) GetTimeoutHeight() uint64 + func (tx StdTx) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type StdTxBuilder struct + func (s *StdTxBuilder) AddAuxSignerData(_ tx.AuxSignerData) error + func (s *StdTxBuilder) SetFeeAmount(amount sdk.Coins) + func (s *StdTxBuilder) SetFeeGranter(_ sdk.AccAddress) + func (s *StdTxBuilder) SetFeePayer(_ 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) TxEncoder() sdk.TxEncoder + func (s StdTxConfig) TxJSONEncoder() sdk.TxEncoder + func (s StdTxConfig) UnmarshalSignatureJSON(bz []byte) ([]signing.SignatureV2, error) + type Unmarshaler func(bytes []byte, ptr interface{}) error