Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type BaseNFT
- func (this BaseNFT) Convert() interface{}
- func (*BaseNFT) Descriptor() ([]byte, []int)
- func (this *BaseNFT) Equal(that interface{}) bool
- func (m *BaseNFT) Marshal() (dAtA []byte, err error)
- func (m *BaseNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BaseNFT) ProtoMessage()
- func (m *BaseNFT) Reset()
- func (m *BaseNFT) Size() (n int)
- func (m *BaseNFT) String() string
- func (m *BaseNFT) Unmarshal(dAtA []byte) error
- func (m *BaseNFT) XXX_DiscardUnknown()
- func (m *BaseNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseNFT) XXX_Merge(src proto.Message)
- func (m *BaseNFT) XXX_Size() int
- func (m *BaseNFT) XXX_Unmarshal(b []byte) error
- type BurnNFTRequest
- type Client
- type Collection
- func (c Collection) Convert() interface{}
- func (*Collection) Descriptor() ([]byte, []int)
- func (this *Collection) Equal(that interface{}) bool
- func (m *Collection) Marshal() (dAtA []byte, err error)
- func (m *Collection) MarshalTo(dAtA []byte) (int, error)
- func (m *Collection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Collection) ProtoMessage()
- func (m *Collection) Reset()
- func (m *Collection) Size() (n int)
- func (m *Collection) String() string
- func (m *Collection) Unmarshal(dAtA []byte) error
- func (m *Collection) XXX_DiscardUnknown()
- func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Collection) XXX_Merge(src proto.Message)
- func (m *Collection) XXX_Size() int
- func (m *Collection) XXX_Unmarshal(b []byte) error
- type Denom
- func (this Denom) Convert() interface{}
- func (*Denom) Descriptor() ([]byte, []int)
- func (this *Denom) Equal(that interface{}) bool
- func (m *Denom) Marshal() (dAtA []byte, err error)
- func (m *Denom) MarshalTo(dAtA []byte) (int, error)
- func (m *Denom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Denom) ProtoMessage()
- func (m *Denom) Reset()
- func (m *Denom) Size() (n int)
- func (m *Denom) String() string
- func (m *Denom) Unmarshal(dAtA []byte) error
- func (m *Denom) XXX_DiscardUnknown()
- func (m *Denom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Denom) XXX_Merge(src proto.Message)
- func (m *Denom) XXX_Size() int
- func (m *Denom) XXX_Unmarshal(b []byte) error
- type EditNFTRequest
- type IDC
- type IDCollection
- func (*IDCollection) Descriptor() ([]byte, []int)
- func (this *IDCollection) Equal(that interface{}) bool
- func (m *IDCollection) Marshal() (dAtA []byte, err error)
- func (m *IDCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *IDCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDCollection) ProtoMessage()
- func (m *IDCollection) Reset()
- func (m *IDCollection) Size() (n int)
- func (m *IDCollection) String() string
- func (m *IDCollection) Unmarshal(dAtA []byte) error
- func (m *IDCollection) XXX_DiscardUnknown()
- func (m *IDCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDCollection) XXX_Merge(src proto.Message)
- func (m *IDCollection) XXX_Size() int
- func (m *IDCollection) XXX_Unmarshal(b []byte) error
- type IssueDenomRequest
- type MintNFTRequest
- type MsgBurnNFT
- func (*MsgBurnNFT) Descriptor() ([]byte, []int)
- func (this *MsgBurnNFT) Equal(that interface{}) bool
- func (m MsgBurnNFT) GetSignBytes() []byte
- func (m MsgBurnNFT) GetSigners() []sdk.AccAddress
- func (m *MsgBurnNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnNFT) ProtoMessage()
- func (m *MsgBurnNFT) Reset()
- func (m MsgBurnNFT) Route() string
- func (m *MsgBurnNFT) Size() (n int)
- func (m *MsgBurnNFT) String() string
- func (m MsgBurnNFT) Type() string
- func (m *MsgBurnNFT) Unmarshal(dAtA []byte) error
- func (m MsgBurnNFT) ValidateBasic() error
- func (m *MsgBurnNFT) XXX_DiscardUnknown()
- func (m *MsgBurnNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnNFT) XXX_Merge(src proto.Message)
- func (m *MsgBurnNFT) XXX_Size() int
- func (m *MsgBurnNFT) XXX_Unmarshal(b []byte) error
- type MsgBurnNFTResponse
- func (*MsgBurnNFTResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnNFTResponse) ProtoMessage()
- func (m *MsgBurnNFTResponse) Reset()
- func (m *MsgBurnNFTResponse) Size() (n int)
- func (m *MsgBurnNFTResponse) String() string
- func (m *MsgBurnNFTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnNFTResponse) XXX_DiscardUnknown()
- func (m *MsgBurnNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnNFTResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnNFTResponse) XXX_Size() int
- func (m *MsgBurnNFTResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgEditNFT
- func (*MsgEditNFT) Descriptor() ([]byte, []int)
- func (this *MsgEditNFT) Equal(that interface{}) bool
- func (m MsgEditNFT) GetSignBytes() []byte
- func (m MsgEditNFT) GetSigners() []sdk.AccAddress
- func (m *MsgEditNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgEditNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditNFT) ProtoMessage()
- func (m *MsgEditNFT) Reset()
- func (m MsgEditNFT) Route() string
- func (m *MsgEditNFT) Size() (n int)
- func (m *MsgEditNFT) String() string
- func (m MsgEditNFT) Type() string
- func (m *MsgEditNFT) Unmarshal(dAtA []byte) error
- func (m MsgEditNFT) ValidateBasic() error
- func (m *MsgEditNFT) XXX_DiscardUnknown()
- func (m *MsgEditNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditNFT) XXX_Merge(src proto.Message)
- func (m *MsgEditNFT) XXX_Size() int
- func (m *MsgEditNFT) XXX_Unmarshal(b []byte) error
- type MsgEditNFTResponse
- func (*MsgEditNFTResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditNFTResponse) ProtoMessage()
- func (m *MsgEditNFTResponse) Reset()
- func (m *MsgEditNFTResponse) Size() (n int)
- func (m *MsgEditNFTResponse) String() string
- func (m *MsgEditNFTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditNFTResponse) XXX_DiscardUnknown()
- func (m *MsgEditNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditNFTResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditNFTResponse) XXX_Size() int
- func (m *MsgEditNFTResponse) XXX_Unmarshal(b []byte) error
- type MsgIssueDenom
- func (*MsgIssueDenom) Descriptor() ([]byte, []int)
- func (this *MsgIssueDenom) Equal(that interface{}) bool
- func (m MsgIssueDenom) GetSignBytes() []byte
- func (m MsgIssueDenom) GetSigners() []sdk.AccAddress
- func (m *MsgIssueDenom) Marshal() (dAtA []byte, err error)
- func (m *MsgIssueDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIssueDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIssueDenom) ProtoMessage()
- func (m *MsgIssueDenom) Reset()
- func (m MsgIssueDenom) Route() string
- func (m *MsgIssueDenom) Size() (n int)
- func (m *MsgIssueDenom) String() string
- func (m MsgIssueDenom) Type() string
- func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error
- func (m MsgIssueDenom) ValidateBasic() error
- func (m *MsgIssueDenom) XXX_DiscardUnknown()
- func (m *MsgIssueDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIssueDenom) XXX_Merge(src proto.Message)
- func (m *MsgIssueDenom) XXX_Size() int
- func (m *MsgIssueDenom) XXX_Unmarshal(b []byte) error
- type MsgIssueDenomResponse
- func (*MsgIssueDenomResponse) Descriptor() ([]byte, []int)
- func (m *MsgIssueDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgIssueDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIssueDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIssueDenomResponse) ProtoMessage()
- func (m *MsgIssueDenomResponse) Reset()
- func (m *MsgIssueDenomResponse) Size() (n int)
- func (m *MsgIssueDenomResponse) String() string
- func (m *MsgIssueDenomResponse) Unmarshal(dAtA []byte) error
- func (m *MsgIssueDenomResponse) XXX_DiscardUnknown()
- func (m *MsgIssueDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIssueDenomResponse) XXX_Merge(src proto.Message)
- func (m *MsgIssueDenomResponse) XXX_Size() int
- func (m *MsgIssueDenomResponse) XXX_Unmarshal(b []byte) error
- type MsgMintNFT
- func (*MsgMintNFT) Descriptor() ([]byte, []int)
- func (this *MsgMintNFT) Equal(that interface{}) bool
- func (m MsgMintNFT) GetSignBytes() []byte
- func (m MsgMintNFT) GetSigners() []sdk.AccAddress
- func (m *MsgMintNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgMintNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintNFT) ProtoMessage()
- func (m *MsgMintNFT) Reset()
- func (m MsgMintNFT) Route() string
- func (m *MsgMintNFT) Size() (n int)
- func (m *MsgMintNFT) String() string
- func (m MsgMintNFT) Type() string
- func (m *MsgMintNFT) Unmarshal(dAtA []byte) error
- func (m MsgMintNFT) ValidateBasic() error
- func (m *MsgMintNFT) XXX_DiscardUnknown()
- func (m *MsgMintNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintNFT) XXX_Merge(src proto.Message)
- func (m *MsgMintNFT) XXX_Size() int
- func (m *MsgMintNFT) XXX_Unmarshal(b []byte) error
- type MsgMintNFTResponse
- func (*MsgMintNFTResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintNFTResponse) ProtoMessage()
- func (m *MsgMintNFTResponse) Reset()
- func (m *MsgMintNFTResponse) Size() (n int)
- func (m *MsgMintNFTResponse) String() string
- func (m *MsgMintNFTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintNFTResponse) XXX_DiscardUnknown()
- func (m *MsgMintNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintNFTResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintNFTResponse) XXX_Size() int
- func (m *MsgMintNFTResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTransferDenom
- func (*MsgTransferDenom) Descriptor() ([]byte, []int)
- func (this *MsgTransferDenom) Equal(that interface{}) bool
- func (m MsgTransferDenom) GetSignBytes() []byte
- func (m MsgTransferDenom) GetSigners() []sdk.AccAddress
- func (m *MsgTransferDenom) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferDenom) ProtoMessage()
- func (m *MsgTransferDenom) Reset()
- func (m MsgTransferDenom) Route() string
- func (m *MsgTransferDenom) Size() (n int)
- func (m *MsgTransferDenom) String() string
- func (m MsgTransferDenom) Type() string
- func (m *MsgTransferDenom) Unmarshal(dAtA []byte) error
- func (m MsgTransferDenom) ValidateBasic() error
- func (m *MsgTransferDenom) XXX_DiscardUnknown()
- func (m *MsgTransferDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferDenom) XXX_Merge(src proto.Message)
- func (m *MsgTransferDenom) XXX_Size() int
- func (m *MsgTransferDenom) XXX_Unmarshal(b []byte) error
- type MsgTransferDenomResponse
- func (*MsgTransferDenomResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferDenomResponse) ProtoMessage()
- func (m *MsgTransferDenomResponse) Reset()
- func (m *MsgTransferDenomResponse) Size() (n int)
- func (m *MsgTransferDenomResponse) String() string
- func (m *MsgTransferDenomResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferDenomResponse) XXX_DiscardUnknown()
- func (m *MsgTransferDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferDenomResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferDenomResponse) XXX_Size() int
- func (m *MsgTransferDenomResponse) XXX_Unmarshal(b []byte) error
- type MsgTransferNFT
- func (*MsgTransferNFT) Descriptor() ([]byte, []int)
- func (this *MsgTransferNFT) Equal(that interface{}) bool
- func (m MsgTransferNFT) GetSignBytes() []byte
- func (m MsgTransferNFT) GetSigners() []sdk.AccAddress
- func (m *MsgTransferNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferNFT) ProtoMessage()
- func (m *MsgTransferNFT) Reset()
- func (m MsgTransferNFT) Route() string
- func (m *MsgTransferNFT) Size() (n int)
- func (m *MsgTransferNFT) String() string
- func (m MsgTransferNFT) Type() string
- func (m *MsgTransferNFT) Unmarshal(dAtA []byte) error
- func (m MsgTransferNFT) ValidateBasic() error
- func (m *MsgTransferNFT) XXX_DiscardUnknown()
- func (m *MsgTransferNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferNFT) XXX_Merge(src proto.Message)
- func (m *MsgTransferNFT) XXX_Size() int
- func (m *MsgTransferNFT) XXX_Unmarshal(b []byte) error
- type MsgTransferNFTResponse
- func (*MsgTransferNFTResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferNFTResponse) ProtoMessage()
- func (m *MsgTransferNFTResponse) Reset()
- func (m *MsgTransferNFTResponse) Size() (n int)
- func (m *MsgTransferNFTResponse) String() string
- func (m *MsgTransferNFTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferNFTResponse) XXX_DiscardUnknown()
- func (m *MsgTransferNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferNFTResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferNFTResponse) XXX_Size() int
- func (m *MsgTransferNFTResponse) XXX_Unmarshal(b []byte) error
- type NFTs
- type Owner
- func (*Owner) Descriptor() ([]byte, []int)
- func (this *Owner) Equal(that interface{}) bool
- func (m *Owner) Marshal() (dAtA []byte, err error)
- func (m *Owner) MarshalTo(dAtA []byte) (int, error)
- func (m *Owner) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Owner) ProtoMessage()
- func (m *Owner) Reset()
- func (m *Owner) Size() (n int)
- func (m *Owner) String() string
- func (m *Owner) Unmarshal(dAtA []byte) error
- func (m *Owner) XXX_DiscardUnknown()
- func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Owner) XXX_Merge(src proto.Message)
- func (m *Owner) XXX_Size() int
- func (m *Owner) XXX_Unmarshal(b []byte) error
- type OwnerResp
- type PageResponse
- type QueryClient
- type QueryCollectionRequest
- func (*QueryCollectionRequest) Descriptor() ([]byte, []int)
- func (m *QueryCollectionRequest) GetDenomId() string
- func (m *QueryCollectionRequest) GetPagination() *query.PageRequest
- func (m *QueryCollectionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionRequest) ProtoMessage()
- func (m *QueryCollectionRequest) Reset()
- func (m *QueryCollectionRequest) Size() (n int)
- func (m *QueryCollectionRequest) String() string
- func (m *QueryCollectionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionRequest) XXX_DiscardUnknown()
- func (m *QueryCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionRequest) XXX_Merge(src proto.Message)
- func (m *QueryCollectionRequest) XXX_Size() int
- func (m *QueryCollectionRequest) XXX_Unmarshal(b []byte) error
- type QueryCollectionResp
- type QueryCollectionResponse
- func (*QueryCollectionResponse) Descriptor() ([]byte, []int)
- func (m *QueryCollectionResponse) GetCollection() *Collection
- func (m *QueryCollectionResponse) GetPagination() *query.PageResponse
- func (m *QueryCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionResponse) ProtoMessage()
- func (m *QueryCollectionResponse) Reset()
- func (m *QueryCollectionResponse) Size() (n int)
- func (m *QueryCollectionResponse) String() string
- func (m *QueryCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionResponse) XXX_DiscardUnknown()
- func (m *QueryCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionResponse) XXX_Merge(src proto.Message)
- func (m *QueryCollectionResponse) XXX_Size() int
- func (m *QueryCollectionResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomRequest
- func (*QueryDenomRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomRequest) GetDenomId() string
- func (m *QueryDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomRequest) ProtoMessage()
- func (m *QueryDenomRequest) Reset()
- func (m *QueryDenomRequest) Size() (n int)
- func (m *QueryDenomRequest) String() string
- func (m *QueryDenomRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomRequest) XXX_DiscardUnknown()
- func (m *QueryDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomRequest) XXX_Size() int
- func (m *QueryDenomRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomResp
- type QueryDenomResponse
- func (*QueryDenomResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomResponse) GetDenom() *Denom
- func (m *QueryDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomResponse) ProtoMessage()
- func (m *QueryDenomResponse) Reset()
- func (m *QueryDenomResponse) Size() (n int)
- func (m *QueryDenomResponse) String() string
- func (m *QueryDenomResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomResponse) XXX_DiscardUnknown()
- func (m *QueryDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomResponse) XXX_Size() int
- func (m *QueryDenomResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomsRequest
- func (*QueryDenomsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomsRequest) GetPagination() *query.PageRequest
- func (m *QueryDenomsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsRequest) ProtoMessage()
- func (m *QueryDenomsRequest) Reset()
- func (m *QueryDenomsRequest) Size() (n int)
- func (m *QueryDenomsRequest) String() string
- func (m *QueryDenomsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsRequest) XXX_DiscardUnknown()
- func (m *QueryDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomsRequest) XXX_Size() int
- func (m *QueryDenomsRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomsResponse
- func (*QueryDenomsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomsResponse) GetDenoms() []Denom
- func (m *QueryDenomsResponse) GetPagination() *query.PageResponse
- func (m *QueryDenomsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsResponse) ProtoMessage()
- func (m *QueryDenomsResponse) Reset()
- func (m *QueryDenomsResponse) Size() (n int)
- func (m *QueryDenomsResponse) String() string
- func (m *QueryDenomsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsResponse) XXX_DiscardUnknown()
- func (m *QueryDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomsResponse) XXX_Size() int
- func (m *QueryDenomsResponse) XXX_Unmarshal(b []byte) error
- type QueryNFTRequest
- func (*QueryNFTRequest) Descriptor() ([]byte, []int)
- func (m *QueryNFTRequest) GetDenomId() string
- func (m *QueryNFTRequest) GetTokenId() string
- func (m *QueryNFTRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryNFTRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNFTRequest) ProtoMessage()
- func (m *QueryNFTRequest) Reset()
- func (m *QueryNFTRequest) Size() (n int)
- func (m *QueryNFTRequest) String() string
- func (m *QueryNFTRequest) Unmarshal(dAtA []byte) error
- func (m *QueryNFTRequest) XXX_DiscardUnknown()
- func (m *QueryNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNFTRequest) XXX_Merge(src proto.Message)
- func (m *QueryNFTRequest) XXX_Size() int
- func (m *QueryNFTRequest) XXX_Unmarshal(b []byte) error
- type QueryNFTResp
- type QueryNFTResponse
- func (*QueryNFTResponse) Descriptor() ([]byte, []int)
- func (m *QueryNFTResponse) GetNFT() *BaseNFT
- func (m *QueryNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNFTResponse) ProtoMessage()
- func (m *QueryNFTResponse) Reset()
- func (m *QueryNFTResponse) Size() (n int)
- func (m *QueryNFTResponse) String() string
- func (m *QueryNFTResponse) Unmarshal(dAtA []byte) error
- func (m *QueryNFTResponse) XXX_DiscardUnknown()
- func (m *QueryNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNFTResponse) XXX_Merge(src proto.Message)
- func (m *QueryNFTResponse) XXX_Size() int
- func (m *QueryNFTResponse) XXX_Unmarshal(b []byte) error
- type QueryOwnerRequest
- func (*QueryOwnerRequest) Descriptor() ([]byte, []int)
- func (m *QueryOwnerRequest) GetDenomId() string
- func (m *QueryOwnerRequest) GetOwner() string
- func (m *QueryOwnerRequest) GetPagination() *query.PageRequest
- func (m *QueryOwnerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOwnerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOwnerRequest) ProtoMessage()
- func (m *QueryOwnerRequest) Reset()
- func (m *QueryOwnerRequest) Size() (n int)
- func (m *QueryOwnerRequest) String() string
- func (m *QueryOwnerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOwnerRequest) XXX_DiscardUnknown()
- func (m *QueryOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOwnerRequest) XXX_Merge(src proto.Message)
- func (m *QueryOwnerRequest) XXX_Size() int
- func (m *QueryOwnerRequest) XXX_Unmarshal(b []byte) error
- type QueryOwnerResp
- type QueryOwnerResponse
- func (o QueryOwnerResponse) Convert() interface{}
- func (*QueryOwnerResponse) Descriptor() ([]byte, []int)
- func (m *QueryOwnerResponse) GetOwner() *Owner
- func (m *QueryOwnerResponse) GetPagination() *query.PageResponse
- func (m *QueryOwnerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOwnerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOwnerResponse) ProtoMessage()
- func (m *QueryOwnerResponse) Reset()
- func (m *QueryOwnerResponse) Size() (n int)
- func (m *QueryOwnerResponse) String() string
- func (m *QueryOwnerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOwnerResponse) XXX_DiscardUnknown()
- func (m *QueryOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOwnerResponse) XXX_Merge(src proto.Message)
- func (m *QueryOwnerResponse) XXX_Size() int
- func (m *QueryOwnerResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySupplyRequest
- func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
- func (m *QuerySupplyRequest) GetDenomId() string
- func (m *QuerySupplyRequest) GetOwner() string
- func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyRequest) ProtoMessage()
- func (m *QuerySupplyRequest) Reset()
- func (m *QuerySupplyRequest) Size() (n int)
- func (m *QuerySupplyRequest) String() string
- func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyRequest) XXX_DiscardUnknown()
- func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)
- func (m *QuerySupplyRequest) XXX_Size() int
- func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error
- type QuerySupplyResponse
- func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
- func (m *QuerySupplyResponse) GetAmount() uint64
- func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyResponse) ProtoMessage()
- func (m *QuerySupplyResponse) Reset()
- func (m *QuerySupplyResponse) Size() (n int)
- func (m *QuerySupplyResponse) String() string
- func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyResponse) XXX_DiscardUnknown()
- func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)
- func (m *QuerySupplyResponse) XXX_Size() int
- func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error
- type TransferDenomRequest
- type TransferNFTRequest
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BurnNFT(ctx context.Context, req *MsgBurnNFT) (*MsgBurnNFTResponse, error)
- func (*UnimplementedMsgServer) EditNFT(ctx context.Context, req *MsgEditNFT) (*MsgEditNFTResponse, error)
- func (*UnimplementedMsgServer) IssueDenom(ctx context.Context, req *MsgIssueDenom) (*MsgIssueDenomResponse, error)
- func (*UnimplementedMsgServer) MintNFT(ctx context.Context, req *MsgMintNFT) (*MsgMintNFTResponse, error)
- func (*UnimplementedMsgServer) TransferDenom(ctx context.Context, req *MsgTransferDenom) (*MsgTransferDenomResponse, error)
- func (*UnimplementedMsgServer) TransferNFT(ctx context.Context, req *MsgTransferNFT) (*MsgTransferNFTResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Collection(ctx context.Context, req *QueryCollectionRequest) (*QueryCollectionResponse, error)
- func (*UnimplementedQueryServer) Denom(ctx context.Context, req *QueryDenomRequest) (*QueryDenomResponse, error)
- func (*UnimplementedQueryServer) Denoms(ctx context.Context, req *QueryDenomsRequest) (*QueryDenomsResponse, error)
- func (*UnimplementedQueryServer) NFT(ctx context.Context, req *QueryNFTRequest) (*QueryNFTResponse, error)
- func (*UnimplementedQueryServer) Owner(ctx context.Context, req *QueryOwnerRequest) (*QueryOwnerResponse, error)
- func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)
Constants ¶
const (
ModuleName = "nft"
)
Variables ¶
var ( ErrInvalidLengthNft = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNft = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupNft = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidCollection = sdkerrors.RegisterErr(ModuleName, 2, "invalid nft collection") ErrUnknownCollection = sdkerrors.RegisterErr(ModuleName, 3, "unknown nft collection") ErrInvalidNFT = sdkerrors.RegisterErr(ModuleName, 4, "invalid nft") ErrNFTAlreadyExists = sdkerrors.RegisterErr(ModuleName, 5, "nft already exists") ErrUnknownNFT = sdkerrors.RegisterErr(ModuleName, 6, "unknown nft") ErrEmptyTokenData = sdkerrors.RegisterErr(ModuleName, 7, "nft data can't be empty") ErrInvalidDenom = sdkerrors.RegisterErr(ModuleName, 9, "invalid denom") ErrInvalidTokenID = sdkerrors.RegisterErr(ModuleName, 10, "invalid nft id") ErrInvalidTokenURI = sdkerrors.RegisterErr(ModuleName, 11, "invalid nft uri") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, 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"` }
BaseNFT defines a non-fungible token
func (*BaseNFT) Descriptor ¶
func (*BaseNFT) MarshalToSizedBuffer ¶
func (*BaseNFT) ProtoMessage ¶
func (*BaseNFT) ProtoMessage()
func (*BaseNFT) XXX_DiscardUnknown ¶
func (m *BaseNFT) XXX_DiscardUnknown()
func (*BaseNFT) XXX_Marshal ¶
func (*BaseNFT) XXX_Unmarshal ¶
type BurnNFTRequest ¶
type Client ¶
type Client interface { sdk.Module IssueDenom(request IssueDenomRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) MintNFT(request MintNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) EditNFT(request EditNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) TransferNFT(request TransferNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) BurnNFT(request BurnNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) TransferDenom(request TransferDenomRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) QuerySupply(denomID, creator string) (uint64, sdk.Error) QueryOwner(creator, denomID string, pagination *query.PageRequest) (QueryOwnerResp, sdk.Error) QueryCollection(denomID string, pagination *query.PageRequest) (QueryCollectionResp, sdk.Error) QueryDenom(denomID string) (QueryDenomResp, sdk.Error) QueryDenoms(pagination *query.PageRequest) ([]QueryDenomResp, sdk.Error) QueryNFT(denomID, tokenID string) (QueryNFTResp, sdk.Error) }
expose NFT module api for user
type Collection ¶
type Collection struct { Denom Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom"` NFTs []BaseNFT `protobuf:"bytes,2,rep,name=nfts,proto3" json:"nfts"` }
Collection defines a type of collection
func (Collection) Convert ¶
func (c Collection) Convert() interface{}
func (*Collection) Descriptor ¶
func (*Collection) Descriptor() ([]byte, []int)
func (*Collection) Equal ¶
func (this *Collection) Equal(that interface{}) bool
func (*Collection) Marshal ¶
func (m *Collection) Marshal() (dAtA []byte, err error)
func (*Collection) MarshalToSizedBuffer ¶
func (m *Collection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) Reset ¶
func (m *Collection) Reset()
func (*Collection) Size ¶
func (m *Collection) Size() (n int)
func (*Collection) String ¶
func (m *Collection) String() string
func (*Collection) Unmarshal ¶
func (m *Collection) Unmarshal(dAtA []byte) error
func (*Collection) XXX_DiscardUnknown ¶
func (m *Collection) XXX_DiscardUnknown()
func (*Collection) XXX_Marshal ¶
func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Collection) XXX_Merge ¶
func (m *Collection) XXX_Merge(src proto.Message)
func (*Collection) XXX_Size ¶
func (m *Collection) XXX_Size() int
func (*Collection) XXX_Unmarshal ¶
func (m *Collection) XXX_Unmarshal(b []byte) error
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"` }
Denom defines a type of NFT
func (*Denom) Descriptor ¶
func (*Denom) ProtoMessage ¶
func (*Denom) ProtoMessage()
func (*Denom) XXX_DiscardUnknown ¶
func (m *Denom) XXX_DiscardUnknown()
func (*Denom) XXX_Marshal ¶
func (*Denom) XXX_Unmarshal ¶
type EditNFTRequest ¶
type IDC ¶
type IDC struct { Denom string `json:"denom" yaml:"denom"` TokenIDs []string `json:"token_ids" yaml:"token_ids"` }
IDC defines a set of nft ids that belong to a specific
type IDCollection ¶
type IDCollection struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` TokenIds []string `protobuf:"bytes,2,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty" yaml:"token_ids"` }
IDCollection defines a type of collection with specified ID
func (*IDCollection) Descriptor ¶
func (*IDCollection) Descriptor() ([]byte, []int)
func (*IDCollection) Equal ¶
func (this *IDCollection) Equal(that interface{}) bool
func (*IDCollection) Marshal ¶
func (m *IDCollection) Marshal() (dAtA []byte, err error)
func (*IDCollection) MarshalToSizedBuffer ¶
func (m *IDCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IDCollection) ProtoMessage ¶
func (*IDCollection) ProtoMessage()
func (*IDCollection) Reset ¶
func (m *IDCollection) Reset()
func (*IDCollection) Size ¶
func (m *IDCollection) Size() (n int)
func (*IDCollection) String ¶
func (m *IDCollection) String() string
func (*IDCollection) Unmarshal ¶
func (m *IDCollection) Unmarshal(dAtA []byte) error
func (*IDCollection) XXX_DiscardUnknown ¶
func (m *IDCollection) XXX_DiscardUnknown()
func (*IDCollection) XXX_Marshal ¶
func (m *IDCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IDCollection) XXX_Merge ¶
func (m *IDCollection) XXX_Merge(src proto.Message)
func (*IDCollection) XXX_Size ¶
func (m *IDCollection) XXX_Size() int
func (*IDCollection) XXX_Unmarshal ¶
func (m *IDCollection) XXX_Unmarshal(b []byte) error
type IssueDenomRequest ¶
type MintNFTRequest ¶
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" yaml:"denom_id"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` }
MsgBurnNFT defines an SDK message for burning a NFT.
func (*MsgBurnNFT) Descriptor ¶
func (*MsgBurnNFT) Descriptor() ([]byte, []int)
func (*MsgBurnNFT) Equal ¶
func (this *MsgBurnNFT) Equal(that interface{}) bool
func (MsgBurnNFT) GetSignBytes ¶
func (m MsgBurnNFT) GetSignBytes() []byte
func (MsgBurnNFT) GetSigners ¶
func (m MsgBurnNFT) GetSigners() []sdk.AccAddress
func (*MsgBurnNFT) Marshal ¶
func (m *MsgBurnNFT) Marshal() (dAtA []byte, err error)
func (*MsgBurnNFT) MarshalToSizedBuffer ¶
func (m *MsgBurnNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnNFT) ProtoMessage ¶
func (*MsgBurnNFT) ProtoMessage()
func (*MsgBurnNFT) Reset ¶
func (m *MsgBurnNFT) Reset()
func (MsgBurnNFT) Route ¶
func (m MsgBurnNFT) Route() string
func (*MsgBurnNFT) Size ¶
func (m *MsgBurnNFT) Size() (n int)
func (*MsgBurnNFT) String ¶
func (m *MsgBurnNFT) String() string
func (MsgBurnNFT) Type ¶
func (m MsgBurnNFT) Type() string
func (*MsgBurnNFT) Unmarshal ¶
func (m *MsgBurnNFT) Unmarshal(dAtA []byte) error
func (MsgBurnNFT) ValidateBasic ¶
func (m MsgBurnNFT) ValidateBasic() error
func (*MsgBurnNFT) XXX_DiscardUnknown ¶
func (m *MsgBurnNFT) XXX_DiscardUnknown()
func (*MsgBurnNFT) XXX_Marshal ¶
func (m *MsgBurnNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnNFT) XXX_Merge ¶
func (m *MsgBurnNFT) XXX_Merge(src proto.Message)
func (*MsgBurnNFT) XXX_Size ¶
func (m *MsgBurnNFT) XXX_Size() int
func (*MsgBurnNFT) XXX_Unmarshal ¶
func (m *MsgBurnNFT) XXX_Unmarshal(b []byte) error
type MsgBurnNFTResponse ¶
type MsgBurnNFTResponse struct { }
MsgBurnNFTResponse defines the Msg/BurnNFT response type.
func (*MsgBurnNFTResponse) Descriptor ¶
func (*MsgBurnNFTResponse) Descriptor() ([]byte, []int)
func (*MsgBurnNFTResponse) Marshal ¶
func (m *MsgBurnNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnNFTResponse) MarshalTo ¶
func (m *MsgBurnNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnNFTResponse) ProtoMessage ¶
func (*MsgBurnNFTResponse) ProtoMessage()
func (*MsgBurnNFTResponse) Reset ¶
func (m *MsgBurnNFTResponse) Reset()
func (*MsgBurnNFTResponse) Size ¶
func (m *MsgBurnNFTResponse) Size() (n int)
func (*MsgBurnNFTResponse) String ¶
func (m *MsgBurnNFTResponse) String() string
func (*MsgBurnNFTResponse) Unmarshal ¶
func (m *MsgBurnNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnNFTResponse) XXX_DiscardUnknown()
func (*MsgBurnNFTResponse) XXX_Marshal ¶
func (m *MsgBurnNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnNFTResponse) XXX_Merge ¶
func (m *MsgBurnNFTResponse) XXX_Merge(src proto.Message)
func (*MsgBurnNFTResponse) XXX_Size ¶
func (m *MsgBurnNFTResponse) XXX_Size() int
func (*MsgBurnNFTResponse) XXX_Unmarshal ¶
func (m *MsgBurnNFTResponse) XXX_Unmarshal(b []byte) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) 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" yaml:"denom_id"` 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"` }
MsgEditNFT defines an SDK message for editing a nft.
func (*MsgEditNFT) Descriptor ¶
func (*MsgEditNFT) Descriptor() ([]byte, []int)
func (*MsgEditNFT) Equal ¶
func (this *MsgEditNFT) Equal(that interface{}) bool
func (MsgEditNFT) GetSignBytes ¶
func (m MsgEditNFT) GetSignBytes() []byte
func (MsgEditNFT) GetSigners ¶
func (m MsgEditNFT) GetSigners() []sdk.AccAddress
func (*MsgEditNFT) Marshal ¶
func (m *MsgEditNFT) Marshal() (dAtA []byte, err error)
func (*MsgEditNFT) MarshalToSizedBuffer ¶
func (m *MsgEditNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditNFT) ProtoMessage ¶
func (*MsgEditNFT) ProtoMessage()
func (*MsgEditNFT) Reset ¶
func (m *MsgEditNFT) Reset()
func (MsgEditNFT) Route ¶
func (m MsgEditNFT) Route() string
func (*MsgEditNFT) Size ¶
func (m *MsgEditNFT) Size() (n int)
func (*MsgEditNFT) String ¶
func (m *MsgEditNFT) String() string
func (MsgEditNFT) Type ¶
func (m MsgEditNFT) Type() string
func (*MsgEditNFT) Unmarshal ¶
func (m *MsgEditNFT) Unmarshal(dAtA []byte) error
func (MsgEditNFT) ValidateBasic ¶
func (m MsgEditNFT) ValidateBasic() error
func (*MsgEditNFT) XXX_DiscardUnknown ¶
func (m *MsgEditNFT) XXX_DiscardUnknown()
func (*MsgEditNFT) XXX_Marshal ¶
func (m *MsgEditNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditNFT) XXX_Merge ¶
func (m *MsgEditNFT) XXX_Merge(src proto.Message)
func (*MsgEditNFT) XXX_Size ¶
func (m *MsgEditNFT) XXX_Size() int
func (*MsgEditNFT) XXX_Unmarshal ¶
func (m *MsgEditNFT) XXX_Unmarshal(b []byte) error
type MsgEditNFTResponse ¶
type MsgEditNFTResponse struct { }
MsgEditNFTResponse defines the Msg/EditNFT response type.
func (*MsgEditNFTResponse) Descriptor ¶
func (*MsgEditNFTResponse) Descriptor() ([]byte, []int)
func (*MsgEditNFTResponse) Marshal ¶
func (m *MsgEditNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditNFTResponse) MarshalTo ¶
func (m *MsgEditNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgEditNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditNFTResponse) ProtoMessage ¶
func (*MsgEditNFTResponse) ProtoMessage()
func (*MsgEditNFTResponse) Reset ¶
func (m *MsgEditNFTResponse) Reset()
func (*MsgEditNFTResponse) Size ¶
func (m *MsgEditNFTResponse) Size() (n int)
func (*MsgEditNFTResponse) String ¶
func (m *MsgEditNFTResponse) String() string
func (*MsgEditNFTResponse) Unmarshal ¶
func (m *MsgEditNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgEditNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgEditNFTResponse) XXX_DiscardUnknown()
func (*MsgEditNFTResponse) XXX_Marshal ¶
func (m *MsgEditNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditNFTResponse) XXX_Merge ¶
func (m *MsgEditNFTResponse) XXX_Merge(src proto.Message)
func (*MsgEditNFTResponse) XXX_Size ¶
func (m *MsgEditNFTResponse) XXX_Size() int
func (*MsgEditNFTResponse) XXX_Unmarshal ¶
func (m *MsgEditNFTResponse) XXX_Unmarshal(b []byte) error
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"` }
MsgIssueDenom defines an SDK message for creating a new denom.
func (*MsgIssueDenom) Descriptor ¶
func (*MsgIssueDenom) Descriptor() ([]byte, []int)
func (*MsgIssueDenom) Equal ¶
func (this *MsgIssueDenom) Equal(that interface{}) bool
func (MsgIssueDenom) GetSignBytes ¶
func (m MsgIssueDenom) GetSignBytes() []byte
func (MsgIssueDenom) GetSigners ¶
func (m MsgIssueDenom) GetSigners() []sdk.AccAddress
func (*MsgIssueDenom) Marshal ¶
func (m *MsgIssueDenom) Marshal() (dAtA []byte, err error)
func (*MsgIssueDenom) MarshalToSizedBuffer ¶
func (m *MsgIssueDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgIssueDenom) ProtoMessage ¶
func (*MsgIssueDenom) ProtoMessage()
func (*MsgIssueDenom) Reset ¶
func (m *MsgIssueDenom) Reset()
func (MsgIssueDenom) Route ¶
func (m MsgIssueDenom) Route() string
func (*MsgIssueDenom) Size ¶
func (m *MsgIssueDenom) Size() (n int)
func (*MsgIssueDenom) String ¶
func (m *MsgIssueDenom) String() string
func (MsgIssueDenom) Type ¶
func (m MsgIssueDenom) Type() string
func (*MsgIssueDenom) Unmarshal ¶
func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error
func (MsgIssueDenom) ValidateBasic ¶
func (m MsgIssueDenom) ValidateBasic() error
func (*MsgIssueDenom) XXX_DiscardUnknown ¶
func (m *MsgIssueDenom) XXX_DiscardUnknown()
func (*MsgIssueDenom) XXX_Marshal ¶
func (m *MsgIssueDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgIssueDenom) XXX_Merge ¶
func (m *MsgIssueDenom) XXX_Merge(src proto.Message)
func (*MsgIssueDenom) XXX_Size ¶
func (m *MsgIssueDenom) XXX_Size() int
func (*MsgIssueDenom) XXX_Unmarshal ¶
func (m *MsgIssueDenom) XXX_Unmarshal(b []byte) error
type MsgIssueDenomResponse ¶
type MsgIssueDenomResponse struct { }
MsgIssueDenomResponse defines the Msg/IssueDenom response type.
func (*MsgIssueDenomResponse) Descriptor ¶
func (*MsgIssueDenomResponse) Descriptor() ([]byte, []int)
func (*MsgIssueDenomResponse) Marshal ¶
func (m *MsgIssueDenomResponse) Marshal() (dAtA []byte, err error)
func (*MsgIssueDenomResponse) MarshalTo ¶
func (m *MsgIssueDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgIssueDenomResponse) MarshalToSizedBuffer ¶
func (m *MsgIssueDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgIssueDenomResponse) ProtoMessage ¶
func (*MsgIssueDenomResponse) ProtoMessage()
func (*MsgIssueDenomResponse) Reset ¶
func (m *MsgIssueDenomResponse) Reset()
func (*MsgIssueDenomResponse) Size ¶
func (m *MsgIssueDenomResponse) Size() (n int)
func (*MsgIssueDenomResponse) String ¶
func (m *MsgIssueDenomResponse) String() string
func (*MsgIssueDenomResponse) Unmarshal ¶
func (m *MsgIssueDenomResponse) Unmarshal(dAtA []byte) error
func (*MsgIssueDenomResponse) XXX_DiscardUnknown ¶
func (m *MsgIssueDenomResponse) XXX_DiscardUnknown()
func (*MsgIssueDenomResponse) XXX_Marshal ¶
func (m *MsgIssueDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgIssueDenomResponse) XXX_Merge ¶
func (m *MsgIssueDenomResponse) XXX_Merge(src proto.Message)
func (*MsgIssueDenomResponse) XXX_Size ¶
func (m *MsgIssueDenomResponse) XXX_Size() int
func (*MsgIssueDenomResponse) XXX_Unmarshal ¶
func (m *MsgIssueDenomResponse) XXX_Unmarshal(b []byte) error
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" yaml:"denom_id"` 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"` }
MsgMintNFT defines an SDK message for creating a new NFT.
func (*MsgMintNFT) Descriptor ¶
func (*MsgMintNFT) Descriptor() ([]byte, []int)
func (*MsgMintNFT) Equal ¶
func (this *MsgMintNFT) Equal(that interface{}) bool
func (MsgMintNFT) GetSignBytes ¶
func (m MsgMintNFT) GetSignBytes() []byte
func (MsgMintNFT) GetSigners ¶
func (m MsgMintNFT) GetSigners() []sdk.AccAddress
func (*MsgMintNFT) Marshal ¶
func (m *MsgMintNFT) Marshal() (dAtA []byte, err error)
func (*MsgMintNFT) MarshalToSizedBuffer ¶
func (m *MsgMintNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintNFT) ProtoMessage ¶
func (*MsgMintNFT) ProtoMessage()
func (*MsgMintNFT) Reset ¶
func (m *MsgMintNFT) Reset()
func (MsgMintNFT) Route ¶
func (m MsgMintNFT) Route() string
func (*MsgMintNFT) Size ¶
func (m *MsgMintNFT) Size() (n int)
func (*MsgMintNFT) String ¶
func (m *MsgMintNFT) String() string
func (MsgMintNFT) Type ¶
func (m MsgMintNFT) Type() string
func (*MsgMintNFT) Unmarshal ¶
func (m *MsgMintNFT) Unmarshal(dAtA []byte) error
func (MsgMintNFT) ValidateBasic ¶
func (m MsgMintNFT) ValidateBasic() error
func (*MsgMintNFT) XXX_DiscardUnknown ¶
func (m *MsgMintNFT) XXX_DiscardUnknown()
func (*MsgMintNFT) XXX_Marshal ¶
func (m *MsgMintNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintNFT) XXX_Merge ¶
func (m *MsgMintNFT) XXX_Merge(src proto.Message)
func (*MsgMintNFT) XXX_Size ¶
func (m *MsgMintNFT) XXX_Size() int
func (*MsgMintNFT) XXX_Unmarshal ¶
func (m *MsgMintNFT) XXX_Unmarshal(b []byte) error
type MsgMintNFTResponse ¶
type MsgMintNFTResponse struct { }
MsgMintNFTResponse defines the Msg/MintNFT response type.
func (*MsgMintNFTResponse) Descriptor ¶
func (*MsgMintNFTResponse) Descriptor() ([]byte, []int)
func (*MsgMintNFTResponse) Marshal ¶
func (m *MsgMintNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintNFTResponse) MarshalTo ¶
func (m *MsgMintNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgMintNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintNFTResponse) ProtoMessage ¶
func (*MsgMintNFTResponse) ProtoMessage()
func (*MsgMintNFTResponse) Reset ¶
func (m *MsgMintNFTResponse) Reset()
func (*MsgMintNFTResponse) Size ¶
func (m *MsgMintNFTResponse) Size() (n int)
func (*MsgMintNFTResponse) String ¶
func (m *MsgMintNFTResponse) String() string
func (*MsgMintNFTResponse) Unmarshal ¶
func (m *MsgMintNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgMintNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgMintNFTResponse) XXX_DiscardUnknown()
func (*MsgMintNFTResponse) XXX_Marshal ¶
func (m *MsgMintNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintNFTResponse) XXX_Merge ¶
func (m *MsgMintNFTResponse) XXX_Merge(src proto.Message)
func (*MsgMintNFTResponse) XXX_Size ¶
func (m *MsgMintNFTResponse) XXX_Size() int
func (*MsgMintNFTResponse) XXX_Unmarshal ¶
func (m *MsgMintNFTResponse) XXX_Unmarshal(b []byte) error
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) }
MsgServer is the server API for Msg service.
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"` }
MsgTransferDenom defines an SDK message for transferring an denom to recipient.
func (*MsgTransferDenom) Descriptor ¶
func (*MsgTransferDenom) Descriptor() ([]byte, []int)
func (*MsgTransferDenom) Equal ¶
func (this *MsgTransferDenom) Equal(that interface{}) bool
func (MsgTransferDenom) GetSignBytes ¶
func (m MsgTransferDenom) GetSignBytes() []byte
func (MsgTransferDenom) GetSigners ¶
func (m MsgTransferDenom) GetSigners() []sdk.AccAddress
func (*MsgTransferDenom) Marshal ¶
func (m *MsgTransferDenom) Marshal() (dAtA []byte, err error)
func (*MsgTransferDenom) MarshalToSizedBuffer ¶
func (m *MsgTransferDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferDenom) ProtoMessage ¶
func (*MsgTransferDenom) ProtoMessage()
func (*MsgTransferDenom) Reset ¶
func (m *MsgTransferDenom) Reset()
func (MsgTransferDenom) Route ¶
func (m MsgTransferDenom) Route() string
func (*MsgTransferDenom) Size ¶
func (m *MsgTransferDenom) Size() (n int)
func (*MsgTransferDenom) String ¶
func (m *MsgTransferDenom) String() string
func (MsgTransferDenom) Type ¶
func (m MsgTransferDenom) Type() string
func (*MsgTransferDenom) Unmarshal ¶
func (m *MsgTransferDenom) Unmarshal(dAtA []byte) error
func (MsgTransferDenom) ValidateBasic ¶
func (m MsgTransferDenom) ValidateBasic() error
func (*MsgTransferDenom) XXX_DiscardUnknown ¶
func (m *MsgTransferDenom) XXX_DiscardUnknown()
func (*MsgTransferDenom) XXX_Marshal ¶
func (m *MsgTransferDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferDenom) XXX_Merge ¶
func (m *MsgTransferDenom) XXX_Merge(src proto.Message)
func (*MsgTransferDenom) XXX_Size ¶
func (m *MsgTransferDenom) XXX_Size() int
func (*MsgTransferDenom) XXX_Unmarshal ¶
func (m *MsgTransferDenom) XXX_Unmarshal(b []byte) error
type MsgTransferDenomResponse ¶
type MsgTransferDenomResponse struct { }
MsgTransferDenomResponse defines the Msg/TransferDenom response type.
func (*MsgTransferDenomResponse) Descriptor ¶
func (*MsgTransferDenomResponse) Descriptor() ([]byte, []int)
func (*MsgTransferDenomResponse) Marshal ¶
func (m *MsgTransferDenomResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferDenomResponse) MarshalTo ¶
func (m *MsgTransferDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferDenomResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferDenomResponse) ProtoMessage ¶
func (*MsgTransferDenomResponse) ProtoMessage()
func (*MsgTransferDenomResponse) Reset ¶
func (m *MsgTransferDenomResponse) Reset()
func (*MsgTransferDenomResponse) Size ¶
func (m *MsgTransferDenomResponse) Size() (n int)
func (*MsgTransferDenomResponse) String ¶
func (m *MsgTransferDenomResponse) String() string
func (*MsgTransferDenomResponse) Unmarshal ¶
func (m *MsgTransferDenomResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferDenomResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferDenomResponse) XXX_DiscardUnknown()
func (*MsgTransferDenomResponse) XXX_Marshal ¶
func (m *MsgTransferDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferDenomResponse) XXX_Merge ¶
func (m *MsgTransferDenomResponse) XXX_Merge(src proto.Message)
func (*MsgTransferDenomResponse) XXX_Size ¶
func (m *MsgTransferDenomResponse) XXX_Size() int
func (*MsgTransferDenomResponse) XXX_Unmarshal ¶
func (m *MsgTransferDenomResponse) XXX_Unmarshal(b []byte) error
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" yaml:"denom_id"` 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"` }
MsgTransferNFT defines an SDK message for transferring an NFT to recipient.
func (*MsgTransferNFT) Descriptor ¶
func (*MsgTransferNFT) Descriptor() ([]byte, []int)
func (*MsgTransferNFT) Equal ¶
func (this *MsgTransferNFT) Equal(that interface{}) bool
func (MsgTransferNFT) GetSignBytes ¶
func (m MsgTransferNFT) GetSignBytes() []byte
func (MsgTransferNFT) GetSigners ¶
func (m MsgTransferNFT) GetSigners() []sdk.AccAddress
func (*MsgTransferNFT) Marshal ¶
func (m *MsgTransferNFT) Marshal() (dAtA []byte, err error)
func (*MsgTransferNFT) MarshalToSizedBuffer ¶
func (m *MsgTransferNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferNFT) ProtoMessage ¶
func (*MsgTransferNFT) ProtoMessage()
func (*MsgTransferNFT) Reset ¶
func (m *MsgTransferNFT) Reset()
func (MsgTransferNFT) Route ¶
func (m MsgTransferNFT) Route() string
func (*MsgTransferNFT) Size ¶
func (m *MsgTransferNFT) Size() (n int)
func (*MsgTransferNFT) String ¶
func (m *MsgTransferNFT) String() string
func (MsgTransferNFT) Type ¶
func (m MsgTransferNFT) Type() string
func (*MsgTransferNFT) Unmarshal ¶
func (m *MsgTransferNFT) Unmarshal(dAtA []byte) error
func (MsgTransferNFT) ValidateBasic ¶
func (m MsgTransferNFT) ValidateBasic() error
func (*MsgTransferNFT) XXX_DiscardUnknown ¶
func (m *MsgTransferNFT) XXX_DiscardUnknown()
func (*MsgTransferNFT) XXX_Marshal ¶
func (m *MsgTransferNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferNFT) XXX_Merge ¶
func (m *MsgTransferNFT) XXX_Merge(src proto.Message)
func (*MsgTransferNFT) XXX_Size ¶
func (m *MsgTransferNFT) XXX_Size() int
func (*MsgTransferNFT) XXX_Unmarshal ¶
func (m *MsgTransferNFT) XXX_Unmarshal(b []byte) error
type MsgTransferNFTResponse ¶
type MsgTransferNFTResponse struct { }
MsgTransferNFTResponse defines the Msg/TransferNFT response type.
func (*MsgTransferNFTResponse) Descriptor ¶
func (*MsgTransferNFTResponse) Descriptor() ([]byte, []int)
func (*MsgTransferNFTResponse) Marshal ¶
func (m *MsgTransferNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferNFTResponse) MarshalTo ¶
func (m *MsgTransferNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferNFTResponse) ProtoMessage ¶
func (*MsgTransferNFTResponse) ProtoMessage()
func (*MsgTransferNFTResponse) Reset ¶
func (m *MsgTransferNFTResponse) Reset()
func (*MsgTransferNFTResponse) Size ¶
func (m *MsgTransferNFTResponse) Size() (n int)
func (*MsgTransferNFTResponse) String ¶
func (m *MsgTransferNFTResponse) String() string
func (*MsgTransferNFTResponse) Unmarshal ¶
func (m *MsgTransferNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferNFTResponse) XXX_DiscardUnknown()
func (*MsgTransferNFTResponse) XXX_Marshal ¶
func (m *MsgTransferNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferNFTResponse) XXX_Merge ¶
func (m *MsgTransferNFTResponse) XXX_Merge(src proto.Message)
func (*MsgTransferNFTResponse) XXX_Size ¶
func (m *MsgTransferNFTResponse) XXX_Size() int
func (*MsgTransferNFTResponse) XXX_Unmarshal ¶
func (m *MsgTransferNFTResponse) XXX_Unmarshal(b []byte) error
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" yaml:"idcs"` }
Owner defines a type of owner
func (*Owner) Descriptor ¶
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) XXX_DiscardUnknown ¶
func (m *Owner) XXX_DiscardUnknown()
func (*Owner) XXX_Marshal ¶
func (*Owner) XXX_Unmarshal ¶
type PageResponse ¶
type PageResponse struct { // next_key is the key to be passed to PageRequest.key to // query the next page most efficiently NextKey []byte `json:"next_key"` // total is total number of results available if PageRequest.count_total // was set, its value is undefined otherwise Total uint64 `json:"total"` }
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) // Owner queries the NFTs of the specified owner Owner(ctx context.Context, in *QueryOwnerRequest, opts ...grpc.CallOption) (*QueryOwnerResponse, error) // Collection queries the NFTs of the specified denom Collection(ctx context.Context, in *QueryCollectionRequest, opts ...grpc.CallOption) (*QueryCollectionResponse, error) // Denom queries the definition of a given denom Denom(ctx context.Context, in *QueryDenomRequest, opts ...grpc.CallOption) (*QueryDenomResponse, error) // Denoms queries all the denoms Denoms(ctx context.Context, in *QueryDenomsRequest, opts ...grpc.CallOption) (*QueryDenomsResponse, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCollectionRequest ¶
type QueryCollectionRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryCollectionRequest is the request type for the Query/Collection RPC method
func (*QueryCollectionRequest) Descriptor ¶
func (*QueryCollectionRequest) Descriptor() ([]byte, []int)
func (*QueryCollectionRequest) GetDenomId ¶
func (m *QueryCollectionRequest) GetDenomId() string
func (*QueryCollectionRequest) GetPagination ¶
func (m *QueryCollectionRequest) GetPagination() *query.PageRequest
func (*QueryCollectionRequest) Marshal ¶
func (m *QueryCollectionRequest) Marshal() (dAtA []byte, err error)
func (*QueryCollectionRequest) MarshalTo ¶
func (m *QueryCollectionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollectionRequest) MarshalToSizedBuffer ¶
func (m *QueryCollectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollectionRequest) ProtoMessage ¶
func (*QueryCollectionRequest) ProtoMessage()
func (*QueryCollectionRequest) Reset ¶
func (m *QueryCollectionRequest) Reset()
func (*QueryCollectionRequest) Size ¶
func (m *QueryCollectionRequest) Size() (n int)
func (*QueryCollectionRequest) String ¶
func (m *QueryCollectionRequest) String() string
func (*QueryCollectionRequest) Unmarshal ¶
func (m *QueryCollectionRequest) Unmarshal(dAtA []byte) error
func (*QueryCollectionRequest) XXX_DiscardUnknown ¶
func (m *QueryCollectionRequest) XXX_DiscardUnknown()
func (*QueryCollectionRequest) XXX_Marshal ¶
func (m *QueryCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollectionRequest) XXX_Merge ¶
func (m *QueryCollectionRequest) XXX_Merge(src proto.Message)
func (*QueryCollectionRequest) XXX_Size ¶
func (m *QueryCollectionRequest) XXX_Size() int
func (*QueryCollectionRequest) XXX_Unmarshal ¶
func (m *QueryCollectionRequest) XXX_Unmarshal(b []byte) error
type QueryCollectionResp ¶
type QueryCollectionResp struct { Denom QueryDenomResp `json:"denom" yaml:"denom"` NFTs []QueryNFTResp `json:"nfts" yaml:"nfts"` }
type QueryCollectionResponse ¶
type QueryCollectionResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryCollectionResponse is the response type for the Query/Collection RPC method
func (*QueryCollectionResponse) Descriptor ¶
func (*QueryCollectionResponse) Descriptor() ([]byte, []int)
func (*QueryCollectionResponse) GetCollection ¶
func (m *QueryCollectionResponse) GetCollection() *Collection
func (*QueryCollectionResponse) GetPagination ¶
func (m *QueryCollectionResponse) GetPagination() *query.PageResponse
func (*QueryCollectionResponse) Marshal ¶
func (m *QueryCollectionResponse) Marshal() (dAtA []byte, err error)
func (*QueryCollectionResponse) MarshalTo ¶
func (m *QueryCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollectionResponse) MarshalToSizedBuffer ¶
func (m *QueryCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollectionResponse) ProtoMessage ¶
func (*QueryCollectionResponse) ProtoMessage()
func (*QueryCollectionResponse) Reset ¶
func (m *QueryCollectionResponse) Reset()
func (*QueryCollectionResponse) Size ¶
func (m *QueryCollectionResponse) Size() (n int)
func (*QueryCollectionResponse) String ¶
func (m *QueryCollectionResponse) String() string
func (*QueryCollectionResponse) Unmarshal ¶
func (m *QueryCollectionResponse) Unmarshal(dAtA []byte) error
func (*QueryCollectionResponse) XXX_DiscardUnknown ¶
func (m *QueryCollectionResponse) XXX_DiscardUnknown()
func (*QueryCollectionResponse) XXX_Marshal ¶
func (m *QueryCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollectionResponse) XXX_Merge ¶
func (m *QueryCollectionResponse) XXX_Merge(src proto.Message)
func (*QueryCollectionResponse) XXX_Size ¶
func (m *QueryCollectionResponse) XXX_Size() int
func (*QueryCollectionResponse) XXX_Unmarshal ¶
func (m *QueryCollectionResponse) XXX_Unmarshal(b []byte) error
type QueryDenomRequest ¶
type QueryDenomRequest struct {
DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
}
QueryDenomRequest is the request type for the Query/Denom RPC method
func (*QueryDenomRequest) Descriptor ¶
func (*QueryDenomRequest) Descriptor() ([]byte, []int)
func (*QueryDenomRequest) GetDenomId ¶
func (m *QueryDenomRequest) GetDenomId() string
func (*QueryDenomRequest) Marshal ¶
func (m *QueryDenomRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomRequest) MarshalTo ¶
func (m *QueryDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomRequest) ProtoMessage ¶
func (*QueryDenomRequest) ProtoMessage()
func (*QueryDenomRequest) Reset ¶
func (m *QueryDenomRequest) Reset()
func (*QueryDenomRequest) Size ¶
func (m *QueryDenomRequest) Size() (n int)
func (*QueryDenomRequest) String ¶
func (m *QueryDenomRequest) String() string
func (*QueryDenomRequest) Unmarshal ¶
func (m *QueryDenomRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomRequest) XXX_DiscardUnknown()
func (*QueryDenomRequest) XXX_Marshal ¶
func (m *QueryDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomRequest) XXX_Merge ¶
func (m *QueryDenomRequest) XXX_Merge(src proto.Message)
func (*QueryDenomRequest) XXX_Size ¶
func (m *QueryDenomRequest) XXX_Size() int
func (*QueryDenomRequest) XXX_Unmarshal ¶
func (m *QueryDenomRequest) XXX_Unmarshal(b []byte) error
type QueryDenomResp ¶
type QueryDenomResponse ¶
type QueryDenomResponse struct {
Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
QueryDenomResponse is the response type for the Query/Denom RPC method
func (*QueryDenomResponse) Descriptor ¶
func (*QueryDenomResponse) Descriptor() ([]byte, []int)
func (*QueryDenomResponse) GetDenom ¶
func (m *QueryDenomResponse) GetDenom() *Denom
func (*QueryDenomResponse) Marshal ¶
func (m *QueryDenomResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomResponse) MarshalTo ¶
func (m *QueryDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomResponse) ProtoMessage ¶
func (*QueryDenomResponse) ProtoMessage()
func (*QueryDenomResponse) Reset ¶
func (m *QueryDenomResponse) Reset()
func (*QueryDenomResponse) Size ¶
func (m *QueryDenomResponse) Size() (n int)
func (*QueryDenomResponse) String ¶
func (m *QueryDenomResponse) String() string
func (*QueryDenomResponse) Unmarshal ¶
func (m *QueryDenomResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomResponse) XXX_DiscardUnknown()
func (*QueryDenomResponse) XXX_Marshal ¶
func (m *QueryDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomResponse) XXX_Merge ¶
func (m *QueryDenomResponse) XXX_Merge(src proto.Message)
func (*QueryDenomResponse) XXX_Size ¶
func (m *QueryDenomResponse) XXX_Size() int
func (*QueryDenomResponse) XXX_Unmarshal ¶
func (m *QueryDenomResponse) XXX_Unmarshal(b []byte) error
type QueryDenomsRequest ¶
type QueryDenomsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsRequest is the request type for the Query/Denoms RPC method
func (*QueryDenomsRequest) Descriptor ¶
func (*QueryDenomsRequest) Descriptor() ([]byte, []int)
func (*QueryDenomsRequest) GetPagination ¶
func (m *QueryDenomsRequest) GetPagination() *query.PageRequest
func (*QueryDenomsRequest) Marshal ¶
func (m *QueryDenomsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomsRequest) MarshalTo ¶
func (m *QueryDenomsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsRequest) ProtoMessage ¶
func (*QueryDenomsRequest) ProtoMessage()
func (*QueryDenomsRequest) Reset ¶
func (m *QueryDenomsRequest) Reset()
func (*QueryDenomsRequest) Size ¶
func (m *QueryDenomsRequest) Size() (n int)
func (*QueryDenomsRequest) String ¶
func (m *QueryDenomsRequest) String() string
func (*QueryDenomsRequest) Unmarshal ¶
func (m *QueryDenomsRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomsRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomsRequest) XXX_DiscardUnknown()
func (*QueryDenomsRequest) XXX_Marshal ¶
func (m *QueryDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsRequest) XXX_Merge ¶
func (m *QueryDenomsRequest) XXX_Merge(src proto.Message)
func (*QueryDenomsRequest) XXX_Size ¶
func (m *QueryDenomsRequest) XXX_Size() int
func (*QueryDenomsRequest) XXX_Unmarshal ¶
func (m *QueryDenomsRequest) XXX_Unmarshal(b []byte) error
type QueryDenomsResponse ¶
type QueryDenomsResponse struct { Denoms []Denom `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsResponse is the response type for the Query/Denoms RPC method
func (*QueryDenomsResponse) Descriptor ¶
func (*QueryDenomsResponse) Descriptor() ([]byte, []int)
func (*QueryDenomsResponse) GetDenoms ¶
func (m *QueryDenomsResponse) GetDenoms() []Denom
func (*QueryDenomsResponse) GetPagination ¶
func (m *QueryDenomsResponse) GetPagination() *query.PageResponse
func (*QueryDenomsResponse) Marshal ¶
func (m *QueryDenomsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomsResponse) MarshalTo ¶
func (m *QueryDenomsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsResponse) ProtoMessage ¶
func (*QueryDenomsResponse) ProtoMessage()
func (*QueryDenomsResponse) Reset ¶
func (m *QueryDenomsResponse) Reset()
func (*QueryDenomsResponse) Size ¶
func (m *QueryDenomsResponse) Size() (n int)
func (*QueryDenomsResponse) String ¶
func (m *QueryDenomsResponse) String() string
func (*QueryDenomsResponse) Unmarshal ¶
func (m *QueryDenomsResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomsResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomsResponse) XXX_DiscardUnknown()
func (*QueryDenomsResponse) XXX_Marshal ¶
func (m *QueryDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsResponse) XXX_Merge ¶
func (m *QueryDenomsResponse) XXX_Merge(src proto.Message)
func (*QueryDenomsResponse) XXX_Size ¶
func (m *QueryDenomsResponse) XXX_Size() int
func (*QueryDenomsResponse) XXX_Unmarshal ¶
func (m *QueryDenomsResponse) XXX_Unmarshal(b []byte) error
type QueryNFTRequest ¶
type QueryNFTRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" yaml:"token_id"` }
QueryNFTRequest is the request type for the Query/NFT RPC method
func (*QueryNFTRequest) Descriptor ¶
func (*QueryNFTRequest) Descriptor() ([]byte, []int)
func (*QueryNFTRequest) GetDenomId ¶
func (m *QueryNFTRequest) GetDenomId() string
func (*QueryNFTRequest) GetTokenId ¶
func (m *QueryNFTRequest) GetTokenId() string
func (*QueryNFTRequest) Marshal ¶
func (m *QueryNFTRequest) Marshal() (dAtA []byte, err error)
func (*QueryNFTRequest) MarshalToSizedBuffer ¶
func (m *QueryNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNFTRequest) ProtoMessage ¶
func (*QueryNFTRequest) ProtoMessage()
func (*QueryNFTRequest) Reset ¶
func (m *QueryNFTRequest) Reset()
func (*QueryNFTRequest) Size ¶
func (m *QueryNFTRequest) Size() (n int)
func (*QueryNFTRequest) String ¶
func (m *QueryNFTRequest) String() string
func (*QueryNFTRequest) Unmarshal ¶
func (m *QueryNFTRequest) Unmarshal(dAtA []byte) error
func (*QueryNFTRequest) XXX_DiscardUnknown ¶
func (m *QueryNFTRequest) XXX_DiscardUnknown()
func (*QueryNFTRequest) XXX_Marshal ¶
func (m *QueryNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNFTRequest) XXX_Merge ¶
func (m *QueryNFTRequest) XXX_Merge(src proto.Message)
func (*QueryNFTRequest) XXX_Size ¶
func (m *QueryNFTRequest) XXX_Size() int
func (*QueryNFTRequest) XXX_Unmarshal ¶
func (m *QueryNFTRequest) XXX_Unmarshal(b []byte) error
type QueryNFTResp ¶
type QueryNFTResp struct { ID string `json:"id"` Name string `json:"name"` URI string `json:"uri"` Data string `json:"data"` Creator string `json:"creator"` URIHash string `json:"uri_hash"` }
BaseNFT non fungible token definition
type QueryNFTResponse ¶
type QueryNFTResponse struct {
NFT *BaseNFT `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"`
}
QueryNFTResponse is the response type for the Query/NFT RPC method
func (*QueryNFTResponse) Descriptor ¶
func (*QueryNFTResponse) Descriptor() ([]byte, []int)
func (*QueryNFTResponse) GetNFT ¶
func (m *QueryNFTResponse) GetNFT() *BaseNFT
func (*QueryNFTResponse) Marshal ¶
func (m *QueryNFTResponse) Marshal() (dAtA []byte, err error)
func (*QueryNFTResponse) MarshalToSizedBuffer ¶
func (m *QueryNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNFTResponse) ProtoMessage ¶
func (*QueryNFTResponse) ProtoMessage()
func (*QueryNFTResponse) Reset ¶
func (m *QueryNFTResponse) Reset()
func (*QueryNFTResponse) Size ¶
func (m *QueryNFTResponse) Size() (n int)
func (*QueryNFTResponse) String ¶
func (m *QueryNFTResponse) String() string
func (*QueryNFTResponse) Unmarshal ¶
func (m *QueryNFTResponse) Unmarshal(dAtA []byte) error
func (*QueryNFTResponse) XXX_DiscardUnknown ¶
func (m *QueryNFTResponse) XXX_DiscardUnknown()
func (*QueryNFTResponse) XXX_Marshal ¶
func (m *QueryNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNFTResponse) XXX_Merge ¶
func (m *QueryNFTResponse) XXX_Merge(src proto.Message)
func (*QueryNFTResponse) XXX_Size ¶
func (m *QueryNFTResponse) XXX_Size() int
func (*QueryNFTResponse) XXX_Unmarshal ¶
func (m *QueryNFTResponse) XXX_Unmarshal(b []byte) error
type QueryOwnerRequest ¶
type QueryOwnerRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryOwnerRequest is the request type for the Query/Owner RPC method
func (*QueryOwnerRequest) Descriptor ¶
func (*QueryOwnerRequest) Descriptor() ([]byte, []int)
func (*QueryOwnerRequest) GetDenomId ¶
func (m *QueryOwnerRequest) GetDenomId() string
func (*QueryOwnerRequest) GetOwner ¶
func (m *QueryOwnerRequest) GetOwner() string
func (*QueryOwnerRequest) GetPagination ¶
func (m *QueryOwnerRequest) GetPagination() *query.PageRequest
func (*QueryOwnerRequest) Marshal ¶
func (m *QueryOwnerRequest) Marshal() (dAtA []byte, err error)
func (*QueryOwnerRequest) MarshalTo ¶
func (m *QueryOwnerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOwnerRequest) MarshalToSizedBuffer ¶
func (m *QueryOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOwnerRequest) ProtoMessage ¶
func (*QueryOwnerRequest) ProtoMessage()
func (*QueryOwnerRequest) Reset ¶
func (m *QueryOwnerRequest) Reset()
func (*QueryOwnerRequest) Size ¶
func (m *QueryOwnerRequest) Size() (n int)
func (*QueryOwnerRequest) String ¶
func (m *QueryOwnerRequest) String() string
func (*QueryOwnerRequest) Unmarshal ¶
func (m *QueryOwnerRequest) Unmarshal(dAtA []byte) error
func (*QueryOwnerRequest) XXX_DiscardUnknown ¶
func (m *QueryOwnerRequest) XXX_DiscardUnknown()
func (*QueryOwnerRequest) XXX_Marshal ¶
func (m *QueryOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOwnerRequest) XXX_Merge ¶
func (m *QueryOwnerRequest) XXX_Merge(src proto.Message)
func (*QueryOwnerRequest) XXX_Size ¶
func (m *QueryOwnerRequest) XXX_Size() int
func (*QueryOwnerRequest) XXX_Unmarshal ¶
func (m *QueryOwnerRequest) XXX_Unmarshal(b []byte) error
type QueryOwnerResp ¶
type QueryOwnerResp struct { OwnerResp *OwnerResp `json:"owner"` Pagination *PageResponse `json:"pagination"` }
type QueryOwnerResponse ¶
type QueryOwnerResponse struct { Owner *Owner `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryOwnerResponse is the response type for the Query/Owner RPC method
func (QueryOwnerResponse) Convert ¶
func (o QueryOwnerResponse) Convert() interface{}
func (*QueryOwnerResponse) Descriptor ¶
func (*QueryOwnerResponse) Descriptor() ([]byte, []int)
func (*QueryOwnerResponse) GetOwner ¶
func (m *QueryOwnerResponse) GetOwner() *Owner
func (*QueryOwnerResponse) GetPagination ¶
func (m *QueryOwnerResponse) GetPagination() *query.PageResponse
func (*QueryOwnerResponse) Marshal ¶
func (m *QueryOwnerResponse) Marshal() (dAtA []byte, err error)
func (*QueryOwnerResponse) MarshalTo ¶
func (m *QueryOwnerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOwnerResponse) MarshalToSizedBuffer ¶
func (m *QueryOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOwnerResponse) ProtoMessage ¶
func (*QueryOwnerResponse) ProtoMessage()
func (*QueryOwnerResponse) Reset ¶
func (m *QueryOwnerResponse) Reset()
func (*QueryOwnerResponse) Size ¶
func (m *QueryOwnerResponse) Size() (n int)
func (*QueryOwnerResponse) String ¶
func (m *QueryOwnerResponse) String() string
func (*QueryOwnerResponse) Unmarshal ¶
func (m *QueryOwnerResponse) Unmarshal(dAtA []byte) error
func (*QueryOwnerResponse) XXX_DiscardUnknown ¶
func (m *QueryOwnerResponse) XXX_DiscardUnknown()
func (*QueryOwnerResponse) XXX_Marshal ¶
func (m *QueryOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOwnerResponse) XXX_Merge ¶
func (m *QueryOwnerResponse) XXX_Merge(src proto.Message)
func (*QueryOwnerResponse) XXX_Size ¶
func (m *QueryOwnerResponse) XXX_Size() int
func (*QueryOwnerResponse) XXX_Unmarshal ¶
func (m *QueryOwnerResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Supply queries the total supply of a given denom or owner Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error) // Owner queries the NFTs of the specified owner Owner(context.Context, *QueryOwnerRequest) (*QueryOwnerResponse, error) // Collection queries the NFTs of the specified denom Collection(context.Context, *QueryCollectionRequest) (*QueryCollectionResponse, error) // Denom queries the definition of a given denom Denom(context.Context, *QueryDenomRequest) (*QueryDenomResponse, error) // Denoms queries all the denoms Denoms(context.Context, *QueryDenomsRequest) (*QueryDenomsResponse, error) // NFT queries the NFT for the given denom and token ID NFT(context.Context, *QueryNFTRequest) (*QueryNFTResponse, error) }
QueryServer is the server API for Query service.
type QuerySupplyRequest ¶
type QuerySupplyRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` }
QuerySupplyRequest is the request type for the Query/HTLC RPC method
func (*QuerySupplyRequest) Descriptor ¶
func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
func (*QuerySupplyRequest) GetDenomId ¶
func (m *QuerySupplyRequest) GetDenomId() string
func (*QuerySupplyRequest) GetOwner ¶
func (m *QuerySupplyRequest) GetOwner() string
func (*QuerySupplyRequest) Marshal ¶
func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)
func (*QuerySupplyRequest) MarshalTo ¶
func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyRequest) MarshalToSizedBuffer ¶
func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyRequest) ProtoMessage ¶
func (*QuerySupplyRequest) ProtoMessage()
func (*QuerySupplyRequest) Reset ¶
func (m *QuerySupplyRequest) Reset()
func (*QuerySupplyRequest) Size ¶
func (m *QuerySupplyRequest) Size() (n int)
func (*QuerySupplyRequest) String ¶
func (m *QuerySupplyRequest) String() string
func (*QuerySupplyRequest) Unmarshal ¶
func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error
func (*QuerySupplyRequest) XXX_DiscardUnknown ¶
func (m *QuerySupplyRequest) XXX_DiscardUnknown()
func (*QuerySupplyRequest) XXX_Marshal ¶
func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyRequest) XXX_Merge ¶
func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)
func (*QuerySupplyRequest) XXX_Size ¶
func (m *QuerySupplyRequest) XXX_Size() int
func (*QuerySupplyRequest) XXX_Unmarshal ¶
func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error
type QuerySupplyResponse ¶
type QuerySupplyResponse struct {
Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
}
QuerySupplyResponse is the response type for the Query/Supply RPC method
func (*QuerySupplyResponse) Descriptor ¶
func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
func (*QuerySupplyResponse) GetAmount ¶
func (m *QuerySupplyResponse) GetAmount() uint64
func (*QuerySupplyResponse) Marshal ¶
func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)
func (*QuerySupplyResponse) MarshalTo ¶
func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyResponse) MarshalToSizedBuffer ¶
func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyResponse) ProtoMessage ¶
func (*QuerySupplyResponse) ProtoMessage()
func (*QuerySupplyResponse) Reset ¶
func (m *QuerySupplyResponse) Reset()
func (*QuerySupplyResponse) Size ¶
func (m *QuerySupplyResponse) Size() (n int)
func (*QuerySupplyResponse) String ¶
func (m *QuerySupplyResponse) String() string
func (*QuerySupplyResponse) Unmarshal ¶
func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error
func (*QuerySupplyResponse) XXX_DiscardUnknown ¶
func (m *QuerySupplyResponse) XXX_DiscardUnknown()
func (*QuerySupplyResponse) XXX_Marshal ¶
func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyResponse) XXX_Merge ¶
func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)
func (*QuerySupplyResponse) XXX_Size ¶
func (m *QuerySupplyResponse) XXX_Size() int
func (*QuerySupplyResponse) XXX_Unmarshal ¶
func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error
type TransferDenomRequest ¶
type TransferNFTRequest ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BurnNFT ¶
func (*UnimplementedMsgServer) BurnNFT(ctx context.Context, req *MsgBurnNFT) (*MsgBurnNFTResponse, error)
func (*UnimplementedMsgServer) EditNFT ¶
func (*UnimplementedMsgServer) EditNFT(ctx context.Context, req *MsgEditNFT) (*MsgEditNFTResponse, error)
func (*UnimplementedMsgServer) IssueDenom ¶
func (*UnimplementedMsgServer) IssueDenom(ctx context.Context, req *MsgIssueDenom) (*MsgIssueDenomResponse, error)
func (*UnimplementedMsgServer) MintNFT ¶
func (*UnimplementedMsgServer) MintNFT(ctx context.Context, req *MsgMintNFT) (*MsgMintNFTResponse, error)
func (*UnimplementedMsgServer) TransferDenom ¶
func (*UnimplementedMsgServer) TransferDenom(ctx context.Context, req *MsgTransferDenom) (*MsgTransferDenomResponse, error)
func (*UnimplementedMsgServer) TransferNFT ¶
func (*UnimplementedMsgServer) TransferNFT(ctx context.Context, req *MsgTransferNFT) (*MsgTransferNFTResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Collection ¶
func (*UnimplementedQueryServer) Collection(ctx context.Context, req *QueryCollectionRequest) (*QueryCollectionResponse, error)
func (*UnimplementedQueryServer) Denom ¶
func (*UnimplementedQueryServer) Denom(ctx context.Context, req *QueryDenomRequest) (*QueryDenomResponse, error)
func (*UnimplementedQueryServer) Denoms ¶
func (*UnimplementedQueryServer) Denoms(ctx context.Context, req *QueryDenomsRequest) (*QueryDenomsResponse, error)
func (*UnimplementedQueryServer) NFT ¶
func (*UnimplementedQueryServer) NFT(ctx context.Context, req *QueryNFTRequest) (*QueryNFTResponse, error)
func (*UnimplementedQueryServer) Owner ¶
func (*UnimplementedQueryServer) Owner(ctx context.Context, req *QueryOwnerRequest) (*QueryOwnerResponse, error)
func (*UnimplementedQueryServer) Supply ¶
func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)