nft

package
v0.0.0-...-aa8cd8a Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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.

Index

Constants

View Source
const (
	Query_Supply_FullMethodName      = "/irismod.nft.Query/Supply"
	Query_NFTsOfOwner_FullMethodName = "/irismod.nft.Query/NFTsOfOwner"
	Query_Collection_FullMethodName  = "/irismod.nft.Query/Collection"
	Query_Denoms_FullMethodName      = "/irismod.nft.Query/Denoms"
	Query_Denom_FullMethodName       = "/irismod.nft.Query/Denom"
	Query_NFT_FullMethodName         = "/irismod.nft.Query/NFT"
)
View Source
const (
	Msg_IssueDenom_FullMethodName    = "/irismod.nft.Msg/IssueDenom"
	Msg_MintNFT_FullMethodName       = "/irismod.nft.Msg/MintNFT"
	Msg_EditNFT_FullMethodName       = "/irismod.nft.Msg/EditNFT"
	Msg_TransferNFT_FullMethodName   = "/irismod.nft.Msg/TransferNFT"
	Msg_BurnNFT_FullMethodName       = "/irismod.nft.Msg/BurnNFT"
	Msg_TransferDenom_FullMethodName = "/irismod.nft.Msg/TransferDenom"
)

Variables

View Source
var File_irismod_nft_genesis_proto protoreflect.FileDescriptor
View Source
var File_irismod_nft_nft_proto protoreflect.FileDescriptor
View Source
var File_irismod_nft_query_proto protoreflect.FileDescriptor
View Source
var File_irismod_nft_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "irismod.nft.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IssueDenom",
			Handler:    _Msg_IssueDenom_Handler,
		},
		{
			MethodName: "MintNFT",
			Handler:    _Msg_MintNFT_Handler,
		},
		{
			MethodName: "EditNFT",
			Handler:    _Msg_EditNFT_Handler,
		},
		{
			MethodName: "TransferNFT",
			Handler:    _Msg_TransferNFT_Handler,
		},
		{
			MethodName: "BurnNFT",
			Handler:    _Msg_BurnNFT_Handler,
		},
		{
			MethodName: "TransferDenom",
			Handler:    _Msg_TransferDenom_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "irismod/nft/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: "irismod.nft.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Supply",
			Handler:    _Query_Supply_Handler,
		},
		{
			MethodName: "NFTsOfOwner",
			Handler:    _Query_NFTsOfOwner_Handler,
		},
		{
			MethodName: "Collection",
			Handler:    _Query_Collection_Handler,
		},
		{
			MethodName: "Denoms",
			Handler:    _Query_Denoms_Handler,
		},
		{
			MethodName: "Denom",
			Handler:    _Query_Denom_Handler,
		},
		{
			MethodName: "NFT",
			Handler:    _Query_NFT_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "irismod/nft/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 BaseNFT

type BaseNFT struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uri     string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
	Data    string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Owner   string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	UriHash string `protobuf:"bytes,6,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	// contains filtered or unexported fields
}

BaseNFT defines a non-fungible token

func (*BaseNFT) Descriptor deprecated

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

Deprecated: Use BaseNFT.ProtoReflect.Descriptor instead.

func (*BaseNFT) GetData

func (x *BaseNFT) GetData() string

func (*BaseNFT) GetId

func (x *BaseNFT) GetId() string

func (*BaseNFT) GetName

func (x *BaseNFT) GetName() string

func (*BaseNFT) GetOwner

func (x *BaseNFT) GetOwner() string

func (*BaseNFT) GetUri

func (x *BaseNFT) GetUri() string

func (*BaseNFT) GetUriHash

func (x *BaseNFT) GetUriHash() string

func (*BaseNFT) ProtoMessage

func (*BaseNFT) ProtoMessage()

func (*BaseNFT) ProtoReflect

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

func (*BaseNFT) Reset

func (x *BaseNFT) Reset()

func (*BaseNFT) String

func (x *BaseNFT) String() string

type Collection

type Collection struct {
	Denom *Denom     `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Nfts  []*BaseNFT `protobuf:"bytes,2,rep,name=nfts,proto3" json:"nfts,omitempty"`
	// contains filtered or unexported fields
}

Collection defines a type of collection

func (*Collection) Descriptor deprecated

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

Deprecated: Use Collection.ProtoReflect.Descriptor instead.

func (*Collection) GetDenom

func (x *Collection) GetDenom() *Denom

func (*Collection) GetNfts

func (x *Collection) GetNfts() []*BaseNFT

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) ProtoReflect

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

func (*Collection) Reset

func (x *Collection) Reset()

func (*Collection) String

func (x *Collection) String() string

type Denom

type Denom struct {
	Id               string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Schema           string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"`
	Creator          string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
	Symbol           string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"`
	MintRestricted   bool   `protobuf:"varint,6,opt,name=mint_restricted,json=mintRestricted,proto3" json:"mint_restricted,omitempty"`
	UpdateRestricted bool   `protobuf:"varint,7,opt,name=update_restricted,json=updateRestricted,proto3" json:"update_restricted,omitempty"`
	Description      string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	Uri              string `protobuf:"bytes,9,opt,name=uri,proto3" json:"uri,omitempty"`
	UriHash          string `protobuf:"bytes,10,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	Data             string `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Denom defines a type of NFT

func (*Denom) Descriptor deprecated

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

Deprecated: Use Denom.ProtoReflect.Descriptor instead.

func (*Denom) GetCreator

func (x *Denom) GetCreator() string

func (*Denom) GetData

func (x *Denom) GetData() string

func (*Denom) GetDescription

func (x *Denom) GetDescription() string

func (*Denom) GetId

func (x *Denom) GetId() string

func (*Denom) GetMintRestricted

func (x *Denom) GetMintRestricted() bool

func (*Denom) GetName

func (x *Denom) GetName() string

func (*Denom) GetSchema

func (x *Denom) GetSchema() string

func (*Denom) GetSymbol

func (x *Denom) GetSymbol() string

func (*Denom) GetUpdateRestricted

func (x *Denom) GetUpdateRestricted() bool

func (*Denom) GetUri

func (x *Denom) GetUri() string

func (*Denom) GetUriHash

func (x *Denom) GetUriHash() string

func (*Denom) ProtoMessage

func (*Denom) ProtoMessage()

func (*Denom) ProtoReflect

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

func (*Denom) Reset

func (x *Denom) Reset()

func (*Denom) String

func (x *Denom) String() string

type DenomMetadata

type DenomMetadata struct {
	Creator          string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Schema           string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	MintRestricted   bool   `protobuf:"varint,3,opt,name=mint_restricted,json=mintRestricted,proto3" json:"mint_restricted,omitempty"`
	UpdateRestricted bool   `protobuf:"varint,4,opt,name=update_restricted,json=updateRestricted,proto3" json:"update_restricted,omitempty"`
	Data             string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DenomMetadata) Descriptor deprecated

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

Deprecated: Use DenomMetadata.ProtoReflect.Descriptor instead.

func (*DenomMetadata) GetCreator

func (x *DenomMetadata) GetCreator() string

func (*DenomMetadata) GetData

func (x *DenomMetadata) GetData() string

func (*DenomMetadata) GetMintRestricted

func (x *DenomMetadata) GetMintRestricted() bool

func (*DenomMetadata) GetSchema

func (x *DenomMetadata) GetSchema() string

func (*DenomMetadata) GetUpdateRestricted

func (x *DenomMetadata) GetUpdateRestricted() bool

func (*DenomMetadata) ProtoMessage

func (*DenomMetadata) ProtoMessage()

func (*DenomMetadata) ProtoReflect

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

func (*DenomMetadata) Reset

func (x *DenomMetadata) Reset()

func (*DenomMetadata) String

func (x *DenomMetadata) String() string

type GenesisState

type GenesisState struct {
	Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,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) GetCollections

func (x *GenesisState) GetCollections() []*Collection

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 IDCollection

type IDCollection struct {
	DenomId  string   `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	TokenIds []string `protobuf:"bytes,2,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
	// contains filtered or unexported fields
}

IDCollection defines a type of collection with specified ID

func (*IDCollection) Descriptor deprecated

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

Deprecated: Use IDCollection.ProtoReflect.Descriptor instead.

func (*IDCollection) GetDenomId

func (x *IDCollection) GetDenomId() string

func (*IDCollection) GetTokenIds

func (x *IDCollection) GetTokenIds() []string

func (*IDCollection) ProtoMessage

func (*IDCollection) ProtoMessage()

func (*IDCollection) ProtoReflect

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

func (*IDCollection) Reset

func (x *IDCollection) Reset()

func (*IDCollection) String

func (x *IDCollection) String() string

type MsgBurnNFT

type MsgBurnNFT struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Sender  string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

MsgBurnNFT defines an SDK message for burning a NFT.

func (*MsgBurnNFT) Descriptor deprecated

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

Deprecated: Use MsgBurnNFT.ProtoReflect.Descriptor instead.

func (*MsgBurnNFT) GetDenomId

func (x *MsgBurnNFT) GetDenomId() string

func (*MsgBurnNFT) GetId

func (x *MsgBurnNFT) GetId() string

func (*MsgBurnNFT) GetSender

func (x *MsgBurnNFT) GetSender() 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 defines 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 {
	// IssueDenom defines a method for issue a denom.
	IssueDenom(ctx context.Context, in *MsgIssueDenom, opts ...grpc.CallOption) (*MsgIssueDenomResponse, error)
	// MintNFT defines a method for mint a new nft
	MintNFT(ctx context.Context, in *MsgMintNFT, opts ...grpc.CallOption) (*MsgMintNFTResponse, error)
	// RefundHTLC defines a method for editing a nft.
	EditNFT(ctx context.Context, in *MsgEditNFT, opts ...grpc.CallOption) (*MsgEditNFTResponse, error)
	// TransferNFT defines a method for transferring a nft.
	TransferNFT(ctx context.Context, in *MsgTransferNFT, opts ...grpc.CallOption) (*MsgTransferNFTResponse, error)
	// BurnNFT defines a method for burning a nft.
	BurnNFT(ctx context.Context, in *MsgBurnNFT, opts ...grpc.CallOption) (*MsgBurnNFTResponse, error)
	// TransferDenom defines a method for transferring a denom.
	TransferDenom(ctx context.Context, in *MsgTransferDenom, opts ...grpc.CallOption) (*MsgTransferDenomResponse, 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 MsgEditNFT

type MsgEditNFT struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Uri     string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
	Data    string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Sender  string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
	UriHash string `protobuf:"bytes,7,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	// contains filtered or unexported fields
}

MsgEditNFT defines an SDK message for editing a nft.

func (*MsgEditNFT) Descriptor deprecated

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

Deprecated: Use MsgEditNFT.ProtoReflect.Descriptor instead.

func (*MsgEditNFT) GetData

func (x *MsgEditNFT) GetData() string

func (*MsgEditNFT) GetDenomId

func (x *MsgEditNFT) GetDenomId() string

func (*MsgEditNFT) GetId

func (x *MsgEditNFT) GetId() string

func (*MsgEditNFT) GetName

func (x *MsgEditNFT) GetName() string

func (*MsgEditNFT) GetSender

func (x *MsgEditNFT) GetSender() string

func (*MsgEditNFT) GetUri

func (x *MsgEditNFT) GetUri() string

func (*MsgEditNFT) GetUriHash

func (x *MsgEditNFT) GetUriHash() string

func (*MsgEditNFT) ProtoMessage

func (*MsgEditNFT) ProtoMessage()

func (*MsgEditNFT) ProtoReflect

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

func (*MsgEditNFT) Reset

func (x *MsgEditNFT) Reset()

func (*MsgEditNFT) String

func (x *MsgEditNFT) String() string

type MsgEditNFTResponse

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

MsgEditNFTResponse defines the Msg/EditNFT response type.

func (*MsgEditNFTResponse) Descriptor deprecated

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

Deprecated: Use MsgEditNFTResponse.ProtoReflect.Descriptor instead.

func (*MsgEditNFTResponse) ProtoMessage

func (*MsgEditNFTResponse) ProtoMessage()

func (*MsgEditNFTResponse) ProtoReflect

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

func (*MsgEditNFTResponse) Reset

func (x *MsgEditNFTResponse) Reset()

func (*MsgEditNFTResponse) String

func (x *MsgEditNFTResponse) String() string

type MsgIssueDenom

type MsgIssueDenom struct {
	Id               string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Schema           string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"`
	Sender           string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	Symbol           string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"`
	MintRestricted   bool   `protobuf:"varint,6,opt,name=mint_restricted,json=mintRestricted,proto3" json:"mint_restricted,omitempty"`
	UpdateRestricted bool   `protobuf:"varint,7,opt,name=update_restricted,json=updateRestricted,proto3" json:"update_restricted,omitempty"`
	Description      string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	Uri              string `protobuf:"bytes,9,opt,name=uri,proto3" json:"uri,omitempty"`
	UriHash          string `protobuf:"bytes,10,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	Data             string `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

MsgIssueDenom defines an SDK message for creating a new denom.

func (*MsgIssueDenom) Descriptor deprecated

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

Deprecated: Use MsgIssueDenom.ProtoReflect.Descriptor instead.

func (*MsgIssueDenom) GetData

func (x *MsgIssueDenom) GetData() string

func (*MsgIssueDenom) GetDescription

func (x *MsgIssueDenom) GetDescription() string

func (*MsgIssueDenom) GetId

func (x *MsgIssueDenom) GetId() string

func (*MsgIssueDenom) GetMintRestricted

func (x *MsgIssueDenom) GetMintRestricted() bool

func (*MsgIssueDenom) GetName

func (x *MsgIssueDenom) GetName() string

func (*MsgIssueDenom) GetSchema

func (x *MsgIssueDenom) GetSchema() string

func (*MsgIssueDenom) GetSender

func (x *MsgIssueDenom) GetSender() string

func (*MsgIssueDenom) GetSymbol

func (x *MsgIssueDenom) GetSymbol() string

func (*MsgIssueDenom) GetUpdateRestricted

func (x *MsgIssueDenom) GetUpdateRestricted() bool

func (*MsgIssueDenom) GetUri

func (x *MsgIssueDenom) GetUri() string

func (*MsgIssueDenom) GetUriHash

func (x *MsgIssueDenom) GetUriHash() string

func (*MsgIssueDenom) ProtoMessage

func (*MsgIssueDenom) ProtoMessage()

func (*MsgIssueDenom) ProtoReflect

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

func (*MsgIssueDenom) Reset

func (x *MsgIssueDenom) Reset()

func (*MsgIssueDenom) String

func (x *MsgIssueDenom) String() string

type MsgIssueDenomResponse

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

MsgIssueDenomResponse defines the Msg/IssueDenom response type.

func (*MsgIssueDenomResponse) Descriptor deprecated

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

Deprecated: Use MsgIssueDenomResponse.ProtoReflect.Descriptor instead.

func (*MsgIssueDenomResponse) ProtoMessage

func (*MsgIssueDenomResponse) ProtoMessage()

func (*MsgIssueDenomResponse) ProtoReflect

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

func (*MsgIssueDenomResponse) Reset

func (x *MsgIssueDenomResponse) Reset()

func (*MsgIssueDenomResponse) String

func (x *MsgIssueDenomResponse) String() string

type MsgMintNFT

type MsgMintNFT struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomId   string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Uri       string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
	Data      string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Sender    string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient string `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"`
	UriHash   string `protobuf:"bytes,8,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	// contains filtered or unexported fields
}

MsgMintNFT defines an SDK message for creating a new NFT.

func (*MsgMintNFT) Descriptor deprecated

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

Deprecated: Use MsgMintNFT.ProtoReflect.Descriptor instead.

func (*MsgMintNFT) GetData

func (x *MsgMintNFT) GetData() string

func (*MsgMintNFT) GetDenomId

func (x *MsgMintNFT) GetDenomId() string

func (*MsgMintNFT) GetId

func (x *MsgMintNFT) GetId() string

func (*MsgMintNFT) GetName

func (x *MsgMintNFT) GetName() string

func (*MsgMintNFT) GetRecipient

func (x *MsgMintNFT) GetRecipient() string

func (*MsgMintNFT) GetSender

func (x *MsgMintNFT) GetSender() string

func (*MsgMintNFT) GetUri

func (x *MsgMintNFT) GetUri() string

func (*MsgMintNFT) GetUriHash

func (x *MsgMintNFT) GetUriHash() 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 {
	// contains filtered or unexported fields
}

MsgMintNFTResponse defines the Msg/MintNFT response type.

func (*MsgMintNFTResponse) Descriptor deprecated

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

Deprecated: Use MsgMintNFTResponse.ProtoReflect.Descriptor instead.

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 MsgServer

type MsgServer interface {
	// IssueDenom defines a method for issue a denom.
	IssueDenom(context.Context, *MsgIssueDenom) (*MsgIssueDenomResponse, error)
	// MintNFT defines a method for mint a new nft
	MintNFT(context.Context, *MsgMintNFT) (*MsgMintNFTResponse, error)
	// RefundHTLC defines a method for editing a nft.
	EditNFT(context.Context, *MsgEditNFT) (*MsgEditNFTResponse, error)
	// TransferNFT defines a method for transferring a nft.
	TransferNFT(context.Context, *MsgTransferNFT) (*MsgTransferNFTResponse, error)
	// BurnNFT defines a method for burning a nft.
	BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error)
	// TransferDenom defines a method for transferring a denom.
	TransferDenom(context.Context, *MsgTransferDenom) (*MsgTransferDenomResponse, error)
	// contains filtered or unexported methods
}

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

type MsgTransferDenom

type MsgTransferDenom struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Sender    string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

MsgTransferDenom defines an SDK message for transferring an denom to recipient.

func (*MsgTransferDenom) Descriptor deprecated

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

Deprecated: Use MsgTransferDenom.ProtoReflect.Descriptor instead.

func (*MsgTransferDenom) GetId

func (x *MsgTransferDenom) GetId() string

func (*MsgTransferDenom) GetRecipient

func (x *MsgTransferDenom) GetRecipient() string

func (*MsgTransferDenom) GetSender

func (x *MsgTransferDenom) GetSender() string

func (*MsgTransferDenom) ProtoMessage

func (*MsgTransferDenom) ProtoMessage()

func (*MsgTransferDenom) ProtoReflect

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

func (*MsgTransferDenom) Reset

func (x *MsgTransferDenom) Reset()

func (*MsgTransferDenom) String

func (x *MsgTransferDenom) String() string

type MsgTransferDenomResponse

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

MsgTransferDenomResponse defines the Msg/TransferDenom response type.

func (*MsgTransferDenomResponse) Descriptor deprecated

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

Deprecated: Use MsgTransferDenomResponse.ProtoReflect.Descriptor instead.

func (*MsgTransferDenomResponse) ProtoMessage

func (*MsgTransferDenomResponse) ProtoMessage()

func (*MsgTransferDenomResponse) ProtoReflect

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

func (*MsgTransferDenomResponse) Reset

func (x *MsgTransferDenomResponse) Reset()

func (*MsgTransferDenomResponse) String

func (x *MsgTransferDenomResponse) String() string

type MsgTransferNFT

type MsgTransferNFT struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomId   string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Uri       string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
	Data      string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Sender    string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient string `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"`
	UriHash   string `protobuf:"bytes,8,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	// contains filtered or unexported fields
}

MsgTransferNFT defines an SDK message for transferring an NFT to recipient.

func (*MsgTransferNFT) Descriptor deprecated

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

Deprecated: Use MsgTransferNFT.ProtoReflect.Descriptor instead.

func (*MsgTransferNFT) GetData

func (x *MsgTransferNFT) GetData() string

func (*MsgTransferNFT) GetDenomId

func (x *MsgTransferNFT) GetDenomId() string

func (*MsgTransferNFT) GetId

func (x *MsgTransferNFT) GetId() string

func (*MsgTransferNFT) GetName

func (x *MsgTransferNFT) GetName() string

func (*MsgTransferNFT) GetRecipient

func (x *MsgTransferNFT) GetRecipient() string

func (*MsgTransferNFT) GetSender

func (x *MsgTransferNFT) GetSender() string

func (*MsgTransferNFT) GetUri

func (x *MsgTransferNFT) GetUri() string

func (*MsgTransferNFT) GetUriHash

func (x *MsgTransferNFT) GetUriHash() string

func (*MsgTransferNFT) ProtoMessage

func (*MsgTransferNFT) ProtoMessage()

func (*MsgTransferNFT) ProtoReflect

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

func (*MsgTransferNFT) Reset

func (x *MsgTransferNFT) Reset()

func (*MsgTransferNFT) String

func (x *MsgTransferNFT) String() string

type MsgTransferNFTResponse

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

MsgTransferNFTResponse defines the Msg/TransferNFT response type.

func (*MsgTransferNFTResponse) Descriptor deprecated

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

Deprecated: Use MsgTransferNFTResponse.ProtoReflect.Descriptor instead.

func (*MsgTransferNFTResponse) ProtoMessage

func (*MsgTransferNFTResponse) ProtoMessage()

func (*MsgTransferNFTResponse) ProtoReflect

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

func (*MsgTransferNFTResponse) Reset

func (x *MsgTransferNFTResponse) Reset()

func (*MsgTransferNFTResponse) String

func (x *MsgTransferNFTResponse) String() string

type NFTMetadata

type NFTMetadata struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*NFTMetadata) Descriptor deprecated

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

Deprecated: Use NFTMetadata.ProtoReflect.Descriptor instead.

func (*NFTMetadata) GetData

func (x *NFTMetadata) GetData() string

func (*NFTMetadata) GetName

func (x *NFTMetadata) GetName() string

func (*NFTMetadata) ProtoMessage

func (*NFTMetadata) ProtoMessage()

func (*NFTMetadata) ProtoReflect

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

func (*NFTMetadata) Reset

func (x *NFTMetadata) Reset()

func (*NFTMetadata) String

func (x *NFTMetadata) String() string

type Owner

type Owner struct {
	Address       string          `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	IdCollections []*IDCollection `protobuf:"bytes,2,rep,name=id_collections,json=idCollections,proto3" json:"id_collections,omitempty"`
	// contains filtered or unexported fields
}

Owner defines a type of owner

func (*Owner) Descriptor deprecated

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

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetAddress

func (x *Owner) GetAddress() string

func (*Owner) GetIdCollections

func (x *Owner) GetIdCollections() []*IDCollection

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect

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

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

type QueryClient

type QueryClient interface {
	// Supply queries the total supply of a given denom or owner
	Supply(ctx context.Context, in *QuerySupplyRequest, opts ...grpc.CallOption) (*QuerySupplyResponse, error)
	// NFTsOfOwner queries the NFTs of the specified owner
	NFTsOfOwner(ctx context.Context, in *QueryNFTsOfOwnerRequest, opts ...grpc.CallOption) (*QueryNFTsOfOwnerResponse, error)
	// Collection queries the NFTs of the specified denom
	Collection(ctx context.Context, in *QueryCollectionRequest, opts ...grpc.CallOption) (*QueryCollectionResponse, error)
	// Denoms queries all the denoms
	Denoms(ctx context.Context, in *QueryDenomsRequest, opts ...grpc.CallOption) (*QueryDenomsResponse, error)
	// Denom queries the definition of a given denom
	Denom(ctx context.Context, in *QueryDenomRequest, opts ...grpc.CallOption) (*QueryDenomResponse, error)
	// NFT queries the NFT for the given denom and token ID
	NFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryNFTResponse, 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 QueryCollectionRequest

type QueryCollectionRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryCollectionRequest is the request type for the Query/Collection RPC method

func (*QueryCollectionRequest) Descriptor deprecated

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

Deprecated: Use QueryCollectionRequest.ProtoReflect.Descriptor instead.

func (*QueryCollectionRequest) GetDenomId

func (x *QueryCollectionRequest) GetDenomId() string

func (*QueryCollectionRequest) GetPagination

func (x *QueryCollectionRequest) GetPagination() *v1beta1.PageRequest

func (*QueryCollectionRequest) ProtoMessage

func (*QueryCollectionRequest) ProtoMessage()

func (*QueryCollectionRequest) ProtoReflect

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

func (*QueryCollectionRequest) Reset

func (x *QueryCollectionRequest) Reset()

func (*QueryCollectionRequest) String

func (x *QueryCollectionRequest) String() string

type QueryCollectionResponse

type QueryCollectionResponse struct {
	Collection *Collection           `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryCollectionResponse is the response type for the Query/Collection RPC method

func (*QueryCollectionResponse) Descriptor deprecated

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

Deprecated: Use QueryCollectionResponse.ProtoReflect.Descriptor instead.

func (*QueryCollectionResponse) GetCollection

func (x *QueryCollectionResponse) GetCollection() *Collection

func (*QueryCollectionResponse) GetPagination

func (x *QueryCollectionResponse) GetPagination() *v1beta1.PageResponse

func (*QueryCollectionResponse) ProtoMessage

func (*QueryCollectionResponse) ProtoMessage()

func (*QueryCollectionResponse) ProtoReflect

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

func (*QueryCollectionResponse) Reset

func (x *QueryCollectionResponse) Reset()

func (*QueryCollectionResponse) String

func (x *QueryCollectionResponse) String() string

type QueryDenomRequest

type QueryDenomRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	// contains filtered or unexported fields
}

QueryDenomRequest is the request type for the Query/Denom RPC method

func (*QueryDenomRequest) Descriptor deprecated

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

Deprecated: Use QueryDenomRequest.ProtoReflect.Descriptor instead.

func (*QueryDenomRequest) GetDenomId

func (x *QueryDenomRequest) GetDenomId() string

func (*QueryDenomRequest) ProtoMessage

func (*QueryDenomRequest) ProtoMessage()

func (*QueryDenomRequest) ProtoReflect

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

func (*QueryDenomRequest) Reset

func (x *QueryDenomRequest) Reset()

func (*QueryDenomRequest) String

func (x *QueryDenomRequest) String() string

type QueryDenomResponse

type QueryDenomResponse struct {
	Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

QueryDenomResponse is the response type for the Query/Denom RPC method

func (*QueryDenomResponse) Descriptor deprecated

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

Deprecated: Use QueryDenomResponse.ProtoReflect.Descriptor instead.

func (*QueryDenomResponse) GetDenom

func (x *QueryDenomResponse) GetDenom() *Denom

func (*QueryDenomResponse) ProtoMessage

func (*QueryDenomResponse) ProtoMessage()

func (*QueryDenomResponse) ProtoReflect

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

func (*QueryDenomResponse) Reset

func (x *QueryDenomResponse) Reset()

func (*QueryDenomResponse) String

func (x *QueryDenomResponse) String() string

type QueryDenomsRequest

type QueryDenomsRequest 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
}

QueryDenomsRequest is the request type for the Query/Denoms RPC method

func (*QueryDenomsRequest) Descriptor deprecated

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

Deprecated: Use QueryDenomsRequest.ProtoReflect.Descriptor instead.

func (*QueryDenomsRequest) GetPagination

func (x *QueryDenomsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryDenomsRequest) ProtoMessage

func (*QueryDenomsRequest) ProtoMessage()

func (*QueryDenomsRequest) ProtoReflect

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

func (*QueryDenomsRequest) Reset

func (x *QueryDenomsRequest) Reset()

func (*QueryDenomsRequest) String

func (x *QueryDenomsRequest) String() string

type QueryDenomsResponse

type QueryDenomsResponse struct {
	Denoms     []*Denom              `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryDenomsResponse is the response type for the Query/Denoms RPC method

func (*QueryDenomsResponse) Descriptor deprecated

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

Deprecated: Use QueryDenomsResponse.ProtoReflect.Descriptor instead.

func (*QueryDenomsResponse) GetDenoms

func (x *QueryDenomsResponse) GetDenoms() []*Denom

func (*QueryDenomsResponse) GetPagination

func (x *QueryDenomsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryDenomsResponse) ProtoMessage

func (*QueryDenomsResponse) ProtoMessage()

func (*QueryDenomsResponse) ProtoReflect

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

func (*QueryDenomsResponse) Reset

func (x *QueryDenomsResponse) Reset()

func (*QueryDenomsResponse) String

func (x *QueryDenomsResponse) String() string

type QueryNFTRequest

type QueryNFTRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_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) GetDenomId

func (x *QueryNFTRequest) GetDenomId() string

func (*QueryNFTRequest) GetTokenId

func (x *QueryNFTRequest) GetTokenId() 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 *BaseNFT `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() *BaseNFT

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 QueryNFTsOfOwnerRequest

type QueryNFTsOfOwnerRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	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
}

QueryNFTsOfOwnerRequest is the request type for the Query/NFTsOfOwner RPC method

func (*QueryNFTsOfOwnerRequest) Descriptor deprecated

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

Deprecated: Use QueryNFTsOfOwnerRequest.ProtoReflect.Descriptor instead.

func (*QueryNFTsOfOwnerRequest) GetDenomId

func (x *QueryNFTsOfOwnerRequest) GetDenomId() string

func (*QueryNFTsOfOwnerRequest) GetOwner

func (x *QueryNFTsOfOwnerRequest) GetOwner() string

func (*QueryNFTsOfOwnerRequest) GetPagination

func (x *QueryNFTsOfOwnerRequest) GetPagination() *v1beta1.PageRequest

func (*QueryNFTsOfOwnerRequest) ProtoMessage

func (*QueryNFTsOfOwnerRequest) ProtoMessage()

func (*QueryNFTsOfOwnerRequest) ProtoReflect

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

func (*QueryNFTsOfOwnerRequest) Reset

func (x *QueryNFTsOfOwnerRequest) Reset()

func (*QueryNFTsOfOwnerRequest) String

func (x *QueryNFTsOfOwnerRequest) String() string

type QueryNFTsOfOwnerResponse

type QueryNFTsOfOwnerResponse struct {
	Owner      *Owner                `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryNFTsOfOwnerResponse is the response type for the Query/NFTsOfOwner RPC method

func (*QueryNFTsOfOwnerResponse) Descriptor deprecated

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

Deprecated: Use QueryNFTsOfOwnerResponse.ProtoReflect.Descriptor instead.

func (*QueryNFTsOfOwnerResponse) GetOwner

func (x *QueryNFTsOfOwnerResponse) GetOwner() *Owner

func (*QueryNFTsOfOwnerResponse) GetPagination

func (x *QueryNFTsOfOwnerResponse) GetPagination() *v1beta1.PageResponse

func (*QueryNFTsOfOwnerResponse) ProtoMessage

func (*QueryNFTsOfOwnerResponse) ProtoMessage()

func (*QueryNFTsOfOwnerResponse) ProtoReflect

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

func (*QueryNFTsOfOwnerResponse) Reset

func (x *QueryNFTsOfOwnerResponse) Reset()

func (*QueryNFTsOfOwnerResponse) String

func (x *QueryNFTsOfOwnerResponse) String() string

type QueryServer

type QueryServer interface {
	// Supply queries the total supply of a given denom or owner
	Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
	// NFTsOfOwner queries the NFTs of the specified owner
	NFTsOfOwner(context.Context, *QueryNFTsOfOwnerRequest) (*QueryNFTsOfOwnerResponse, error)
	// Collection queries the NFTs of the specified denom
	Collection(context.Context, *QueryCollectionRequest) (*QueryCollectionResponse, error)
	// Denoms queries all the denoms
	Denoms(context.Context, *QueryDenomsRequest) (*QueryDenomsResponse, error)
	// Denom queries the definition of a given denom
	Denom(context.Context, *QueryDenomRequest) (*QueryDenomResponse, error)
	// NFT queries the NFT for the given denom and token ID
	NFT(context.Context, *QueryNFTRequest) (*QueryNFTResponse, error)
	// contains filtered or unexported methods
}

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

type QuerySupplyRequest

type QuerySupplyRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Owner   string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QuerySupplyRequest) Descriptor deprecated

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

Deprecated: Use QuerySupplyRequest.ProtoReflect.Descriptor instead.

func (*QuerySupplyRequest) GetDenomId

func (x *QuerySupplyRequest) GetDenomId() string

func (*QuerySupplyRequest) GetOwner

func (x *QuerySupplyRequest) GetOwner() 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 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.

func (UnimplementedMsgServer) BurnNFT

func (UnimplementedMsgServer) EditNFT

func (UnimplementedMsgServer) IssueDenom

func (UnimplementedMsgServer) MintNFT

func (UnimplementedMsgServer) TransferDenom

func (UnimplementedMsgServer) TransferNFT

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Collection

func (UnimplementedQueryServer) Denom

func (UnimplementedQueryServer) Denoms

func (UnimplementedQueryServer) NFT

func (UnimplementedQueryServer) NFTsOfOwner

func (UnimplementedQueryServer) Supply

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.

Directories

Path Synopsis
module
v1
Code generated by protoc-gen-go-pulsar.
Code generated by protoc-gen-go-pulsar.

Jump to

Keyboard shortcuts

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