Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + func MarshalJSONIndent(cdc *Codec, obj interface{}) ([]byte, error) + func MarshalYAML(jsonMarshaler JSONMarshaler, toPrint proto.Message) ([]byte, error) + func MustMarshalJSONIndent(cdc *Codec, obj interface{}) []byte + func ProtoMarshalJSON(msg proto.Message, resolver jsonpb.AnyResolver) ([]byte, error) + func RegisterCrypto(cdc *Codec) + func RegisterEvidences(cdc *Codec) + 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 BinaryMarshaler interface + MarshalBinaryBare func(o ProtoMarshaler) ([]byte, error) + MarshalBinaryLengthPrefixed func(o ProtoMarshaler) ([]byte, error) + MarshalInterface func(i proto.Message) ([]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 + UnmarshalInterface func(bz []byte, ptr interface{}) error + type CdcAbstraction interface + UnmarshalBinaryLengthPrefixed func(bz []byte, ptr interface{}) error + UnmarshalBinaryLengthPrefixedWithRegisteredUbmarshaller func(bz []byte, ptr interface{}) (interface{}, error) + type Codec = amino.Codec + var Cdc *Codec + func New() *Codec + type CodecProxy struct + func NewCodecProxy(protoCodec *ProtoCodec, cdc *Codec) *CodecProxy + func (mp *CodecProxy) GetCdc() *Codec + func (mp *CodecProxy) GetProtocMarshal() *ProtoCodec + func (mp *CodecProxy) UnmarshalBinaryLengthPrefixed(bz []byte, ptr interface{}) error + func (mp *CodecProxy) UnmarshalBinaryLengthPrefixedWithRegisteredUbmarshaller(bz []byte, ptr interface{}) (interface{}, error) + type IbcCodec interface + 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 JSONMarshaler 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 Marshaler interface + type ProtoCodec struct + func NewProtoCodec(interfaceRegistry types.InterfaceRegistry) *ProtoCodec + func (pc *ProtoCodec) InterfaceRegistry() types.InterfaceRegistry + func (pc *ProtoCodec) Marshal(o ProtoMarshaler) ([]byte, error) + func (pc *ProtoCodec) MarshalBinaryBare(o ProtoMarshaler) ([]byte, error) + func (pc *ProtoCodec) MarshalBinaryLengthPrefixed(o ProtoMarshaler) ([]byte, error) + func (pc *ProtoCodec) MarshalInterface(i proto.Message) ([]byte, error) + func (pc *ProtoCodec) MarshalInterfaceJSON(x proto.Message) ([]byte, error) + func (pc *ProtoCodec) MarshalJSON(o proto.Message) ([]byte, error) + func (pc *ProtoCodec) MustMarshal(o ProtoMarshaler) []byte + 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) MustUnmarshal(bz []byte, ptr ProtoMarshaler) + 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) Unmarshal(bz []byte, ptr ProtoMarshaler) error + func (pc *ProtoCodec) UnmarshalBinaryBare(bz []byte, ptr ProtoMarshaler) error + func (pc *ProtoCodec) UnmarshalBinaryLengthPrefixed(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 proto.Message) 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