Versions in this module Expand all Collapse all v0 v0.1.2 Feb 11, 2022 Changes in this version + func MarshalJSONIndent(cdc *LegacyAmino, obj interface{}) ([]byte, error) + func MustMarshalJSONIndent(cdc *LegacyAmino, obj interface{}) []byte + func ProtoMarshalJSON(msg proto.Message) ([]byte, error) + func RegisterEvidences(cdc *LegacyAmino) + type AminoCodec struct + func NewAminoCodec(codec *LegacyAmino) *AminoCodec + func (ac *AminoCodec) MarshalBinaryBare(o ProtoMarshaler) ([]byte, error) + func (ac *AminoCodec) MarshalBinaryLengthPrefixed(o ProtoMarshaler) ([]byte, error) + func (ac *AminoCodec) MarshalJSON(o proto.Message) ([]byte, error) + func (ac *AminoCodec) MustMarshalBinaryBare(o ProtoMarshaler) []byte + func (ac *AminoCodec) MustMarshalBinaryLengthPrefixed(o ProtoMarshaler) []byte + func (ac *AminoCodec) MustMarshalJSON(o proto.Message) []byte + func (ac *AminoCodec) MustUnmarshalBinaryBare(bz []byte, ptr ProtoMarshaler) + func (ac *AminoCodec) MustUnmarshalBinaryLengthPrefixed(bz []byte, ptr ProtoMarshaler) + func (ac *AminoCodec) MustUnmarshalJSON(bz []byte, ptr proto.Message) + func (ac *AminoCodec) UnmarshalBinaryBare(bz []byte, ptr ProtoMarshaler) error + func (ac *AminoCodec) UnmarshalBinaryLengthPrefixed(bz []byte, ptr ProtoMarshaler) error + func (ac *AminoCodec) UnmarshalJSON(bz []byte, ptr proto.Message) error + type AminoMarshaler interface + MarshalAmino func() ([]byte, error) + MarshalAminoJSON func() ([]byte, error) + UnmarshalAmino func([]byte) error + UnmarshalAminoJSON func([]byte) error + type BinaryMarshaler interface + MarshalBinaryBare func(o ProtoMarshaler) ([]byte, error) + MarshalBinaryLengthPrefixed func(o ProtoMarshaler) ([]byte, error) + MustMarshalBinaryBare func(o ProtoMarshaler) []byte + MustMarshalBinaryLengthPrefixed func(o ProtoMarshaler) []byte + MustUnmarshalBinaryBare func(bz []byte, ptr ProtoMarshaler) + MustUnmarshalBinaryLengthPrefixed func(bz []byte, ptr ProtoMarshaler) + UnmarshalBinaryBare func(bz []byte, ptr ProtoMarshaler) error + UnmarshalBinaryLengthPrefixed func(bz []byte, ptr ProtoMarshaler) error + type JSONMarshaler interface + MarshalJSON func(o proto.Message) ([]byte, error) + MustMarshalJSON func(o proto.Message) []byte + MustUnmarshalJSON func(bz []byte, ptr proto.Message) + UnmarshalJSON func(bz []byte, ptr proto.Message) error + type LegacyAmino struct + Amino *amino.Codec + func NewLegacyAmino() *LegacyAmino + func (*LegacyAmino) UnpackAny(*types.Any, interface{}) error + func (cdc *LegacyAmino) MarshalBinaryBare(o interface{}) ([]byte, error) + func (cdc *LegacyAmino) MarshalBinaryLengthPrefixed(o interface{}) ([]byte, error) + func (cdc *LegacyAmino) MarshalJSON(o interface{}) ([]byte, error) + func (cdc *LegacyAmino) MarshalJSONIndent(o interface{}, prefix, indent string) ([]byte, error) + func (cdc *LegacyAmino) MustMarshalBinaryBare(o interface{}) []byte + func (cdc *LegacyAmino) MustMarshalBinaryLengthPrefixed(o interface{}) []byte + func (cdc *LegacyAmino) MustMarshalJSON(o interface{}) []byte + func (cdc *LegacyAmino) MustUnmarshalBinaryBare(bz []byte, ptr interface{}) + func (cdc *LegacyAmino) MustUnmarshalBinaryLengthPrefixed(bz []byte, ptr interface{}) + func (cdc *LegacyAmino) MustUnmarshalJSON(bz []byte, ptr interface{}) + func (cdc *LegacyAmino) PrintTypes(out io.Writer) error + func (cdc *LegacyAmino) RegisterConcrete(o interface{}, name string, copts *amino.ConcreteOptions) + func (cdc *LegacyAmino) RegisterInterface(ptr interface{}, iopts *amino.InterfaceOptions) + func (cdc *LegacyAmino) Seal() + func (cdc *LegacyAmino) UnmarshalBinaryBare(bz []byte, ptr interface{}) error + func (cdc *LegacyAmino) UnmarshalBinaryLengthPrefixed(bz []byte, ptr interface{}) error + func (cdc *LegacyAmino) UnmarshalJSON(bz []byte, ptr interface{}) error + type Marshaler interface + type ProtoCodec struct + func NewProtoCodec(anyUnpacker types.AnyUnpacker) *ProtoCodec + func (pc *ProtoCodec) MarshalBinaryBare(o ProtoMarshaler) ([]byte, error) + func (pc *ProtoCodec) MarshalBinaryLengthPrefixed(o ProtoMarshaler) ([]byte, error) + func (pc *ProtoCodec) MarshalJSON(o proto.Message) ([]byte, error) + func (pc *ProtoCodec) MustMarshalBinaryBare(o ProtoMarshaler) []byte + func (pc *ProtoCodec) MustMarshalBinaryLengthPrefixed(o ProtoMarshaler) []byte + func (pc *ProtoCodec) MustMarshalJSON(o proto.Message) []byte + func (pc *ProtoCodec) MustUnmarshalBinaryBare(bz []byte, ptr ProtoMarshaler) + func (pc *ProtoCodec) MustUnmarshalBinaryLengthPrefixed(bz []byte, ptr ProtoMarshaler) + func (pc *ProtoCodec) MustUnmarshalJSON(bz []byte, ptr proto.Message) + func (pc *ProtoCodec) UnmarshalBinaryBare(bz []byte, ptr ProtoMarshaler) error + func (pc *ProtoCodec) UnmarshalBinaryLengthPrefixed(bz []byte, ptr ProtoMarshaler) error + func (pc *ProtoCodec) UnmarshalJSON(bz []byte, ptr proto.Message) error + func (pc *ProtoCodec) UnpackAny(any *types.Any, iface interface{}) error + type ProtoMarshaler interface + Marshal func() ([]byte, error) + MarshalTo func(data []byte) (n int, err error) + MarshalToSizedBuffer func(dAtA []byte) (int, error) + Size func() int + Unmarshal func(data []byte) error