Versions in this module Expand all Collapse all v1 v1.7.3 Jan 2, 2023 v1.7.2 Jan 2, 2023 Changes in this version + const AttributeKeyCreator + const AttributeKeyRecordID + const AttributeValueCategory + const EventTypeCreateRecord + const ModuleName + const QuerierRoute + const QueryRecord + const RouterKey + const StoreKey + const TypeMsgCreateRecord + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowRecord = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthRecord = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupRecord = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUnknownRecord = sdkerrors.Register(ModuleName, 2, "unknown record") + var IntraTxCounterKey = []byte + var ModuleCdc = codec.NewAminoCodec(amino) + var RecordKey = []byte + func GetRecordKey(recordID []byte) []byte + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func ValidateContents(contents ...Content) error + func ValidateGenesis(data GenesisState) error + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + type BankKeeper interface + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + LockedCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type Content struct + Digest string + DigestAlgo string + Meta string + URI string + func (*Content) Descriptor() ([]byte, []int) + func (*Content) ProtoMessage() + func (m *Content) Marshal() (dAtA []byte, err error) + func (m *Content) MarshalTo(dAtA []byte) (int, error) + func (m *Content) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Content) Reset() + func (m *Content) Size() (n int) + func (m *Content) String() string + func (m *Content) Unmarshal(dAtA []byte) error + func (m *Content) XXX_DiscardUnknown() + func (m *Content) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Content) XXX_Merge(src proto.Message) + func (m *Content) XXX_Size() int + func (m *Content) XXX_Unmarshal(b []byte) error + func (this *Content) Equal(that interface{}) bool + type GenesisState struct + Records []Record + func DefaultGenesisState() *GenesisState + func NewGenesisState(records []Record) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetRecords() []Record + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type MsgClient interface + CreateRecord func(ctx context.Context, in *MsgCreateRecord, opts ...grpc.CallOption) (*MsgCreateRecordResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreateRecord struct + Contents []Content + Creator string + func NewMsgCreateRecord(contents []Content, Creator string) *MsgCreateRecord + func (*MsgCreateRecord) Descriptor() ([]byte, []int) + func (*MsgCreateRecord) ProtoMessage() + func (m *MsgCreateRecord) Marshal() (dAtA []byte, err error) + func (m *MsgCreateRecord) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateRecord) Reset() + func (m *MsgCreateRecord) Size() (n int) + func (m *MsgCreateRecord) String() string + func (m *MsgCreateRecord) Unmarshal(dAtA []byte) error + func (m *MsgCreateRecord) XXX_DiscardUnknown() + func (m *MsgCreateRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateRecord) XXX_Merge(src proto.Message) + func (m *MsgCreateRecord) XXX_Size() int + func (m *MsgCreateRecord) XXX_Unmarshal(b []byte) error + func (msg MsgCreateRecord) GetSignBytes() []byte + func (msg MsgCreateRecord) GetSigners() []sdk.AccAddress + func (msg MsgCreateRecord) Route() string + func (msg MsgCreateRecord) Type() string + func (msg MsgCreateRecord) ValidateBasic() error + func (this *MsgCreateRecord) Equal(that interface{}) bool + type MsgCreateRecordResponse struct + Id string + func (*MsgCreateRecordResponse) Descriptor() ([]byte, []int) + func (*MsgCreateRecordResponse) ProtoMessage() + func (m *MsgCreateRecordResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateRecordResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateRecordResponse) Reset() + func (m *MsgCreateRecordResponse) Size() (n int) + func (m *MsgCreateRecordResponse) String() string + func (m *MsgCreateRecordResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateRecordResponse) XXX_DiscardUnknown() + func (m *MsgCreateRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateRecordResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateRecordResponse) XXX_Size() int + func (m *MsgCreateRecordResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + CreateRecord func(context.Context, *MsgCreateRecord) (*MsgCreateRecordResponse, error) + type QueryClient interface + Record func(ctx context.Context, in *QueryRecordRequest, opts ...grpc.CallOption) (*QueryRecordResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryRecordParams struct + RecordID []byte + type QueryRecordRequest struct + RecordId string + func (*QueryRecordRequest) Descriptor() ([]byte, []int) + func (*QueryRecordRequest) ProtoMessage() + func (m *QueryRecordRequest) GetRecordId() string + func (m *QueryRecordRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRecordRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRecordRequest) Reset() + func (m *QueryRecordRequest) Size() (n int) + func (m *QueryRecordRequest) String() string + func (m *QueryRecordRequest) Unmarshal(dAtA []byte) error + func (m *QueryRecordRequest) XXX_DiscardUnknown() + func (m *QueryRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRecordRequest) XXX_Merge(src proto.Message) + func (m *QueryRecordRequest) XXX_Size() int + func (m *QueryRecordRequest) XXX_Unmarshal(b []byte) error + type QueryRecordResponse struct + Record *Record + func (*QueryRecordResponse) Descriptor() ([]byte, []int) + func (*QueryRecordResponse) ProtoMessage() + func (m *QueryRecordResponse) GetRecord() *Record + func (m *QueryRecordResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRecordResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRecordResponse) Reset() + func (m *QueryRecordResponse) Size() (n int) + func (m *QueryRecordResponse) String() string + func (m *QueryRecordResponse) Unmarshal(dAtA []byte) error + func (m *QueryRecordResponse) XXX_DiscardUnknown() + func (m *QueryRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRecordResponse) XXX_Merge(src proto.Message) + func (m *QueryRecordResponse) XXX_Size() int + func (m *QueryRecordResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + Record func(context.Context, *QueryRecordRequest) (*QueryRecordResponse, error) + type Record struct + Contents []Content + Creator string + TxHash string + func NewRecord(txHash bytes.HexBytes, contents []Content, creator sdk.AccAddress) Record + func (*Record) Descriptor() ([]byte, []int) + func (*Record) ProtoMessage() + func (m *Record) Marshal() (dAtA []byte, err error) + func (m *Record) MarshalTo(dAtA []byte) (int, error) + func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Record) Reset() + func (m *Record) Size() (n int) + func (m *Record) String() string + func (m *Record) Unmarshal(dAtA []byte) error + func (m *Record) XXX_DiscardUnknown() + func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Record) XXX_Merge(src proto.Message) + func (m *Record) XXX_Size() int + func (m *Record) XXX_Unmarshal(b []byte) error + func (this *Record) Equal(that interface{}) bool + type RecordOutput struct + Contents []Content + Creator string + TxHash string + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) CreateRecord(ctx context.Context, req *MsgCreateRecord) (*MsgCreateRecordResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Record(ctx context.Context, req *QueryRecordRequest) (*QueryRecordResponse, error)