Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type Class
- type EventBurnNFT
- func (*EventBurnNFT) Descriptor() ([]byte, []int)deprecated
- func (x *EventBurnNFT) GetNft() *NFT
- func (x *EventBurnNFT) GetOwner() string
- func (*EventBurnNFT) ProtoMessage()
- func (x *EventBurnNFT) ProtoReflect() protoreflect.Message
- func (x *EventBurnNFT) Reset()
- func (x *EventBurnNFT) String() string
- type EventMintNFT
- func (*EventMintNFT) Descriptor() ([]byte, []int)deprecated
- func (x *EventMintNFT) GetNft() *NFT
- func (x *EventMintNFT) GetProperties() []*Property
- func (x *EventMintNFT) GetRecipient() string
- func (*EventMintNFT) ProtoMessage()
- func (x *EventMintNFT) ProtoReflect() protoreflect.Message
- func (x *EventMintNFT) Reset()
- func (x *EventMintNFT) String() string
- type EventNewClass
- func (*EventNewClass) Descriptor() ([]byte, []int)deprecated
- func (x *EventNewClass) GetClass() *Class
- func (x *EventNewClass) GetData() *anypb.Any
- func (x *EventNewClass) GetTraits() []*Trait
- func (*EventNewClass) ProtoMessage()
- func (x *EventNewClass) ProtoReflect() protoreflect.Message
- func (x *EventNewClass) Reset()
- func (x *EventNewClass) String() string
- type EventSend
- func (*EventSend) Descriptor() ([]byte, []int)deprecated
- func (x *EventSend) GetNft() *NFT
- func (x *EventSend) GetReceiver() string
- func (x *EventSend) GetSender() string
- func (*EventSend) ProtoMessage()
- func (x *EventSend) ProtoReflect() protoreflect.Message
- func (x *EventSend) Reset()
- func (x *EventSend) String() string
- type EventUpdateClass
- func (*EventUpdateClass) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateClass) GetClass() *Class
- func (x *EventUpdateClass) GetData() *anypb.Any
- func (*EventUpdateClass) ProtoMessage()
- func (x *EventUpdateClass) ProtoReflect() protoreflect.Message
- func (x *EventUpdateClass) Reset()
- func (x *EventUpdateClass) String() string
- type EventUpdateNFT
- func (*EventUpdateNFT) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateNFT) GetNft() *NFT
- func (x *EventUpdateNFT) GetProperties() []*Property
- func (*EventUpdateNFT) ProtoMessage()
- func (x *EventUpdateNFT) ProtoReflect() protoreflect.Message
- func (x *EventUpdateNFT) Reset()
- func (x *EventUpdateNFT) String() string
- type GenesisClass
- func (*GenesisClass) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisClass) GetId() string
- func (x *GenesisClass) GetLastMintedNftId() string
- func (x *GenesisClass) GetNfts() []*GenesisNFT
- func (x *GenesisClass) GetTraits() []*Trait
- func (*GenesisClass) ProtoMessage()
- func (x *GenesisClass) ProtoReflect() protoreflect.Message
- func (x *GenesisClass) Reset()
- func (x *GenesisClass) String() string
- type GenesisNFT
- func (*GenesisNFT) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisNFT) GetId() string
- func (x *GenesisNFT) GetOwner() string
- func (x *GenesisNFT) GetProperties() []*Property
- func (*GenesisNFT) ProtoMessage()
- func (x *GenesisNFT) ProtoReflect() protoreflect.Message
- func (x *GenesisNFT) Reset()
- func (x *GenesisNFT) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetClasses() []*GenesisClass
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgBurnNFT
- type MsgBurnNFTResponse
- type MsgClient
- type MsgMintNFT
- func (*MsgMintNFT) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMintNFT) GetClassId() string
- func (x *MsgMintNFT) GetProperties() []*Property
- func (x *MsgMintNFT) GetRecipient() string
- func (*MsgMintNFT) ProtoMessage()
- func (x *MsgMintNFT) ProtoReflect() protoreflect.Message
- func (x *MsgMintNFT) Reset()
- func (x *MsgMintNFT) String() string
- type MsgMintNFTResponse
- type MsgNewClass
- func (*MsgNewClass) Descriptor() ([]byte, []int)deprecated
- func (x *MsgNewClass) GetData() *anypb.Any
- func (x *MsgNewClass) GetOwner() string
- func (x *MsgNewClass) GetTraits() []*Trait
- func (*MsgNewClass) ProtoMessage()
- func (x *MsgNewClass) ProtoReflect() protoreflect.Message
- func (x *MsgNewClass) Reset()
- func (x *MsgNewClass) String() string
- type MsgNewClassResponse
- func (*MsgNewClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgNewClassResponse) GetClassId() string
- func (*MsgNewClassResponse) ProtoMessage()
- func (x *MsgNewClassResponse) ProtoReflect() protoreflect.Message
- func (x *MsgNewClassResponse) Reset()
- func (x *MsgNewClassResponse) String() string
- type MsgSend
- func (*MsgSend) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSend) GetNft() *NFT
- func (x *MsgSend) GetRecipient() string
- func (x *MsgSend) GetSender() string
- func (*MsgSend) ProtoMessage()
- func (x *MsgSend) ProtoReflect() protoreflect.Message
- func (x *MsgSend) Reset()
- func (x *MsgSend) String() string
- type MsgSendResponse
- type MsgServer
- type MsgUpdateClass
- func (*MsgUpdateClass) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateClass) GetClassId() string
- func (x *MsgUpdateClass) GetData() *anypb.Any
- func (*MsgUpdateClass) ProtoMessage()
- func (x *MsgUpdateClass) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateClass) Reset()
- func (x *MsgUpdateClass) String() string
- type MsgUpdateClassResponse
- type MsgUpdateNFT
- func (*MsgUpdateNFT) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateNFT) GetNft() *NFT
- func (x *MsgUpdateNFT) GetProperties() []*Property
- func (*MsgUpdateNFT) ProtoMessage()
- func (x *MsgUpdateNFT) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateNFT) Reset()
- func (x *MsgUpdateNFT) String() string
- type MsgUpdateNFTResponse
- type NFT
- type Params
- type Property
- type QueryClassRequest
- type QueryClassResponse
- func (*QueryClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassResponse) GetClass() *Class
- func (*QueryClassResponse) ProtoMessage()
- func (x *QueryClassResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassResponse) Reset()
- func (x *QueryClassResponse) String() string
- type QueryClassesRequest
- func (*QueryClassesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryClassesRequest) ProtoMessage()
- func (x *QueryClassesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryClassesRequest) Reset()
- func (x *QueryClassesRequest) String() string
- type QueryClassesResponse
- func (*QueryClassesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryClassesResponse) GetClasses() []*Class
- func (x *QueryClassesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryClassesResponse) ProtoMessage()
- func (x *QueryClassesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryClassesResponse) Reset()
- func (x *QueryClassesResponse) String() string
- type QueryClient
- type QueryNFTRequest
- func (*QueryNFTRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNFTRequest) GetClassId() string
- func (x *QueryNFTRequest) GetId() string
- func (*QueryNFTRequest) ProtoMessage()
- func (x *QueryNFTRequest) ProtoReflect() protoreflect.Message
- func (x *QueryNFTRequest) Reset()
- func (x *QueryNFTRequest) String() string
- type QueryNFTResponse
- type QueryNFTsRequest
- func (*QueryNFTsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNFTsRequest) GetClassId() string
- func (x *QueryNFTsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryNFTsRequest) ProtoMessage()
- func (x *QueryNFTsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryNFTsRequest) Reset()
- func (x *QueryNFTsRequest) String() string
- type QueryNFTsResponse
- func (*QueryNFTsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNFTsResponse) GetNfts() []*NFT
- func (x *QueryNFTsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryNFTsResponse) ProtoMessage()
- func (x *QueryNFTsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryNFTsResponse) Reset()
- func (x *QueryNFTsResponse) String() string
- type QueryOwnerRequest
- func (*QueryOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOwnerRequest) GetClassId() string
- func (x *QueryOwnerRequest) GetId() string
- func (*QueryOwnerRequest) ProtoMessage()
- func (x *QueryOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *QueryOwnerRequest) Reset()
- func (x *QueryOwnerRequest) String() string
- type QueryOwnerResponse
- func (*QueryOwnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOwnerResponse) GetOwner() string
- func (*QueryOwnerResponse) ProtoMessage()
- func (x *QueryOwnerResponse) ProtoReflect() protoreflect.Message
- func (x *QueryOwnerResponse) Reset()
- func (x *QueryOwnerResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryPropertiesRequest
- func (*QueryPropertiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPropertiesRequest) GetClassId() string
- func (x *QueryPropertiesRequest) GetId() string
- func (x *QueryPropertiesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryPropertiesRequest) ProtoMessage()
- func (x *QueryPropertiesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryPropertiesRequest) Reset()
- func (x *QueryPropertiesRequest) String() string
- type QueryPropertiesResponse
- func (*QueryPropertiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPropertiesResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryPropertiesResponse) GetProperties() []*Property
- func (*QueryPropertiesResponse) ProtoMessage()
- func (x *QueryPropertiesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryPropertiesResponse) Reset()
- func (x *QueryPropertiesResponse) String() string
- type QueryPropertyRequest
- func (*QueryPropertyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPropertyRequest) GetClassId() string
- func (x *QueryPropertyRequest) GetId() string
- func (x *QueryPropertyRequest) GetPropertyId() string
- func (*QueryPropertyRequest) ProtoMessage()
- func (x *QueryPropertyRequest) ProtoReflect() protoreflect.Message
- func (x *QueryPropertyRequest) Reset()
- func (x *QueryPropertyRequest) String() string
- type QueryPropertyResponse
- func (*QueryPropertyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPropertyResponse) GetProperty() *Property
- func (*QueryPropertyResponse) ProtoMessage()
- func (x *QueryPropertyResponse) ProtoReflect() protoreflect.Message
- func (x *QueryPropertyResponse) Reset()
- func (x *QueryPropertyResponse) String() string
- type QueryServer
- type QueryTraitRequest
- func (*QueryTraitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTraitRequest) GetClassId() string
- func (x *QueryTraitRequest) GetTraitId() string
- func (*QueryTraitRequest) ProtoMessage()
- func (x *QueryTraitRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTraitRequest) Reset()
- func (x *QueryTraitRequest) String() string
- type QueryTraitResponse
- func (*QueryTraitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTraitResponse) GetTrait() *Trait
- func (*QueryTraitResponse) ProtoMessage()
- func (x *QueryTraitResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTraitResponse) Reset()
- func (x *QueryTraitResponse) String() string
- type QueryTraitsRequest
- func (*QueryTraitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTraitsRequest) GetClassId() string
- func (x *QueryTraitsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryTraitsRequest) ProtoMessage()
- func (x *QueryTraitsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTraitsRequest) Reset()
- func (x *QueryTraitsRequest) String() string
- type QueryTraitsResponse
- func (*QueryTraitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTraitsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryTraitsResponse) GetTraits() []*Trait
- func (*QueryTraitsResponse) ProtoMessage()
- func (x *QueryTraitsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTraitsResponse) Reset()
- func (x *QueryTraitsResponse) String() string
- type Trait
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error)
- func (UnimplementedMsgServer) MintNFT(context.Context, *MsgMintNFT) (*MsgMintNFTResponse, error)
- func (UnimplementedMsgServer) NewClass(context.Context, *MsgNewClass) (*MsgNewClassResponse, error)
- func (UnimplementedMsgServer) Send(context.Context, *MsgSend) (*MsgSendResponse, error)
- func (UnimplementedMsgServer) UpdateClass(context.Context, *MsgUpdateClass) (*MsgUpdateClassResponse, error)
- func (UnimplementedMsgServer) UpdateNFT(context.Context, *MsgUpdateNFT) (*MsgUpdateNFTResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Class(context.Context, *QueryClassRequest) (*QueryClassResponse, error)
- func (UnimplementedQueryServer) Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error)
- func (UnimplementedQueryServer) NFT(context.Context, *QueryNFTRequest) (*QueryNFTResponse, error)
- func (UnimplementedQueryServer) NFTs(context.Context, *QueryNFTsRequest) (*QueryNFTsResponse, error)
- func (UnimplementedQueryServer) Owner(context.Context, *QueryOwnerRequest) (*QueryOwnerResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) Properties(context.Context, *QueryPropertiesRequest) (*QueryPropertiesResponse, error)
- func (UnimplementedQueryServer) Property(context.Context, *QueryPropertyRequest) (*QueryPropertyResponse, error)
- func (UnimplementedQueryServer) Trait(context.Context, *QueryTraitRequest) (*QueryTraitResponse, error)
- func (UnimplementedQueryServer) Traits(context.Context, *QueryTraitsRequest) (*QueryTraitsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_andromeda_internft_v1alpha1_event_proto protoreflect.FileDescriptor
var File_andromeda_internft_v1alpha1_genesis_proto protoreflect.FileDescriptor
var File_andromeda_internft_v1alpha1_query_proto protoreflect.FileDescriptor
var File_andromeda_internft_v1alpha1_tx_proto protoreflect.FileDescriptor
var File_andromeda_internft_v1alpha1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "andromeda.internft.v1alpha1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Send", Handler: _Msg_Send_Handler, }, { MethodName: "NewClass", Handler: _Msg_NewClass_Handler, }, { MethodName: "UpdateClass", Handler: _Msg_UpdateClass_Handler, }, { MethodName: "MintNFT", Handler: _Msg_MintNFT_Handler, }, { MethodName: "BurnNFT", Handler: _Msg_BurnNFT_Handler, }, { MethodName: "UpdateNFT", Handler: _Msg_UpdateNFT_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "andromeda/internft/v1alpha1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "andromeda.internft.v1alpha1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "Class", Handler: _Query_Class_Handler, }, { MethodName: "Classes", Handler: _Query_Classes_Handler, }, { MethodName: "Trait", Handler: _Query_Trait_Handler, }, { MethodName: "Traits", Handler: _Query_Traits_Handler, }, { MethodName: "NFT", Handler: _Query_NFT_Handler, }, { MethodName: "NFTs", Handler: _Query_NFTs_Handler, }, { MethodName: "Property", Handler: _Query_Property_Handler, }, { MethodName: "Properties", Handler: _Query_Properties_Handler, }, { MethodName: "Owner", Handler: _Query_Owner_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "andromeda/internft/v1alpha1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type Class ¶
type Class struct { // identifier of the classfication Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Class defines a classification of nft.
func (*Class) Descriptor
deprecated
func (*Class) ProtoMessage ¶
func (*Class) ProtoMessage()
func (*Class) ProtoReflect ¶
func (x *Class) ProtoReflect() protoreflect.Message
type EventBurnNFT ¶
type EventBurnNFT struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Nft *NFT `protobuf:"bytes,2,opt,name=nft,proto3" json:"nft,omitempty"` // contains filtered or unexported fields }
EventBurnNFT is emitted on Msg/BurnNFT.
func (*EventBurnNFT) Descriptor
deprecated
func (*EventBurnNFT) Descriptor() ([]byte, []int)
Deprecated: Use EventBurnNFT.ProtoReflect.Descriptor instead.
func (*EventBurnNFT) GetNft ¶
func (x *EventBurnNFT) GetNft() *NFT
func (*EventBurnNFT) GetOwner ¶
func (x *EventBurnNFT) GetOwner() string
func (*EventBurnNFT) ProtoMessage ¶
func (*EventBurnNFT) ProtoMessage()
func (*EventBurnNFT) ProtoReflect ¶
func (x *EventBurnNFT) ProtoReflect() protoreflect.Message
func (*EventBurnNFT) Reset ¶
func (x *EventBurnNFT) Reset()
func (*EventBurnNFT) String ¶
func (x *EventBurnNFT) String() string
type EventMintNFT ¶
type EventMintNFT struct { Nft *NFT `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"` Properties []*Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
EventMintNFT is emitted on Msg/MintNFT.
func (*EventMintNFT) Descriptor
deprecated
func (*EventMintNFT) Descriptor() ([]byte, []int)
Deprecated: Use EventMintNFT.ProtoReflect.Descriptor instead.
func (*EventMintNFT) GetNft ¶
func (x *EventMintNFT) GetNft() *NFT
func (*EventMintNFT) GetProperties ¶
func (x *EventMintNFT) GetProperties() []*Property
func (*EventMintNFT) GetRecipient ¶
func (x *EventMintNFT) GetRecipient() string
func (*EventMintNFT) ProtoMessage ¶
func (*EventMintNFT) ProtoMessage()
func (*EventMintNFT) ProtoReflect ¶
func (x *EventMintNFT) ProtoReflect() protoreflect.Message
func (*EventMintNFT) Reset ¶
func (x *EventMintNFT) Reset()
func (*EventMintNFT) String ¶
func (x *EventMintNFT) String() string
type EventNewClass ¶
type EventNewClass struct { Class *Class `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` Traits []*Trait `protobuf:"bytes,2,rep,name=traits,proto3" json:"traits,omitempty"` Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
EventNewClass is emitted on Msg/NewClass.
func (*EventNewClass) Descriptor
deprecated
func (*EventNewClass) Descriptor() ([]byte, []int)
Deprecated: Use EventNewClass.ProtoReflect.Descriptor instead.
func (*EventNewClass) GetClass ¶
func (x *EventNewClass) GetClass() *Class
func (*EventNewClass) GetData ¶
func (x *EventNewClass) GetData() *anypb.Any
func (*EventNewClass) GetTraits ¶
func (x *EventNewClass) GetTraits() []*Trait
func (*EventNewClass) ProtoMessage ¶
func (*EventNewClass) ProtoMessage()
func (*EventNewClass) ProtoReflect ¶
func (x *EventNewClass) ProtoReflect() protoreflect.Message
func (*EventNewClass) Reset ¶
func (x *EventNewClass) Reset()
func (*EventNewClass) String ¶
func (x *EventNewClass) String() string
type EventSend ¶
type EventSend struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Nft *NFT `protobuf:"bytes,3,opt,name=nft,proto3" json:"nft,omitempty"` // contains filtered or unexported fields }
EventSend is emitted on Msg/Send.
func (*EventSend) Descriptor
deprecated
func (*EventSend) GetReceiver ¶
func (*EventSend) ProtoMessage ¶
func (*EventSend) ProtoMessage()
func (*EventSend) ProtoReflect ¶
func (x *EventSend) ProtoReflect() protoreflect.Message
type EventUpdateClass ¶
type EventUpdateClass struct { Class *Class `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
EventUpdateClass is emitted on Msg/UpdateClass.
func (*EventUpdateClass) Descriptor
deprecated
func (*EventUpdateClass) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateClass.ProtoReflect.Descriptor instead.
func (*EventUpdateClass) GetClass ¶
func (x *EventUpdateClass) GetClass() *Class
func (*EventUpdateClass) GetData ¶
func (x *EventUpdateClass) GetData() *anypb.Any
func (*EventUpdateClass) ProtoMessage ¶
func (*EventUpdateClass) ProtoMessage()
func (*EventUpdateClass) ProtoReflect ¶
func (x *EventUpdateClass) ProtoReflect() protoreflect.Message
func (*EventUpdateClass) Reset ¶
func (x *EventUpdateClass) Reset()
func (*EventUpdateClass) String ¶
func (x *EventUpdateClass) String() string
type EventUpdateNFT ¶
type EventUpdateNFT struct { Nft *NFT `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"` Properties []*Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
EventUpdateNFT is emitted on Msg/UpdateNFT.
func (*EventUpdateNFT) Descriptor
deprecated
func (*EventUpdateNFT) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateNFT.ProtoReflect.Descriptor instead.
func (*EventUpdateNFT) GetNft ¶
func (x *EventUpdateNFT) GetNft() *NFT
func (*EventUpdateNFT) GetProperties ¶
func (x *EventUpdateNFT) GetProperties() []*Property
func (*EventUpdateNFT) ProtoMessage ¶
func (*EventUpdateNFT) ProtoMessage()
func (*EventUpdateNFT) ProtoReflect ¶
func (x *EventUpdateNFT) ProtoReflect() protoreflect.Message
func (*EventUpdateNFT) Reset ¶
func (x *EventUpdateNFT) Reset()
func (*EventUpdateNFT) String ¶
func (x *EventUpdateNFT) String() string
type GenesisClass ¶
type GenesisClass struct { // identifier of the class Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // traits of the class Traits []*Trait `protobuf:"bytes,2,rep,name=traits,proto3" json:"traits,omitempty"` // last minted nft of the class LastMintedNftId string `protobuf:"bytes,3,opt,name=last_minted_nft_id,json=lastMintedNftId,proto3" json:"last_minted_nft_id,omitempty"` // nfts of the class Nfts []*GenesisNFT `protobuf:"bytes,4,rep,name=nfts,proto3" json:"nfts,omitempty"` // contains filtered or unexported fields }
GenesisClass defines a class and its relevant data.
func (*GenesisClass) Descriptor
deprecated
func (*GenesisClass) Descriptor() ([]byte, []int)
Deprecated: Use GenesisClass.ProtoReflect.Descriptor instead.
func (*GenesisClass) GetId ¶
func (x *GenesisClass) GetId() string
func (*GenesisClass) GetLastMintedNftId ¶
func (x *GenesisClass) GetLastMintedNftId() string
func (*GenesisClass) GetNfts ¶
func (x *GenesisClass) GetNfts() []*GenesisNFT
func (*GenesisClass) GetTraits ¶
func (x *GenesisClass) GetTraits() []*Trait
func (*GenesisClass) ProtoMessage ¶
func (*GenesisClass) ProtoMessage()
func (*GenesisClass) ProtoReflect ¶
func (x *GenesisClass) ProtoReflect() protoreflect.Message
func (*GenesisClass) Reset ¶
func (x *GenesisClass) Reset()
func (*GenesisClass) String ¶
func (x *GenesisClass) String() string
type GenesisNFT ¶
type GenesisNFT struct { // identifier of the nft Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // properties of the nft Properties []*Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"` // owner of the nft Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
GenesisNFT defines an nft and its relevant data.
func (*GenesisNFT) Descriptor
deprecated
func (*GenesisNFT) Descriptor() ([]byte, []int)
Deprecated: Use GenesisNFT.ProtoReflect.Descriptor instead.
func (*GenesisNFT) GetId ¶
func (x *GenesisNFT) GetId() string
func (*GenesisNFT) GetOwner ¶
func (x *GenesisNFT) GetOwner() string
func (*GenesisNFT) GetProperties ¶
func (x *GenesisNFT) GetProperties() []*Property
func (*GenesisNFT) ProtoMessage ¶
func (*GenesisNFT) ProtoMessage()
func (*GenesisNFT) ProtoReflect ¶
func (x *GenesisNFT) ProtoReflect() protoreflect.Message
func (*GenesisNFT) Reset ¶
func (x *GenesisNFT) Reset()
func (*GenesisNFT) String ¶
func (x *GenesisNFT) String() string
type GenesisState ¶
type GenesisState struct { // all the paramaters of the module Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // classes Classes []*GenesisClass `protobuf:"bytes,2,rep,name=classes,proto3" json:"classes,omitempty"` // contains filtered or unexported fields }
GenesisState defines the module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetClasses ¶
func (x *GenesisState) GetClasses() []*GenesisClass
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MsgBurnNFT ¶
type MsgBurnNFT struct { // owner of the nft Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // nft to burn Nft *NFT `protobuf:"bytes,2,opt,name=nft,proto3" json:"nft,omitempty"` // contains filtered or unexported fields }
MsgBurnNFT is the Msg/BurnNFT request type.
func (*MsgBurnNFT) Descriptor
deprecated
func (*MsgBurnNFT) Descriptor() ([]byte, []int)
Deprecated: Use MsgBurnNFT.ProtoReflect.Descriptor instead.
func (*MsgBurnNFT) GetNft ¶
func (x *MsgBurnNFT) GetNft() *NFT
func (*MsgBurnNFT) GetOwner ¶
func (x *MsgBurnNFT) GetOwner() string
func (*MsgBurnNFT) ProtoMessage ¶
func (*MsgBurnNFT) ProtoMessage()
func (*MsgBurnNFT) ProtoReflect ¶
func (x *MsgBurnNFT) ProtoReflect() protoreflect.Message
func (*MsgBurnNFT) Reset ¶
func (x *MsgBurnNFT) Reset()
func (*MsgBurnNFT) String ¶
func (x *MsgBurnNFT) String() string
type MsgBurnNFTResponse ¶
type MsgBurnNFTResponse struct {
// contains filtered or unexported fields
}
MsgBurnNFTResponse is the Msg/BurnNFT response type.
func (*MsgBurnNFTResponse) Descriptor
deprecated
func (*MsgBurnNFTResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBurnNFTResponse.ProtoReflect.Descriptor instead.
func (*MsgBurnNFTResponse) ProtoMessage ¶
func (*MsgBurnNFTResponse) ProtoMessage()
func (*MsgBurnNFTResponse) ProtoReflect ¶
func (x *MsgBurnNFTResponse) ProtoReflect() protoreflect.Message
func (*MsgBurnNFTResponse) Reset ¶
func (x *MsgBurnNFTResponse) Reset()
func (*MsgBurnNFTResponse) String ¶
func (x *MsgBurnNFTResponse) String() string
type MsgClient ¶
type MsgClient interface { // Send defines a method to send an nft from one account to another account. Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error) // NewClass defines a method to create a class. NewClass(ctx context.Context, in *MsgNewClass, opts ...grpc.CallOption) (*MsgNewClassResponse, error) // UpdateClass defines a method to update a class. UpdateClass(ctx context.Context, in *MsgUpdateClass, opts ...grpc.CallOption) (*MsgUpdateClassResponse, error) // MintNFT defines a method to mint an nft. MintNFT(ctx context.Context, in *MsgMintNFT, opts ...grpc.CallOption) (*MsgMintNFTResponse, error) // BurnNFT defines a method to burn an nft. BurnNFT(ctx context.Context, in *MsgBurnNFT, opts ...grpc.CallOption) (*MsgBurnNFTResponse, error) // UpdateNFT defines a method to update an nft. UpdateNFT(ctx context.Context, in *MsgUpdateNFT, opts ...grpc.CallOption) (*MsgUpdateNFTResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgMintNFT ¶
type MsgMintNFT struct { // identifier of a class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // properties of the new nft Properties []*Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"` // recipient of the new nft Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
MsgMintNFT is the Msg/MintNFT request type.
func (*MsgMintNFT) Descriptor
deprecated
func (*MsgMintNFT) Descriptor() ([]byte, []int)
Deprecated: Use MsgMintNFT.ProtoReflect.Descriptor instead.
func (*MsgMintNFT) GetClassId ¶
func (x *MsgMintNFT) GetClassId() string
func (*MsgMintNFT) GetProperties ¶
func (x *MsgMintNFT) GetProperties() []*Property
func (*MsgMintNFT) GetRecipient ¶
func (x *MsgMintNFT) GetRecipient() string
func (*MsgMintNFT) ProtoMessage ¶
func (*MsgMintNFT) ProtoMessage()
func (*MsgMintNFT) ProtoReflect ¶
func (x *MsgMintNFT) ProtoReflect() protoreflect.Message
func (*MsgMintNFT) Reset ¶
func (x *MsgMintNFT) Reset()
func (*MsgMintNFT) String ¶
func (x *MsgMintNFT) String() string
type MsgMintNFTResponse ¶
type MsgMintNFTResponse struct { // identifier of the new nft Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
MsgMintNFTResponse is the Msg/MintNFT response type.
func (*MsgMintNFTResponse) Descriptor
deprecated
func (*MsgMintNFTResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMintNFTResponse.ProtoReflect.Descriptor instead.
func (*MsgMintNFTResponse) GetId ¶
func (x *MsgMintNFTResponse) GetId() string
func (*MsgMintNFTResponse) ProtoMessage ¶
func (*MsgMintNFTResponse) ProtoMessage()
func (*MsgMintNFTResponse) ProtoReflect ¶
func (x *MsgMintNFTResponse) ProtoReflect() protoreflect.Message
func (*MsgMintNFTResponse) Reset ¶
func (x *MsgMintNFTResponse) Reset()
func (*MsgMintNFTResponse) String ¶
func (x *MsgMintNFTResponse) String() string
type MsgNewClass ¶
type MsgNewClass struct { // owner of the new class Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // traits of the new class Traits []*Trait `protobuf:"bytes,2,rep,name=traits,proto3" json:"traits,omitempty"` // app specific metadata of the new class (optional) Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
MsgNewClass is the Msg/NewClass request type.
func (*MsgNewClass) Descriptor
deprecated
func (*MsgNewClass) Descriptor() ([]byte, []int)
Deprecated: Use MsgNewClass.ProtoReflect.Descriptor instead.
func (*MsgNewClass) GetData ¶
func (x *MsgNewClass) GetData() *anypb.Any
func (*MsgNewClass) GetOwner ¶
func (x *MsgNewClass) GetOwner() string
func (*MsgNewClass) GetTraits ¶
func (x *MsgNewClass) GetTraits() []*Trait
func (*MsgNewClass) ProtoMessage ¶
func (*MsgNewClass) ProtoMessage()
func (*MsgNewClass) ProtoReflect ¶
func (x *MsgNewClass) ProtoReflect() protoreflect.Message
func (*MsgNewClass) Reset ¶
func (x *MsgNewClass) Reset()
func (*MsgNewClass) String ¶
func (x *MsgNewClass) String() string
type MsgNewClassResponse ¶
type MsgNewClassResponse struct { // identifier of the new class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // contains filtered or unexported fields }
MsgNewClassResponse is the Msg/NewClass response type.
func (*MsgNewClassResponse) Descriptor
deprecated
func (*MsgNewClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgNewClassResponse.ProtoReflect.Descriptor instead.
func (*MsgNewClassResponse) GetClassId ¶
func (x *MsgNewClassResponse) GetClassId() string
func (*MsgNewClassResponse) ProtoMessage ¶
func (*MsgNewClassResponse) ProtoMessage()
func (*MsgNewClassResponse) ProtoReflect ¶
func (x *MsgNewClassResponse) ProtoReflect() protoreflect.Message
func (*MsgNewClassResponse) Reset ¶
func (x *MsgNewClassResponse) Reset()
func (*MsgNewClassResponse) String ¶
func (x *MsgNewClassResponse) String() string
type MsgSend ¶
type MsgSend struct { // sender of the nft Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // recipient of the nft Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // nft to send Nft *NFT `protobuf:"bytes,3,opt,name=nft,proto3" json:"nft,omitempty"` // contains filtered or unexported fields }
MsgSend is the Msg/Send request type.
func (*MsgSend) Descriptor
deprecated
func (*MsgSend) GetRecipient ¶
func (*MsgSend) ProtoMessage ¶
func (*MsgSend) ProtoMessage()
func (*MsgSend) ProtoReflect ¶
func (x *MsgSend) ProtoReflect() protoreflect.Message
type MsgSendResponse ¶
type MsgSendResponse struct {
// contains filtered or unexported fields
}
MsgSendResponse is the Msg/Send response type.
func (*MsgSendResponse) Descriptor
deprecated
func (*MsgSendResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSendResponse.ProtoReflect.Descriptor instead.
func (*MsgSendResponse) ProtoMessage ¶
func (*MsgSendResponse) ProtoMessage()
func (*MsgSendResponse) ProtoReflect ¶
func (x *MsgSendResponse) ProtoReflect() protoreflect.Message
func (*MsgSendResponse) Reset ¶
func (x *MsgSendResponse) Reset()
func (*MsgSendResponse) String ¶
func (x *MsgSendResponse) String() string
type MsgServer ¶
type MsgServer interface { // Send defines a method to send an nft from one account to another account. Send(context.Context, *MsgSend) (*MsgSendResponse, error) // NewClass defines a method to create a class. NewClass(context.Context, *MsgNewClass) (*MsgNewClassResponse, error) // UpdateClass defines a method to update a class. UpdateClass(context.Context, *MsgUpdateClass) (*MsgUpdateClassResponse, error) // MintNFT defines a method to mint an nft. MintNFT(context.Context, *MsgMintNFT) (*MsgMintNFTResponse, error) // BurnNFT defines a method to burn an nft. BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error) // UpdateNFT defines a method to update an nft. UpdateNFT(context.Context, *MsgUpdateNFT) (*MsgUpdateNFTResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateClass ¶
type MsgUpdateClass struct { // identifier of a class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // app specific metadata of the class (optional) Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
MsgUpdateClass is the Msg/UpdateClass request type.
func (*MsgUpdateClass) Descriptor
deprecated
func (*MsgUpdateClass) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClass.ProtoReflect.Descriptor instead.
func (*MsgUpdateClass) GetClassId ¶
func (x *MsgUpdateClass) GetClassId() string
func (*MsgUpdateClass) GetData ¶
func (x *MsgUpdateClass) GetData() *anypb.Any
func (*MsgUpdateClass) ProtoMessage ¶
func (*MsgUpdateClass) ProtoMessage()
func (*MsgUpdateClass) ProtoReflect ¶
func (x *MsgUpdateClass) ProtoReflect() protoreflect.Message
func (*MsgUpdateClass) Reset ¶
func (x *MsgUpdateClass) Reset()
func (*MsgUpdateClass) String ¶
func (x *MsgUpdateClass) String() string
type MsgUpdateClassResponse ¶
type MsgUpdateClassResponse struct {
// contains filtered or unexported fields
}
MsgUpdateClassResponse is the Msg/UpdateClass response type.
func (*MsgUpdateClassResponse) Descriptor
deprecated
func (*MsgUpdateClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateClassResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateClassResponse) ProtoMessage ¶
func (*MsgUpdateClassResponse) ProtoMessage()
func (*MsgUpdateClassResponse) ProtoReflect ¶
func (x *MsgUpdateClassResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateClassResponse) Reset ¶
func (x *MsgUpdateClassResponse) Reset()
func (*MsgUpdateClassResponse) String ¶
func (x *MsgUpdateClassResponse) String() string
type MsgUpdateNFT ¶
type MsgUpdateNFT struct { // nft to update Nft *NFT `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"` // new properties Properties []*Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
MsgUpdateNFT is the Msg/UpdateNFT request type.
func (*MsgUpdateNFT) Descriptor
deprecated
func (*MsgUpdateNFT) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateNFT.ProtoReflect.Descriptor instead.
func (*MsgUpdateNFT) GetNft ¶
func (x *MsgUpdateNFT) GetNft() *NFT
func (*MsgUpdateNFT) GetProperties ¶
func (x *MsgUpdateNFT) GetProperties() []*Property
func (*MsgUpdateNFT) ProtoMessage ¶
func (*MsgUpdateNFT) ProtoMessage()
func (*MsgUpdateNFT) ProtoReflect ¶
func (x *MsgUpdateNFT) ProtoReflect() protoreflect.Message
func (*MsgUpdateNFT) Reset ¶
func (x *MsgUpdateNFT) Reset()
func (*MsgUpdateNFT) String ¶
func (x *MsgUpdateNFT) String() string
type MsgUpdateNFTResponse ¶
type MsgUpdateNFTResponse struct {
// contains filtered or unexported fields
}
MsgUpdateNFTResponse is the Msg/UpdateNFT response type.
func (*MsgUpdateNFTResponse) Descriptor
deprecated
func (*MsgUpdateNFTResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateNFTResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateNFTResponse) ProtoMessage ¶
func (*MsgUpdateNFTResponse) ProtoMessage()
func (*MsgUpdateNFTResponse) ProtoReflect ¶
func (x *MsgUpdateNFTResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateNFTResponse) Reset ¶
func (x *MsgUpdateNFTResponse) Reset()
func (*MsgUpdateNFTResponse) String ¶
func (x *MsgUpdateNFTResponse) String() string
type NFT ¶
type NFT struct { // identifier of the class for the nft ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // identifier of the nft Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
NFT defines a non-fungible token.
func (*NFT) Descriptor
deprecated
func (*NFT) GetClassId ¶
func (*NFT) ProtoMessage ¶
func (*NFT) ProtoMessage()
func (*NFT) ProtoReflect ¶
func (x *NFT) ProtoReflect() protoreflect.Message
type Params ¶
type Params struct {
// contains filtered or unexported fields
}
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type Property ¶
type Property struct { // identifier of the property Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // fact associated with the property Fact string `protobuf:"bytes,2,opt,name=fact,proto3" json:"fact,omitempty"` // contains filtered or unexported fields }
Property defines a property associated with an nft.
func (*Property) Descriptor
deprecated
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶
func (x *Property) ProtoReflect() protoreflect.Message
type QueryClassRequest ¶
type QueryClassRequest struct { // identifier of a class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // contains filtered or unexported fields }
QueryClassRequest is the request type for the Query/Class RPC method.
func (*QueryClassRequest) Descriptor
deprecated
func (*QueryClassRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassRequest.ProtoReflect.Descriptor instead.
func (*QueryClassRequest) GetClassId ¶
func (x *QueryClassRequest) GetClassId() string
func (*QueryClassRequest) ProtoMessage ¶
func (*QueryClassRequest) ProtoMessage()
func (*QueryClassRequest) ProtoReflect ¶
func (x *QueryClassRequest) ProtoReflect() protoreflect.Message
func (*QueryClassRequest) Reset ¶
func (x *QueryClassRequest) Reset()
func (*QueryClassRequest) String ¶
func (x *QueryClassRequest) String() string
type QueryClassResponse ¶
type QueryClassResponse struct { Class *Class `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` // contains filtered or unexported fields }
QueryClassResponse is the response type for the Query/Class RPC method.
func (*QueryClassResponse) Descriptor
deprecated
func (*QueryClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassResponse.ProtoReflect.Descriptor instead.
func (*QueryClassResponse) GetClass ¶
func (x *QueryClassResponse) GetClass() *Class
func (*QueryClassResponse) ProtoMessage ¶
func (*QueryClassResponse) ProtoMessage()
func (*QueryClassResponse) ProtoReflect ¶
func (x *QueryClassResponse) ProtoReflect() protoreflect.Message
func (*QueryClassResponse) Reset ¶
func (x *QueryClassResponse) Reset()
func (*QueryClassResponse) String ¶
func (x *QueryClassResponse) String() string
type QueryClassesRequest ¶
type QueryClassesRequest struct { // optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryClassesRequest is the request type for the Query/Classes RPC method.
func (*QueryClassesRequest) Descriptor
deprecated
func (*QueryClassesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassesRequest.ProtoReflect.Descriptor instead.
func (*QueryClassesRequest) GetPagination ¶
func (x *QueryClassesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryClassesRequest) ProtoMessage ¶
func (*QueryClassesRequest) ProtoMessage()
func (*QueryClassesRequest) ProtoReflect ¶
func (x *QueryClassesRequest) ProtoReflect() protoreflect.Message
func (*QueryClassesRequest) Reset ¶
func (x *QueryClassesRequest) Reset()
func (*QueryClassesRequest) String ¶
func (x *QueryClassesRequest) String() string
type QueryClassesResponse ¶
type QueryClassesResponse struct { Classes []*Class `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"` // pagination in the response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryClassesResponse is the response type for the Query/Classes RPC method.
func (*QueryClassesResponse) Descriptor
deprecated
func (*QueryClassesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryClassesResponse.ProtoReflect.Descriptor instead.
func (*QueryClassesResponse) GetClasses ¶
func (x *QueryClassesResponse) GetClasses() []*Class
func (*QueryClassesResponse) GetPagination ¶
func (x *QueryClassesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryClassesResponse) ProtoMessage ¶
func (*QueryClassesResponse) ProtoMessage()
func (*QueryClassesResponse) ProtoReflect ¶
func (x *QueryClassesResponse) ProtoReflect() protoreflect.Message
func (*QueryClassesResponse) Reset ¶
func (x *QueryClassesResponse) Reset()
func (*QueryClassesResponse) String ¶
func (x *QueryClassesResponse) String() string
type QueryClient ¶
type QueryClient interface { // Params queries the module params. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Class queries a class. Class(ctx context.Context, in *QueryClassRequest, opts ...grpc.CallOption) (*QueryClassResponse, error) // Classes queries all classes. Classes(ctx context.Context, in *QueryClassesRequest, opts ...grpc.CallOption) (*QueryClassesResponse, error) // Trait queries a trait of a class. Trait(ctx context.Context, in *QueryTraitRequest, opts ...grpc.CallOption) (*QueryTraitResponse, error) // Traits queries all traits of a class. Traits(ctx context.Context, in *QueryTraitsRequest, opts ...grpc.CallOption) (*QueryTraitsResponse, error) // NFT queries an nft. NFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryNFTResponse, error) // NFTs queries all nfts. NFTs(ctx context.Context, in *QueryNFTsRequest, opts ...grpc.CallOption) (*QueryNFTsResponse, error) // Property queries a property of a class. Property(ctx context.Context, in *QueryPropertyRequest, opts ...grpc.CallOption) (*QueryPropertyResponse, error) // Properties queries all properties of a class. Properties(ctx context.Context, in *QueryPropertiesRequest, opts ...grpc.CallOption) (*QueryPropertiesResponse, error) // Owner queries the owner of an nft. Owner(ctx context.Context, in *QueryOwnerRequest, opts ...grpc.CallOption) (*QueryOwnerResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryNFTRequest ¶
type QueryNFTRequest struct { ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
QueryNFTRequest is the request type for the Query/NFT RPC method.
func (*QueryNFTRequest) Descriptor
deprecated
func (*QueryNFTRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryNFTRequest.ProtoReflect.Descriptor instead.
func (*QueryNFTRequest) GetClassId ¶
func (x *QueryNFTRequest) GetClassId() string
func (*QueryNFTRequest) GetId ¶
func (x *QueryNFTRequest) GetId() string
func (*QueryNFTRequest) ProtoMessage ¶
func (*QueryNFTRequest) ProtoMessage()
func (*QueryNFTRequest) ProtoReflect ¶
func (x *QueryNFTRequest) ProtoReflect() protoreflect.Message
func (*QueryNFTRequest) Reset ¶
func (x *QueryNFTRequest) Reset()
func (*QueryNFTRequest) String ¶
func (x *QueryNFTRequest) String() string
type QueryNFTResponse ¶
type QueryNFTResponse struct { Nft *NFT `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"` // contains filtered or unexported fields }
QueryNFTResponse is the response type for the Query/NFT RPC method.
func (*QueryNFTResponse) Descriptor
deprecated
func (*QueryNFTResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryNFTResponse.ProtoReflect.Descriptor instead.
func (*QueryNFTResponse) GetNft ¶
func (x *QueryNFTResponse) GetNft() *NFT
func (*QueryNFTResponse) ProtoMessage ¶
func (*QueryNFTResponse) ProtoMessage()
func (*QueryNFTResponse) ProtoReflect ¶
func (x *QueryNFTResponse) ProtoReflect() protoreflect.Message
func (*QueryNFTResponse) Reset ¶
func (x *QueryNFTResponse) Reset()
func (*QueryNFTResponse) String ¶
func (x *QueryNFTResponse) String() string
type QueryNFTsRequest ¶
type QueryNFTsRequest struct { // identifier of a class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryNFTsRequest is the request type for the Query/NFTs RPC method.
func (*QueryNFTsRequest) Descriptor
deprecated
func (*QueryNFTsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryNFTsRequest.ProtoReflect.Descriptor instead.
func (*QueryNFTsRequest) GetClassId ¶
func (x *QueryNFTsRequest) GetClassId() string
func (*QueryNFTsRequest) GetPagination ¶
func (x *QueryNFTsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryNFTsRequest) ProtoMessage ¶
func (*QueryNFTsRequest) ProtoMessage()
func (*QueryNFTsRequest) ProtoReflect ¶
func (x *QueryNFTsRequest) ProtoReflect() protoreflect.Message
func (*QueryNFTsRequest) Reset ¶
func (x *QueryNFTsRequest) Reset()
func (*QueryNFTsRequest) String ¶
func (x *QueryNFTsRequest) String() string
type QueryNFTsResponse ¶
type QueryNFTsResponse struct { Nfts []*NFT `protobuf:"bytes,1,rep,name=nfts,proto3" json:"nfts,omitempty"` // pagination in the response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryNFTsResponse is the response type for the Query/NFTs RPC method.
func (*QueryNFTsResponse) Descriptor
deprecated
func (*QueryNFTsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryNFTsResponse.ProtoReflect.Descriptor instead.
func (*QueryNFTsResponse) GetNfts ¶
func (x *QueryNFTsResponse) GetNfts() []*NFT
func (*QueryNFTsResponse) GetPagination ¶
func (x *QueryNFTsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryNFTsResponse) ProtoMessage ¶
func (*QueryNFTsResponse) ProtoMessage()
func (*QueryNFTsResponse) ProtoReflect ¶
func (x *QueryNFTsResponse) ProtoReflect() protoreflect.Message
func (*QueryNFTsResponse) Reset ¶
func (x *QueryNFTsResponse) Reset()
func (*QueryNFTsResponse) String ¶
func (x *QueryNFTsResponse) String() string
type QueryOwnerRequest ¶
type QueryOwnerRequest struct { ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
QueryOwnerRequest is the request type for the Query/Owner RPC method.
func (*QueryOwnerRequest) Descriptor
deprecated
func (*QueryOwnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryOwnerRequest.ProtoReflect.Descriptor instead.
func (*QueryOwnerRequest) GetClassId ¶
func (x *QueryOwnerRequest) GetClassId() string
func (*QueryOwnerRequest) GetId ¶
func (x *QueryOwnerRequest) GetId() string
func (*QueryOwnerRequest) ProtoMessage ¶
func (*QueryOwnerRequest) ProtoMessage()
func (*QueryOwnerRequest) ProtoReflect ¶
func (x *QueryOwnerRequest) ProtoReflect() protoreflect.Message
func (*QueryOwnerRequest) Reset ¶
func (x *QueryOwnerRequest) Reset()
func (*QueryOwnerRequest) String ¶
func (x *QueryOwnerRequest) String() string
type QueryOwnerResponse ¶
type QueryOwnerResponse struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
QueryOwnerResponse is the response type for the Query/Owner RPC method.
func (*QueryOwnerResponse) Descriptor
deprecated
func (*QueryOwnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryOwnerResponse.ProtoReflect.Descriptor instead.
func (*QueryOwnerResponse) GetOwner ¶
func (x *QueryOwnerResponse) GetOwner() string
func (*QueryOwnerResponse) ProtoMessage ¶
func (*QueryOwnerResponse) ProtoMessage()
func (*QueryOwnerResponse) ProtoReflect ¶
func (x *QueryOwnerResponse) ProtoReflect() protoreflect.Message
func (*QueryOwnerResponse) Reset ¶
func (x *QueryOwnerResponse) Reset()
func (*QueryOwnerResponse) String ¶
func (x *QueryOwnerResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // parameters of the module Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryPropertiesRequest ¶
type QueryPropertiesRequest struct { // identifier of a class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // identifier of an nft Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryPropertiesRequest is the request type for the Query/Properties RPC method.
func (*QueryPropertiesRequest) Descriptor
deprecated
func (*QueryPropertiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryPropertiesRequest.ProtoReflect.Descriptor instead.
func (*QueryPropertiesRequest) GetClassId ¶
func (x *QueryPropertiesRequest) GetClassId() string
func (*QueryPropertiesRequest) GetId ¶
func (x *QueryPropertiesRequest) GetId() string
func (*QueryPropertiesRequest) GetPagination ¶
func (x *QueryPropertiesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryPropertiesRequest) ProtoMessage ¶
func (*QueryPropertiesRequest) ProtoMessage()
func (*QueryPropertiesRequest) ProtoReflect ¶
func (x *QueryPropertiesRequest) ProtoReflect() protoreflect.Message
func (*QueryPropertiesRequest) Reset ¶
func (x *QueryPropertiesRequest) Reset()
func (*QueryPropertiesRequest) String ¶
func (x *QueryPropertiesRequest) String() string
type QueryPropertiesResponse ¶
type QueryPropertiesResponse struct { Properties []*Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"` // pagination in the response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryPropertiesResponse is the response type for the Query/Properties RPC method.
func (*QueryPropertiesResponse) Descriptor
deprecated
func (*QueryPropertiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryPropertiesResponse.ProtoReflect.Descriptor instead.
func (*QueryPropertiesResponse) GetPagination ¶
func (x *QueryPropertiesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryPropertiesResponse) GetProperties ¶
func (x *QueryPropertiesResponse) GetProperties() []*Property
func (*QueryPropertiesResponse) ProtoMessage ¶
func (*QueryPropertiesResponse) ProtoMessage()
func (*QueryPropertiesResponse) ProtoReflect ¶
func (x *QueryPropertiesResponse) ProtoReflect() protoreflect.Message
func (*QueryPropertiesResponse) Reset ¶
func (x *QueryPropertiesResponse) Reset()
func (*QueryPropertiesResponse) String ¶
func (x *QueryPropertiesResponse) String() string
type QueryPropertyRequest ¶
type QueryPropertyRequest struct { // identifier of a class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // identifier of an nft Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // identifier of a property PropertyId string `protobuf:"bytes,3,opt,name=property_id,json=propertyId,proto3" json:"property_id,omitempty"` // contains filtered or unexported fields }
QueryPropertyRequest is the request type for the Query/Property RPC method.
func (*QueryPropertyRequest) Descriptor
deprecated
func (*QueryPropertyRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryPropertyRequest.ProtoReflect.Descriptor instead.
func (*QueryPropertyRequest) GetClassId ¶
func (x *QueryPropertyRequest) GetClassId() string
func (*QueryPropertyRequest) GetId ¶
func (x *QueryPropertyRequest) GetId() string
func (*QueryPropertyRequest) GetPropertyId ¶
func (x *QueryPropertyRequest) GetPropertyId() string
func (*QueryPropertyRequest) ProtoMessage ¶
func (*QueryPropertyRequest) ProtoMessage()
func (*QueryPropertyRequest) ProtoReflect ¶
func (x *QueryPropertyRequest) ProtoReflect() protoreflect.Message
func (*QueryPropertyRequest) Reset ¶
func (x *QueryPropertyRequest) Reset()
func (*QueryPropertyRequest) String ¶
func (x *QueryPropertyRequest) String() string
type QueryPropertyResponse ¶
type QueryPropertyResponse struct { Property *Property `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` // contains filtered or unexported fields }
QueryPropertyResponse is the response type for the Query/Property RPC method.
func (*QueryPropertyResponse) Descriptor
deprecated
func (*QueryPropertyResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryPropertyResponse.ProtoReflect.Descriptor instead.
func (*QueryPropertyResponse) GetProperty ¶
func (x *QueryPropertyResponse) GetProperty() *Property
func (*QueryPropertyResponse) ProtoMessage ¶
func (*QueryPropertyResponse) ProtoMessage()
func (*QueryPropertyResponse) ProtoReflect ¶
func (x *QueryPropertyResponse) ProtoReflect() protoreflect.Message
func (*QueryPropertyResponse) Reset ¶
func (x *QueryPropertyResponse) Reset()
func (*QueryPropertyResponse) String ¶
func (x *QueryPropertyResponse) String() string
type QueryServer ¶
type QueryServer interface { // Params queries the module params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Class queries a class. Class(context.Context, *QueryClassRequest) (*QueryClassResponse, error) // Classes queries all classes. Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error) // Trait queries a trait of a class. Trait(context.Context, *QueryTraitRequest) (*QueryTraitResponse, error) // Traits queries all traits of a class. Traits(context.Context, *QueryTraitsRequest) (*QueryTraitsResponse, error) // NFT queries an nft. NFT(context.Context, *QueryNFTRequest) (*QueryNFTResponse, error) // NFTs queries all nfts. NFTs(context.Context, *QueryNFTsRequest) (*QueryNFTsResponse, error) // Property queries a property of a class. Property(context.Context, *QueryPropertyRequest) (*QueryPropertyResponse, error) // Properties queries all properties of a class. Properties(context.Context, *QueryPropertiesRequest) (*QueryPropertiesResponse, error) // Owner queries the owner of an nft. Owner(context.Context, *QueryOwnerRequest) (*QueryOwnerResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QueryTraitRequest ¶
type QueryTraitRequest struct { // identifier of a class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // identifier of a trait TraitId string `protobuf:"bytes,2,opt,name=trait_id,json=traitId,proto3" json:"trait_id,omitempty"` // contains filtered or unexported fields }
QueryTraitRequest is the request type for the Query/Trait RPC method.
func (*QueryTraitRequest) Descriptor
deprecated
func (*QueryTraitRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTraitRequest.ProtoReflect.Descriptor instead.
func (*QueryTraitRequest) GetClassId ¶
func (x *QueryTraitRequest) GetClassId() string
func (*QueryTraitRequest) GetTraitId ¶
func (x *QueryTraitRequest) GetTraitId() string
func (*QueryTraitRequest) ProtoMessage ¶
func (*QueryTraitRequest) ProtoMessage()
func (*QueryTraitRequest) ProtoReflect ¶
func (x *QueryTraitRequest) ProtoReflect() protoreflect.Message
func (*QueryTraitRequest) Reset ¶
func (x *QueryTraitRequest) Reset()
func (*QueryTraitRequest) String ¶
func (x *QueryTraitRequest) String() string
type QueryTraitResponse ¶
type QueryTraitResponse struct { Trait *Trait `protobuf:"bytes,1,opt,name=trait,proto3" json:"trait,omitempty"` // contains filtered or unexported fields }
QueryTraitResponse is the response type for the Query/Trait RPC method.
func (*QueryTraitResponse) Descriptor
deprecated
func (*QueryTraitResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTraitResponse.ProtoReflect.Descriptor instead.
func (*QueryTraitResponse) GetTrait ¶
func (x *QueryTraitResponse) GetTrait() *Trait
func (*QueryTraitResponse) ProtoMessage ¶
func (*QueryTraitResponse) ProtoMessage()
func (*QueryTraitResponse) ProtoReflect ¶
func (x *QueryTraitResponse) ProtoReflect() protoreflect.Message
func (*QueryTraitResponse) Reset ¶
func (x *QueryTraitResponse) Reset()
func (*QueryTraitResponse) String ¶
func (x *QueryTraitResponse) String() string
type QueryTraitsRequest ¶
type QueryTraitsRequest struct { // identifier of a class ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` // optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryTraitsRequest is the request type for the Query/Traits RPC method.
func (*QueryTraitsRequest) Descriptor
deprecated
func (*QueryTraitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTraitsRequest.ProtoReflect.Descriptor instead.
func (*QueryTraitsRequest) GetClassId ¶
func (x *QueryTraitsRequest) GetClassId() string
func (*QueryTraitsRequest) GetPagination ¶
func (x *QueryTraitsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryTraitsRequest) ProtoMessage ¶
func (*QueryTraitsRequest) ProtoMessage()
func (*QueryTraitsRequest) ProtoReflect ¶
func (x *QueryTraitsRequest) ProtoReflect() protoreflect.Message
func (*QueryTraitsRequest) Reset ¶
func (x *QueryTraitsRequest) Reset()
func (*QueryTraitsRequest) String ¶
func (x *QueryTraitsRequest) String() string
type QueryTraitsResponse ¶
type QueryTraitsResponse struct { Traits []*Trait `protobuf:"bytes,1,rep,name=traits,proto3" json:"traits,omitempty"` // pagination in the response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryTraitsResponse is the response type for the Query/Traits RPC method.
func (*QueryTraitsResponse) Descriptor
deprecated
func (*QueryTraitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTraitsResponse.ProtoReflect.Descriptor instead.
func (*QueryTraitsResponse) GetPagination ¶
func (x *QueryTraitsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryTraitsResponse) GetTraits ¶
func (x *QueryTraitsResponse) GetTraits() []*Trait
func (*QueryTraitsResponse) ProtoMessage ¶
func (*QueryTraitsResponse) ProtoMessage()
func (*QueryTraitsResponse) ProtoReflect ¶
func (x *QueryTraitsResponse) ProtoReflect() protoreflect.Message
func (*QueryTraitsResponse) Reset ¶
func (x *QueryTraitsResponse) Reset()
func (*QueryTraitsResponse) String ¶
func (x *QueryTraitsResponse) String() string
type Trait ¶
type Trait struct { // indentifier of the trait Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // flag to tell whether a property value of the trait can be mutated or not Mutable_ bool `protobuf:"varint,2,opt,name=mutable,proto3" json:"mutable,omitempty"` // contains filtered or unexported fields }
Trait defines a trait associated with a classification of nft.
func (*Trait) Descriptor
deprecated
func (*Trait) GetMutable_ ¶
func (*Trait) ProtoMessage ¶
func (*Trait) ProtoMessage()
func (*Trait) ProtoReflect ¶
func (x *Trait) ProtoReflect() protoreflect.Message
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) BurnNFT ¶
func (UnimplementedMsgServer) BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error)
func (UnimplementedMsgServer) MintNFT ¶
func (UnimplementedMsgServer) MintNFT(context.Context, *MsgMintNFT) (*MsgMintNFTResponse, error)
func (UnimplementedMsgServer) NewClass ¶
func (UnimplementedMsgServer) NewClass(context.Context, *MsgNewClass) (*MsgNewClassResponse, error)
func (UnimplementedMsgServer) Send ¶
func (UnimplementedMsgServer) Send(context.Context, *MsgSend) (*MsgSendResponse, error)
func (UnimplementedMsgServer) UpdateClass ¶
func (UnimplementedMsgServer) UpdateClass(context.Context, *MsgUpdateClass) (*MsgUpdateClassResponse, error)
func (UnimplementedMsgServer) UpdateNFT ¶
func (UnimplementedMsgServer) UpdateNFT(context.Context, *MsgUpdateNFT) (*MsgUpdateNFTResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Class ¶
func (UnimplementedQueryServer) Class(context.Context, *QueryClassRequest) (*QueryClassResponse, error)
func (UnimplementedQueryServer) Classes ¶
func (UnimplementedQueryServer) Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error)
func (UnimplementedQueryServer) NFT ¶
func (UnimplementedQueryServer) NFT(context.Context, *QueryNFTRequest) (*QueryNFTResponse, error)
func (UnimplementedQueryServer) NFTs ¶
func (UnimplementedQueryServer) NFTs(context.Context, *QueryNFTsRequest) (*QueryNFTsResponse, error)
func (UnimplementedQueryServer) Owner ¶
func (UnimplementedQueryServer) Owner(context.Context, *QueryOwnerRequest) (*QueryOwnerResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) Properties ¶
func (UnimplementedQueryServer) Properties(context.Context, *QueryPropertiesRequest) (*QueryPropertiesResponse, error)
func (UnimplementedQueryServer) Property ¶
func (UnimplementedQueryServer) Property(context.Context, *QueryPropertyRequest) (*QueryPropertyResponse, error)
func (UnimplementedQueryServer) Trait ¶
func (UnimplementedQueryServer) Trait(context.Context, *QueryTraitRequest) (*QueryTraitResponse, error)
func (UnimplementedQueryServer) Traits ¶
func (UnimplementedQueryServer) Traits(context.Context, *QueryTraitsRequest) (*QueryTraitsResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.