nft

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "nft"

	DefaultStringValue = "[do-not-modify]"

	MinClassLen  = 3
	MaxClassLen  = 64
	MaxNFTURILen = 256
)

Variables

View Source
var (
	ErrInvalidLengthNft        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNft          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNft = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	RegexAlphaNumeric = regexp.MustCompile(`^[a-z0-9]+$`).MatchString
	RegexAlphaTop     = regexp.MustCompile(`^[a-z].*`).MatchString

	URIMatchWords = strings.Join([]string{"http://", "https://"}, "|")
)
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateClassID

func ValidateClassID(classID string) error

ValidateClassID verifies whether the parameters are legal

func ValidateKeywords

func ValidateKeywords(classID string) error

ValidateKeywords checks if the given classID begins with `DenomKeywords`

func ValidateNFTID

func ValidateNFTID(nftID string) error

ValidateNFTID verify that the nftID is legal

func ValidateNFTURI

func ValidateNFTURI(uri string) error

Types

type BurnNFTRequest

type BurnNFTRequest struct {
	ClassID string `json:"class_id"`
	ID      string `json:"id"`
}

type Class

type Class 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"`
	Symbol         string `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Owner          string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	MintRestricted bool   `protobuf:"varint,6,opt,name=mint_restricted,json=mintRestricted,proto3" json:"mint_restricted,omitempty"`
	EditRestricted bool   `protobuf:"varint,7,opt,name=edit_restricted,json=editRestricted,proto3" json:"edit_restricted,omitempty"`
}

func (Class) Convert

func (this Class) Convert() interface{}

func (*Class) Descriptor

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

func (*Class) Equal

func (this *Class) Equal(that interface{}) bool

func (*Class) Marshal

func (m *Class) Marshal() (dAtA []byte, err error)

func (*Class) MarshalTo

func (m *Class) MarshalTo(dAtA []byte) (int, error)

func (*Class) MarshalToSizedBuffer

func (m *Class) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Class) ProtoMessage

func (*Class) ProtoMessage()

func (*Class) Reset

func (m *Class) Reset()

func (*Class) Size

func (m *Class) Size() (n int)

func (*Class) String

func (m *Class) String() string

func (*Class) Unmarshal

func (m *Class) Unmarshal(dAtA []byte) error

func (*Class) XXX_DiscardUnknown

func (m *Class) XXX_DiscardUnknown()

func (*Class) XXX_Marshal

func (m *Class) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Class) XXX_Merge

func (m *Class) XXX_Merge(src proto.Message)

func (*Class) XXX_Size

func (m *Class) XXX_Size() int

func (*Class) XXX_Unmarshal

func (m *Class) XXX_Unmarshal(b []byte) error

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)
	TransferClass(request TransferClassRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error)
	BurnNFT(request BurnNFTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error)

	QuerySupply(denomID string) (uint64, sdk.Error)
	QueryOwner(creator, classId string, pageReq sdk.PageRequest) (QueryOwnerResp, sdk.Error)
	QueryCollection(denomID string, pageReq sdk.PageRequest) (QueryCollectionResp, sdk.Error)
	QueryDenom(denomID string) (QueryDenomResp, sdk.Error)
	QueryDenoms(pageReq sdk.PageRequest) ([]QueryDenomResp, sdk.Error)
	QueryNFT(denomID, ID string) (QueryNFTResp, sdk.Error)
}

expose NFT module api for user

func NewClient

func NewClient(bc sdk.BaseClient, cdc codec.Marshaler) Client

type Collection

type Collection struct {
	Class Class `protobuf:"bytes,1,opt,name=class,proto3" json:"class"`
	NFTs  []NFT `protobuf:"bytes,2,rep,name=nfts,proto3" json:"nfts"`
}

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) MarshalTo

func (m *Collection) MarshalTo(dAtA []byte) (int, 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 CollectionID

type CollectionID struct {
	ClassID string   `protobuf:"bytes,1,opt,name=Class_id,json=ClassId,proto3" json:"Class_id,omitempty"`
	NFTIDs  []string `protobuf:"bytes,2,rep,name=nft_ids,json=nftIds,proto3" json:"nft_ids,omitempty"`
}

func (*CollectionID) Descriptor

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

func (*CollectionID) Equal

func (this *CollectionID) Equal(that interface{}) bool

func (*CollectionID) Marshal

func (m *CollectionID) Marshal() (dAtA []byte, err error)

func (*CollectionID) MarshalTo

func (m *CollectionID) MarshalTo(dAtA []byte) (int, error)

func (*CollectionID) MarshalToSizedBuffer

func (m *CollectionID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CollectionID) ProtoMessage

func (*CollectionID) ProtoMessage()

func (*CollectionID) Reset

func (m *CollectionID) Reset()

func (*CollectionID) Size

func (m *CollectionID) Size() (n int)

func (*CollectionID) String

func (m *CollectionID) String() string

func (*CollectionID) Unmarshal

func (m *CollectionID) Unmarshal(dAtA []byte) error

func (*CollectionID) XXX_DiscardUnknown

func (m *CollectionID) XXX_DiscardUnknown()

func (*CollectionID) XXX_Marshal

func (m *CollectionID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionID) XXX_Merge

func (m *CollectionID) XXX_Merge(src proto.Message)

func (*CollectionID) XXX_Size

func (m *CollectionID) XXX_Size() int

func (*CollectionID) XXX_Unmarshal

func (m *CollectionID) XXX_Unmarshal(b []byte) error

type EditNFTRequest

type EditNFTRequest struct {
	ID      string `json:"id"`
	ClassID string `json:"class_id"`
	Name    string `json:"name"`
	URI     string `json:"uri"`
	Data    string `json:"data"`
}

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 IssueDenomRequest

type IssueDenomRequest struct {
	ID             string
	Name           string
	Schema         string
	Symbol         string
	MintRestricted bool
	EditRestricted bool
}

type MintNFTRequest

type MintNFTRequest struct {
	ID        string `json:"id"`
	ClassID   string `json:"class_id"`
	Name      string `json:"name"`
	URI       string `json:"uri"`
	Data      string `json:"data"`
	Recipient string `json:"recipient"`
}

type MsgBurnNFT

type MsgBurnNFT struct {
	ID      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClassID string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	Owner   string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*MsgBurnNFT) Descriptor

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

func (*MsgBurnNFT) Equal

func (this *MsgBurnNFT) Equal(that interface{}) bool

func (*MsgBurnNFT) GetClassID

func (m *MsgBurnNFT) GetClassID() string

func (*MsgBurnNFT) GetID

func (m *MsgBurnNFT) GetID() string

func (*MsgBurnNFT) GetOwner

func (m *MsgBurnNFT) GetOwner() string

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) MarshalTo

func (m *MsgBurnNFT) MarshalTo(dAtA []byte) (int, 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 {
}

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 MsgEditNFT

type MsgEditNFT struct {
	ID      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClassID string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_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"`
	Owner   string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*MsgEditNFT) Descriptor

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

func (*MsgEditNFT) Equal

func (this *MsgEditNFT) Equal(that interface{}) bool

func (*MsgEditNFT) GetClassID

func (m *MsgEditNFT) GetClassID() string

func (*MsgEditNFT) GetData

func (m *MsgEditNFT) GetData() string

func (*MsgEditNFT) GetID

func (m *MsgEditNFT) GetID() string

func (*MsgEditNFT) GetName

func (m *MsgEditNFT) GetName() string

func (*MsgEditNFT) GetOwner

func (m *MsgEditNFT) GetOwner() string

func (MsgEditNFT) GetSignBytes

func (m MsgEditNFT) GetSignBytes() []byte

func (MsgEditNFT) GetSigners

func (m MsgEditNFT) GetSigners() []sdk.AccAddress

func (*MsgEditNFT) GetURI

func (m *MsgEditNFT) GetURI() string

func (*MsgEditNFT) Marshal

func (m *MsgEditNFT) Marshal() (dAtA []byte, err error)

func (*MsgEditNFT) MarshalTo

func (m *MsgEditNFT) MarshalTo(dAtA []byte) (int, 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 {
}

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 MsgIssueClass

type MsgIssueClass 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"`
	Owner          string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,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"`
	EditRestricted bool   `protobuf:"varint,7,opt,name=edit_restricted,json=editRestricted,proto3" json:"edit_restricted,omitempty"`
}

func (*MsgIssueClass) Descriptor

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

func (*MsgIssueClass) Equal

func (this *MsgIssueClass) Equal(that interface{}) bool

func (*MsgIssueClass) GetEditRestricted

func (m *MsgIssueClass) GetEditRestricted() bool

func (*MsgIssueClass) GetID

func (m *MsgIssueClass) GetID() string

func (*MsgIssueClass) GetMintRestricted

func (m *MsgIssueClass) GetMintRestricted() bool

func (*MsgIssueClass) GetName

func (m *MsgIssueClass) GetName() string

func (*MsgIssueClass) GetOwner

func (m *MsgIssueClass) GetOwner() string

func (*MsgIssueClass) GetSchema

func (m *MsgIssueClass) GetSchema() string

func (MsgIssueClass) GetSignBytes

func (m MsgIssueClass) GetSignBytes() []byte

func (MsgIssueClass) GetSigners

func (m MsgIssueClass) GetSigners() []sdk.AccAddress

func (*MsgIssueClass) GetSymbol

func (m *MsgIssueClass) GetSymbol() string

func (*MsgIssueClass) Marshal

func (m *MsgIssueClass) Marshal() (dAtA []byte, err error)

func (*MsgIssueClass) MarshalTo

func (m *MsgIssueClass) MarshalTo(dAtA []byte) (int, error)

func (*MsgIssueClass) MarshalToSizedBuffer

func (m *MsgIssueClass) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIssueClass) ProtoMessage

func (*MsgIssueClass) ProtoMessage()

func (*MsgIssueClass) Reset

func (m *MsgIssueClass) Reset()

func (MsgIssueClass) Route

func (m MsgIssueClass) Route() string

func (*MsgIssueClass) Size

func (m *MsgIssueClass) Size() (n int)

func (*MsgIssueClass) String

func (m *MsgIssueClass) String() string

func (MsgIssueClass) Type

func (m MsgIssueClass) Type() string

func (*MsgIssueClass) Unmarshal

func (m *MsgIssueClass) Unmarshal(dAtA []byte) error

func (MsgIssueClass) ValidateBasic

func (m MsgIssueClass) ValidateBasic() error

func (*MsgIssueClass) XXX_DiscardUnknown

func (m *MsgIssueClass) XXX_DiscardUnknown()

func (*MsgIssueClass) XXX_Marshal

func (m *MsgIssueClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIssueClass) XXX_Merge

func (m *MsgIssueClass) XXX_Merge(src proto.Message)

func (*MsgIssueClass) XXX_Size

func (m *MsgIssueClass) XXX_Size() int

func (*MsgIssueClass) XXX_Unmarshal

func (m *MsgIssueClass) XXX_Unmarshal(b []byte) error

type MsgIssueClassResponse

type MsgIssueClassResponse struct {
}

func (*MsgIssueClassResponse) Descriptor

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

func (*MsgIssueClassResponse) Marshal

func (m *MsgIssueClassResponse) Marshal() (dAtA []byte, err error)

func (*MsgIssueClassResponse) MarshalTo

func (m *MsgIssueClassResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIssueClassResponse) MarshalToSizedBuffer

func (m *MsgIssueClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIssueClassResponse) ProtoMessage

func (*MsgIssueClassResponse) ProtoMessage()

func (*MsgIssueClassResponse) Reset

func (m *MsgIssueClassResponse) Reset()

func (*MsgIssueClassResponse) Size

func (m *MsgIssueClassResponse) Size() (n int)

func (*MsgIssueClassResponse) String

func (m *MsgIssueClassResponse) String() string

func (*MsgIssueClassResponse) Unmarshal

func (m *MsgIssueClassResponse) Unmarshal(dAtA []byte) error

func (*MsgIssueClassResponse) XXX_DiscardUnknown

func (m *MsgIssueClassResponse) XXX_DiscardUnknown()

func (*MsgIssueClassResponse) XXX_Marshal

func (m *MsgIssueClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIssueClassResponse) XXX_Merge

func (m *MsgIssueClassResponse) XXX_Merge(src proto.Message)

func (*MsgIssueClassResponse) XXX_Size

func (m *MsgIssueClassResponse) XXX_Size() int

func (*MsgIssueClassResponse) XXX_Unmarshal

func (m *MsgIssueClassResponse) XXX_Unmarshal(b []byte) error

type MsgIssueNFT

type MsgIssueNFT struct {
	ID        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClassID   string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_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"`
	Owner     string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
	Recipient string `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

func (*MsgIssueNFT) Descriptor

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

func (*MsgIssueNFT) Equal

func (this *MsgIssueNFT) Equal(that interface{}) bool

func (*MsgIssueNFT) GetClassID

func (m *MsgIssueNFT) GetClassID() string

func (*MsgIssueNFT) GetData

func (m *MsgIssueNFT) GetData() string

func (*MsgIssueNFT) GetID

func (m *MsgIssueNFT) GetID() string

func (*MsgIssueNFT) GetName

func (m *MsgIssueNFT) GetName() string

func (*MsgIssueNFT) GetOwner

func (m *MsgIssueNFT) GetOwner() string

func (*MsgIssueNFT) GetRecipient

func (m *MsgIssueNFT) GetRecipient() string

func (MsgIssueNFT) GetSignBytes

func (m MsgIssueNFT) GetSignBytes() []byte

func (MsgIssueNFT) GetSigners

func (m MsgIssueNFT) GetSigners() []sdk.AccAddress

func (*MsgIssueNFT) GetURI

func (m *MsgIssueNFT) GetURI() string

func (*MsgIssueNFT) Marshal

func (m *MsgIssueNFT) Marshal() (dAtA []byte, err error)

func (*MsgIssueNFT) MarshalTo

func (m *MsgIssueNFT) MarshalTo(dAtA []byte) (int, error)

func (*MsgIssueNFT) MarshalToSizedBuffer

func (m *MsgIssueNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIssueNFT) ProtoMessage

func (*MsgIssueNFT) ProtoMessage()

func (*MsgIssueNFT) Reset

func (m *MsgIssueNFT) Reset()

func (MsgIssueNFT) Route

func (m MsgIssueNFT) Route() string

func (*MsgIssueNFT) Size

func (m *MsgIssueNFT) Size() (n int)

func (*MsgIssueNFT) String

func (m *MsgIssueNFT) String() string

func (MsgIssueNFT) Type

func (m MsgIssueNFT) Type() string

func (*MsgIssueNFT) Unmarshal

func (m *MsgIssueNFT) Unmarshal(dAtA []byte) error

func (MsgIssueNFT) ValidateBasic

func (m MsgIssueNFT) ValidateBasic() error

func (*MsgIssueNFT) XXX_DiscardUnknown

func (m *MsgIssueNFT) XXX_DiscardUnknown()

func (*MsgIssueNFT) XXX_Marshal

func (m *MsgIssueNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIssueNFT) XXX_Merge

func (m *MsgIssueNFT) XXX_Merge(src proto.Message)

func (*MsgIssueNFT) XXX_Size

func (m *MsgIssueNFT) XXX_Size() int

func (*MsgIssueNFT) XXX_Unmarshal

func (m *MsgIssueNFT) XXX_Unmarshal(b []byte) error

type MsgIssueNFTResponse

type MsgIssueNFTResponse struct {
}

func (*MsgIssueNFTResponse) Descriptor

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

func (*MsgIssueNFTResponse) Marshal

func (m *MsgIssueNFTResponse) Marshal() (dAtA []byte, err error)

func (*MsgIssueNFTResponse) MarshalTo

func (m *MsgIssueNFTResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIssueNFTResponse) MarshalToSizedBuffer

func (m *MsgIssueNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIssueNFTResponse) ProtoMessage

func (*MsgIssueNFTResponse) ProtoMessage()

func (*MsgIssueNFTResponse) Reset

func (m *MsgIssueNFTResponse) Reset()

func (*MsgIssueNFTResponse) Size

func (m *MsgIssueNFTResponse) Size() (n int)

func (*MsgIssueNFTResponse) String

func (m *MsgIssueNFTResponse) String() string

func (*MsgIssueNFTResponse) Unmarshal

func (m *MsgIssueNFTResponse) Unmarshal(dAtA []byte) error

func (*MsgIssueNFTResponse) XXX_DiscardUnknown

func (m *MsgIssueNFTResponse) XXX_DiscardUnknown()

func (*MsgIssueNFTResponse) XXX_Marshal

func (m *MsgIssueNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIssueNFTResponse) XXX_Merge

func (m *MsgIssueNFTResponse) XXX_Merge(src proto.Message)

func (*MsgIssueNFTResponse) XXX_Size

func (m *MsgIssueNFTResponse) XXX_Size() int

func (*MsgIssueNFTResponse) XXX_Unmarshal

func (m *MsgIssueNFTResponse) XXX_Unmarshal(b []byte) error

type MsgTransferClass

type MsgTransferClass struct {
	ID        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner     string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

func (*MsgTransferClass) Descriptor

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

func (*MsgTransferClass) Equal

func (this *MsgTransferClass) Equal(that interface{}) bool

func (*MsgTransferClass) GetID

func (m *MsgTransferClass) GetID() string

func (*MsgTransferClass) GetOwner

func (m *MsgTransferClass) GetOwner() string

func (*MsgTransferClass) GetRecipient

func (m *MsgTransferClass) GetRecipient() string

func (MsgTransferClass) GetSignBytes

func (m MsgTransferClass) GetSignBytes() []byte

func (MsgTransferClass) GetSigners

func (m MsgTransferClass) GetSigners() []sdk.AccAddress

func (*MsgTransferClass) Marshal

func (m *MsgTransferClass) Marshal() (dAtA []byte, err error)

func (*MsgTransferClass) MarshalTo

func (m *MsgTransferClass) MarshalTo(dAtA []byte) (int, error)

func (*MsgTransferClass) MarshalToSizedBuffer

func (m *MsgTransferClass) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTransferClass) ProtoMessage

func (*MsgTransferClass) ProtoMessage()

func (*MsgTransferClass) Reset

func (m *MsgTransferClass) Reset()

func (MsgTransferClass) Route

func (m MsgTransferClass) Route() string

func (*MsgTransferClass) Size

func (m *MsgTransferClass) Size() (n int)

func (*MsgTransferClass) String

func (m *MsgTransferClass) String() string

func (MsgTransferClass) Type

func (m MsgTransferClass) Type() string

func (*MsgTransferClass) Unmarshal

func (m *MsgTransferClass) Unmarshal(dAtA []byte) error

func (MsgTransferClass) ValidateBasic

func (m MsgTransferClass) ValidateBasic() error

func (*MsgTransferClass) XXX_DiscardUnknown

func (m *MsgTransferClass) XXX_DiscardUnknown()

func (*MsgTransferClass) XXX_Marshal

func (m *MsgTransferClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTransferClass) XXX_Merge

func (m *MsgTransferClass) XXX_Merge(src proto.Message)

func (*MsgTransferClass) XXX_Size

func (m *MsgTransferClass) XXX_Size() int

func (*MsgTransferClass) XXX_Unmarshal

func (m *MsgTransferClass) XXX_Unmarshal(b []byte) error

type MsgTransferClassResponse

type MsgTransferClassResponse struct {
}

func (*MsgTransferClassResponse) Descriptor

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

func (*MsgTransferClassResponse) Marshal

func (m *MsgTransferClassResponse) Marshal() (dAtA []byte, err error)

func (*MsgTransferClassResponse) MarshalTo

func (m *MsgTransferClassResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgTransferClassResponse) MarshalToSizedBuffer

func (m *MsgTransferClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTransferClassResponse) ProtoMessage

func (*MsgTransferClassResponse) ProtoMessage()

func (*MsgTransferClassResponse) Reset

func (m *MsgTransferClassResponse) Reset()

func (*MsgTransferClassResponse) Size

func (m *MsgTransferClassResponse) Size() (n int)

func (*MsgTransferClassResponse) String

func (m *MsgTransferClassResponse) String() string

func (*MsgTransferClassResponse) Unmarshal

func (m *MsgTransferClassResponse) Unmarshal(dAtA []byte) error

func (*MsgTransferClassResponse) XXX_DiscardUnknown

func (m *MsgTransferClassResponse) XXX_DiscardUnknown()

func (*MsgTransferClassResponse) XXX_Marshal

func (m *MsgTransferClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTransferClassResponse) XXX_Merge

func (m *MsgTransferClassResponse) XXX_Merge(src proto.Message)

func (*MsgTransferClassResponse) XXX_Size

func (m *MsgTransferClassResponse) XXX_Size() int

func (*MsgTransferClassResponse) XXX_Unmarshal

func (m *MsgTransferClassResponse) XXX_Unmarshal(b []byte) error

type MsgTransferNFT

type MsgTransferNFT struct {
	ID        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClassID   string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Owner     string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*MsgTransferNFT) Descriptor

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

func (*MsgTransferNFT) Equal

func (this *MsgTransferNFT) Equal(that interface{}) bool

func (*MsgTransferNFT) GetClassID

func (m *MsgTransferNFT) GetClassID() string

func (*MsgTransferNFT) GetID

func (m *MsgTransferNFT) GetID() string

func (*MsgTransferNFT) GetOwner

func (m *MsgTransferNFT) GetOwner() string

func (*MsgTransferNFT) GetRecipient

func (m *MsgTransferNFT) GetRecipient() string

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) MarshalTo

func (m *MsgTransferNFT) MarshalTo(dAtA []byte) (int, 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 {
}

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 NFT

type NFT 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"`
}

func (NFT) Convert

func (this NFT) Convert() interface{}

func (*NFT) Descriptor

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

func (*NFT) Equal

func (this *NFT) Equal(that interface{}) bool

func (*NFT) Marshal

func (m *NFT) Marshal() (dAtA []byte, err error)

func (*NFT) MarshalTo

func (m *NFT) MarshalTo(dAtA []byte) (int, error)

func (*NFT) MarshalToSizedBuffer

func (m *NFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NFT) ProtoMessage

func (*NFT) ProtoMessage()

func (*NFT) Reset

func (m *NFT) Reset()

func (*NFT) Size

func (m *NFT) Size() (n int)

func (*NFT) String

func (m *NFT) String() string

func (*NFT) Unmarshal

func (m *NFT) Unmarshal(dAtA []byte) error

func (*NFT) XXX_DiscardUnknown

func (m *NFT) XXX_DiscardUnknown()

func (*NFT) XXX_Marshal

func (m *NFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NFT) XXX_Merge

func (m *NFT) XXX_Merge(src proto.Message)

func (*NFT) XXX_Size

func (m *NFT) XXX_Size() int

func (*NFT) XXX_Unmarshal

func (m *NFT) XXX_Unmarshal(b []byte) error

type NFTs

type NFTs []NFT

type Owner

type Owner struct {
	Address       string         `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	CollectionIDs []CollectionID `protobuf:"bytes,2,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids" yaml:"cids"`
}

func (Owner) Convert

func (o Owner) Convert() interface{}

func (*Owner) Descriptor

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

func (*Owner) Equal

func (this *Owner) Equal(that interface{}) bool

func (*Owner) Marshal

func (m *Owner) Marshal() (dAtA []byte, err error)

func (*Owner) MarshalTo

func (m *Owner) MarshalTo(dAtA []byte) (int, error)

func (*Owner) MarshalToSizedBuffer

func (m *Owner) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) Reset

func (m *Owner) Reset()

func (*Owner) Size

func (m *Owner) Size() (n int)

func (*Owner) String

func (m *Owner) String() string

func (*Owner) Unmarshal

func (m *Owner) Unmarshal(dAtA []byte) error

func (*Owner) XXX_DiscardUnknown

func (m *Owner) XXX_DiscardUnknown()

func (*Owner) XXX_Marshal

func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Owner) XXX_Merge

func (m *Owner) XXX_Merge(src proto.Message)

func (*Owner) XXX_Size

func (m *Owner) XXX_Size() int

func (*Owner) XXX_Unmarshal

func (m *Owner) XXX_Unmarshal(b []byte) error

type QueryClassRequest

type QueryClassRequest struct {
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty" yaml:"class_id"`
}

func (*QueryClassRequest) Descriptor

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

func (*QueryClassRequest) GetClassId

func (m *QueryClassRequest) GetClassId() string

func (*QueryClassRequest) Marshal

func (m *QueryClassRequest) Marshal() (dAtA []byte, err error)

func (*QueryClassRequest) MarshalTo

func (m *QueryClassRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassRequest) MarshalToSizedBuffer

func (m *QueryClassRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassRequest) ProtoMessage

func (*QueryClassRequest) ProtoMessage()

func (*QueryClassRequest) Reset

func (m *QueryClassRequest) Reset()

func (*QueryClassRequest) Size

func (m *QueryClassRequest) Size() (n int)

func (*QueryClassRequest) String

func (m *QueryClassRequest) String() string

func (*QueryClassRequest) Unmarshal

func (m *QueryClassRequest) Unmarshal(dAtA []byte) error

func (*QueryClassRequest) XXX_DiscardUnknown

func (m *QueryClassRequest) XXX_DiscardUnknown()

func (*QueryClassRequest) XXX_Marshal

func (m *QueryClassRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassRequest) XXX_Merge

func (m *QueryClassRequest) XXX_Merge(src proto.Message)

func (*QueryClassRequest) XXX_Size

func (m *QueryClassRequest) XXX_Size() int

func (*QueryClassRequest) XXX_Unmarshal

func (m *QueryClassRequest) XXX_Unmarshal(b []byte) error

type QueryClassResponse

type QueryClassResponse struct {
	Class *Class `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"`
}

func (*QueryClassResponse) Descriptor

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

func (*QueryClassResponse) GetClass

func (m *QueryClassResponse) GetClass() *Class

func (*QueryClassResponse) Marshal

func (m *QueryClassResponse) Marshal() (dAtA []byte, err error)

func (*QueryClassResponse) MarshalTo

func (m *QueryClassResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassResponse) MarshalToSizedBuffer

func (m *QueryClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassResponse) ProtoMessage

func (*QueryClassResponse) ProtoMessage()

func (*QueryClassResponse) Reset

func (m *QueryClassResponse) Reset()

func (*QueryClassResponse) Size

func (m *QueryClassResponse) Size() (n int)

func (*QueryClassResponse) String

func (m *QueryClassResponse) String() string

func (*QueryClassResponse) Unmarshal

func (m *QueryClassResponse) Unmarshal(dAtA []byte) error

func (*QueryClassResponse) XXX_DiscardUnknown

func (m *QueryClassResponse) XXX_DiscardUnknown()

func (*QueryClassResponse) XXX_Marshal

func (m *QueryClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassResponse) XXX_Merge

func (m *QueryClassResponse) XXX_Merge(src proto.Message)

func (*QueryClassResponse) XXX_Size

func (m *QueryClassResponse) XXX_Size() int

func (*QueryClassResponse) XXX_Unmarshal

func (m *QueryClassResponse) XXX_Unmarshal(b []byte) error

type QueryClassesRequest

type QueryClassesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryClassesRequest) Descriptor

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

func (*QueryClassesRequest) GetPagination

func (m *QueryClassesRequest) GetPagination() *query.PageRequest

func (*QueryClassesRequest) Marshal

func (m *QueryClassesRequest) Marshal() (dAtA []byte, err error)

func (*QueryClassesRequest) MarshalTo

func (m *QueryClassesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassesRequest) MarshalToSizedBuffer

func (m *QueryClassesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassesRequest) ProtoMessage

func (*QueryClassesRequest) ProtoMessage()

func (*QueryClassesRequest) Reset

func (m *QueryClassesRequest) Reset()

func (*QueryClassesRequest) Size

func (m *QueryClassesRequest) Size() (n int)

func (*QueryClassesRequest) String

func (m *QueryClassesRequest) String() string

func (*QueryClassesRequest) Unmarshal

func (m *QueryClassesRequest) Unmarshal(dAtA []byte) error

func (*QueryClassesRequest) XXX_DiscardUnknown

func (m *QueryClassesRequest) XXX_DiscardUnknown()

func (*QueryClassesRequest) XXX_Marshal

func (m *QueryClassesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassesRequest) XXX_Merge

func (m *QueryClassesRequest) XXX_Merge(src proto.Message)

func (*QueryClassesRequest) XXX_Size

func (m *QueryClassesRequest) XXX_Size() int

func (*QueryClassesRequest) XXX_Unmarshal

func (m *QueryClassesRequest) XXX_Unmarshal(b []byte) error

type QueryClassesResponse

type QueryClassesResponse struct {
	Classes    []Class             `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryClassesResponse) Descriptor

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

func (*QueryClassesResponse) GetClasses

func (m *QueryClassesResponse) GetClasses() []Class

func (*QueryClassesResponse) GetPagination

func (m *QueryClassesResponse) GetPagination() *query.PageResponse

func (*QueryClassesResponse) Marshal

func (m *QueryClassesResponse) Marshal() (dAtA []byte, err error)

func (*QueryClassesResponse) MarshalTo

func (m *QueryClassesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassesResponse) MarshalToSizedBuffer

func (m *QueryClassesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassesResponse) ProtoMessage

func (*QueryClassesResponse) ProtoMessage()

func (*QueryClassesResponse) Reset

func (m *QueryClassesResponse) Reset()

func (*QueryClassesResponse) Size

func (m *QueryClassesResponse) Size() (n int)

func (*QueryClassesResponse) String

func (m *QueryClassesResponse) String() string

func (*QueryClassesResponse) Unmarshal

func (m *QueryClassesResponse) Unmarshal(dAtA []byte) error

func (*QueryClassesResponse) XXX_DiscardUnknown

func (m *QueryClassesResponse) XXX_DiscardUnknown()

func (*QueryClassesResponse) XXX_Marshal

func (m *QueryClassesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassesResponse) XXX_Merge

func (m *QueryClassesResponse) XXX_Merge(src proto.Message)

func (*QueryClassesResponse) XXX_Size

func (m *QueryClassesResponse) XXX_Size() int

func (*QueryClassesResponse) XXX_Unmarshal

func (m *QueryClassesResponse) XXX_Unmarshal(b []byte) error

type QueryClient

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 {
	ClassId    string             `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryCollectionRequest) Descriptor

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

func (*QueryCollectionRequest) GetClassId

func (m *QueryCollectionRequest) GetClassId() 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"`
}

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 QueryDenomResp

type QueryDenomResp struct {
	ID             string `json:"id"`
	Name           string `json:"name"`
	Schema         string `json:"schema"`
	Symbol         string `json:"symbol"`
	Owner          string `json:"owner"`
	MintRestricted bool   `json:"mint_restricted"`
	EditRestricted bool   `json:"edit_restricted"`
}

type QueryNFTRequest

type QueryNFTRequest struct {
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty" yaml:"class_id"`
	NftId   string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty" yaml:"nft_id"`
}

func (*QueryNFTRequest) Descriptor

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

func (*QueryNFTRequest) GetClassId

func (m *QueryNFTRequest) GetClassId() string

func (*QueryNFTRequest) GetNftId

func (m *QueryNFTRequest) GetNftId() string

func (*QueryNFTRequest) Marshal

func (m *QueryNFTRequest) Marshal() (dAtA []byte, err error)

func (*QueryNFTRequest) MarshalTo

func (m *QueryNFTRequest) MarshalTo(dAtA []byte) (int, 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"`
}

BaseNFT non fungible token definition

type QueryNFTResponse

type QueryNFTResponse struct {
	Nft *NFT `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"`
}

func (*QueryNFTResponse) Descriptor

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

func (*QueryNFTResponse) GetNft

func (m *QueryNFTResponse) GetNft() *NFT

func (*QueryNFTResponse) Marshal

func (m *QueryNFTResponse) Marshal() (dAtA []byte, err error)

func (*QueryNFTResponse) MarshalTo

func (m *QueryNFTResponse) MarshalTo(dAtA []byte) (int, 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 {
	ClassId    string             `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty" yaml:"class_id"`
	Address    string             `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryOwnerRequest) Descriptor

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

func (*QueryOwnerRequest) GetAddress

func (m *QueryOwnerRequest) GetAddress() string

func (*QueryOwnerRequest) GetClassId

func (m *QueryOwnerRequest) GetClassId() 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 {
	Address string `json:"address" yaml:"address"`
	IDCs    []IDC  `json:"idcs" yaml:"idcs"`
}

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"`
}

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 QuerySupplyRequest

type QuerySupplyRequest struct {
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty" yaml:"class_id"`
}

func (*QuerySupplyRequest) Descriptor

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

func (*QuerySupplyRequest) GetClassId

func (m *QuerySupplyRequest) GetClassId() 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"`
}

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 TransferClassRequest

type TransferClassRequest struct {
	ID        string `json:"id"`
	Recipient string `json:"recipient"`
}

type TransferNFTRequest

type TransferNFTRequest struct {
	ID        string `json:"id"`
	ClassID   string `json:"class_id"`
	Recipient string `json:"recipient"`
}

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Class

func (*UnimplementedQueryServer) Classes

func (*UnimplementedQueryServer) Collection

func (*UnimplementedQueryServer) NFT

func (*UnimplementedQueryServer) Owner

func (*UnimplementedQueryServer) Supply

Jump to

Keyboard shortcuts

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