Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func NewClassId(prefix []byte, serial int) (string, error)
- func NewNftId(class string, version int, tokenHash string, creator string) (string, error)
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type ClassData
- func (*ClassData) Descriptor() ([]byte, []int)
- func (m *ClassData) Marshal() (dAtA []byte, err error)
- func (m *ClassData) MarshalTo(dAtA []byte) (int, error)
- func (m *ClassData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClassData) ProtoMessage()
- func (m *ClassData) Reset()
- func (m *ClassData) Size() (n int)
- func (m *ClassData) String() string
- func (m *ClassData) Unmarshal(dAtA []byte) error
- func (m *ClassData) XXX_DiscardUnknown()
- func (m *ClassData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClassData) XXX_Merge(src proto.Message)
- func (m *ClassData) XXX_Size() int
- func (m *ClassData) XXX_Unmarshal(b []byte) error
- type EventBurnNFT
- func (*EventBurnNFT) Descriptor() ([]byte, []int)
- func (m *EventBurnNFT) GetClassId() string
- func (m *EventBurnNFT) GetNftId() string
- func (m *EventBurnNFT) GetOwner() string
- func (m *EventBurnNFT) Marshal() (dAtA []byte, err error)
- func (m *EventBurnNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBurnNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBurnNFT) ProtoMessage()
- func (m *EventBurnNFT) Reset()
- func (m *EventBurnNFT) Size() (n int)
- func (m *EventBurnNFT) String() string
- func (m *EventBurnNFT) Unmarshal(dAtA []byte) error
- func (m *EventBurnNFT) XXX_DiscardUnknown()
- func (m *EventBurnNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBurnNFT) XXX_Merge(src proto.Message)
- func (m *EventBurnNFT) XXX_Size() int
- func (m *EventBurnNFT) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type JsonInput
- func (input JsonInput) GetPath(path ...interface{}) (interface{}, bool)
- func (input JsonInput) Marshal() ([]byte, error)
- func (input JsonInput) MarshalJSON() ([]byte, error)
- func (input *JsonInput) MarshalTo(dAtA []byte) (int, error)
- func (input JsonInput) Normalize() (json.RawMessage, error)
- func (input JsonInput) Size() int
- func (input JsonInput) String() string
- func (input *JsonInput) Unmarshal(bz []byte) error
- func (input *JsonInput) UnmarshalJSON(bz []byte) error
- func (input JsonInput) Validate() error
- type MsgBurnNFT
- func (*MsgBurnNFT) Descriptor() ([]byte, []int)
- func (m *MsgBurnNFT) GetClassId() string
- func (m *MsgBurnNFT) GetCreator() string
- func (m *MsgBurnNFT) GetNftId() string
- func (msg *MsgBurnNFT) GetSignBytes() []byte
- func (msg *MsgBurnNFT) GetSigners() []sdk.AccAddress
- func (m *MsgBurnNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnNFT) ProtoMessage()
- func (m *MsgBurnNFT) Reset()
- func (msg *MsgBurnNFT) Route() string
- func (m *MsgBurnNFT) Size() (n int)
- func (m *MsgBurnNFT) String() string
- func (msg *MsgBurnNFT) Type() string
- func (m *MsgBurnNFT) Unmarshal(dAtA []byte) error
- func (msg *MsgBurnNFT) ValidateBasic() error
- func (m *MsgBurnNFT) XXX_DiscardUnknown()
- func (m *MsgBurnNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnNFT) XXX_Merge(src proto.Message)
- func (m *MsgBurnNFT) XXX_Size() int
- func (m *MsgBurnNFT) XXX_Unmarshal(b []byte) error
- type MsgBurnNFTResponse
- func (*MsgBurnNFTResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnNFTResponse) ProtoMessage()
- func (m *MsgBurnNFTResponse) Reset()
- func (m *MsgBurnNFTResponse) Size() (n int)
- func (m *MsgBurnNFTResponse) String() string
- func (m *MsgBurnNFTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnNFTResponse) XXX_DiscardUnknown()
- func (m *MsgBurnNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnNFTResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnNFTResponse) XXX_Size() int
- func (m *MsgBurnNFTResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateClass
- func (*MsgCreateClass) Descriptor() ([]byte, []int)
- func (m *MsgCreateClass) GetCreator() string
- func (m *MsgCreateClass) GetData() ClassData
- func (m *MsgCreateClass) GetDescription() string
- func (m *MsgCreateClass) GetName() string
- func (msg *MsgCreateClass) GetSignBytes() []byte
- func (msg *MsgCreateClass) GetSigners() []sdk.AccAddress
- func (m *MsgCreateClass) GetSymbol() string
- func (m *MsgCreateClass) GetUri() string
- func (m *MsgCreateClass) GetUriHash() string
- func (m *MsgCreateClass) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClass) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClass) ProtoMessage()
- func (m *MsgCreateClass) Reset()
- func (msg *MsgCreateClass) Route() string
- func (m *MsgCreateClass) Size() (n int)
- func (m *MsgCreateClass) String() string
- func (msg *MsgCreateClass) Type() string
- func (m *MsgCreateClass) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateClass) ValidateBasic() error
- func (m *MsgCreateClass) XXX_DiscardUnknown()
- func (m *MsgCreateClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClass) XXX_Merge(src proto.Message)
- func (m *MsgCreateClass) XXX_Size() int
- func (m *MsgCreateClass) XXX_Unmarshal(b []byte) error
- type MsgCreateClassResponse
- func (*MsgCreateClassResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateClassResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClassResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClassResponse) ProtoMessage()
- func (m *MsgCreateClassResponse) Reset()
- func (m *MsgCreateClassResponse) Size() (n int)
- func (m *MsgCreateClassResponse) String() string
- func (m *MsgCreateClassResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateClassResponse) XXX_DiscardUnknown()
- func (m *MsgCreateClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClassResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateClassResponse) XXX_Size() int
- func (m *MsgCreateClassResponse) XXX_Unmarshal(b []byte) error
- type MsgMintNft
- func (*MsgMintNft) Descriptor() ([]byte, []int)
- func (m *MsgMintNft) GetClassId() string
- func (m *MsgMintNft) GetCreator() string
- func (m *MsgMintNft) GetData() NftData
- func (m *MsgMintNft) GetId() string
- func (msg *MsgMintNft) GetSignBytes() []byte
- func (msg *MsgMintNft) GetSigners() []sdk.AccAddress
- func (m *MsgMintNft) GetUri() string
- func (m *MsgMintNft) GetUriHash() string
- func (m *MsgMintNft) Marshal() (dAtA []byte, err error)
- func (m *MsgMintNft) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintNft) ProtoMessage()
- func (m *MsgMintNft) Reset()
- func (msg *MsgMintNft) Route() string
- func (m *MsgMintNft) Size() (n int)
- func (m *MsgMintNft) String() string
- func (msg *MsgMintNft) Type() string
- func (m *MsgMintNft) Unmarshal(dAtA []byte) error
- func (msg *MsgMintNft) ValidateBasic() error
- func (m *MsgMintNft) XXX_DiscardUnknown()
- func (m *MsgMintNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintNft) XXX_Merge(src proto.Message)
- func (m *MsgMintNft) XXX_Size() int
- func (m *MsgMintNft) XXX_Unmarshal(b []byte) error
- type MsgMintNftResponse
- func (*MsgMintNftResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintNftResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintNftResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintNftResponse) ProtoMessage()
- func (m *MsgMintNftResponse) Reset()
- func (m *MsgMintNftResponse) Size() (n int)
- func (m *MsgMintNftResponse) String() string
- func (m *MsgMintNftResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintNftResponse) XXX_DiscardUnknown()
- func (m *MsgMintNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintNftResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintNftResponse) XXX_Size() int
- func (m *MsgMintNftResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type NftData
- func (*NftData) Descriptor() ([]byte, []int)
- func (m *NftData) Marshal() (dAtA []byte, err error)
- func (m *NftData) MarshalTo(dAtA []byte) (int, error)
- func (m *NftData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NftData) ProtoMessage()
- func (m *NftData) Reset()
- func (m *NftData) Size() (n int)
- func (m *NftData) String() string
- func (m *NftData) Unmarshal(dAtA []byte) error
- func (m *NftData) XXX_DiscardUnknown()
- func (m *NftData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NftData) XXX_Merge(src proto.Message)
- func (m *NftData) XXX_Size() int
- func (m *NftData) XXX_Unmarshal(b []byte) error
- type NftKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BurnNFT(ctx context.Context, req *MsgBurnNFT) (*MsgBurnNFTResponse, error)
- func (*UnimplementedMsgServer) CreateClass(ctx context.Context, req *MsgCreateClass) (*MsgCreateClassResponse, error)
- func (*UnimplementedMsgServer) MintNft(ctx context.Context, req *MsgMintNft) (*MsgMintNftResponse, error)
- type UnimplementedQueryServer
Constants ¶
const ( // ModuleName defines the module name ModuleName = "vnft" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_vnft" )
const CLASS_ID_PREFIX = "vconftclass"
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const NFT_ID_PREFIX = "vconft"
const NONCE = "000000000000000000000000000000000000000000000000"
const TypeMsgBurnNFT = "burn_nft"
const TypeMsgCreateClass = "create_class"
const TypeMsgMintNft = "mint_nft"
Variables ¶
var ( ErrInvalidLengthClassData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClassData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClassData = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrFailedToSaveClass = sdkerrors.Register(ModuleName, 3, "Failed to save class") ErrFailedToMarshalData = sdkerrors.Register(ModuleName, 4, "Failed to marshal data") ErrNftClassNotFound = sdkerrors.Register(ModuleName, 5, "NFT Class not found") ErrFailedToUnmarshalData = sdkerrors.Register(ModuleName, 6, "Failed to unmarshal data") ErrFailedToMintNFT = sdkerrors.Register(ModuleName, 7, "Failed to mint NFT") ErrFailedToGetUserAddress = sdkerrors.Register(ModuleName, 8, "Failed to obtain user address") ErrFailedToCreateNftId = sdkerrors.Register(ModuleName, 9, "Failed to Create NFT ID") ErrOwnerAddressUsedBefore = sdkerrors.Register(ModuleName, 10, "Owner Address is used before") ErrNftNotFound = sdkerrors.Register(ModuleName, 11, "NFT was not found") ErrFailedToBurnNFT = sdkerrors.Register(ModuleName, 12, "Failed to Burn the NFT") ErrNftNotBurnable = sdkerrors.Register(ModuleName, 13, "NFT is not burnable") )
x/vnft module sentinel errors
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthNftData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNftData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupNftData = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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 AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type ClassData ¶
type ClassData struct {
Metadata JsonInput `protobuf:"bytes,1,opt,name=metadata,proto3,customtype=JsonInput" json:"metadata"`
}
func (*ClassData) Descriptor ¶
func (*ClassData) MarshalToSizedBuffer ¶
func (*ClassData) ProtoMessage ¶
func (*ClassData) ProtoMessage()
func (*ClassData) XXX_DiscardUnknown ¶
func (m *ClassData) XXX_DiscardUnknown()
func (*ClassData) XXX_Marshal ¶
func (*ClassData) XXX_Unmarshal ¶
type EventBurnNFT ¶
type EventBurnNFT struct { ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` NftId string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` }
func (*EventBurnNFT) Descriptor ¶
func (*EventBurnNFT) Descriptor() ([]byte, []int)
func (*EventBurnNFT) GetClassId ¶
func (m *EventBurnNFT) GetClassId() string
func (*EventBurnNFT) GetNftId ¶
func (m *EventBurnNFT) GetNftId() string
func (*EventBurnNFT) GetOwner ¶
func (m *EventBurnNFT) GetOwner() string
func (*EventBurnNFT) Marshal ¶
func (m *EventBurnNFT) Marshal() (dAtA []byte, err error)
func (*EventBurnNFT) MarshalToSizedBuffer ¶
func (m *EventBurnNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBurnNFT) ProtoMessage ¶
func (*EventBurnNFT) ProtoMessage()
func (*EventBurnNFT) Reset ¶
func (m *EventBurnNFT) Reset()
func (*EventBurnNFT) Size ¶
func (m *EventBurnNFT) Size() (n int)
func (*EventBurnNFT) String ¶
func (m *EventBurnNFT) String() string
func (*EventBurnNFT) Unmarshal ¶
func (m *EventBurnNFT) Unmarshal(dAtA []byte) error
func (*EventBurnNFT) XXX_DiscardUnknown ¶
func (m *EventBurnNFT) XXX_DiscardUnknown()
func (*EventBurnNFT) XXX_Marshal ¶
func (m *EventBurnNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBurnNFT) XXX_Merge ¶
func (m *EventBurnNFT) XXX_Merge(src proto.Message)
func (*EventBurnNFT) XXX_Size ¶
func (m *EventBurnNFT) XXX_Size() int
func (*EventBurnNFT) XXX_Unmarshal ¶
func (m *EventBurnNFT) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the vnft module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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 JsonInput ¶
type JsonInput json.RawMessage // JSON encoded
func (JsonInput) MarshalJSON ¶
func (JsonInput) Normalize ¶
func (input JsonInput) Normalize() (json.RawMessage, error)
Normalize returns a sorted JSON without indentation
func (*JsonInput) UnmarshalJSON ¶
type MsgBurnNFT ¶
type MsgBurnNFT struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` NftId string `protobuf:"bytes,3,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"` }
func NewMsgBurnNFT ¶
func NewMsgBurnNFT(creator string, classID string, nftID string) *MsgBurnNFT
func (*MsgBurnNFT) Descriptor ¶
func (*MsgBurnNFT) Descriptor() ([]byte, []int)
func (*MsgBurnNFT) GetClassId ¶
func (m *MsgBurnNFT) GetClassId() string
func (*MsgBurnNFT) GetCreator ¶
func (m *MsgBurnNFT) GetCreator() string
func (*MsgBurnNFT) GetNftId ¶
func (m *MsgBurnNFT) GetNftId() string
func (*MsgBurnNFT) GetSignBytes ¶
func (msg *MsgBurnNFT) GetSignBytes() []byte
func (*MsgBurnNFT) GetSigners ¶
func (msg *MsgBurnNFT) GetSigners() []sdk.AccAddress
func (*MsgBurnNFT) Marshal ¶
func (m *MsgBurnNFT) Marshal() (dAtA []byte, err error)
func (*MsgBurnNFT) MarshalToSizedBuffer ¶
func (m *MsgBurnNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnNFT) ProtoMessage ¶
func (*MsgBurnNFT) ProtoMessage()
func (*MsgBurnNFT) Reset ¶
func (m *MsgBurnNFT) Reset()
func (*MsgBurnNFT) Route ¶
func (msg *MsgBurnNFT) Route() string
func (*MsgBurnNFT) Size ¶
func (m *MsgBurnNFT) Size() (n int)
func (*MsgBurnNFT) String ¶
func (m *MsgBurnNFT) String() string
func (*MsgBurnNFT) Type ¶
func (msg *MsgBurnNFT) Type() string
func (*MsgBurnNFT) Unmarshal ¶
func (m *MsgBurnNFT) Unmarshal(dAtA []byte) error
func (*MsgBurnNFT) ValidateBasic ¶
func (msg *MsgBurnNFT) ValidateBasic() error
func (*MsgBurnNFT) XXX_DiscardUnknown ¶
func (m *MsgBurnNFT) XXX_DiscardUnknown()
func (*MsgBurnNFT) XXX_Marshal ¶
func (m *MsgBurnNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnNFT) XXX_Merge ¶
func (m *MsgBurnNFT) XXX_Merge(src proto.Message)
func (*MsgBurnNFT) XXX_Size ¶
func (m *MsgBurnNFT) XXX_Size() int
func (*MsgBurnNFT) XXX_Unmarshal ¶
func (m *MsgBurnNFT) XXX_Unmarshal(b []byte) error
type MsgBurnNFTResponse ¶
type MsgBurnNFTResponse struct { }
func (*MsgBurnNFTResponse) Descriptor ¶
func (*MsgBurnNFTResponse) Descriptor() ([]byte, []int)
func (*MsgBurnNFTResponse) Marshal ¶
func (m *MsgBurnNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnNFTResponse) MarshalTo ¶
func (m *MsgBurnNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnNFTResponse) ProtoMessage ¶
func (*MsgBurnNFTResponse) ProtoMessage()
func (*MsgBurnNFTResponse) Reset ¶
func (m *MsgBurnNFTResponse) Reset()
func (*MsgBurnNFTResponse) Size ¶
func (m *MsgBurnNFTResponse) Size() (n int)
func (*MsgBurnNFTResponse) String ¶
func (m *MsgBurnNFTResponse) String() string
func (*MsgBurnNFTResponse) Unmarshal ¶
func (m *MsgBurnNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnNFTResponse) XXX_DiscardUnknown()
func (*MsgBurnNFTResponse) XXX_Marshal ¶
func (m *MsgBurnNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnNFTResponse) XXX_Merge ¶
func (m *MsgBurnNFTResponse) XXX_Merge(src proto.Message)
func (*MsgBurnNFTResponse) XXX_Size ¶
func (m *MsgBurnNFTResponse) XXX_Size() int
func (*MsgBurnNFTResponse) XXX_Unmarshal ¶
func (m *MsgBurnNFTResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreateClass(ctx context.Context, in *MsgCreateClass, opts ...grpc.CallOption) (*MsgCreateClassResponse, error) MintNft(ctx context.Context, in *MsgMintNft, opts ...grpc.CallOption) (*MsgMintNftResponse, error) BurnNFT(ctx context.Context, in *MsgBurnNFT, opts ...grpc.CallOption) (*MsgBurnNFTResponse, 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 MsgCreateClass ¶
type MsgCreateClass struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"` UriHash string `protobuf:"bytes,6,opt,name=uriHash,proto3" json:"uriHash,omitempty"` Data ClassData `protobuf:"bytes,7,opt,name=data,proto3" json:"data"` }
func NewMsgCreateClass ¶
func (*MsgCreateClass) Descriptor ¶
func (*MsgCreateClass) Descriptor() ([]byte, []int)
func (*MsgCreateClass) GetCreator ¶
func (m *MsgCreateClass) GetCreator() string
func (*MsgCreateClass) GetData ¶
func (m *MsgCreateClass) GetData() ClassData
func (*MsgCreateClass) GetDescription ¶
func (m *MsgCreateClass) GetDescription() string
func (*MsgCreateClass) GetName ¶
func (m *MsgCreateClass) GetName() string
func (*MsgCreateClass) GetSignBytes ¶
func (msg *MsgCreateClass) GetSignBytes() []byte
func (*MsgCreateClass) GetSigners ¶
func (msg *MsgCreateClass) GetSigners() []sdk.AccAddress
func (*MsgCreateClass) GetSymbol ¶
func (m *MsgCreateClass) GetSymbol() string
func (*MsgCreateClass) GetUri ¶
func (m *MsgCreateClass) GetUri() string
func (*MsgCreateClass) GetUriHash ¶
func (m *MsgCreateClass) GetUriHash() string
func (*MsgCreateClass) Marshal ¶
func (m *MsgCreateClass) Marshal() (dAtA []byte, err error)
func (*MsgCreateClass) MarshalToSizedBuffer ¶
func (m *MsgCreateClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClass) ProtoMessage ¶
func (*MsgCreateClass) ProtoMessage()
func (*MsgCreateClass) Reset ¶
func (m *MsgCreateClass) Reset()
func (*MsgCreateClass) Route ¶
func (msg *MsgCreateClass) Route() string
func (*MsgCreateClass) Size ¶
func (m *MsgCreateClass) Size() (n int)
func (*MsgCreateClass) String ¶
func (m *MsgCreateClass) String() string
func (*MsgCreateClass) Type ¶
func (msg *MsgCreateClass) Type() string
func (*MsgCreateClass) Unmarshal ¶
func (m *MsgCreateClass) Unmarshal(dAtA []byte) error
func (*MsgCreateClass) ValidateBasic ¶
func (msg *MsgCreateClass) ValidateBasic() error
func (*MsgCreateClass) XXX_DiscardUnknown ¶
func (m *MsgCreateClass) XXX_DiscardUnknown()
func (*MsgCreateClass) XXX_Marshal ¶
func (m *MsgCreateClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClass) XXX_Merge ¶
func (m *MsgCreateClass) XXX_Merge(src proto.Message)
func (*MsgCreateClass) XXX_Size ¶
func (m *MsgCreateClass) XXX_Size() int
func (*MsgCreateClass) XXX_Unmarshal ¶
func (m *MsgCreateClass) XXX_Unmarshal(b []byte) error
type MsgCreateClassResponse ¶
type MsgCreateClassResponse struct { }
func (*MsgCreateClassResponse) Descriptor ¶
func (*MsgCreateClassResponse) Descriptor() ([]byte, []int)
func (*MsgCreateClassResponse) Marshal ¶
func (m *MsgCreateClassResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateClassResponse) MarshalTo ¶
func (m *MsgCreateClassResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateClassResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClassResponse) ProtoMessage ¶
func (*MsgCreateClassResponse) ProtoMessage()
func (*MsgCreateClassResponse) Reset ¶
func (m *MsgCreateClassResponse) Reset()
func (*MsgCreateClassResponse) Size ¶
func (m *MsgCreateClassResponse) Size() (n int)
func (*MsgCreateClassResponse) String ¶
func (m *MsgCreateClassResponse) String() string
func (*MsgCreateClassResponse) Unmarshal ¶
func (m *MsgCreateClassResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateClassResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateClassResponse) XXX_DiscardUnknown()
func (*MsgCreateClassResponse) XXX_Marshal ¶
func (m *MsgCreateClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClassResponse) XXX_Merge ¶
func (m *MsgCreateClassResponse) XXX_Merge(src proto.Message)
func (*MsgCreateClassResponse) XXX_Size ¶
func (m *MsgCreateClassResponse) XXX_Size() int
func (*MsgCreateClassResponse) XXX_Unmarshal ¶
func (m *MsgCreateClassResponse) XXX_Unmarshal(b []byte) error
type MsgMintNft ¶
type MsgMintNft struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ClassId string `protobuf:"bytes,2,opt,name=classId,proto3" json:"classId,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"` UriHash string `protobuf:"bytes,5,opt,name=uriHash,proto3" json:"uriHash,omitempty"` Data NftData `protobuf:"bytes,6,opt,name=data,proto3" json:"data"` }
func NewMsgMintNft ¶
func (*MsgMintNft) Descriptor ¶
func (*MsgMintNft) Descriptor() ([]byte, []int)
func (*MsgMintNft) GetClassId ¶
func (m *MsgMintNft) GetClassId() string
func (*MsgMintNft) GetCreator ¶
func (m *MsgMintNft) GetCreator() string
func (*MsgMintNft) GetData ¶
func (m *MsgMintNft) GetData() NftData
func (*MsgMintNft) GetId ¶
func (m *MsgMintNft) GetId() string
func (*MsgMintNft) GetSignBytes ¶
func (msg *MsgMintNft) GetSignBytes() []byte
func (*MsgMintNft) GetSigners ¶
func (msg *MsgMintNft) GetSigners() []sdk.AccAddress
func (*MsgMintNft) GetUri ¶
func (m *MsgMintNft) GetUri() string
func (*MsgMintNft) GetUriHash ¶
func (m *MsgMintNft) GetUriHash() string
func (*MsgMintNft) Marshal ¶
func (m *MsgMintNft) Marshal() (dAtA []byte, err error)
func (*MsgMintNft) MarshalToSizedBuffer ¶
func (m *MsgMintNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintNft) ProtoMessage ¶
func (*MsgMintNft) ProtoMessage()
func (*MsgMintNft) Reset ¶
func (m *MsgMintNft) Reset()
func (*MsgMintNft) Route ¶
func (msg *MsgMintNft) Route() string
func (*MsgMintNft) Size ¶
func (m *MsgMintNft) Size() (n int)
func (*MsgMintNft) String ¶
func (m *MsgMintNft) String() string
func (*MsgMintNft) Type ¶
func (msg *MsgMintNft) Type() string
func (*MsgMintNft) Unmarshal ¶
func (m *MsgMintNft) Unmarshal(dAtA []byte) error
func (*MsgMintNft) ValidateBasic ¶
func (msg *MsgMintNft) ValidateBasic() error
func (*MsgMintNft) XXX_DiscardUnknown ¶
func (m *MsgMintNft) XXX_DiscardUnknown()
func (*MsgMintNft) XXX_Marshal ¶
func (m *MsgMintNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintNft) XXX_Merge ¶
func (m *MsgMintNft) XXX_Merge(src proto.Message)
func (*MsgMintNft) XXX_Size ¶
func (m *MsgMintNft) XXX_Size() int
func (*MsgMintNft) XXX_Unmarshal ¶
func (m *MsgMintNft) XXX_Unmarshal(b []byte) error
type MsgMintNftResponse ¶
type MsgMintNftResponse struct { }
func (*MsgMintNftResponse) Descriptor ¶
func (*MsgMintNftResponse) Descriptor() ([]byte, []int)
func (*MsgMintNftResponse) Marshal ¶
func (m *MsgMintNftResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintNftResponse) MarshalTo ¶
func (m *MsgMintNftResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintNftResponse) MarshalToSizedBuffer ¶
func (m *MsgMintNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintNftResponse) ProtoMessage ¶
func (*MsgMintNftResponse) ProtoMessage()
func (*MsgMintNftResponse) Reset ¶
func (m *MsgMintNftResponse) Reset()
func (*MsgMintNftResponse) Size ¶
func (m *MsgMintNftResponse) Size() (n int)
func (*MsgMintNftResponse) String ¶
func (m *MsgMintNftResponse) String() string
func (*MsgMintNftResponse) Unmarshal ¶
func (m *MsgMintNftResponse) Unmarshal(dAtA []byte) error
func (*MsgMintNftResponse) XXX_DiscardUnknown ¶
func (m *MsgMintNftResponse) XXX_DiscardUnknown()
func (*MsgMintNftResponse) XXX_Marshal ¶
func (m *MsgMintNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintNftResponse) XXX_Merge ¶
func (m *MsgMintNftResponse) XXX_Merge(src proto.Message)
func (*MsgMintNftResponse) XXX_Size ¶
func (m *MsgMintNftResponse) XXX_Size() int
func (*MsgMintNftResponse) XXX_Unmarshal ¶
func (m *MsgMintNftResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateClass(context.Context, *MsgCreateClass) (*MsgCreateClassResponse, error) MintNft(context.Context, *MsgMintNft) (*MsgMintNftResponse, error) BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error) }
MsgServer is the server API for Msg service.
type NftData ¶
type NftData struct {
Metadata JsonInput `protobuf:"bytes,1,opt,name=metadata,proto3,customtype=JsonInput" json:"metadata"`
}
func (*NftData) Descriptor ¶
func (*NftData) MarshalToSizedBuffer ¶
func (*NftData) ProtoMessage ¶
func (*NftData) ProtoMessage()
func (*NftData) XXX_DiscardUnknown ¶
func (m *NftData) XXX_DiscardUnknown()
func (*NftData) XXX_Marshal ¶
func (*NftData) XXX_Unmarshal ¶
type NftKeeper ¶
type NftKeeper interface { SaveClass(ctx sdk.Context, class nft.Class) error GetClass(ctx sdk.Context, classID string) (nft.Class, bool) HasClass(ctx sdk.Context, classID string) bool GetBalance(ctx sdk.Context, classID string, owner sdk.AccAddress) (balance uint64) HasNFT(ctx sdk.Context, classID, id string) bool Mint(ctx sdk.Context, token nft.NFT, receiver sdk.AccAddress) error GetTotalSupply(ctx sdk.Context, classID string) uint64 Burn(ctx sdk.Context, classID string, nftID string) error GetOwner(ctx sdk.Context, classID string, nftID string) sdk.AccAddress }
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BurnNFT ¶
func (*UnimplementedMsgServer) BurnNFT(ctx context.Context, req *MsgBurnNFT) (*MsgBurnNFTResponse, error)
func (*UnimplementedMsgServer) CreateClass ¶
func (*UnimplementedMsgServer) CreateClass(ctx context.Context, req *MsgCreateClass) (*MsgCreateClassResponse, error)
func (*UnimplementedMsgServer) MintNft ¶
func (*UnimplementedMsgServer) MintNft(ctx context.Context, req *MsgMintNft) (*MsgMintNftResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)