types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "charservice"

	// 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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_charservice"
)
View Source
const (
	CharacterKey = "Character-value-"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

Variables

View Source
var (
	ErrInvalidLengthCharacter        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCharacter          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCharacter = fmt.Errorf("proto: unexpected end of group")
)
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 (
	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 (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/charservice module sentinel errors

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

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

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)

Types

type BankKeeper

type BankKeeper interface {
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
}

type Character

type Character struct {
	TradeRestricted bool   `protobuf:"varint,1,opt,name=tradeRestricted,proto3" json:"tradeRestricted,omitempty"`
	SaleTime        int64  `protobuf:"varint,2,opt,name=saleTime,proto3" json:"saleTime,omitempty"`
	Creator         string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	Index           string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"`
	Name            string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Owner           string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
	Ctype           string `protobuf:"bytes,7,opt,name=ctype,proto3" json:"ctype,omitempty"`
	Cost            string `protobuf:"bytes,8,opt,name=cost,proto3" json:"cost,omitempty"`
	License         string `protobuf:"bytes,9,opt,name=license,proto3" json:"license,omitempty"`
	Value           []byte `protobuf:"bytes,10,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Character) Descriptor

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

func (*Character) GetCost

func (m *Character) GetCost() string

func (*Character) GetCreator

func (m *Character) GetCreator() string

func (*Character) GetCtype

func (m *Character) GetCtype() string

func (*Character) GetIndex

func (m *Character) GetIndex() string

func (*Character) GetLicense

func (m *Character) GetLicense() string

func (*Character) GetName

func (m *Character) GetName() string

func (*Character) GetOwner

func (m *Character) GetOwner() string

func (*Character) GetSaleTime

func (m *Character) GetSaleTime() int64

func (*Character) GetTradeRestricted

func (m *Character) GetTradeRestricted() bool

func (*Character) GetValue

func (m *Character) GetValue() []byte

func (*Character) Marshal

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

func (*Character) MarshalTo

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

func (*Character) MarshalToSizedBuffer

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

func (*Character) ProtoMessage

func (*Character) ProtoMessage()

func (*Character) Reset

func (m *Character) Reset()

func (*Character) Size

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

func (*Character) String

func (m *Character) String() string

func (*Character) Unmarshal

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

func (*Character) XXX_DiscardUnknown

func (m *Character) XXX_DiscardUnknown()

func (*Character) XXX_Marshal

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

func (*Character) XXX_Merge

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

func (*Character) XXX_Size

func (m *Character) XXX_Size() int

func (*Character) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// this line is used by starport scaffolding # genesis/proto/state
	CharacterList []*Character `protobuf:"bytes,1,rep,name=characterList,proto3" json:"characterList,omitempty"`
}

GenesisState defines the charservice module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCharacterList

func (m *GenesisState) GetCharacterList() []*Character

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 MsgBuyChar

type MsgBuyChar struct {
	TradeRestricted bool   `protobuf:"varint,1,opt,name=tradeRestricted,proto3" json:"tradeRestricted,omitempty"`
	SaleTimeMinutes int64  `protobuf:"varint,2,opt,name=saleTimeMinutes,proto3" json:"saleTimeMinutes,omitempty"`
	Creator         string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	Name            string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	CharType        string `protobuf:"bytes,5,opt,name=charType,proto3" json:"charType,omitempty"`
	Cost            string `protobuf:"bytes,6,opt,name=cost,proto3" json:"cost,omitempty"`
	Index           string `protobuf:"bytes,7,opt,name=index,proto3" json:"index,omitempty"`
	License         string `protobuf:"bytes,8,opt,name=license,proto3" json:"license,omitempty"`
	Value           []byte `protobuf:"bytes,9,opt,name=value,proto3" json:"value,omitempty"`
}

func NewMsgBuyChar

func NewMsgBuyChar(
	creator string,
	index string,
	name string,
	value []byte,
	charType string,
	cost string,
	saleOverEpoch int64,
	license string,
	tradeRestricted bool,
) *MsgBuyChar

func (*MsgBuyChar) Descriptor

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

func (*MsgBuyChar) GetCharType

func (m *MsgBuyChar) GetCharType() string

func (*MsgBuyChar) GetCost

func (m *MsgBuyChar) GetCost() string

func (*MsgBuyChar) GetCreator

func (m *MsgBuyChar) GetCreator() string

func (*MsgBuyChar) GetIndex

func (m *MsgBuyChar) GetIndex() string

func (*MsgBuyChar) GetLicense

func (m *MsgBuyChar) GetLicense() string

func (*MsgBuyChar) GetName

func (m *MsgBuyChar) GetName() string

func (*MsgBuyChar) GetSaleTimeMinutes

func (m *MsgBuyChar) GetSaleTimeMinutes() int64

func (*MsgBuyChar) GetSignBytes

func (msg *MsgBuyChar) GetSignBytes() []byte

func (*MsgBuyChar) GetSigners

func (msg *MsgBuyChar) GetSigners() []sdk.AccAddress

func (*MsgBuyChar) GetTradeRestricted

func (m *MsgBuyChar) GetTradeRestricted() bool

func (*MsgBuyChar) GetValue

func (m *MsgBuyChar) GetValue() []byte

func (*MsgBuyChar) Marshal

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

func (*MsgBuyChar) MarshalTo

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

func (*MsgBuyChar) MarshalToSizedBuffer

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

func (*MsgBuyChar) ProtoMessage

func (*MsgBuyChar) ProtoMessage()

func (*MsgBuyChar) Reset

func (m *MsgBuyChar) Reset()

func (*MsgBuyChar) Route

func (msg *MsgBuyChar) Route() string

func (*MsgBuyChar) Size

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

func (*MsgBuyChar) String

func (m *MsgBuyChar) String() string

func (*MsgBuyChar) Type

func (msg *MsgBuyChar) Type() string

func (*MsgBuyChar) Unmarshal

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

func (*MsgBuyChar) ValidateBasic

func (msg *MsgBuyChar) ValidateBasic() error

func (*MsgBuyChar) XXX_DiscardUnknown

func (m *MsgBuyChar) XXX_DiscardUnknown()

func (*MsgBuyChar) XXX_Marshal

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

func (*MsgBuyChar) XXX_Merge

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

func (*MsgBuyChar) XXX_Size

func (m *MsgBuyChar) XXX_Size() int

func (*MsgBuyChar) XXX_Unmarshal

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

type MsgBuyCharResponse

type MsgBuyCharResponse struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*MsgBuyCharResponse) Descriptor

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

func (*MsgBuyCharResponse) GetIndex

func (m *MsgBuyCharResponse) GetIndex() string

func (*MsgBuyCharResponse) Marshal

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

func (*MsgBuyCharResponse) MarshalTo

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

func (*MsgBuyCharResponse) MarshalToSizedBuffer

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

func (*MsgBuyCharResponse) ProtoMessage

func (*MsgBuyCharResponse) ProtoMessage()

func (*MsgBuyCharResponse) Reset

func (m *MsgBuyCharResponse) Reset()

func (*MsgBuyCharResponse) Size

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

func (*MsgBuyCharResponse) String

func (m *MsgBuyCharResponse) String() string

func (*MsgBuyCharResponse) Unmarshal

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

func (*MsgBuyCharResponse) XXX_DiscardUnknown

func (m *MsgBuyCharResponse) XXX_DiscardUnknown()

func (*MsgBuyCharResponse) XXX_Marshal

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

func (*MsgBuyCharResponse) XXX_Merge

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

func (*MsgBuyCharResponse) XXX_Size

func (m *MsgBuyCharResponse) XXX_Size() int

func (*MsgBuyCharResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// this line is used by starport scaffolding # proto/tx/rpc
	UnlistSale(ctx context.Context, in *MsgUnlistSale, opts ...grpc.CallOption) (*MsgUnlistSaleResponse, error)
	SetSale(ctx context.Context, in *MsgSetSale, opts ...grpc.CallOption) (*MsgSetSaleResponse, error)
	BuyChar(ctx context.Context, in *MsgBuyChar, opts ...grpc.CallOption) (*MsgBuyCharResponse, 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 MsgServer

type MsgServer interface {
	// this line is used by starport scaffolding # proto/tx/rpc
	UnlistSale(context.Context, *MsgUnlistSale) (*MsgUnlistSaleResponse, error)
	SetSale(context.Context, *MsgSetSale) (*MsgSetSaleResponse, error)
	BuyChar(context.Context, *MsgBuyChar) (*MsgBuyCharResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetSale

type MsgSetSale struct {
	Creator         string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Index           string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Cost            string `protobuf:"bytes,3,opt,name=cost,proto3" json:"cost,omitempty"`
	SaleTimeMinutes int64  `protobuf:"varint,4,opt,name=saleTimeMinutes,proto3" json:"saleTimeMinutes,omitempty"`
}

func NewMsgSetSale

func NewMsgSetSale(creator string, index string, cost string, saleEndTime int64) *MsgSetSale

func (*MsgSetSale) Descriptor

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

func (*MsgSetSale) GetCost

func (m *MsgSetSale) GetCost() string

func (*MsgSetSale) GetCreator

func (m *MsgSetSale) GetCreator() string

func (*MsgSetSale) GetIndex

func (m *MsgSetSale) GetIndex() string

func (*MsgSetSale) GetSaleTimeMinutes

func (m *MsgSetSale) GetSaleTimeMinutes() int64

func (*MsgSetSale) GetSignBytes

func (msg *MsgSetSale) GetSignBytes() []byte

func (*MsgSetSale) GetSigners

func (msg *MsgSetSale) GetSigners() []sdk.AccAddress

func (*MsgSetSale) Marshal

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

func (*MsgSetSale) MarshalTo

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

func (*MsgSetSale) MarshalToSizedBuffer

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

func (*MsgSetSale) ProtoMessage

func (*MsgSetSale) ProtoMessage()

func (*MsgSetSale) Reset

func (m *MsgSetSale) Reset()

func (*MsgSetSale) Route

func (msg *MsgSetSale) Route() string

func (*MsgSetSale) Size

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

func (*MsgSetSale) String

func (m *MsgSetSale) String() string

func (*MsgSetSale) Type

func (msg *MsgSetSale) Type() string

func (*MsgSetSale) Unmarshal

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

func (*MsgSetSale) ValidateBasic

func (msg *MsgSetSale) ValidateBasic() error

func (*MsgSetSale) XXX_DiscardUnknown

func (m *MsgSetSale) XXX_DiscardUnknown()

func (*MsgSetSale) XXX_Marshal

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

func (*MsgSetSale) XXX_Merge

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

func (*MsgSetSale) XXX_Size

func (m *MsgSetSale) XXX_Size() int

func (*MsgSetSale) XXX_Unmarshal

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

type MsgSetSaleResponse

type MsgSetSaleResponse struct {
	Index       string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	SaleEndTime string `protobuf:"bytes,2,opt,name=saleEndTime,proto3" json:"saleEndTime,omitempty"`
}

func (*MsgSetSaleResponse) Descriptor

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

func (*MsgSetSaleResponse) GetIndex

func (m *MsgSetSaleResponse) GetIndex() string

func (*MsgSetSaleResponse) GetSaleEndTime

func (m *MsgSetSaleResponse) GetSaleEndTime() string

func (*MsgSetSaleResponse) Marshal

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

func (*MsgSetSaleResponse) MarshalTo

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

func (*MsgSetSaleResponse) MarshalToSizedBuffer

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

func (*MsgSetSaleResponse) ProtoMessage

func (*MsgSetSaleResponse) ProtoMessage()

func (*MsgSetSaleResponse) Reset

func (m *MsgSetSaleResponse) Reset()

func (*MsgSetSaleResponse) Size

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

func (*MsgSetSaleResponse) String

func (m *MsgSetSaleResponse) String() string

func (*MsgSetSaleResponse) Unmarshal

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

func (*MsgSetSaleResponse) XXX_DiscardUnknown

func (m *MsgSetSaleResponse) XXX_DiscardUnknown()

func (*MsgSetSaleResponse) XXX_Marshal

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

func (*MsgSetSaleResponse) XXX_Merge

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

func (*MsgSetSaleResponse) XXX_Size

func (m *MsgSetSaleResponse) XXX_Size() int

func (*MsgSetSaleResponse) XXX_Unmarshal

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

type MsgUnlistSale

type MsgUnlistSale struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Index   string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
}

this line is used by starport scaffolding # proto/tx/message

func NewMsgUnlistSale

func NewMsgUnlistSale(creator string, index string) *MsgUnlistSale

func (*MsgUnlistSale) Descriptor

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

func (*MsgUnlistSale) GetCreator

func (m *MsgUnlistSale) GetCreator() string

func (*MsgUnlistSale) GetIndex

func (m *MsgUnlistSale) GetIndex() string

func (*MsgUnlistSale) GetSignBytes

func (msg *MsgUnlistSale) GetSignBytes() []byte

func (*MsgUnlistSale) GetSigners

func (msg *MsgUnlistSale) GetSigners() []sdk.AccAddress

func (*MsgUnlistSale) Marshal

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

func (*MsgUnlistSale) MarshalTo

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

func (*MsgUnlistSale) MarshalToSizedBuffer

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

func (*MsgUnlistSale) ProtoMessage

func (*MsgUnlistSale) ProtoMessage()

func (*MsgUnlistSale) Reset

func (m *MsgUnlistSale) Reset()

func (*MsgUnlistSale) Route

func (msg *MsgUnlistSale) Route() string

func (*MsgUnlistSale) Size

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

func (*MsgUnlistSale) String

func (m *MsgUnlistSale) String() string

func (*MsgUnlistSale) Type

func (msg *MsgUnlistSale) Type() string

func (*MsgUnlistSale) Unmarshal

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

func (*MsgUnlistSale) ValidateBasic

func (msg *MsgUnlistSale) ValidateBasic() error

func (*MsgUnlistSale) XXX_DiscardUnknown

func (m *MsgUnlistSale) XXX_DiscardUnknown()

func (*MsgUnlistSale) XXX_Marshal

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

func (*MsgUnlistSale) XXX_Merge

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

func (*MsgUnlistSale) XXX_Size

func (m *MsgUnlistSale) XXX_Size() int

func (*MsgUnlistSale) XXX_Unmarshal

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

type MsgUnlistSaleResponse

type MsgUnlistSaleResponse struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*MsgUnlistSaleResponse) Descriptor

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

func (*MsgUnlistSaleResponse) GetIndex

func (m *MsgUnlistSaleResponse) GetIndex() string

func (*MsgUnlistSaleResponse) Marshal

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

func (*MsgUnlistSaleResponse) MarshalTo

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

func (*MsgUnlistSaleResponse) MarshalToSizedBuffer

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

func (*MsgUnlistSaleResponse) ProtoMessage

func (*MsgUnlistSaleResponse) ProtoMessage()

func (*MsgUnlistSaleResponse) Reset

func (m *MsgUnlistSaleResponse) Reset()

func (*MsgUnlistSaleResponse) Size

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

func (*MsgUnlistSaleResponse) String

func (m *MsgUnlistSaleResponse) String() string

func (*MsgUnlistSaleResponse) Unmarshal

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

func (*MsgUnlistSaleResponse) XXX_DiscardUnknown

func (m *MsgUnlistSaleResponse) XXX_DiscardUnknown()

func (*MsgUnlistSaleResponse) XXX_Marshal

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

func (*MsgUnlistSaleResponse) XXX_Merge

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

func (*MsgUnlistSaleResponse) XXX_Size

func (m *MsgUnlistSaleResponse) XXX_Size() int

func (*MsgUnlistSaleResponse) XXX_Unmarshal

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

type QueryAllCharacterRequest

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

func (*QueryAllCharacterRequest) Descriptor

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

func (*QueryAllCharacterRequest) GetPagination

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

func (*QueryAllCharacterRequest) Marshal

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

func (*QueryAllCharacterRequest) MarshalTo

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

func (*QueryAllCharacterRequest) MarshalToSizedBuffer

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

func (*QueryAllCharacterRequest) ProtoMessage

func (*QueryAllCharacterRequest) ProtoMessage()

func (*QueryAllCharacterRequest) Reset

func (m *QueryAllCharacterRequest) Reset()

func (*QueryAllCharacterRequest) Size

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

func (*QueryAllCharacterRequest) String

func (m *QueryAllCharacterRequest) String() string

func (*QueryAllCharacterRequest) Unmarshal

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

func (*QueryAllCharacterRequest) XXX_DiscardUnknown

func (m *QueryAllCharacterRequest) XXX_DiscardUnknown()

func (*QueryAllCharacterRequest) XXX_Marshal

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

func (*QueryAllCharacterRequest) XXX_Merge

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

func (*QueryAllCharacterRequest) XXX_Size

func (m *QueryAllCharacterRequest) XXX_Size() int

func (*QueryAllCharacterRequest) XXX_Unmarshal

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

type QueryAllCharacterResponse

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

func (*QueryAllCharacterResponse) Descriptor

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

func (*QueryAllCharacterResponse) GetCharacter

func (m *QueryAllCharacterResponse) GetCharacter() []*Character

func (*QueryAllCharacterResponse) GetPagination

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

func (*QueryAllCharacterResponse) Marshal

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

func (*QueryAllCharacterResponse) MarshalTo

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

func (*QueryAllCharacterResponse) MarshalToSizedBuffer

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

func (*QueryAllCharacterResponse) ProtoMessage

func (*QueryAllCharacterResponse) ProtoMessage()

func (*QueryAllCharacterResponse) Reset

func (m *QueryAllCharacterResponse) Reset()

func (*QueryAllCharacterResponse) Size

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

func (*QueryAllCharacterResponse) String

func (m *QueryAllCharacterResponse) String() string

func (*QueryAllCharacterResponse) Unmarshal

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

func (*QueryAllCharacterResponse) XXX_DiscardUnknown

func (m *QueryAllCharacterResponse) XXX_DiscardUnknown()

func (*QueryAllCharacterResponse) XXX_Marshal

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

func (*QueryAllCharacterResponse) XXX_Merge

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

func (*QueryAllCharacterResponse) XXX_Size

func (m *QueryAllCharacterResponse) XXX_Size() int

func (*QueryAllCharacterResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Queries a list of getAllCharsByCreator items.
	GetAllCharsByCreator(ctx context.Context, in *QueryGetAllCharsByCreatorRequest, opts ...grpc.CallOption) (*QueryGetAllCharsByCreatorResponse, error)
	// Queries a list of getCharByName items.
	GetCharByName(ctx context.Context, in *QueryGetCharByNameRequest, opts ...grpc.CallOption) (*QueryGetCharByNameResponse, error)
	// Queries a list of getAllCharsForSale items.
	GetAllCharsForSale(ctx context.Context, in *QueryGetAllCharsForSaleRequest, opts ...grpc.CallOption) (*QueryGetAllCharsForSaleResponse, error)
	// Queries a list of getAllCharsOfType items.
	GetAllCharsOfType(ctx context.Context, in *QueryGetAllCharsOfTypeRequest, opts ...grpc.CallOption) (*QueryGetAllCharsOfTypeResponse, error)
	// Queries a list of getAllCharsOfOwner items.
	GetAllCharsOfOwner(ctx context.Context, in *QueryGetAllCharsOfOwnerRequest, opts ...grpc.CallOption) (*QueryGetAllCharsOfOwnerResponse, error)
	// Queries a character by index.
	Character(ctx context.Context, in *QueryGetCharacterRequest, opts ...grpc.CallOption) (*QueryGetCharacterResponse, error)
	// Queries a list of character items.
	CharacterAll(ctx context.Context, in *QueryAllCharacterRequest, opts ...grpc.CallOption) (*QueryAllCharacterResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetAllCharsByCreatorRequest

type QueryGetAllCharsByCreatorRequest struct {
	Creator    string             `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

this line is used by starport scaffolding # 3

func (*QueryGetAllCharsByCreatorRequest) Descriptor

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

func (*QueryGetAllCharsByCreatorRequest) GetCreator

func (m *QueryGetAllCharsByCreatorRequest) GetCreator() string

func (*QueryGetAllCharsByCreatorRequest) GetPagination

func (*QueryGetAllCharsByCreatorRequest) Marshal

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

func (*QueryGetAllCharsByCreatorRequest) MarshalTo

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

func (*QueryGetAllCharsByCreatorRequest) MarshalToSizedBuffer

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

func (*QueryGetAllCharsByCreatorRequest) ProtoMessage

func (*QueryGetAllCharsByCreatorRequest) ProtoMessage()

func (*QueryGetAllCharsByCreatorRequest) Reset

func (*QueryGetAllCharsByCreatorRequest) Size

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

func (*QueryGetAllCharsByCreatorRequest) String

func (*QueryGetAllCharsByCreatorRequest) Unmarshal

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

func (*QueryGetAllCharsByCreatorRequest) XXX_DiscardUnknown

func (m *QueryGetAllCharsByCreatorRequest) XXX_DiscardUnknown()

func (*QueryGetAllCharsByCreatorRequest) XXX_Marshal

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

func (*QueryGetAllCharsByCreatorRequest) XXX_Merge

func (*QueryGetAllCharsByCreatorRequest) XXX_Size

func (m *QueryGetAllCharsByCreatorRequest) XXX_Size() int

func (*QueryGetAllCharsByCreatorRequest) XXX_Unmarshal

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

type QueryGetAllCharsByCreatorResponse

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

func (*QueryGetAllCharsByCreatorResponse) Descriptor

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

func (*QueryGetAllCharsByCreatorResponse) GetCharacter

func (m *QueryGetAllCharsByCreatorResponse) GetCharacter() []*Character

func (*QueryGetAllCharsByCreatorResponse) GetPagination

func (*QueryGetAllCharsByCreatorResponse) Marshal

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

func (*QueryGetAllCharsByCreatorResponse) MarshalTo

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

func (*QueryGetAllCharsByCreatorResponse) MarshalToSizedBuffer

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

func (*QueryGetAllCharsByCreatorResponse) ProtoMessage

func (*QueryGetAllCharsByCreatorResponse) ProtoMessage()

func (*QueryGetAllCharsByCreatorResponse) Reset

func (*QueryGetAllCharsByCreatorResponse) Size

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

func (*QueryGetAllCharsByCreatorResponse) String

func (*QueryGetAllCharsByCreatorResponse) Unmarshal

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

func (*QueryGetAllCharsByCreatorResponse) XXX_DiscardUnknown

func (m *QueryGetAllCharsByCreatorResponse) XXX_DiscardUnknown()

func (*QueryGetAllCharsByCreatorResponse) XXX_Marshal

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

func (*QueryGetAllCharsByCreatorResponse) XXX_Merge

func (*QueryGetAllCharsByCreatorResponse) XXX_Size

func (m *QueryGetAllCharsByCreatorResponse) XXX_Size() int

func (*QueryGetAllCharsByCreatorResponse) XXX_Unmarshal

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

type QueryGetAllCharsForSaleRequest

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

func (*QueryGetAllCharsForSaleRequest) Descriptor

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

func (*QueryGetAllCharsForSaleRequest) GetPagination

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

func (*QueryGetAllCharsForSaleRequest) Marshal

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

func (*QueryGetAllCharsForSaleRequest) MarshalTo

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

func (*QueryGetAllCharsForSaleRequest) MarshalToSizedBuffer

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

func (*QueryGetAllCharsForSaleRequest) ProtoMessage

func (*QueryGetAllCharsForSaleRequest) ProtoMessage()

func (*QueryGetAllCharsForSaleRequest) Reset

func (m *QueryGetAllCharsForSaleRequest) Reset()

func (*QueryGetAllCharsForSaleRequest) Size

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

func (*QueryGetAllCharsForSaleRequest) String

func (*QueryGetAllCharsForSaleRequest) Unmarshal

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

func (*QueryGetAllCharsForSaleRequest) XXX_DiscardUnknown

func (m *QueryGetAllCharsForSaleRequest) XXX_DiscardUnknown()

func (*QueryGetAllCharsForSaleRequest) XXX_Marshal

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

func (*QueryGetAllCharsForSaleRequest) XXX_Merge

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

func (*QueryGetAllCharsForSaleRequest) XXX_Size

func (m *QueryGetAllCharsForSaleRequest) XXX_Size() int

func (*QueryGetAllCharsForSaleRequest) XXX_Unmarshal

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

type QueryGetAllCharsForSaleResponse

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

func (*QueryGetAllCharsForSaleResponse) Descriptor

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

func (*QueryGetAllCharsForSaleResponse) GetCharacter

func (m *QueryGetAllCharsForSaleResponse) GetCharacter() []*Character

func (*QueryGetAllCharsForSaleResponse) GetPagination

func (*QueryGetAllCharsForSaleResponse) Marshal

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

func (*QueryGetAllCharsForSaleResponse) MarshalTo

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

func (*QueryGetAllCharsForSaleResponse) MarshalToSizedBuffer

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

func (*QueryGetAllCharsForSaleResponse) ProtoMessage

func (*QueryGetAllCharsForSaleResponse) ProtoMessage()

func (*QueryGetAllCharsForSaleResponse) Reset

func (*QueryGetAllCharsForSaleResponse) Size

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

func (*QueryGetAllCharsForSaleResponse) String

func (*QueryGetAllCharsForSaleResponse) Unmarshal

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

func (*QueryGetAllCharsForSaleResponse) XXX_DiscardUnknown

func (m *QueryGetAllCharsForSaleResponse) XXX_DiscardUnknown()

func (*QueryGetAllCharsForSaleResponse) XXX_Marshal

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

func (*QueryGetAllCharsForSaleResponse) XXX_Merge

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

func (*QueryGetAllCharsForSaleResponse) XXX_Size

func (m *QueryGetAllCharsForSaleResponse) XXX_Size() int

func (*QueryGetAllCharsForSaleResponse) XXX_Unmarshal

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

type QueryGetAllCharsOfOwnerRequest

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

func (*QueryGetAllCharsOfOwnerRequest) Descriptor

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

func (*QueryGetAllCharsOfOwnerRequest) GetOwner

func (m *QueryGetAllCharsOfOwnerRequest) GetOwner() string

func (*QueryGetAllCharsOfOwnerRequest) GetPagination

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

func (*QueryGetAllCharsOfOwnerRequest) Marshal

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

func (*QueryGetAllCharsOfOwnerRequest) MarshalTo

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

func (*QueryGetAllCharsOfOwnerRequest) MarshalToSizedBuffer

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

func (*QueryGetAllCharsOfOwnerRequest) ProtoMessage

func (*QueryGetAllCharsOfOwnerRequest) ProtoMessage()

func (*QueryGetAllCharsOfOwnerRequest) Reset

func (m *QueryGetAllCharsOfOwnerRequest) Reset()

func (*QueryGetAllCharsOfOwnerRequest) Size

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

func (*QueryGetAllCharsOfOwnerRequest) String

func (*QueryGetAllCharsOfOwnerRequest) Unmarshal

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

func (*QueryGetAllCharsOfOwnerRequest) XXX_DiscardUnknown

func (m *QueryGetAllCharsOfOwnerRequest) XXX_DiscardUnknown()

func (*QueryGetAllCharsOfOwnerRequest) XXX_Marshal

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

func (*QueryGetAllCharsOfOwnerRequest) XXX_Merge

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

func (*QueryGetAllCharsOfOwnerRequest) XXX_Size

func (m *QueryGetAllCharsOfOwnerRequest) XXX_Size() int

func (*QueryGetAllCharsOfOwnerRequest) XXX_Unmarshal

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

type QueryGetAllCharsOfOwnerResponse

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

func (*QueryGetAllCharsOfOwnerResponse) Descriptor

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

func (*QueryGetAllCharsOfOwnerResponse) GetCharacter

func (m *QueryGetAllCharsOfOwnerResponse) GetCharacter() []*Character

func (*QueryGetAllCharsOfOwnerResponse) GetPagination

func (*QueryGetAllCharsOfOwnerResponse) Marshal

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

func (*QueryGetAllCharsOfOwnerResponse) MarshalTo

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

func (*QueryGetAllCharsOfOwnerResponse) MarshalToSizedBuffer

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

func (*QueryGetAllCharsOfOwnerResponse) ProtoMessage

func (*QueryGetAllCharsOfOwnerResponse) ProtoMessage()

func (*QueryGetAllCharsOfOwnerResponse) Reset

func (*QueryGetAllCharsOfOwnerResponse) Size

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

func (*QueryGetAllCharsOfOwnerResponse) String

func (*QueryGetAllCharsOfOwnerResponse) Unmarshal

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

func (*QueryGetAllCharsOfOwnerResponse) XXX_DiscardUnknown

func (m *QueryGetAllCharsOfOwnerResponse) XXX_DiscardUnknown()

func (*QueryGetAllCharsOfOwnerResponse) XXX_Marshal

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

func (*QueryGetAllCharsOfOwnerResponse) XXX_Merge

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

func (*QueryGetAllCharsOfOwnerResponse) XXX_Size

func (m *QueryGetAllCharsOfOwnerResponse) XXX_Size() int

func (*QueryGetAllCharsOfOwnerResponse) XXX_Unmarshal

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

type QueryGetAllCharsOfTypeRequest

type QueryGetAllCharsOfTypeRequest struct {
	Ctype      string             `protobuf:"bytes,1,opt,name=ctype,proto3" json:"ctype,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryGetAllCharsOfTypeRequest) Descriptor

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

func (*QueryGetAllCharsOfTypeRequest) GetCtype

func (m *QueryGetAllCharsOfTypeRequest) GetCtype() string

func (*QueryGetAllCharsOfTypeRequest) GetPagination

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

func (*QueryGetAllCharsOfTypeRequest) Marshal

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

func (*QueryGetAllCharsOfTypeRequest) MarshalTo

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

func (*QueryGetAllCharsOfTypeRequest) MarshalToSizedBuffer

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

func (*QueryGetAllCharsOfTypeRequest) ProtoMessage

func (*QueryGetAllCharsOfTypeRequest) ProtoMessage()

func (*QueryGetAllCharsOfTypeRequest) Reset

func (m *QueryGetAllCharsOfTypeRequest) Reset()

func (*QueryGetAllCharsOfTypeRequest) Size

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

func (*QueryGetAllCharsOfTypeRequest) String

func (*QueryGetAllCharsOfTypeRequest) Unmarshal

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

func (*QueryGetAllCharsOfTypeRequest) XXX_DiscardUnknown

func (m *QueryGetAllCharsOfTypeRequest) XXX_DiscardUnknown()

func (*QueryGetAllCharsOfTypeRequest) XXX_Marshal

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

func (*QueryGetAllCharsOfTypeRequest) XXX_Merge

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

func (*QueryGetAllCharsOfTypeRequest) XXX_Size

func (m *QueryGetAllCharsOfTypeRequest) XXX_Size() int

func (*QueryGetAllCharsOfTypeRequest) XXX_Unmarshal

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

type QueryGetAllCharsOfTypeResponse

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

func (*QueryGetAllCharsOfTypeResponse) Descriptor

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

func (*QueryGetAllCharsOfTypeResponse) GetCharacter

func (m *QueryGetAllCharsOfTypeResponse) GetCharacter() []*Character

func (*QueryGetAllCharsOfTypeResponse) GetPagination

func (*QueryGetAllCharsOfTypeResponse) Marshal

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

func (*QueryGetAllCharsOfTypeResponse) MarshalTo

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

func (*QueryGetAllCharsOfTypeResponse) MarshalToSizedBuffer

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

func (*QueryGetAllCharsOfTypeResponse) ProtoMessage

func (*QueryGetAllCharsOfTypeResponse) ProtoMessage()

func (*QueryGetAllCharsOfTypeResponse) Reset

func (m *QueryGetAllCharsOfTypeResponse) Reset()

func (*QueryGetAllCharsOfTypeResponse) Size

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

func (*QueryGetAllCharsOfTypeResponse) String

func (*QueryGetAllCharsOfTypeResponse) Unmarshal

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

func (*QueryGetAllCharsOfTypeResponse) XXX_DiscardUnknown

func (m *QueryGetAllCharsOfTypeResponse) XXX_DiscardUnknown()

func (*QueryGetAllCharsOfTypeResponse) XXX_Marshal

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

func (*QueryGetAllCharsOfTypeResponse) XXX_Merge

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

func (*QueryGetAllCharsOfTypeResponse) XXX_Size

func (m *QueryGetAllCharsOfTypeResponse) XXX_Size() int

func (*QueryGetAllCharsOfTypeResponse) XXX_Unmarshal

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

type QueryGetCharByNameRequest

type QueryGetCharByNameRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

func (*QueryGetCharByNameRequest) Descriptor

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

func (*QueryGetCharByNameRequest) GetName

func (m *QueryGetCharByNameRequest) GetName() string

func (*QueryGetCharByNameRequest) Marshal

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

func (*QueryGetCharByNameRequest) MarshalTo

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

func (*QueryGetCharByNameRequest) MarshalToSizedBuffer

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

func (*QueryGetCharByNameRequest) ProtoMessage

func (*QueryGetCharByNameRequest) ProtoMessage()

func (*QueryGetCharByNameRequest) Reset

func (m *QueryGetCharByNameRequest) Reset()

func (*QueryGetCharByNameRequest) Size

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

func (*QueryGetCharByNameRequest) String

func (m *QueryGetCharByNameRequest) String() string

func (*QueryGetCharByNameRequest) Unmarshal

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

func (*QueryGetCharByNameRequest) XXX_DiscardUnknown

func (m *QueryGetCharByNameRequest) XXX_DiscardUnknown()

func (*QueryGetCharByNameRequest) XXX_Marshal

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

func (*QueryGetCharByNameRequest) XXX_Merge

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

func (*QueryGetCharByNameRequest) XXX_Size

func (m *QueryGetCharByNameRequest) XXX_Size() int

func (*QueryGetCharByNameRequest) XXX_Unmarshal

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

type QueryGetCharByNameResponse

type QueryGetCharByNameResponse struct {
	Character *Character `protobuf:"bytes,1,opt,name=Character,proto3" json:"Character,omitempty"`
}

func (*QueryGetCharByNameResponse) Descriptor

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

func (*QueryGetCharByNameResponse) GetCharacter

func (m *QueryGetCharByNameResponse) GetCharacter() *Character

func (*QueryGetCharByNameResponse) Marshal

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

func (*QueryGetCharByNameResponse) MarshalTo

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

func (*QueryGetCharByNameResponse) MarshalToSizedBuffer

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

func (*QueryGetCharByNameResponse) ProtoMessage

func (*QueryGetCharByNameResponse) ProtoMessage()

func (*QueryGetCharByNameResponse) Reset

func (m *QueryGetCharByNameResponse) Reset()

func (*QueryGetCharByNameResponse) Size

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

func (*QueryGetCharByNameResponse) String

func (m *QueryGetCharByNameResponse) String() string

func (*QueryGetCharByNameResponse) Unmarshal

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

func (*QueryGetCharByNameResponse) XXX_DiscardUnknown

func (m *QueryGetCharByNameResponse) XXX_DiscardUnknown()

func (*QueryGetCharByNameResponse) XXX_Marshal

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

func (*QueryGetCharByNameResponse) XXX_Merge

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

func (*QueryGetCharByNameResponse) XXX_Size

func (m *QueryGetCharByNameResponse) XXX_Size() int

func (*QueryGetCharByNameResponse) XXX_Unmarshal

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

type QueryGetCharacterRequest

type QueryGetCharacterRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetCharacterRequest) Descriptor

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

func (*QueryGetCharacterRequest) GetIndex

func (m *QueryGetCharacterRequest) GetIndex() string

func (*QueryGetCharacterRequest) Marshal

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

func (*QueryGetCharacterRequest) MarshalTo

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

func (*QueryGetCharacterRequest) MarshalToSizedBuffer

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

func (*QueryGetCharacterRequest) ProtoMessage

func (*QueryGetCharacterRequest) ProtoMessage()

func (*QueryGetCharacterRequest) Reset

func (m *QueryGetCharacterRequest) Reset()

func (*QueryGetCharacterRequest) Size

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

func (*QueryGetCharacterRequest) String

func (m *QueryGetCharacterRequest) String() string

func (*QueryGetCharacterRequest) Unmarshal

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

func (*QueryGetCharacterRequest) XXX_DiscardUnknown

func (m *QueryGetCharacterRequest) XXX_DiscardUnknown()

func (*QueryGetCharacterRequest) XXX_Marshal

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

func (*QueryGetCharacterRequest) XXX_Merge

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

func (*QueryGetCharacterRequest) XXX_Size

func (m *QueryGetCharacterRequest) XXX_Size() int

func (*QueryGetCharacterRequest) XXX_Unmarshal

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

type QueryGetCharacterResponse

type QueryGetCharacterResponse struct {
	Character *Character `protobuf:"bytes,1,opt,name=Character,proto3" json:"Character,omitempty"`
}

func (*QueryGetCharacterResponse) Descriptor

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

func (*QueryGetCharacterResponse) GetCharacter

func (m *QueryGetCharacterResponse) GetCharacter() *Character

func (*QueryGetCharacterResponse) Marshal

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

func (*QueryGetCharacterResponse) MarshalTo

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

func (*QueryGetCharacterResponse) MarshalToSizedBuffer

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

func (*QueryGetCharacterResponse) ProtoMessage

func (*QueryGetCharacterResponse) ProtoMessage()

func (*QueryGetCharacterResponse) Reset

func (m *QueryGetCharacterResponse) Reset()

func (*QueryGetCharacterResponse) Size

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

func (*QueryGetCharacterResponse) String

func (m *QueryGetCharacterResponse) String() string

func (*QueryGetCharacterResponse) Unmarshal

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

func (*QueryGetCharacterResponse) XXX_DiscardUnknown

func (m *QueryGetCharacterResponse) XXX_DiscardUnknown()

func (*QueryGetCharacterResponse) XXX_Marshal

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

func (*QueryGetCharacterResponse) XXX_Merge

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

func (*QueryGetCharacterResponse) XXX_Size

func (m *QueryGetCharacterResponse) XXX_Size() int

func (*QueryGetCharacterResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Queries a list of getAllCharsByCreator items.
	GetAllCharsByCreator(context.Context, *QueryGetAllCharsByCreatorRequest) (*QueryGetAllCharsByCreatorResponse, error)
	// Queries a list of getCharByName items.
	GetCharByName(context.Context, *QueryGetCharByNameRequest) (*QueryGetCharByNameResponse, error)
	// Queries a list of getAllCharsForSale items.
	GetAllCharsForSale(context.Context, *QueryGetAllCharsForSaleRequest) (*QueryGetAllCharsForSaleResponse, error)
	// Queries a list of getAllCharsOfType items.
	GetAllCharsOfType(context.Context, *QueryGetAllCharsOfTypeRequest) (*QueryGetAllCharsOfTypeResponse, error)
	// Queries a list of getAllCharsOfOwner items.
	GetAllCharsOfOwner(context.Context, *QueryGetAllCharsOfOwnerRequest) (*QueryGetAllCharsOfOwnerResponse, error)
	// Queries a character by index.
	Character(context.Context, *QueryGetCharacterRequest) (*QueryGetCharacterResponse, error)
	// Queries a list of character items.
	CharacterAll(context.Context, *QueryAllCharacterRequest) (*QueryAllCharacterResponse, error)
}

QueryServer is the server API for Query service.

type TypeserviceKeeper

type TypeserviceKeeper interface {
	Ctype(c context.Context, req *types.QueryGetCtypeRequest) (*types.QueryGetCtypeResponse, error)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BuyChar

func (*UnimplementedMsgServer) SetSale

func (*UnimplementedMsgServer) UnlistSale

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Character

func (*UnimplementedQueryServer) CharacterAll

func (*UnimplementedQueryServer) GetAllCharsForSale

func (*UnimplementedQueryServer) GetAllCharsOfOwner

func (*UnimplementedQueryServer) GetAllCharsOfType

func (*UnimplementedQueryServer) GetCharByName

Jump to

Keyboard shortcuts

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