nftv1beta1

package
v0.8.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 17 Imported by: 2

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

Constants

View Source
const (
	Query_Balance_FullMethodName              = "/cosmos.nft.v1beta1.Query/Balance"
	Query_BalanceByQueryString_FullMethodName = "/cosmos.nft.v1beta1.Query/BalanceByQueryString"
	Query_Owner_FullMethodName                = "/cosmos.nft.v1beta1.Query/Owner"
	Query_OwnerByQueryString_FullMethodName   = "/cosmos.nft.v1beta1.Query/OwnerByQueryString"
	Query_Supply_FullMethodName               = "/cosmos.nft.v1beta1.Query/Supply"
	Query_SupplyByQueryString_FullMethodName  = "/cosmos.nft.v1beta1.Query/SupplyByQueryString"
	Query_NFTs_FullMethodName                 = "/cosmos.nft.v1beta1.Query/NFTs"
	Query_NFT_FullMethodName                  = "/cosmos.nft.v1beta1.Query/NFT"
	Query_NFTByQueryString_FullMethodName     = "/cosmos.nft.v1beta1.Query/NFTByQueryString"
	Query_Class_FullMethodName                = "/cosmos.nft.v1beta1.Query/Class"
	Query_ClassByQueryString_FullMethodName   = "/cosmos.nft.v1beta1.Query/ClassByQueryString"
	Query_Classes_FullMethodName              = "/cosmos.nft.v1beta1.Query/Classes"
)
View Source
const (
	Msg_Send_FullMethodName = "/cosmos.nft.v1beta1.Msg/Send"
)

Variables

View Source
var File_cosmos_nft_v1beta1_event_proto protoreflect.FileDescriptor
View Source
var File_cosmos_nft_v1beta1_genesis_proto protoreflect.FileDescriptor
View Source
var File_cosmos_nft_v1beta1_nft_proto protoreflect.FileDescriptor
View Source
var File_cosmos_nft_v1beta1_query_proto protoreflect.FileDescriptor
View Source
var File_cosmos_nft_v1beta1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.nft.v1beta1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Send",
			Handler:    _Msg_Send_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/nft/v1beta1/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)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.nft.v1beta1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Balance",
			Handler:    _Query_Balance_Handler,
		},
		{
			MethodName: "BalanceByQueryString",
			Handler:    _Query_BalanceByQueryString_Handler,
		},
		{
			MethodName: "Owner",
			Handler:    _Query_Owner_Handler,
		},
		{
			MethodName: "OwnerByQueryString",
			Handler:    _Query_OwnerByQueryString_Handler,
		},
		{
			MethodName: "Supply",
			Handler:    _Query_Supply_Handler,
		},
		{
			MethodName: "SupplyByQueryString",
			Handler:    _Query_SupplyByQueryString_Handler,
		},
		{
			MethodName: "NFTs",
			Handler:    _Query_NFTs_Handler,
		},
		{
			MethodName: "NFT",
			Handler:    _Query_NFT_Handler,
		},
		{
			MethodName: "NFTByQueryString",
			Handler:    _Query_NFTByQueryString_Handler,
		},
		{
			MethodName: "Class",
			Handler:    _Query_Class_Handler,
		},
		{
			MethodName: "ClassByQueryString",
			Handler:    _Query_ClassByQueryString_Handler,
		},
		{
			MethodName: "Classes",
			Handler:    _Query_Classes_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/nft/v1beta1/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 {

	// id defines the unique identifier of the NFT classification, similar to the contract address of ERC721
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name defines the human-readable name of the NFT classification. Optional
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// symbol is an abbreviated name for nft classification. Optional
	Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// description is a brief description of nft classification. Optional
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional
	Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
	// uri_hash is a hash of the document pointed by uri. Optional
	UriHash string `protobuf:"bytes,6,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	// data is the app specific metadata of the NFT class. Optional
	Data *anypb.Any `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Class defines the class of the nft type.

func (*Class) Descriptor deprecated

func (*Class) Descriptor() ([]byte, []int)

Deprecated: Use Class.ProtoReflect.Descriptor instead.

func (*Class) GetData

func (x *Class) GetData() *anypb.Any

func (*Class) GetDescription

func (x *Class) GetDescription() string

func (*Class) GetId

func (x *Class) GetId() string

func (*Class) GetName

func (x *Class) GetName() string

func (*Class) GetSymbol

func (x *Class) GetSymbol() string

func (*Class) GetUri

func (x *Class) GetUri() string

func (*Class) GetUriHash

func (x *Class) GetUriHash() string

func (*Class) ProtoMessage

func (*Class) ProtoMessage()

func (*Class) ProtoReflect

func (x *Class) ProtoReflect() protoreflect.Message

func (*Class) Reset

func (x *Class) Reset()

func (*Class) String

func (x *Class) String() string

type Entry

type Entry struct {

	// owner is the owner address of the following nft
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// nfts is a group of nfts of the same owner
	Nfts []*NFT `protobuf:"bytes,2,rep,name=nfts,proto3" json:"nfts,omitempty"`
	// contains filtered or unexported fields
}

Entry Defines all nft owned by a person

func (*Entry) Descriptor deprecated

func (*Entry) Descriptor() ([]byte, []int)

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetNfts

func (x *Entry) GetNfts() []*NFT

func (*Entry) GetOwner

func (x *Entry) GetOwner() string

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

func (x *Entry) ProtoReflect() protoreflect.Message

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type EventBurn

type EventBurn struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id is a unique identifier of the nft
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// owner is the owner address of the nft
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

EventBurn is emitted on Burn

func (*EventBurn) Descriptor deprecated

func (*EventBurn) Descriptor() ([]byte, []int)

Deprecated: Use EventBurn.ProtoReflect.Descriptor instead.

func (*EventBurn) GetClassId

func (x *EventBurn) GetClassId() string

func (*EventBurn) GetId

func (x *EventBurn) GetId() string

func (*EventBurn) GetOwner

func (x *EventBurn) GetOwner() string

func (*EventBurn) ProtoMessage

func (*EventBurn) ProtoMessage()

func (*EventBurn) ProtoReflect

func (x *EventBurn) ProtoReflect() protoreflect.Message

func (*EventBurn) Reset

func (x *EventBurn) Reset()

func (*EventBurn) String

func (x *EventBurn) String() string

type EventMint

type EventMint struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id is a unique identifier of the nft
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// owner is the owner address of the nft
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

EventMint is emitted on Mint

func (*EventMint) Descriptor deprecated

func (*EventMint) Descriptor() ([]byte, []int)

Deprecated: Use EventMint.ProtoReflect.Descriptor instead.

func (*EventMint) GetClassId

func (x *EventMint) GetClassId() string

func (*EventMint) GetId

func (x *EventMint) GetId() string

func (*EventMint) GetOwner

func (x *EventMint) GetOwner() string

func (*EventMint) ProtoMessage

func (*EventMint) ProtoMessage()

func (*EventMint) ProtoReflect

func (x *EventMint) ProtoReflect() protoreflect.Message

func (*EventMint) Reset

func (x *EventMint) Reset()

func (*EventMint) String

func (x *EventMint) String() string

type EventSend

type EventSend struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id is a unique identifier of the nft
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// sender is the address of the owner of nft
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// receiver is the receiver address of nft
	Receiver string `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// contains filtered or unexported fields
}

EventSend is emitted on Msg/Send

func (*EventSend) Descriptor deprecated

func (*EventSend) Descriptor() ([]byte, []int)

Deprecated: Use EventSend.ProtoReflect.Descriptor instead.

func (*EventSend) GetClassId

func (x *EventSend) GetClassId() string

func (*EventSend) GetId

func (x *EventSend) GetId() string

func (*EventSend) GetReceiver

func (x *EventSend) GetReceiver() string

func (*EventSend) GetSender

func (x *EventSend) GetSender() string

func (*EventSend) ProtoMessage

func (*EventSend) ProtoMessage()

func (*EventSend) ProtoReflect

func (x *EventSend) ProtoReflect() protoreflect.Message

func (*EventSend) Reset

func (x *EventSend) Reset()

func (*EventSend) String

func (x *EventSend) String() string

type GenesisState

type GenesisState struct {

	// class defines the class of the nft type.
	Classes []*Class `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"`
	// entry defines all nft owned by a person.
	Entries []*Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the nft 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() []*Class

func (*GenesisState) GetEntries

func (x *GenesisState) GetEntries() []*Entry

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 MsgClient

type MsgClient interface {
	// Send defines a method to send a nft from one account to another account.
	Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, 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.

Msg defines the nft Msg service.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgSend

type MsgSend struct {

	// class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id defines the unique identification of nft
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// sender is the address of the owner of nft
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// receiver is the receiver address of nft
	Receiver string `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// contains filtered or unexported fields
}

MsgSend represents a message to send a nft from one account to another account.

func (*MsgSend) Descriptor deprecated

func (*MsgSend) Descriptor() ([]byte, []int)

Deprecated: Use MsgSend.ProtoReflect.Descriptor instead.

func (*MsgSend) GetClassId

func (x *MsgSend) GetClassId() string

func (*MsgSend) GetId

func (x *MsgSend) GetId() string

func (*MsgSend) GetReceiver

func (x *MsgSend) GetReceiver() string

func (*MsgSend) GetSender

func (x *MsgSend) GetSender() string

func (*MsgSend) ProtoMessage

func (*MsgSend) ProtoMessage()

func (*MsgSend) ProtoReflect

func (x *MsgSend) ProtoReflect() protoreflect.Message

func (*MsgSend) Reset

func (x *MsgSend) Reset()

func (*MsgSend) String

func (x *MsgSend) String() string

type MsgSendResponse

type MsgSendResponse struct {
	// contains filtered or unexported fields
}

MsgSendResponse defines 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 a nft from one account to another account.
	Send(context.Context, *MsgSend) (*MsgSendResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.

Msg defines the nft Msg service.

type NFT

type NFT struct {

	// class_id associated with the NFT, similar to the contract address of ERC721
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id is a unique identifier of the NFT
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// uri for the NFT metadata stored off chain
	Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
	// uri_hash is a hash of the document pointed by uri
	UriHash string `protobuf:"bytes,4,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	// data is an app specific data of the NFT. Optional
	Data *anypb.Any `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

NFT defines the NFT.

func (*NFT) Descriptor deprecated

func (*NFT) Descriptor() ([]byte, []int)

Deprecated: Use NFT.ProtoReflect.Descriptor instead.

func (*NFT) GetClassId

func (x *NFT) GetClassId() string

func (*NFT) GetData

func (x *NFT) GetData() *anypb.Any

func (*NFT) GetId

func (x *NFT) GetId() string

func (*NFT) GetUri

func (x *NFT) GetUri() string

func (*NFT) GetUriHash

func (x *NFT) GetUriHash() string

func (*NFT) ProtoMessage

func (*NFT) ProtoMessage()

func (*NFT) ProtoReflect

func (x *NFT) ProtoReflect() protoreflect.Message

func (*NFT) Reset

func (x *NFT) Reset()

func (*NFT) String

func (x *NFT) String() string

type QueryBalanceByQueryStringRequest added in v0.8.0

type QueryBalanceByQueryStringRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// owner is the owner address of the nft
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

QueryBalanceByQueryStringRequest is the request type for the Query/Balance RPC method

func (*QueryBalanceByQueryStringRequest) Descriptor deprecated added in v0.8.0

func (*QueryBalanceByQueryStringRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryBalanceByQueryStringRequest.ProtoReflect.Descriptor instead.

func (*QueryBalanceByQueryStringRequest) GetClassId added in v0.8.0

func (x *QueryBalanceByQueryStringRequest) GetClassId() string

func (*QueryBalanceByQueryStringRequest) GetOwner added in v0.8.0

func (*QueryBalanceByQueryStringRequest) ProtoMessage added in v0.8.0

func (*QueryBalanceByQueryStringRequest) ProtoMessage()

func (*QueryBalanceByQueryStringRequest) ProtoReflect added in v0.8.0

func (*QueryBalanceByQueryStringRequest) Reset added in v0.8.0

func (*QueryBalanceByQueryStringRequest) String added in v0.8.0

type QueryBalanceByQueryStringResponse added in v0.8.0

type QueryBalanceByQueryStringResponse struct {

	// amount is the number of all NFTs of a given class owned by the owner
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

QueryBalanceByQueryStringResponse is the response type for the Query/Balance RPC method

func (*QueryBalanceByQueryStringResponse) Descriptor deprecated added in v0.8.0

func (*QueryBalanceByQueryStringResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBalanceByQueryStringResponse.ProtoReflect.Descriptor instead.

func (*QueryBalanceByQueryStringResponse) GetAmount added in v0.8.0

func (*QueryBalanceByQueryStringResponse) ProtoMessage added in v0.8.0

func (*QueryBalanceByQueryStringResponse) ProtoMessage()

func (*QueryBalanceByQueryStringResponse) ProtoReflect added in v0.8.0

func (*QueryBalanceByQueryStringResponse) Reset added in v0.8.0

func (*QueryBalanceByQueryStringResponse) String added in v0.8.0

type QueryBalanceRequest

type QueryBalanceRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// owner is the owner address of the nft
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

QueryBalanceRequest is the request type for the Query/Balance RPC method

func (*QueryBalanceRequest) Descriptor deprecated

func (*QueryBalanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryBalanceRequest.ProtoReflect.Descriptor instead.

func (*QueryBalanceRequest) GetClassId

func (x *QueryBalanceRequest) GetClassId() string

func (*QueryBalanceRequest) GetOwner

func (x *QueryBalanceRequest) GetOwner() string

func (*QueryBalanceRequest) ProtoMessage

func (*QueryBalanceRequest) ProtoMessage()

func (*QueryBalanceRequest) ProtoReflect

func (x *QueryBalanceRequest) ProtoReflect() protoreflect.Message

func (*QueryBalanceRequest) Reset

func (x *QueryBalanceRequest) Reset()

func (*QueryBalanceRequest) String

func (x *QueryBalanceRequest) String() string

type QueryBalanceResponse

type QueryBalanceResponse struct {

	// amount is the number of all NFTs of a given class owned by the owner
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

QueryBalanceResponse is the response type for the Query/Balance RPC method

func (*QueryBalanceResponse) Descriptor deprecated

func (*QueryBalanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBalanceResponse.ProtoReflect.Descriptor instead.

func (*QueryBalanceResponse) GetAmount

func (x *QueryBalanceResponse) GetAmount() uint64

func (*QueryBalanceResponse) ProtoMessage

func (*QueryBalanceResponse) ProtoMessage()

func (*QueryBalanceResponse) ProtoReflect

func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message

func (*QueryBalanceResponse) Reset

func (x *QueryBalanceResponse) Reset()

func (*QueryBalanceResponse) String

func (x *QueryBalanceResponse) String() string

type QueryClassByQueryStringRequest added in v0.8.0

type QueryClassByQueryStringRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// contains filtered or unexported fields
}

QueryClassByQueryStringRequest is the request type for the Query/Class RPC method

func (*QueryClassByQueryStringRequest) Descriptor deprecated added in v0.8.0

func (*QueryClassByQueryStringRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryClassByQueryStringRequest.ProtoReflect.Descriptor instead.

func (*QueryClassByQueryStringRequest) GetClassId added in v0.8.0

func (x *QueryClassByQueryStringRequest) GetClassId() string

func (*QueryClassByQueryStringRequest) ProtoMessage added in v0.8.0

func (*QueryClassByQueryStringRequest) ProtoMessage()

func (*QueryClassByQueryStringRequest) ProtoReflect added in v0.8.0

func (*QueryClassByQueryStringRequest) Reset added in v0.8.0

func (x *QueryClassByQueryStringRequest) Reset()

func (*QueryClassByQueryStringRequest) String added in v0.8.0

type QueryClassByQueryStringResponse added in v0.8.0

type QueryClassByQueryStringResponse struct {

	// class defines the class of the nft type.
	Class *Class `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"`
	// contains filtered or unexported fields
}

QueryClassByQueryStringResponse is the response type for the Query/Class RPC method

func (*QueryClassByQueryStringResponse) Descriptor deprecated added in v0.8.0

func (*QueryClassByQueryStringResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryClassByQueryStringResponse.ProtoReflect.Descriptor instead.

func (*QueryClassByQueryStringResponse) GetClass added in v0.8.0

func (x *QueryClassByQueryStringResponse) GetClass() *Class

func (*QueryClassByQueryStringResponse) ProtoMessage added in v0.8.0

func (*QueryClassByQueryStringResponse) ProtoMessage()

func (*QueryClassByQueryStringResponse) ProtoReflect added in v0.8.0

func (*QueryClassByQueryStringResponse) Reset added in v0.8.0

func (*QueryClassByQueryStringResponse) String added in v0.8.0

type QueryClassRequest

type QueryClassRequest struct {

	// class_id associated with the nft
	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 defines the class of the nft type.
	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 {

	// pagination defines an 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 {

	// class defines the class of the nft type.
	Classes []*Class `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"`
	// pagination defines the 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 {
	// Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
	Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
	// BalanceByQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
	BalanceByQueryString(ctx context.Context, in *QueryBalanceByQueryStringRequest, opts ...grpc.CallOption) (*QueryBalanceByQueryStringResponse, error)
	// Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
	Owner(ctx context.Context, in *QueryOwnerRequest, opts ...grpc.CallOption) (*QueryOwnerResponse, error)
	// OwnerByQueryString queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
	OwnerByQueryString(ctx context.Context, in *QueryOwnerByQueryStringRequest, opts ...grpc.CallOption) (*QueryOwnerByQueryStringResponse, error)
	// Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.
	Supply(ctx context.Context, in *QuerySupplyRequest, opts ...grpc.CallOption) (*QuerySupplyResponse, error)
	// SupplyByQueryString queries the number of NFTs from the given class, same as totalSupply of ERC721.
	SupplyByQueryString(ctx context.Context, in *QuerySupplyByQueryStringRequest, opts ...grpc.CallOption) (*QuerySupplyByQueryStringResponse, error)
	// NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in
	// ERC721Enumerable
	NFTs(ctx context.Context, in *QueryNFTsRequest, opts ...grpc.CallOption) (*QueryNFTsResponse, error)
	// NFT queries an NFT based on its class and id.
	NFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryNFTResponse, error)
	// NFTByQueryString queries an NFT based on its class and id.
	NFTByQueryString(ctx context.Context, in *QueryNFTByQueryStringRequest, opts ...grpc.CallOption) (*QueryNFTByQueryStringResponse, error)
	// Class queries an NFT class based on its id
	Class(ctx context.Context, in *QueryClassRequest, opts ...grpc.CallOption) (*QueryClassResponse, error)
	// Class queries an NFT class based on its id
	ClassByQueryString(ctx context.Context, in *QueryClassByQueryStringRequest, opts ...grpc.CallOption) (*QueryClassByQueryStringResponse, error)
	// Classes queries all NFT classes
	Classes(ctx context.Context, in *QueryClassesRequest, opts ...grpc.CallOption) (*QueryClassesResponse, 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.

Query defines the gRPC querier service.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryNFTByQueryStringRequest added in v0.8.0

type QueryNFTByQueryStringRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id is a unique identifier of the NFT
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

QueryNFTByQueryStringRequest is the request type for the Query/NFT RPC method

func (*QueryNFTByQueryStringRequest) Descriptor deprecated added in v0.8.0

func (*QueryNFTByQueryStringRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryNFTByQueryStringRequest.ProtoReflect.Descriptor instead.

func (*QueryNFTByQueryStringRequest) GetClassId added in v0.8.0

func (x *QueryNFTByQueryStringRequest) GetClassId() string

func (*QueryNFTByQueryStringRequest) GetId added in v0.8.0

func (*QueryNFTByQueryStringRequest) ProtoMessage added in v0.8.0

func (*QueryNFTByQueryStringRequest) ProtoMessage()

func (*QueryNFTByQueryStringRequest) ProtoReflect added in v0.8.0

func (*QueryNFTByQueryStringRequest) Reset added in v0.8.0

func (x *QueryNFTByQueryStringRequest) Reset()

func (*QueryNFTByQueryStringRequest) String added in v0.8.0

type QueryNFTByQueryStringResponse added in v0.8.0

type QueryNFTByQueryStringResponse struct {

	// owner is the owner address of the nft
	Nft *NFT `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"`
	// contains filtered or unexported fields
}

QueryNFTByQueryStringResponse is the response type for the Query/NFT RPC method

func (*QueryNFTByQueryStringResponse) Descriptor deprecated added in v0.8.0

func (*QueryNFTByQueryStringResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryNFTByQueryStringResponse.ProtoReflect.Descriptor instead.

func (*QueryNFTByQueryStringResponse) GetNft added in v0.8.0

func (x *QueryNFTByQueryStringResponse) GetNft() *NFT

func (*QueryNFTByQueryStringResponse) ProtoMessage added in v0.8.0

func (*QueryNFTByQueryStringResponse) ProtoMessage()

func (*QueryNFTByQueryStringResponse) ProtoReflect added in v0.8.0

func (*QueryNFTByQueryStringResponse) Reset added in v0.8.0

func (x *QueryNFTByQueryStringResponse) Reset()

func (*QueryNFTByQueryStringResponse) String added in v0.8.0

type QueryNFTRequest

type QueryNFTRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id is a unique identifier of the NFT
	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 {

	// owner is the owner address of the nft
	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 {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// owner is the owner address of the nft
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,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) GetOwner

func (x *QueryNFTsRequest) GetOwner() 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 {

	// NFT defines the NFT
	Nfts []*NFT `protobuf:"bytes,1,rep,name=nfts,proto3" json:"nfts,omitempty"`
	// pagination defines the 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 methods

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 QueryOwnerByQueryStringRequest added in v0.8.0

type QueryOwnerByQueryStringRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id is a unique identifier of the NFT
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

QueryOwnerByQueryStringRequest is the request type for the Query/Owner RPC method

func (*QueryOwnerByQueryStringRequest) Descriptor deprecated added in v0.8.0

func (*QueryOwnerByQueryStringRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryOwnerByQueryStringRequest.ProtoReflect.Descriptor instead.

func (*QueryOwnerByQueryStringRequest) GetClassId added in v0.8.0

func (x *QueryOwnerByQueryStringRequest) GetClassId() string

func (*QueryOwnerByQueryStringRequest) GetId added in v0.8.0

func (*QueryOwnerByQueryStringRequest) ProtoMessage added in v0.8.0

func (*QueryOwnerByQueryStringRequest) ProtoMessage()

func (*QueryOwnerByQueryStringRequest) ProtoReflect added in v0.8.0

func (*QueryOwnerByQueryStringRequest) Reset added in v0.8.0

func (x *QueryOwnerByQueryStringRequest) Reset()

func (*QueryOwnerByQueryStringRequest) String added in v0.8.0

type QueryOwnerByQueryStringResponse added in v0.8.0

type QueryOwnerByQueryStringResponse struct {

	// owner is the owner address of the nft
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

QueryOwnerByQueryStringResponse is the response type for the Query/Owner RPC method

func (*QueryOwnerByQueryStringResponse) Descriptor deprecated added in v0.8.0

func (*QueryOwnerByQueryStringResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryOwnerByQueryStringResponse.ProtoReflect.Descriptor instead.

func (*QueryOwnerByQueryStringResponse) GetOwner added in v0.8.0

func (*QueryOwnerByQueryStringResponse) ProtoMessage added in v0.8.0

func (*QueryOwnerByQueryStringResponse) ProtoMessage()

func (*QueryOwnerByQueryStringResponse) ProtoReflect added in v0.8.0

func (*QueryOwnerByQueryStringResponse) Reset added in v0.8.0

func (*QueryOwnerByQueryStringResponse) String added in v0.8.0

type QueryOwnerRequest

type QueryOwnerRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id is a unique identifier of the NFT
	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 is the owner address of the nft
	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 QueryServer

type QueryServer interface {
	// Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
	Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
	// BalanceByQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
	BalanceByQueryString(context.Context, *QueryBalanceByQueryStringRequest) (*QueryBalanceByQueryStringResponse, error)
	// Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
	Owner(context.Context, *QueryOwnerRequest) (*QueryOwnerResponse, error)
	// OwnerByQueryString queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
	OwnerByQueryString(context.Context, *QueryOwnerByQueryStringRequest) (*QueryOwnerByQueryStringResponse, error)
	// Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.
	Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
	// SupplyByQueryString queries the number of NFTs from the given class, same as totalSupply of ERC721.
	SupplyByQueryString(context.Context, *QuerySupplyByQueryStringRequest) (*QuerySupplyByQueryStringResponse, error)
	// NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in
	// ERC721Enumerable
	NFTs(context.Context, *QueryNFTsRequest) (*QueryNFTsResponse, error)
	// NFT queries an NFT based on its class and id.
	NFT(context.Context, *QueryNFTRequest) (*QueryNFTResponse, error)
	// NFTByQueryString queries an NFT based on its class and id.
	NFTByQueryString(context.Context, *QueryNFTByQueryStringRequest) (*QueryNFTByQueryStringResponse, error)
	// Class queries an NFT class based on its id
	Class(context.Context, *QueryClassRequest) (*QueryClassResponse, error)
	// Class queries an NFT class based on its id
	ClassByQueryString(context.Context, *QueryClassByQueryStringRequest) (*QueryClassByQueryStringResponse, error)
	// Classes queries all NFT classes
	Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.

Query defines the gRPC querier service.

type QuerySupplyByQueryStringRequest added in v0.8.0

type QuerySupplyByQueryStringRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// contains filtered or unexported fields
}

QuerySupplyByQueryStringRequest is the request type for the Query/Supply RPC method

func (*QuerySupplyByQueryStringRequest) Descriptor deprecated added in v0.8.0

func (*QuerySupplyByQueryStringRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySupplyByQueryStringRequest.ProtoReflect.Descriptor instead.

func (*QuerySupplyByQueryStringRequest) GetClassId added in v0.8.0

func (x *QuerySupplyByQueryStringRequest) GetClassId() string

func (*QuerySupplyByQueryStringRequest) ProtoMessage added in v0.8.0

func (*QuerySupplyByQueryStringRequest) ProtoMessage()

func (*QuerySupplyByQueryStringRequest) ProtoReflect added in v0.8.0

func (*QuerySupplyByQueryStringRequest) Reset added in v0.8.0

func (*QuerySupplyByQueryStringRequest) String added in v0.8.0

type QuerySupplyByQueryStringResponse added in v0.8.0

type QuerySupplyByQueryStringResponse struct {

	// amount is the number of all NFTs from the given class
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

QuerySupplyByQueryStringResponse is the response type for the Query/Supply RPC method

func (*QuerySupplyByQueryStringResponse) Descriptor deprecated added in v0.8.0

func (*QuerySupplyByQueryStringResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySupplyByQueryStringResponse.ProtoReflect.Descriptor instead.

func (*QuerySupplyByQueryStringResponse) GetAmount added in v0.8.0

func (*QuerySupplyByQueryStringResponse) ProtoMessage added in v0.8.0

func (*QuerySupplyByQueryStringResponse) ProtoMessage()

func (*QuerySupplyByQueryStringResponse) ProtoReflect added in v0.8.0

func (*QuerySupplyByQueryStringResponse) Reset added in v0.8.0

func (*QuerySupplyByQueryStringResponse) String added in v0.8.0

type QuerySupplyRequest

type QuerySupplyRequest struct {

	// class_id associated with the nft
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// contains filtered or unexported fields
}

QuerySupplyRequest is the request type for the Query/Supply RPC method

func (*QuerySupplyRequest) Descriptor deprecated

func (*QuerySupplyRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySupplyRequest.ProtoReflect.Descriptor instead.

func (*QuerySupplyRequest) GetClassId

func (x *QuerySupplyRequest) GetClassId() string

func (*QuerySupplyRequest) ProtoMessage

func (*QuerySupplyRequest) ProtoMessage()

func (*QuerySupplyRequest) ProtoReflect

func (x *QuerySupplyRequest) ProtoReflect() protoreflect.Message

func (*QuerySupplyRequest) Reset

func (x *QuerySupplyRequest) Reset()

func (*QuerySupplyRequest) String

func (x *QuerySupplyRequest) String() string

type QuerySupplyResponse

type QuerySupplyResponse struct {

	// amount is the number of all NFTs from the given class
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

QuerySupplyResponse is the response type for the Query/Supply RPC method

func (*QuerySupplyResponse) Descriptor deprecated

func (*QuerySupplyResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySupplyResponse.ProtoReflect.Descriptor instead.

func (*QuerySupplyResponse) GetAmount

func (x *QuerySupplyResponse) GetAmount() uint64

func (*QuerySupplyResponse) ProtoMessage

func (*QuerySupplyResponse) ProtoMessage()

func (*QuerySupplyResponse) ProtoReflect

func (x *QuerySupplyResponse) ProtoReflect() protoreflect.Message

func (*QuerySupplyResponse) Reset

func (x *QuerySupplyResponse) Reset()

func (*QuerySupplyResponse) String

func (x *QuerySupplyResponse) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMsgServer) Send

type UnimplementedQueryServer

type UnimplementedQueryServer struct{}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedQueryServer) Balance

func (UnimplementedQueryServer) BalanceByQueryString added in v0.8.0

func (UnimplementedQueryServer) Class

func (UnimplementedQueryServer) ClassByQueryString added in v0.8.0

func (UnimplementedQueryServer) Classes

func (UnimplementedQueryServer) NFT

func (UnimplementedQueryServer) NFTByQueryString added in v0.8.0

func (UnimplementedQueryServer) NFTs

func (UnimplementedQueryServer) Owner

func (UnimplementedQueryServer) OwnerByQueryString added in v0.8.0

func (UnimplementedQueryServer) Supply

func (UnimplementedQueryServer) SupplyByQueryString added in v0.8.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL