Versions in this module Expand all Collapse all v0 v0.47.3 Aug 22, 2024 Changes in this version + func MarshalJSONIndent(cdc *LegacyAmino, obj interface{}) ([]byte, error) + func MarshalYAML(cdc JSONCodec, toPrint proto.Message) ([]byte, error) + func MustMarshalJSONIndent(cdc *LegacyAmino, obj interface{}) []byte + func ProtoMarshalJSON(msg proto.Message, resolver jsonpb.AnyResolver) ([]byte, error) + func RegisterEvidences(cdc *LegacyAmino) + type AminoCodec struct + func NewAminoCodec(codec *LegacyAmino) *AminoCodec + func (ac *AminoCodec) Marshal(o ProtoMarshaler) ([]byte, error) + func (ac *AminoCodec) MarshalInterface(i proto.Message) ([]byte, error) + func (ac *AminoCodec) MarshalInterfaceJSON(i proto.Message) ([]byte, error) + func (ac *AminoCodec) MarshalJSON(o proto.Message) ([]byte, error) + func (ac *AminoCodec) MarshalLengthPrefixed(o ProtoMarshaler) ([]byte, error) + func (ac *AminoCodec) MustMarshal(o ProtoMarshaler) []byte + func (ac *AminoCodec) MustMarshalJSON(o proto.Message) []byte + func (ac *AminoCodec) MustMarshalLengthPrefixed(o ProtoMarshaler) []byte + func (ac *AminoCodec) MustUnmarshal(bz []byte, ptr ProtoMarshaler) + func (ac *AminoCodec) MustUnmarshalJSON(bz []byte, ptr proto.Message) + func (ac *AminoCodec) MustUnmarshalLengthPrefixed(bz []byte, ptr ProtoMarshaler) + func (ac *AminoCodec) Unmarshal(bz []byte, ptr ProtoMarshaler) error + func (ac *AminoCodec) UnmarshalInterface(bz []byte, ptr interface{}) error + func (ac *AminoCodec) UnmarshalInterfaceJSON(bz []byte, ptr interface{}) error + func (ac *AminoCodec) UnmarshalJSON(bz []byte, ptr proto.Message) error + func (ac *AminoCodec) UnmarshalLengthPrefixed(bz []byte, ptr ProtoMarshaler) error + type AminoMarshaler interface + MarshalAmino func() ([]byte, error) + MarshalAminoJSON func() ([]byte, error) + UnmarshalAmino func([]byte) error + UnmarshalAminoJSON func([]byte) error + type BinaryCodec interface + Marshal func(o ProtoMarshaler) ([]byte, error) + MarshalInterface func(i proto.Message) ([]byte, error) + MarshalLengthPrefixed func(o ProtoMarshaler) ([]byte, error) + MustMarshal func(o ProtoMarshaler) []byte + MustMarshalLengthPrefixed func(o ProtoMarshaler) []byte + MustUnmarshal func(bz []byte, ptr ProtoMarshaler) + MustUnmarshalLengthPrefixed func(bz []byte, ptr ProtoMarshaler) + Unmarshal func(bz []byte, ptr ProtoMarshaler) error + UnmarshalInterface func(bz []byte, ptr interface{}) error + UnmarshalLengthPrefixed func(bz []byte, ptr ProtoMarshaler) error + type Codec interface + type GRPCCodecProvider interface + GRPCCodec func() encoding.Codec + type JSONCodec interface + MarshalInterfaceJSON func(i proto.Message) ([]byte, error) + MarshalJSON func(o proto.Message) ([]byte, error) + MustMarshalJSON func(o proto.Message) []byte + MustUnmarshalJSON func(bz []byte, ptr proto.Message) + UnmarshalInterfaceJSON func(bz []byte, ptr interface{}) error + 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) Marshal(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) MarshalLengthPrefixed(o interface{}) ([]byte, error) + func (cdc *LegacyAmino) MustMarshal(o interface{}) []byte + func (cdc *LegacyAmino) MustMarshalJSON(o interface{}) []byte + func (cdc *LegacyAmino) MustMarshalLengthPrefixed(o interface{}) []byte + func (cdc *LegacyAmino) MustUnmarshal(bz []byte, ptr interface{}) + func (cdc *LegacyAmino) MustUnmarshalJSON(bz []byte, ptr interface{}) + func (cdc *LegacyAmino) MustUnmarshalLengthPrefixed(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) Unmarshal(bz []byte, ptr interface{}) error + func (cdc *LegacyAmino) UnmarshalJSON(bz []byte, ptr interface{}) error + func (cdc *LegacyAmino) UnmarshalLengthPrefixed(bz []byte, ptr interface{}) error + type ProtoCodec struct + func NewProtoCodec(interfaceRegistry types.InterfaceRegistry) *ProtoCodec + func (pc *ProtoCodec) GRPCCodec() encoding.Codec + func (pc *ProtoCodec) InterfaceRegistry() types.InterfaceRegistry + func (pc *ProtoCodec) Marshal(o ProtoMarshaler) ([]byte, error) + func (pc *ProtoCodec) MarshalInterface(i gogoproto.Message) ([]byte, error) + func (pc *ProtoCodec) MarshalInterfaceJSON(x gogoproto.Message) ([]byte, error) + func (pc *ProtoCodec) MarshalJSON(o gogoproto.Message) ([]byte, error) + func (pc *ProtoCodec) MarshalLengthPrefixed(o ProtoMarshaler) ([]byte, error) + func (pc *ProtoCodec) MustMarshal(o ProtoMarshaler) []byte + func (pc *ProtoCodec) MustMarshalJSON(o gogoproto.Message) []byte + func (pc *ProtoCodec) MustMarshalLengthPrefixed(o ProtoMarshaler) []byte + func (pc *ProtoCodec) MustUnmarshal(bz []byte, ptr ProtoMarshaler) + func (pc *ProtoCodec) MustUnmarshalJSON(bz []byte, ptr gogoproto.Message) + func (pc *ProtoCodec) MustUnmarshalLengthPrefixed(bz []byte, ptr ProtoMarshaler) + func (pc *ProtoCodec) Unmarshal(bz []byte, ptr ProtoMarshaler) error + func (pc *ProtoCodec) UnmarshalInterface(bz []byte, ptr interface{}) error + func (pc *ProtoCodec) UnmarshalInterfaceJSON(bz []byte, iface interface{}) error + func (pc *ProtoCodec) UnmarshalJSON(bz []byte, ptr gogoproto.Message) error + func (pc *ProtoCodec) UnmarshalLengthPrefixed(bz []byte, ptr ProtoMarshaler) error + func (pc *ProtoCodec) UnpackAny(any *types.Any, iface interface{}) error + type ProtoCodecMarshaler interface + InterfaceRegistry func() types.InterfaceRegistry + 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