types

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeIssueClass    = TypeMsgIssueClass
	EventTypeIssueNFT      = TypeMsgIssueNFT
	EventTypeEditNFT       = TypeMsgEditNFT
	EventTypeBurnNFT       = TypeMsgBurnNFT
	EventTypeTransferNFT   = TypeMsgTransferNFT
	EventTypeTransferClass = TypeMsgTransferClass

	AttributeKeyClassID   = "class_id"
	AttributeKeyNFTID     = "nft_id"
	AttributeKeyOwner     = "owner"
	AttributeKeyRecipient = "recipient"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "nft"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName
)
View Source
const (
	TypeMsgIssueClass    = "issue_class"
	TypeMsgIssueNFT      = "issue_nft"
	TypeMsgEditNFT       = "edit_nft"
	TypeMsgBurnNFT       = "burn_nft"
	TypeMsgTransferNFT   = "transfer_nft"
	TypeMsgTransferClass = "transfer_class"
)
View Source
const (
	DefaultStringValue = "[do-not-modify]"

	MaxNFTURILen = 256
)

Variables

View Source
var (
	ErrInvalidClass      = sdkerrors.Register(ModuleName, 2, "invalid denom")
	ErrInvalidNFTID      = sdkerrors.Register(ModuleName, 3, "invalid nft ID")
	ErrInvalidNFTURI     = sdkerrors.Register(ModuleName, 4, "invalid nft uri")
	ErrNFTAreadyExists   = sdkerrors.Register(ModuleName, 5, "nft already exists")
	ErrUnknownCollection = sdkerrors.Register(ModuleName, 6, "unknown nft collection")
	ErrUnauthorized      = sdkerrors.Register(ModuleName, 7, "unauthorized address")
	ErrKnownNFT          = sdkerrors.Register(ModuleName, 8, "unknown nft")
)

x/nft module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	PrefixDenom      = []byte{0x01}
	PrefixNFT        = []byte{0x02}
	PrefixCollection = []byte{0x03}
	PrefixOwners     = []byte{0x04}
)
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 (
	URIMatchWords = strings.Join([]string{"http://", "https://"}, "|")
)

Functions

func GetKeyClassID added in v0.7.2

func GetKeyClassID(id string) []byte

func GetKeyNFT added in v0.7.1

func GetKeyNFT(classID, nftID string) []byte

KeyNFT gets the key of nft stored by an denom and id

func GetKeyOwner added in v0.7.1

func GetKeyOwner(adr sdk.AccAddress, classID, nftID string) []byte

func KeyCollectionByClassID added in v1.2.0

func KeyCollectionByClassID(classID string) []byte

func Modified added in v0.7.1

func Modified(item string) bool

Modified returns whether the field is modified

func MustMarshalNFTID added in v0.7.1

func MustMarshalNFTID(cdc codec.Codec, nftID string) []byte

func MustMarshalSupply added in v0.7.1

func MustMarshalSupply(cdc codec.Codec, supply uint64) []byte

return supply protobuf code

func MustUnMarshalNFTID added in v0.7.1

func MustUnMarshalNFTID(cdc codec.Codec, value []byte) string

func MustUnMarshalSupply added in v0.7.1

func MustUnMarshalSupply(cdc codec.Codec, value []byte) uint64

return th supply

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler added in v0.7.1

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient added in v0.7.1

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint added in v0.7.1

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer added in v0.7.1

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SplitKeyDenom added in v0.7.1

func SplitKeyDenom(key []byte) (classID, nftID string, err error)

func ValidateClassID added in v0.7.2

func ValidateClassID(id string) error

ValidateClassID verifies whether the parameters are legal

func ValidateNFTID added in v0.7.1

func ValidateNFTID(id string) error

ValidateNFTID returns whether the nft id is valid

func ValidateNFTURI added in v0.7.2

func ValidateNFTURI(uri string) error

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
}

AccountKeeper defines the expected account keeper for query account

type BankKeeper

type BankKeeper interface {
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type Class added in v0.7.2

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 NewClass added in v0.7.2

func NewClass(id, name, schema, symbol string, owner sdk.AccAddress, mintRestricted, editRestricted bool) Class

func (*Class) Descriptor added in v0.7.2

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

func (*Class) Equal added in v0.7.2

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

func (*Class) Marshal added in v0.7.2

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

func (*Class) MarshalTo added in v0.7.2

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

func (*Class) MarshalToSizedBuffer added in v0.7.2

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

func (*Class) ProtoMessage added in v0.7.2

func (*Class) ProtoMessage()

func (*Class) Reset added in v0.7.2

func (m *Class) Reset()

func (*Class) Size added in v0.7.2

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

func (*Class) String added in v0.7.2

func (m *Class) String() string

func (*Class) Unmarshal added in v0.7.2

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

func (*Class) XXX_DiscardUnknown added in v0.7.2

func (m *Class) XXX_DiscardUnknown()

func (*Class) XXX_Marshal added in v0.7.2

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

func (*Class) XXX_Merge added in v0.7.2

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

func (*Class) XXX_Size added in v0.7.2

func (m *Class) XXX_Size() int

func (*Class) XXX_Unmarshal added in v0.7.2

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

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 NewCollection added in v0.7.1

func NewCollection(denom Class, nfts []NFTI) (c Collection)

func (*Collection) AddNFT added in v0.7.1

func (c *Collection) AddNFT(nft NFT)

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

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

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

func (*CollectionID) Equal added in v0.7.1

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

func (*CollectionID) Marshal added in v0.7.1

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

func (*CollectionID) MarshalTo added in v0.7.1

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

func (*CollectionID) MarshalToSizedBuffer added in v0.7.1

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

func (*CollectionID) ProtoMessage added in v0.7.1

func (*CollectionID) ProtoMessage()

func (*CollectionID) Reset added in v0.7.1

func (m *CollectionID) Reset()

func (*CollectionID) Size added in v0.7.1

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

func (*CollectionID) String added in v0.7.1

func (m *CollectionID) String() string

func (*CollectionID) Unmarshal added in v0.7.1

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

func (*CollectionID) XXX_DiscardUnknown added in v0.7.1

func (m *CollectionID) XXX_DiscardUnknown()

func (*CollectionID) XXX_Marshal added in v0.7.1

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

func (*CollectionID) XXX_Merge added in v0.7.1

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

func (*CollectionID) XXX_Size added in v0.7.1

func (m *CollectionID) XXX_Size() int

func (*CollectionID) XXX_Unmarshal added in v0.7.1

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

type GenesisState

type GenesisState struct {
	Collections []Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections"`
}

GenesisState defines the nft module's genesis state.

func NewGenesisState added in v0.7.2

func NewGenesisState(collections []Collection) *GenesisState

NewGenesisState creates a new genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCollections

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

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgBurnNFT added in v0.7.1

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 NewMsgBurnNFT added in v0.7.1

func NewMsgBurnNFT(nftID, classID, owner string) *MsgBurnNFT

NewMsgBurnNFT is a constructor function for MsgBurnNFT

func (*MsgBurnNFT) Descriptor added in v0.7.1

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

func (*MsgBurnNFT) Equal added in v0.7.1

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

func (*MsgBurnNFT) GetClassID added in v0.7.2

func (m *MsgBurnNFT) GetClassID() string

func (*MsgBurnNFT) GetID added in v0.7.1

func (m *MsgBurnNFT) GetID() string

func (*MsgBurnNFT) GetOwner added in v0.7.1

func (m *MsgBurnNFT) GetOwner() string

func (MsgBurnNFT) GetSignBytes added in v0.7.1

func (mbn MsgBurnNFT) GetSignBytes() []byte

func (MsgBurnNFT) GetSigners added in v0.7.1

func (mbn MsgBurnNFT) GetSigners() []sdk.AccAddress

func (*MsgBurnNFT) Marshal added in v0.7.1

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

func (*MsgBurnNFT) MarshalTo added in v0.7.1

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

func (*MsgBurnNFT) MarshalToSizedBuffer added in v0.7.1

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

func (*MsgBurnNFT) ProtoMessage added in v0.7.1

func (*MsgBurnNFT) ProtoMessage()

func (*MsgBurnNFT) Reset added in v0.7.1

func (m *MsgBurnNFT) Reset()

func (MsgBurnNFT) Route added in v0.7.1

func (mbn MsgBurnNFT) Route() string

func (*MsgBurnNFT) Size added in v0.7.1

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

func (*MsgBurnNFT) String added in v0.7.1

func (m *MsgBurnNFT) String() string

func (MsgBurnNFT) Type added in v0.7.1

func (mbn MsgBurnNFT) Type() string

func (*MsgBurnNFT) Unmarshal added in v0.7.1

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

func (MsgBurnNFT) ValidateBasic added in v0.7.1

func (mbn MsgBurnNFT) ValidateBasic() error

func (*MsgBurnNFT) XXX_DiscardUnknown added in v0.7.1

func (m *MsgBurnNFT) XXX_DiscardUnknown()

func (*MsgBurnNFT) XXX_Marshal added in v0.7.1

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

func (*MsgBurnNFT) XXX_Merge added in v0.7.1

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

func (*MsgBurnNFT) XXX_Size added in v0.7.1

func (m *MsgBurnNFT) XXX_Size() int

func (*MsgBurnNFT) XXX_Unmarshal added in v0.7.1

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

type MsgBurnNFTResponse added in v0.7.1

type MsgBurnNFTResponse struct {
}

func (*MsgBurnNFTResponse) Descriptor added in v0.7.1

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

func (*MsgBurnNFTResponse) Marshal added in v0.7.1

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

func (*MsgBurnNFTResponse) MarshalTo added in v0.7.1

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

func (*MsgBurnNFTResponse) MarshalToSizedBuffer added in v0.7.1

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

func (*MsgBurnNFTResponse) ProtoMessage added in v0.7.1

func (*MsgBurnNFTResponse) ProtoMessage()

func (*MsgBurnNFTResponse) Reset added in v0.7.1

func (m *MsgBurnNFTResponse) Reset()

func (*MsgBurnNFTResponse) Size added in v0.7.1

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

func (*MsgBurnNFTResponse) String added in v0.7.1

func (m *MsgBurnNFTResponse) String() string

func (*MsgBurnNFTResponse) Unmarshal added in v0.7.1

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

func (*MsgBurnNFTResponse) XXX_DiscardUnknown added in v0.7.1

func (m *MsgBurnNFTResponse) XXX_DiscardUnknown()

func (*MsgBurnNFTResponse) XXX_Marshal added in v0.7.1

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

func (*MsgBurnNFTResponse) XXX_Merge added in v0.7.1

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

func (*MsgBurnNFTResponse) XXX_Size added in v0.7.1

func (m *MsgBurnNFTResponse) XXX_Size() int

func (*MsgBurnNFTResponse) XXX_Unmarshal added in v0.7.1

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

type MsgClient

type MsgClient interface {
	//IssueClass defines a method for issue a class
	IssueClass(ctx context.Context, in *MsgIssueClass, opts ...grpc.CallOption) (*MsgIssueClassResponse, error)
	//IssueNFT defines a method for Issue a new nft
	IssueNFT(ctx context.Context, in *MsgIssueNFT, opts ...grpc.CallOption) (*MsgIssueNFTResponse, error)
	//EditNFT defines a method for edit a nft
	EditNFT(ctx context.Context, in *MsgEditNFT, opts ...grpc.CallOption) (*MsgEditNFTResponse, error)
	//BurnNFT define a method for burning a nft
	BurnNFT(ctx context.Context, in *MsgBurnNFT, opts ...grpc.CallOption) (*MsgBurnNFTResponse, error)
	//TransferNFT define a method for transferring a nft
	TransferNFT(ctx context.Context, in *MsgTransferNFT, opts ...grpc.CallOption) (*MsgTransferNFTResponse, error)
	//TransferClass define a method for transferring a class
	TransferClass(ctx context.Context, in *MsgTransferClass, opts ...grpc.CallOption) (*MsgTransferClassResponse, 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 added in v0.7.1

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 NewMsgEditNFT added in v0.7.1

func NewMsgEditNFT(nftID, classID, className, uri, schema, owner string) *MsgEditNFT

NewMsgEditNFT is a constructor function for MsgEditNFT

func (*MsgEditNFT) Descriptor added in v0.7.1

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

func (*MsgEditNFT) Equal added in v0.7.1

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

func (*MsgEditNFT) GetClassID added in v0.7.2

func (m *MsgEditNFT) GetClassID() string

func (*MsgEditNFT) GetData added in v0.7.1

func (m *MsgEditNFT) GetData() string

func (*MsgEditNFT) GetID added in v0.7.1

func (m *MsgEditNFT) GetID() string

func (*MsgEditNFT) GetName added in v0.7.1

func (m *MsgEditNFT) GetName() string

func (*MsgEditNFT) GetOwner added in v0.7.1

func (m *MsgEditNFT) GetOwner() string

func (MsgEditNFT) GetSignBytes added in v0.7.1

func (med MsgEditNFT) GetSignBytes() []byte

func (MsgEditNFT) GetSigners added in v0.7.1

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

func (*MsgEditNFT) GetURI added in v0.7.2

func (m *MsgEditNFT) GetURI() string

func (*MsgEditNFT) Marshal added in v0.7.1

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

func (*MsgEditNFT) MarshalTo added in v0.7.1

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

func (*MsgEditNFT) MarshalToSizedBuffer added in v0.7.1

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

func (*MsgEditNFT) ProtoMessage added in v0.7.1

func (*MsgEditNFT) ProtoMessage()

func (*MsgEditNFT) Reset added in v0.7.1

func (m *MsgEditNFT) Reset()

func (MsgEditNFT) Route added in v0.7.1

func (med MsgEditNFT) Route() string

func (*MsgEditNFT) Size added in v0.7.1

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

func (*MsgEditNFT) String added in v0.7.1

func (m *MsgEditNFT) String() string

func (MsgEditNFT) Type added in v0.7.1

func (med MsgEditNFT) Type() string

func (*MsgEditNFT) Unmarshal added in v0.7.1

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

func (MsgEditNFT) ValidateBasic added in v0.7.1

func (med MsgEditNFT) ValidateBasic() error

func (*MsgEditNFT) XXX_DiscardUnknown added in v0.7.1

func (m *MsgEditNFT) XXX_DiscardUnknown()

func (*MsgEditNFT) XXX_Marshal added in v0.7.1

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

func (*MsgEditNFT) XXX_Merge added in v0.7.1

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

func (*MsgEditNFT) XXX_Size added in v0.7.1

func (m *MsgEditNFT) XXX_Size() int

func (*MsgEditNFT) XXX_Unmarshal added in v0.7.1

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

type MsgEditNFTResponse added in v0.7.1

type MsgEditNFTResponse struct {
}

func (*MsgEditNFTResponse) Descriptor added in v0.7.1

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

func (*MsgEditNFTResponse) Marshal added in v0.7.1

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

func (*MsgEditNFTResponse) MarshalTo added in v0.7.1

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

func (*MsgEditNFTResponse) MarshalToSizedBuffer added in v0.7.1

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

func (*MsgEditNFTResponse) ProtoMessage added in v0.7.1

func (*MsgEditNFTResponse) ProtoMessage()

func (*MsgEditNFTResponse) Reset added in v0.7.1

func (m *MsgEditNFTResponse) Reset()

func (*MsgEditNFTResponse) Size added in v0.7.1

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

func (*MsgEditNFTResponse) String added in v0.7.1

func (m *MsgEditNFTResponse) String() string

func (*MsgEditNFTResponse) Unmarshal added in v0.7.1

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

func (*MsgEditNFTResponse) XXX_DiscardUnknown added in v0.7.1

func (m *MsgEditNFTResponse) XXX_DiscardUnknown()

func (*MsgEditNFTResponse) XXX_Marshal added in v0.7.1

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

func (*MsgEditNFTResponse) XXX_Merge added in v0.7.1

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

func (*MsgEditNFTResponse) XXX_Size added in v0.7.1

func (m *MsgEditNFTResponse) XXX_Size() int

func (*MsgEditNFTResponse) XXX_Unmarshal added in v0.7.1

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

type MsgIssueClass added in v0.7.2

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 NewMsgIssueClass added in v0.7.2

func NewMsgIssueClass(classID, className, schema, sender, symbol string, mintRestricted, editRestricted bool) *MsgIssueClass

NewMsgIssueClass is a constructor function for MsgSetName

func (*MsgIssueClass) Descriptor added in v0.7.2

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

func (*MsgIssueClass) Equal added in v0.7.2

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

func (*MsgIssueClass) GetEditRestricted added in v0.7.2

func (m *MsgIssueClass) GetEditRestricted() bool

func (*MsgIssueClass) GetID added in v0.7.2

func (m *MsgIssueClass) GetID() string

func (*MsgIssueClass) GetMintRestricted added in v0.7.2

func (m *MsgIssueClass) GetMintRestricted() bool

func (*MsgIssueClass) GetName added in v0.7.2

func (m *MsgIssueClass) GetName() string

func (*MsgIssueClass) GetOwner added in v0.7.2

func (m *MsgIssueClass) GetOwner() string

func (*MsgIssueClass) GetSchema added in v0.7.2

func (m *MsgIssueClass) GetSchema() string

func (MsgIssueClass) GetSignBytes added in v0.7.2

func (mid MsgIssueClass) GetSignBytes() []byte

func (MsgIssueClass) GetSigners added in v0.7.2

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

func (*MsgIssueClass) GetSymbol added in v0.7.2

func (m *MsgIssueClass) GetSymbol() string

func (*MsgIssueClass) Marshal added in v0.7.2

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

func (*MsgIssueClass) MarshalTo added in v0.7.2

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

func (*MsgIssueClass) MarshalToSizedBuffer added in v0.7.2

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

func (*MsgIssueClass) ProtoMessage added in v0.7.2

func (*MsgIssueClass) ProtoMessage()

func (*MsgIssueClass) Reset added in v0.7.2

func (m *MsgIssueClass) Reset()

func (MsgIssueClass) Route added in v0.7.2

func (mid MsgIssueClass) Route() string

func (*MsgIssueClass) Size added in v0.7.2

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

func (*MsgIssueClass) String added in v0.7.2

func (m *MsgIssueClass) String() string

func (MsgIssueClass) Type added in v0.7.2

func (mid MsgIssueClass) Type() string

func (*MsgIssueClass) Unmarshal added in v0.7.2

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

func (MsgIssueClass) ValidateBasic added in v0.7.2

func (mid MsgIssueClass) ValidateBasic() error

func (*MsgIssueClass) XXX_DiscardUnknown added in v0.7.2

func (m *MsgIssueClass) XXX_DiscardUnknown()

func (*MsgIssueClass) XXX_Marshal added in v0.7.2

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

func (*MsgIssueClass) XXX_Merge added in v0.7.2

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

func (*MsgIssueClass) XXX_Size added in v0.7.2

func (m *MsgIssueClass) XXX_Size() int

func (*MsgIssueClass) XXX_Unmarshal added in v0.7.2

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

type MsgIssueClassResponse added in v0.7.2

type MsgIssueClassResponse struct {
}

func (*MsgIssueClassResponse) Descriptor added in v0.7.2

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

func (*MsgIssueClassResponse) Marshal added in v0.7.2

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

func (*MsgIssueClassResponse) MarshalTo added in v0.7.2

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

func (*MsgIssueClassResponse) MarshalToSizedBuffer added in v0.7.2

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

func (*MsgIssueClassResponse) ProtoMessage added in v0.7.2

func (*MsgIssueClassResponse) ProtoMessage()

func (*MsgIssueClassResponse) Reset added in v0.7.2

func (m *MsgIssueClassResponse) Reset()

func (*MsgIssueClassResponse) Size added in v0.7.2

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

func (*MsgIssueClassResponse) String added in v0.7.2

func (m *MsgIssueClassResponse) String() string

func (*MsgIssueClassResponse) Unmarshal added in v0.7.2

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

func (*MsgIssueClassResponse) XXX_DiscardUnknown added in v0.7.2

func (m *MsgIssueClassResponse) XXX_DiscardUnknown()

func (*MsgIssueClassResponse) XXX_Marshal added in v0.7.2

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

func (*MsgIssueClassResponse) XXX_Merge added in v0.7.2

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

func (*MsgIssueClassResponse) XXX_Size added in v0.7.2

func (m *MsgIssueClassResponse) XXX_Size() int

func (*MsgIssueClassResponse) XXX_Unmarshal added in v0.7.2

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

type MsgIssueNFT added in v0.7.1

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 NewMsgIssueNFT added in v0.7.1

func NewMsgIssueNFT(nftID, classID, className, uri, schema, owner, recipient string) *MsgIssueNFT

NewMsgIssueNFT is a constructor function for MsgIssueNFT

func (*MsgIssueNFT) Descriptor added in v0.7.1

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

func (*MsgIssueNFT) Equal added in v0.7.1

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

func (*MsgIssueNFT) GetClassID added in v0.7.2

func (m *MsgIssueNFT) GetClassID() string

func (*MsgIssueNFT) GetData added in v0.7.1

func (m *MsgIssueNFT) GetData() string

func (*MsgIssueNFT) GetID added in v0.7.1

func (m *MsgIssueNFT) GetID() string

func (*MsgIssueNFT) GetName added in v0.7.1

func (m *MsgIssueNFT) GetName() string

func (*MsgIssueNFT) GetOwner added in v0.7.1

func (m *MsgIssueNFT) GetOwner() string

func (*MsgIssueNFT) GetRecipient added in v0.7.1

func (m *MsgIssueNFT) GetRecipient() string

func (MsgIssueNFT) GetSignBytes added in v0.7.1

func (min MsgIssueNFT) GetSignBytes() []byte

func (MsgIssueNFT) GetSigners added in v0.7.1

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

func (*MsgIssueNFT) GetURI added in v0.7.2

func (m *MsgIssueNFT) GetURI() string

func (*MsgIssueNFT) Marshal added in v0.7.1

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

func (*MsgIssueNFT) MarshalTo added in v0.7.1

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

func (*MsgIssueNFT) MarshalToSizedBuffer added in v0.7.1

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

func (*MsgIssueNFT) ProtoMessage added in v0.7.1

func (*MsgIssueNFT) ProtoMessage()

func (*MsgIssueNFT) Reset added in v0.7.1

func (m *MsgIssueNFT) Reset()

func (MsgIssueNFT) Route added in v0.7.1

func (min MsgIssueNFT) Route() string

func (*MsgIssueNFT) Size added in v0.7.1

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

func (*MsgIssueNFT) String added in v0.7.1

func (m *MsgIssueNFT) String() string

func (MsgIssueNFT) Type added in v0.7.1

func (min MsgIssueNFT) Type() string

func (*MsgIssueNFT) Unmarshal added in v0.7.1

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

func (MsgIssueNFT) ValidateBasic added in v0.7.1

func (min MsgIssueNFT) ValidateBasic() error

func (*MsgIssueNFT) XXX_DiscardUnknown added in v0.7.1

func (m *MsgIssueNFT) XXX_DiscardUnknown()

func (*MsgIssueNFT) XXX_Marshal added in v0.7.1

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

func (*MsgIssueNFT) XXX_Merge added in v0.7.1

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

func (*MsgIssueNFT) XXX_Size added in v0.7.1

func (m *MsgIssueNFT) XXX_Size() int

func (*MsgIssueNFT) XXX_Unmarshal added in v0.7.1

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

type MsgIssueNFTResponse added in v0.7.1

type MsgIssueNFTResponse struct {
}

func (*MsgIssueNFTResponse) Descriptor added in v0.7.1

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

func (*MsgIssueNFTResponse) Marshal added in v0.7.1

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

func (*MsgIssueNFTResponse) MarshalTo added in v0.7.1

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

func (*MsgIssueNFTResponse) MarshalToSizedBuffer added in v0.7.1

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

func (*MsgIssueNFTResponse) ProtoMessage added in v0.7.1

func (*MsgIssueNFTResponse) ProtoMessage()

func (*MsgIssueNFTResponse) Reset added in v0.7.1

func (m *MsgIssueNFTResponse) Reset()

func (*MsgIssueNFTResponse) Size added in v0.7.1

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

func (*MsgIssueNFTResponse) String added in v0.7.1

func (m *MsgIssueNFTResponse) String() string

func (*MsgIssueNFTResponse) Unmarshal added in v0.7.1

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

func (*MsgIssueNFTResponse) XXX_DiscardUnknown added in v0.7.1

func (m *MsgIssueNFTResponse) XXX_DiscardUnknown()

func (*MsgIssueNFTResponse) XXX_Marshal added in v0.7.1

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

func (*MsgIssueNFTResponse) XXX_Merge added in v0.7.1

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

func (*MsgIssueNFTResponse) XXX_Size added in v0.7.1

func (m *MsgIssueNFTResponse) XXX_Size() int

func (*MsgIssueNFTResponse) XXX_Unmarshal added in v0.7.1

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

type MsgServer

type MsgServer interface {
	//IssueClass defines a method for issue a class
	IssueClass(context.Context, *MsgIssueClass) (*MsgIssueClassResponse, error)
	//IssueNFT defines a method for Issue a new nft
	IssueNFT(context.Context, *MsgIssueNFT) (*MsgIssueNFTResponse, error)
	//EditNFT defines a method for edit a nft
	EditNFT(context.Context, *MsgEditNFT) (*MsgEditNFTResponse, error)
	//BurnNFT define a method for burning a nft
	BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error)
	//TransferNFT define a method for transferring a nft
	TransferNFT(context.Context, *MsgTransferNFT) (*MsgTransferNFTResponse, error)
	//TransferClass define a method for transferring a class
	TransferClass(context.Context, *MsgTransferClass) (*MsgTransferClassResponse, error)
}

MsgServer is the server API for Msg service.

type MsgTransferClass added in v0.7.2

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 NewMsgTransferClass added in v0.7.2

func NewMsgTransferClass(ID, owner, recipient string) *MsgTransferClass

NewMsgTransferClass is a constructor function for MsgTransferClass

func (*MsgTransferClass) Descriptor added in v0.7.2

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

func (*MsgTransferClass) Equal added in v0.7.2

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

func (*MsgTransferClass) GetID added in v0.7.2

func (m *MsgTransferClass) GetID() string

func (*MsgTransferClass) GetOwner added in v0.7.2

func (m *MsgTransferClass) GetOwner() string

func (*MsgTransferClass) GetRecipient added in v0.7.2

func (m *MsgTransferClass) GetRecipient() string

func (MsgTransferClass) GetSignBytes added in v0.7.2

func (mtd MsgTransferClass) GetSignBytes() []byte

func (MsgTransferClass) GetSigners added in v0.7.2

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

func (*MsgTransferClass) Marshal added in v0.7.2

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

func (*MsgTransferClass) MarshalTo added in v0.7.2

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

func (*MsgTransferClass) MarshalToSizedBuffer added in v0.7.2

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

func (*MsgTransferClass) ProtoMessage added in v0.7.2

func (*MsgTransferClass) ProtoMessage()

func (*MsgTransferClass) Reset added in v0.7.2

func (m *MsgTransferClass) Reset()

func (MsgTransferClass) Route added in v0.7.2

func (mtd MsgTransferClass) Route() string

func (*MsgTransferClass) Size added in v0.7.2

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

func (*MsgTransferClass) String added in v0.7.2

func (m *MsgTransferClass) String() string

func (MsgTransferClass) Type added in v0.7.2

func (mtd MsgTransferClass) Type() string

func (*MsgTransferClass) Unmarshal added in v0.7.2

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

func (MsgTransferClass) ValidateBasic added in v0.7.2

func (mtd MsgTransferClass) ValidateBasic() error

func (*MsgTransferClass) XXX_DiscardUnknown added in v0.7.2

func (m *MsgTransferClass) XXX_DiscardUnknown()

func (*MsgTransferClass) XXX_Marshal added in v0.7.2

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

func (*MsgTransferClass) XXX_Merge added in v0.7.2

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

func (*MsgTransferClass) XXX_Size added in v0.7.2

func (m *MsgTransferClass) XXX_Size() int

func (*MsgTransferClass) XXX_Unmarshal added in v0.7.2

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

type MsgTransferClassResponse added in v0.7.2

type MsgTransferClassResponse struct {
}

func (*MsgTransferClassResponse) Descriptor added in v0.7.2

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

func (*MsgTransferClassResponse) Marshal added in v0.7.2

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

func (*MsgTransferClassResponse) MarshalTo added in v0.7.2

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

func (*MsgTransferClassResponse) MarshalToSizedBuffer added in v0.7.2

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

func (*MsgTransferClassResponse) ProtoMessage added in v0.7.2

func (*MsgTransferClassResponse) ProtoMessage()

func (*MsgTransferClassResponse) Reset added in v0.7.2

func (m *MsgTransferClassResponse) Reset()

func (*MsgTransferClassResponse) Size added in v0.7.2

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

func (*MsgTransferClassResponse) String added in v0.7.2

func (m *MsgTransferClassResponse) String() string

func (*MsgTransferClassResponse) Unmarshal added in v0.7.2

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

func (*MsgTransferClassResponse) XXX_DiscardUnknown added in v0.7.2

func (m *MsgTransferClassResponse) XXX_DiscardUnknown()

func (*MsgTransferClassResponse) XXX_Marshal added in v0.7.2

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

func (*MsgTransferClassResponse) XXX_Merge added in v0.7.2

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

func (*MsgTransferClassResponse) XXX_Size added in v0.7.2

func (m *MsgTransferClassResponse) XXX_Size() int

func (*MsgTransferClassResponse) XXX_Unmarshal added in v0.7.2

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

type MsgTransferNFT added in v0.7.1

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 NewMsgTransferNFT added in v0.7.1

func NewMsgTransferNFT(nftID, classID, owner, recipient string) *MsgTransferNFT

NewMsgTransferNFT is a constructor function for MsgTransferNFT

func (*MsgTransferNFT) Descriptor added in v0.7.1

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

func (*MsgTransferNFT) Equal added in v0.7.1

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

func (*MsgTransferNFT) GetClassID added in v0.7.2

func (m *MsgTransferNFT) GetClassID() string

func (*MsgTransferNFT) GetID added in v0.7.1

func (m *MsgTransferNFT) GetID() string

func (*MsgTransferNFT) GetOwner added in v0.7.1

func (m *MsgTransferNFT) GetOwner() string

func (*MsgTransferNFT) GetRecipient added in v0.7.1

func (m *MsgTransferNFT) GetRecipient() string

func (MsgTransferNFT) GetSignBytes added in v0.7.1

func (mtn MsgTransferNFT) GetSignBytes() []byte

func (MsgTransferNFT) GetSigners added in v0.7.1

func (mtn MsgTransferNFT) GetSigners() []sdk.AccAddress

func (*MsgTransferNFT) Marshal added in v0.7.1

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

func (*MsgTransferNFT) MarshalTo added in v0.7.1

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

func (*MsgTransferNFT) MarshalToSizedBuffer added in v0.7.1

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

func (*MsgTransferNFT) ProtoMessage added in v0.7.1

func (*MsgTransferNFT) ProtoMessage()

func (*MsgTransferNFT) Reset added in v0.7.1

func (m *MsgTransferNFT) Reset()

func (MsgTransferNFT) Route added in v0.7.1

func (mtn MsgTransferNFT) Route() string

func (*MsgTransferNFT) Size added in v0.7.1

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

func (*MsgTransferNFT) String added in v0.7.1

func (m *MsgTransferNFT) String() string

func (MsgTransferNFT) Type added in v0.7.1

func (mtn MsgTransferNFT) Type() string

func (*MsgTransferNFT) Unmarshal added in v0.7.1

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

func (MsgTransferNFT) ValidateBasic added in v0.7.1

func (mtn MsgTransferNFT) ValidateBasic() error

func (*MsgTransferNFT) XXX_DiscardUnknown added in v0.7.1

func (m *MsgTransferNFT) XXX_DiscardUnknown()

func (*MsgTransferNFT) XXX_Marshal added in v0.7.1

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

func (*MsgTransferNFT) XXX_Merge added in v0.7.1

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

func (*MsgTransferNFT) XXX_Size added in v0.7.1

func (m *MsgTransferNFT) XXX_Size() int

func (*MsgTransferNFT) XXX_Unmarshal added in v0.7.1

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

type MsgTransferNFTResponse added in v0.7.1

type MsgTransferNFTResponse struct {
}

func (*MsgTransferNFTResponse) Descriptor added in v0.7.1

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

func (*MsgTransferNFTResponse) Marshal added in v0.7.1

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

func (*MsgTransferNFTResponse) MarshalTo added in v0.7.1

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

func (*MsgTransferNFTResponse) MarshalToSizedBuffer added in v0.7.1

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

func (*MsgTransferNFTResponse) ProtoMessage added in v0.7.1

func (*MsgTransferNFTResponse) ProtoMessage()

func (*MsgTransferNFTResponse) Reset added in v0.7.1

func (m *MsgTransferNFTResponse) Reset()

func (*MsgTransferNFTResponse) Size added in v0.7.1

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

func (*MsgTransferNFTResponse) String added in v0.7.1

func (m *MsgTransferNFTResponse) String() string

func (*MsgTransferNFTResponse) Unmarshal added in v0.7.1

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

func (*MsgTransferNFTResponse) XXX_DiscardUnknown added in v0.7.1

func (m *MsgTransferNFTResponse) XXX_DiscardUnknown()

func (*MsgTransferNFTResponse) XXX_Marshal added in v0.7.1

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

func (*MsgTransferNFTResponse) XXX_Merge added in v0.7.1

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

func (*MsgTransferNFTResponse) XXX_Size added in v0.7.1

func (m *MsgTransferNFTResponse) XXX_Size() int

func (*MsgTransferNFTResponse) XXX_Unmarshal added in v0.7.1

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 NewNFT

func NewNFT(id, name, uri, data string, owner sdk.AccAddress) NFT

func (*NFT) Descriptor

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

func (*NFT) Equal

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

func (NFT) GetData

func (nf NFT) GetData() string

func (NFT) GetOwner

func (nf NFT) GetOwner() sdk.AccAddress

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 NFTI

type NFTI interface {
	GetOwner() sdk.AccAddress
	GetData() string
}

type Owner added in v0.7.1

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) Descriptor added in v0.7.1

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

func (*Owner) Equal added in v0.7.1

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

func (*Owner) Marshal added in v0.7.1

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

func (*Owner) MarshalTo added in v0.7.1

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

func (*Owner) MarshalToSizedBuffer added in v0.7.1

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

func (*Owner) ProtoMessage added in v0.7.1

func (*Owner) ProtoMessage()

func (*Owner) Reset added in v0.7.1

func (m *Owner) Reset()

func (*Owner) Size added in v0.7.1

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

func (*Owner) String added in v0.7.1

func (m *Owner) String() string

func (*Owner) Unmarshal added in v0.7.1

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

func (*Owner) XXX_DiscardUnknown added in v0.7.1

func (m *Owner) XXX_DiscardUnknown()

func (*Owner) XXX_Marshal added in v0.7.1

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

func (*Owner) XXX_Merge added in v0.7.1

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

func (*Owner) XXX_Size added in v0.7.1

func (m *Owner) XXX_Size() int

func (*Owner) XXX_Unmarshal added in v0.7.1

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

type QueryClassRequest added in v0.7.2

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

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

func (*QueryClassRequest) GetClassId added in v0.7.2

func (m *QueryClassRequest) GetClassId() string

func (*QueryClassRequest) Marshal added in v0.7.2

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

func (*QueryClassRequest) MarshalTo added in v0.7.2

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

func (*QueryClassRequest) MarshalToSizedBuffer added in v0.7.2

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

func (*QueryClassRequest) ProtoMessage added in v0.7.2

func (*QueryClassRequest) ProtoMessage()

func (*QueryClassRequest) Reset added in v0.7.2

func (m *QueryClassRequest) Reset()

func (*QueryClassRequest) Size added in v0.7.2

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

func (*QueryClassRequest) String added in v0.7.2

func (m *QueryClassRequest) String() string

func (*QueryClassRequest) Unmarshal added in v0.7.2

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

func (*QueryClassRequest) XXX_DiscardUnknown added in v0.7.2

func (m *QueryClassRequest) XXX_DiscardUnknown()

func (*QueryClassRequest) XXX_Marshal added in v0.7.2

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

func (*QueryClassRequest) XXX_Merge added in v0.7.2

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

func (*QueryClassRequest) XXX_Size added in v0.7.2

func (m *QueryClassRequest) XXX_Size() int

func (*QueryClassRequest) XXX_Unmarshal added in v0.7.2

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

type QueryClassResponse added in v0.7.2

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

func (*QueryClassResponse) Descriptor added in v0.7.2

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

func (*QueryClassResponse) GetClass added in v0.7.2

func (m *QueryClassResponse) GetClass() *Class

func (*QueryClassResponse) Marshal added in v0.7.2

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

func (*QueryClassResponse) MarshalTo added in v0.7.2

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

func (*QueryClassResponse) MarshalToSizedBuffer added in v0.7.2

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

func (*QueryClassResponse) ProtoMessage added in v0.7.2

func (*QueryClassResponse) ProtoMessage()

func (*QueryClassResponse) Reset added in v0.7.2

func (m *QueryClassResponse) Reset()

func (*QueryClassResponse) Size added in v0.7.2

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

func (*QueryClassResponse) String added in v0.7.2

func (m *QueryClassResponse) String() string

func (*QueryClassResponse) Unmarshal added in v0.7.2

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

func (*QueryClassResponse) XXX_DiscardUnknown added in v0.7.2

func (m *QueryClassResponse) XXX_DiscardUnknown()

func (*QueryClassResponse) XXX_Marshal added in v0.7.2

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

func (*QueryClassResponse) XXX_Merge added in v0.7.2

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

func (*QueryClassResponse) XXX_Size added in v0.7.2

func (m *QueryClassResponse) XXX_Size() int

func (*QueryClassResponse) XXX_Unmarshal added in v0.7.2

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

type QueryClassesRequest added in v0.7.2

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

func (*QueryClassesRequest) Descriptor added in v0.7.2

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

func (*QueryClassesRequest) GetPagination added in v0.7.2

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

func (*QueryClassesRequest) Marshal added in v0.7.2

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

func (*QueryClassesRequest) MarshalTo added in v0.7.2

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

func (*QueryClassesRequest) MarshalToSizedBuffer added in v0.7.2

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

func (*QueryClassesRequest) ProtoMessage added in v0.7.2

func (*QueryClassesRequest) ProtoMessage()

func (*QueryClassesRequest) Reset added in v0.7.2

func (m *QueryClassesRequest) Reset()

func (*QueryClassesRequest) Size added in v0.7.2

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

func (*QueryClassesRequest) String added in v0.7.2

func (m *QueryClassesRequest) String() string

func (*QueryClassesRequest) Unmarshal added in v0.7.2

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

func (*QueryClassesRequest) XXX_DiscardUnknown added in v0.7.2

func (m *QueryClassesRequest) XXX_DiscardUnknown()

func (*QueryClassesRequest) XXX_Marshal added in v0.7.2

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

func (*QueryClassesRequest) XXX_Merge added in v0.7.2

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

func (*QueryClassesRequest) XXX_Size added in v0.7.2

func (m *QueryClassesRequest) XXX_Size() int

func (*QueryClassesRequest) XXX_Unmarshal added in v0.7.2

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

type QueryClassesResponse added in v0.7.2

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

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

func (*QueryClassesResponse) GetClasses added in v0.7.2

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

func (*QueryClassesResponse) GetPagination added in v0.7.2

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

func (*QueryClassesResponse) Marshal added in v0.7.2

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

func (*QueryClassesResponse) MarshalTo added in v0.7.2

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

func (*QueryClassesResponse) MarshalToSizedBuffer added in v0.7.2

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

func (*QueryClassesResponse) ProtoMessage added in v0.7.2

func (*QueryClassesResponse) ProtoMessage()

func (*QueryClassesResponse) Reset added in v0.7.2

func (m *QueryClassesResponse) Reset()

func (*QueryClassesResponse) Size added in v0.7.2

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

func (*QueryClassesResponse) String added in v0.7.2

func (m *QueryClassesResponse) String() string

func (*QueryClassesResponse) Unmarshal added in v0.7.2

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

func (*QueryClassesResponse) XXX_DiscardUnknown added in v0.7.2

func (m *QueryClassesResponse) XXX_DiscardUnknown()

func (*QueryClassesResponse) XXX_Marshal added in v0.7.2

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

func (*QueryClassesResponse) XXX_Merge added in v0.7.2

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

func (*QueryClassesResponse) XXX_Size added in v0.7.2

func (m *QueryClassesResponse) XXX_Size() int

func (*QueryClassesResponse) XXX_Unmarshal added in v0.7.2

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 QueryNFTRequest added in v0.7.1

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

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

func (*QueryNFTRequest) GetClassId added in v0.7.2

func (m *QueryNFTRequest) GetClassId() string

func (*QueryNFTRequest) GetNftId added in v0.7.1

func (m *QueryNFTRequest) GetNftId() string

func (*QueryNFTRequest) Marshal added in v0.7.1

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

func (*QueryNFTRequest) MarshalTo added in v0.7.1

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

func (*QueryNFTRequest) MarshalToSizedBuffer added in v0.7.1

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

func (*QueryNFTRequest) ProtoMessage added in v0.7.1

func (*QueryNFTRequest) ProtoMessage()

func (*QueryNFTRequest) Reset added in v0.7.1

func (m *QueryNFTRequest) Reset()

func (*QueryNFTRequest) Size added in v0.7.1

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

func (*QueryNFTRequest) String added in v0.7.1

func (m *QueryNFTRequest) String() string

func (*QueryNFTRequest) Unmarshal added in v0.7.1

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

func (*QueryNFTRequest) XXX_DiscardUnknown added in v0.7.1

func (m *QueryNFTRequest) XXX_DiscardUnknown()

func (*QueryNFTRequest) XXX_Marshal added in v0.7.1

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

func (*QueryNFTRequest) XXX_Merge added in v0.7.1

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

func (*QueryNFTRequest) XXX_Size added in v0.7.1

func (m *QueryNFTRequest) XXX_Size() int

func (*QueryNFTRequest) XXX_Unmarshal added in v0.7.1

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

type QueryNFTResponse added in v0.7.1

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

func (*QueryNFTResponse) Descriptor added in v0.7.1

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

func (*QueryNFTResponse) GetNft added in v0.7.1

func (m *QueryNFTResponse) GetNft() *NFT

func (*QueryNFTResponse) Marshal added in v0.7.1

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

func (*QueryNFTResponse) MarshalTo added in v0.7.1

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

func (*QueryNFTResponse) MarshalToSizedBuffer added in v0.7.1

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

func (*QueryNFTResponse) ProtoMessage added in v0.7.1

func (*QueryNFTResponse) ProtoMessage()

func (*QueryNFTResponse) Reset added in v0.7.1

func (m *QueryNFTResponse) Reset()

func (*QueryNFTResponse) Size added in v0.7.1

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

func (*QueryNFTResponse) String added in v0.7.1

func (m *QueryNFTResponse) String() string

func (*QueryNFTResponse) Unmarshal added in v0.7.1

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

func (*QueryNFTResponse) XXX_DiscardUnknown added in v0.7.1

func (m *QueryNFTResponse) XXX_DiscardUnknown()

func (*QueryNFTResponse) XXX_Marshal added in v0.7.1

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

func (*QueryNFTResponse) XXX_Merge added in v0.7.1

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

func (*QueryNFTResponse) XXX_Size added in v0.7.1

func (m *QueryNFTResponse) XXX_Size() int

func (*QueryNFTResponse) XXX_Unmarshal added in v0.7.1

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

type QueryNFTsRequest added in v1.1.0

type QueryNFTsRequest struct {
	ClassId    string             `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	Owner      string             `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryNFTsRequest) Descriptor added in v1.1.0

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

func (*QueryNFTsRequest) GetClassId added in v1.1.0

func (m *QueryNFTsRequest) GetClassId() string

func (*QueryNFTsRequest) GetOwner added in v1.1.0

func (m *QueryNFTsRequest) GetOwner() string

func (*QueryNFTsRequest) GetPagination added in v1.1.0

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

func (*QueryNFTsRequest) Marshal added in v1.1.0

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

func (*QueryNFTsRequest) MarshalTo added in v1.1.0

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

func (*QueryNFTsRequest) MarshalToSizedBuffer added in v1.1.0

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

func (*QueryNFTsRequest) ProtoMessage added in v1.1.0

func (*QueryNFTsRequest) ProtoMessage()

func (*QueryNFTsRequest) Reset added in v1.1.0

func (m *QueryNFTsRequest) Reset()

func (*QueryNFTsRequest) Size added in v1.1.0

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

func (*QueryNFTsRequest) String added in v1.1.0

func (m *QueryNFTsRequest) String() string

func (*QueryNFTsRequest) Unmarshal added in v1.1.0

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

func (*QueryNFTsRequest) XXX_DiscardUnknown added in v1.1.0

func (m *QueryNFTsRequest) XXX_DiscardUnknown()

func (*QueryNFTsRequest) XXX_Marshal added in v1.1.0

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

func (*QueryNFTsRequest) XXX_Merge added in v1.1.0

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

func (*QueryNFTsRequest) XXX_Size added in v1.1.0

func (m *QueryNFTsRequest) XXX_Size() int

func (*QueryNFTsRequest) XXX_Unmarshal added in v1.1.0

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

type QueryNFTsResponse added in v1.1.0

type QueryNFTsResponse struct {
	Nfts       []*NFT              `protobuf:"bytes,1,rep,name=nfts,proto3" json:"nfts,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryNFTsResponse) Descriptor added in v1.1.0

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

func (*QueryNFTsResponse) GetNfts added in v1.1.0

func (m *QueryNFTsResponse) GetNfts() []*NFT

func (*QueryNFTsResponse) GetPagination added in v1.1.0

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

func (*QueryNFTsResponse) Marshal added in v1.1.0

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

func (*QueryNFTsResponse) MarshalTo added in v1.1.0

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

func (*QueryNFTsResponse) MarshalToSizedBuffer added in v1.1.0

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

func (*QueryNFTsResponse) ProtoMessage added in v1.1.0

func (*QueryNFTsResponse) ProtoMessage()

func (*QueryNFTsResponse) Reset added in v1.1.0

func (m *QueryNFTsResponse) Reset()

func (*QueryNFTsResponse) Size added in v1.1.0

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

func (*QueryNFTsResponse) String added in v1.1.0

func (m *QueryNFTsResponse) String() string

func (*QueryNFTsResponse) Unmarshal added in v1.1.0

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

func (*QueryNFTsResponse) XXX_DiscardUnknown added in v1.1.0

func (m *QueryNFTsResponse) XXX_DiscardUnknown()

func (*QueryNFTsResponse) XXX_Marshal added in v1.1.0

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

func (*QueryNFTsResponse) XXX_Merge added in v1.1.0

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

func (*QueryNFTsResponse) XXX_Size added in v1.1.0

func (m *QueryNFTsResponse) XXX_Size() int

func (*QueryNFTsResponse) XXX_Unmarshal added in v1.1.0

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

type QueryOwnerRequest added in v0.7.1

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

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

func (*QueryOwnerRequest) GetAddress added in v0.7.1

func (m *QueryOwnerRequest) GetAddress() string

func (*QueryOwnerRequest) GetClassId added in v0.7.2

func (m *QueryOwnerRequest) GetClassId() string

func (*QueryOwnerRequest) GetPagination added in v0.7.1

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

func (*QueryOwnerRequest) Marshal added in v0.7.1

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

func (*QueryOwnerRequest) MarshalTo added in v0.7.1

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

func (*QueryOwnerRequest) MarshalToSizedBuffer added in v0.7.1

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

func (*QueryOwnerRequest) ProtoMessage added in v0.7.1

func (*QueryOwnerRequest) ProtoMessage()

func (*QueryOwnerRequest) Reset added in v0.7.1

func (m *QueryOwnerRequest) Reset()

func (*QueryOwnerRequest) Size added in v0.7.1

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

func (*QueryOwnerRequest) String added in v0.7.1

func (m *QueryOwnerRequest) String() string

func (*QueryOwnerRequest) Unmarshal added in v0.7.1

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

func (*QueryOwnerRequest) XXX_DiscardUnknown added in v0.7.1

func (m *QueryOwnerRequest) XXX_DiscardUnknown()

func (*QueryOwnerRequest) XXX_Marshal added in v0.7.1

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

func (*QueryOwnerRequest) XXX_Merge added in v0.7.1

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

func (*QueryOwnerRequest) XXX_Size added in v0.7.1

func (m *QueryOwnerRequest) XXX_Size() int

func (*QueryOwnerRequest) XXX_Unmarshal added in v0.7.1

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

type QueryOwnerResponse added in v0.7.1

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

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

func (*QueryOwnerResponse) GetOwner added in v0.7.1

func (m *QueryOwnerResponse) GetOwner() *Owner

func (*QueryOwnerResponse) GetPagination added in v0.7.1

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

func (*QueryOwnerResponse) Marshal added in v0.7.1

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

func (*QueryOwnerResponse) MarshalTo added in v0.7.1

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

func (*QueryOwnerResponse) MarshalToSizedBuffer added in v0.7.1

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

func (*QueryOwnerResponse) ProtoMessage added in v0.7.1

func (*QueryOwnerResponse) ProtoMessage()

func (*QueryOwnerResponse) Reset added in v0.7.1

func (m *QueryOwnerResponse) Reset()

func (*QueryOwnerResponse) Size added in v0.7.1

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

func (*QueryOwnerResponse) String added in v0.7.1

func (m *QueryOwnerResponse) String() string

func (*QueryOwnerResponse) Unmarshal added in v0.7.1

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

func (*QueryOwnerResponse) XXX_DiscardUnknown added in v0.7.1

func (m *QueryOwnerResponse) XXX_DiscardUnknown()

func (*QueryOwnerResponse) XXX_Marshal added in v0.7.1

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

func (*QueryOwnerResponse) XXX_Merge added in v0.7.1

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

func (*QueryOwnerResponse) XXX_Size added in v0.7.1

func (m *QueryOwnerResponse) XXX_Size() int

func (*QueryOwnerResponse) XXX_Unmarshal added in v0.7.1

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

type QuerySupplyRequest added in v0.7.1

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

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

func (*QuerySupplyRequest) GetClassId added in v0.7.2

func (m *QuerySupplyRequest) GetClassId() string

func (*QuerySupplyRequest) Marshal added in v0.7.1

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

func (*QuerySupplyRequest) MarshalTo added in v0.7.1

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

func (*QuerySupplyRequest) MarshalToSizedBuffer added in v0.7.1

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

func (*QuerySupplyRequest) ProtoMessage added in v0.7.1

func (*QuerySupplyRequest) ProtoMessage()

func (*QuerySupplyRequest) Reset added in v0.7.1

func (m *QuerySupplyRequest) Reset()

func (*QuerySupplyRequest) Size added in v0.7.1

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

func (*QuerySupplyRequest) String added in v0.7.1

func (m *QuerySupplyRequest) String() string

func (*QuerySupplyRequest) Unmarshal added in v0.7.1

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

func (*QuerySupplyRequest) XXX_DiscardUnknown added in v0.7.1

func (m *QuerySupplyRequest) XXX_DiscardUnknown()

func (*QuerySupplyRequest) XXX_Marshal added in v0.7.1

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

func (*QuerySupplyRequest) XXX_Merge added in v0.7.1

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

func (*QuerySupplyRequest) XXX_Size added in v0.7.1

func (m *QuerySupplyRequest) XXX_Size() int

func (*QuerySupplyRequest) XXX_Unmarshal added in v0.7.1

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

type QuerySupplyResponse added in v0.7.1

type QuerySupplyResponse struct {
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*QuerySupplyResponse) Descriptor added in v0.7.1

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

func (*QuerySupplyResponse) GetAmount added in v0.7.1

func (m *QuerySupplyResponse) GetAmount() uint64

func (*QuerySupplyResponse) Marshal added in v0.7.1

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

func (*QuerySupplyResponse) MarshalTo added in v0.7.1

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

func (*QuerySupplyResponse) MarshalToSizedBuffer added in v0.7.1

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

func (*QuerySupplyResponse) ProtoMessage added in v0.7.1

func (*QuerySupplyResponse) ProtoMessage()

func (*QuerySupplyResponse) Reset added in v0.7.1

func (m *QuerySupplyResponse) Reset()

func (*QuerySupplyResponse) Size added in v0.7.1

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

func (*QuerySupplyResponse) String added in v0.7.1

func (m *QuerySupplyResponse) String() string

func (*QuerySupplyResponse) Unmarshal added in v0.7.1

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

func (*QuerySupplyResponse) XXX_DiscardUnknown added in v0.7.1

func (m *QuerySupplyResponse) XXX_DiscardUnknown()

func (*QuerySupplyResponse) XXX_Marshal added in v0.7.1

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

func (*QuerySupplyResponse) XXX_Merge added in v0.7.1

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

func (*QuerySupplyResponse) XXX_Size added in v0.7.1

func (m *QuerySupplyResponse) XXX_Size() int

func (*QuerySupplyResponse) XXX_Unmarshal added in v0.7.1

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BurnNFT added in v0.7.1

func (*UnimplementedMsgServer) EditNFT added in v0.7.1

func (*UnimplementedMsgServer) IssueClass added in v0.7.2

func (*UnimplementedMsgServer) IssueNFT added in v0.7.1

func (*UnimplementedMsgServer) TransferClass added in v0.7.2

func (*UnimplementedMsgServer) TransferNFT added in v0.7.1

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Class added in v0.7.2

func (*UnimplementedQueryServer) Classes added in v0.7.2

func (*UnimplementedQueryServer) NFT added in v0.7.1

func (*UnimplementedQueryServer) NFTs added in v1.1.0

func (*UnimplementedQueryServer) Owner added in v0.7.1

func (*UnimplementedQueryServer) Supply added in v0.7.1

Jump to

Keyboard shortcuts

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