Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyApprovedAddresses(address string) []byte
- func KeyCollection(denomID string) []byte
- func KeyCollectionTotalNfts(denomID string) []byte
- func KeyDenomID(id string) []byte
- func KeyDenomName(name string) []byte
- func KeyDenomSymbol(name string) []byte
- func KeyNFT(denomID, tokenID string) []byte
- func KeyNFTLockOwner(denomID, tokenID string) []byte
- func KeyOwner(address sdk.AccAddress, denomID, tokenID string) []byte
- func Modified(target string) bool
- func MustMarshalSupply(cdc codec.Codec, supply uint64) []byte
- func MustMarshalTokenID(cdc codec.Codec, tokenID string) []byte
- func MustMarshallTotalCountForCollection(cdc codec.Codec, supply uint64) []byte
- func MustUnMarshalSupply(cdc codec.Codec, value []byte) uint64
- func MustUnMarshalTokenID(cdc codec.Codec, value []byte) string
- func MustUnMarshalTotalNftCountForCollection(cdc codec.Codec, value []byte) uint64
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry types.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)
- func SplitKeyDenom(key []byte) (denomID, tokenID string, err error)
- func SplitKeyOwner(key []byte) (address sdk.AccAddress, denomID, tokenID string, err error)
- func ValidateDenomData(data string) error
- func ValidateDenomID(denomID string) error
- func ValidateDenomName(denomName string) error
- func ValidateDenomSymbol(symbol string) error
- func ValidateDenomTraits(traits string) error
- func ValidateDescription(description string) error
- func ValidateGenesis(data GenesisState) error
- func ValidateMinter(minter string) error
- func ValidateSchema(schema string) error
- func ValidateTokenData(tokenData string) error
- func ValidateTokenID(tokenID string) error
- func ValidateTokenName(tokenName string) error
- func ValidateTokenURI(tokenURI string) error
- type AccountKeeper
- type ApprovedAddresses
- func (*ApprovedAddresses) Descriptor() ([]byte, []int)
- func (this *ApprovedAddresses) Equal(that interface{}) bool
- func (m *ApprovedAddresses) Marshal() (dAtA []byte, err error)
- func (m *ApprovedAddresses) MarshalTo(dAtA []byte) (int, error)
- func (m *ApprovedAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApprovedAddresses) ProtoMessage()
- func (m *ApprovedAddresses) Reset()
- func (m *ApprovedAddresses) Size() (n int)
- func (m *ApprovedAddresses) String() string
- func (m *ApprovedAddresses) Unmarshal(dAtA []byte) error
- func (m *ApprovedAddresses) XXX_DiscardUnknown()
- func (m *ApprovedAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovedAddresses) XXX_Merge(src proto.Message)
- func (m *ApprovedAddresses) XXX_Size() int
- func (m *ApprovedAddresses) XXX_Unmarshal(b []byte) error
- type ApprovedAddressesData
- func (*ApprovedAddressesData) Descriptor() ([]byte, []int)
- func (this *ApprovedAddressesData) Equal(that interface{}) bool
- func (m *ApprovedAddressesData) Marshal() (dAtA []byte, err error)
- func (m *ApprovedAddressesData) MarshalTo(dAtA []byte) (int, error)
- func (m *ApprovedAddressesData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApprovedAddressesData) ProtoMessage()
- func (m *ApprovedAddressesData) Reset()
- func (m *ApprovedAddressesData) Size() (n int)
- func (m *ApprovedAddressesData) String() string
- func (m *ApprovedAddressesData) Unmarshal(dAtA []byte) error
- func (m *ApprovedAddressesData) XXX_DiscardUnknown()
- func (m *ApprovedAddressesData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovedAddressesData) XXX_Merge(src proto.Message)
- func (m *ApprovedAddressesData) XXX_Size() int
- func (m *ApprovedAddressesData) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type BaseNFT
- func (*BaseNFT) Descriptor() ([]byte, []int)
- func (this *BaseNFT) Equal(that interface{}) bool
- func (bnft BaseNFT) GetApprovedAddresses() []string
- func (bnft BaseNFT) GetData() string
- func (bnft BaseNFT) GetID() string
- func (bnft BaseNFT) GetName() string
- func (bnft BaseNFT) GetOwner() sdk.AccAddress
- func (bnft BaseNFT) GetURI() string
- func (m *BaseNFT) Marshal() (dAtA []byte, err error)
- func (m *BaseNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BaseNFT) ProtoMessage()
- func (m *BaseNFT) Reset()
- func (m *BaseNFT) Size() (n int)
- func (m *BaseNFT) String() string
- func (m *BaseNFT) Unmarshal(dAtA []byte) error
- func (m *BaseNFT) XXX_DiscardUnknown()
- func (m *BaseNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseNFT) XXX_Merge(src proto.Message)
- func (m *BaseNFT) XXX_Size() int
- func (m *BaseNFT) XXX_Unmarshal(b []byte) error
- type Collection
- func (c Collection) AddNFT(nft BaseNFT) Collection
- func (*Collection) Descriptor() ([]byte, []int)
- func (this *Collection) Equal(that interface{}) bool
- func (m *Collection) Marshal() (dAtA []byte, err error)
- func (m *Collection) MarshalTo(dAtA []byte) (int, error)
- func (m *Collection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Collection) ProtoMessage()
- func (m *Collection) Reset()
- func (m *Collection) Size() (n int)
- func (m *Collection) String() string
- func (c Collection) Supply() int
- func (m *Collection) Unmarshal(dAtA []byte) error
- func (m *Collection) XXX_DiscardUnknown()
- func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Collection) XXX_Merge(src proto.Message)
- func (m *Collection) XXX_Size() int
- func (m *Collection) XXX_Unmarshal(b []byte) error
- type Denom
- func (*Denom) Descriptor() ([]byte, []int)
- func (this *Denom) Equal(that interface{}) bool
- func (m *Denom) Marshal() (dAtA []byte, err error)
- func (m *Denom) MarshalTo(dAtA []byte) (int, error)
- func (m *Denom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Denom) ProtoMessage()
- func (m *Denom) Reset()
- func (m *Denom) Size() (n int)
- func (m *Denom) String() string
- func (m *Denom) Unmarshal(dAtA []byte) error
- func (m *Denom) XXX_DiscardUnknown()
- func (m *Denom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Denom) XXX_Merge(src proto.Message)
- func (m *Denom) XXX_Size() int
- func (m *Denom) XXX_Unmarshal(b []byte) error
- type DenomTrait
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCollections() []Collection
- 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 (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 IDCollection
- func (idc IDCollection) AddID(tokenID string) IDCollection
- func (*IDCollection) Descriptor() ([]byte, []int)
- func (this *IDCollection) Equal(that interface{}) bool
- func (m *IDCollection) Marshal() (dAtA []byte, err error)
- func (m *IDCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *IDCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDCollection) ProtoMessage()
- func (m *IDCollection) Reset()
- func (m *IDCollection) Size() (n int)
- func (m *IDCollection) String() string
- func (idc IDCollection) Supply() int
- func (m *IDCollection) Unmarshal(dAtA []byte) error
- func (m *IDCollection) XXX_DiscardUnknown()
- func (m *IDCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDCollection) XXX_Merge(src proto.Message)
- func (m *IDCollection) XXX_Size() int
- func (m *IDCollection) XXX_Unmarshal(b []byte) error
- type IDCollections
- type MsgApproveAllNft
- func (*MsgApproveAllNft) Descriptor() ([]byte, []int)
- func (this *MsgApproveAllNft) Equal(that interface{}) bool
- func (msg MsgApproveAllNft) GetSignBytes() []byte
- func (msg MsgApproveAllNft) GetSigners() []sdk.AccAddress
- func (m *MsgApproveAllNft) Marshal() (dAtA []byte, err error)
- func (m *MsgApproveAllNft) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgApproveAllNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgApproveAllNft) ProtoMessage()
- func (m *MsgApproveAllNft) Reset()
- func (msg MsgApproveAllNft) Route() string
- func (m *MsgApproveAllNft) Size() (n int)
- func (m *MsgApproveAllNft) String() string
- func (msg MsgApproveAllNft) Type() string
- func (m *MsgApproveAllNft) Unmarshal(dAtA []byte) error
- func (msg MsgApproveAllNft) ValidateBasic() error
- func (m *MsgApproveAllNft) XXX_DiscardUnknown()
- func (m *MsgApproveAllNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgApproveAllNft) XXX_Merge(src proto.Message)
- func (m *MsgApproveAllNft) XXX_Size() int
- func (m *MsgApproveAllNft) XXX_Unmarshal(b []byte) error
- type MsgApproveAllNftResponse
- func (*MsgApproveAllNftResponse) Descriptor() ([]byte, []int)
- func (m *MsgApproveAllNftResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgApproveAllNftResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgApproveAllNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgApproveAllNftResponse) ProtoMessage()
- func (m *MsgApproveAllNftResponse) Reset()
- func (m *MsgApproveAllNftResponse) Size() (n int)
- func (m *MsgApproveAllNftResponse) String() string
- func (m *MsgApproveAllNftResponse) Unmarshal(dAtA []byte) error
- func (m *MsgApproveAllNftResponse) XXX_DiscardUnknown()
- func (m *MsgApproveAllNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgApproveAllNftResponse) XXX_Merge(src proto.Message)
- func (m *MsgApproveAllNftResponse) XXX_Size() int
- func (m *MsgApproveAllNftResponse) XXX_Unmarshal(b []byte) error
- type MsgApproveNft
- func (*MsgApproveNft) Descriptor() ([]byte, []int)
- func (this *MsgApproveNft) Equal(that interface{}) bool
- func (msg MsgApproveNft) GetSignBytes() []byte
- func (msg MsgApproveNft) GetSigners() []sdk.AccAddress
- func (m *MsgApproveNft) Marshal() (dAtA []byte, err error)
- func (m *MsgApproveNft) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgApproveNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgApproveNft) ProtoMessage()
- func (m *MsgApproveNft) Reset()
- func (msg MsgApproveNft) Route() string
- func (m *MsgApproveNft) Size() (n int)
- func (m *MsgApproveNft) String() string
- func (msg MsgApproveNft) Type() string
- func (m *MsgApproveNft) Unmarshal(dAtA []byte) error
- func (msg MsgApproveNft) ValidateBasic() error
- func (m *MsgApproveNft) XXX_DiscardUnknown()
- func (m *MsgApproveNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgApproveNft) XXX_Merge(src proto.Message)
- func (m *MsgApproveNft) XXX_Size() int
- func (m *MsgApproveNft) XXX_Unmarshal(b []byte) error
- type MsgApproveNftResponse
- func (*MsgApproveNftResponse) Descriptor() ([]byte, []int)
- func (m *MsgApproveNftResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgApproveNftResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgApproveNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgApproveNftResponse) ProtoMessage()
- func (m *MsgApproveNftResponse) Reset()
- func (m *MsgApproveNftResponse) Size() (n int)
- func (m *MsgApproveNftResponse) String() string
- func (m *MsgApproveNftResponse) Unmarshal(dAtA []byte) error
- func (m *MsgApproveNftResponse) XXX_DiscardUnknown()
- func (m *MsgApproveNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgApproveNftResponse) XXX_Merge(src proto.Message)
- func (m *MsgApproveNftResponse) XXX_Size() int
- func (m *MsgApproveNftResponse) XXX_Unmarshal(b []byte) error
- type MsgBurnNFT
- func (*MsgBurnNFT) Descriptor() ([]byte, []int)
- func (this *MsgBurnNFT) Equal(that interface{}) bool
- 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 MsgEditNFT
- func (*MsgEditNFT) Descriptor() ([]byte, []int)
- func (this *MsgEditNFT) Equal(that interface{}) bool
- func (msg MsgEditNFT) GetSignBytes() []byte
- func (msg MsgEditNFT) GetSigners() []sdk.AccAddress
- func (m *MsgEditNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgEditNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditNFT) ProtoMessage()
- func (m *MsgEditNFT) Reset()
- func (msg MsgEditNFT) Route() string
- func (m *MsgEditNFT) Size() (n int)
- func (m *MsgEditNFT) String() string
- func (msg MsgEditNFT) Type() string
- func (m *MsgEditNFT) Unmarshal(dAtA []byte) error
- func (msg MsgEditNFT) ValidateBasic() error
- func (m *MsgEditNFT) XXX_DiscardUnknown()
- func (m *MsgEditNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditNFT) XXX_Merge(src proto.Message)
- func (m *MsgEditNFT) XXX_Size() int
- func (m *MsgEditNFT) XXX_Unmarshal(b []byte) error
- type MsgEditNFTResponse
- func (*MsgEditNFTResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditNFTResponse) ProtoMessage()
- func (m *MsgEditNFTResponse) Reset()
- func (m *MsgEditNFTResponse) Size() (n int)
- func (m *MsgEditNFTResponse) String() string
- func (m *MsgEditNFTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditNFTResponse) XXX_DiscardUnknown()
- func (m *MsgEditNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditNFTResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditNFTResponse) XXX_Size() int
- func (m *MsgEditNFTResponse) XXX_Unmarshal(b []byte) error
- type MsgIssueDenom
- func (*MsgIssueDenom) Descriptor() ([]byte, []int)
- func (this *MsgIssueDenom) Equal(that interface{}) bool
- func (msg MsgIssueDenom) GetSignBytes() []byte
- func (msg MsgIssueDenom) GetSigners() []sdk.AccAddress
- func (m *MsgIssueDenom) Marshal() (dAtA []byte, err error)
- func (m *MsgIssueDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIssueDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIssueDenom) ProtoMessage()
- func (m *MsgIssueDenom) Reset()
- func (msg MsgIssueDenom) Route() string
- func (m *MsgIssueDenom) Size() (n int)
- func (m *MsgIssueDenom) String() string
- func (msg MsgIssueDenom) Type() string
- func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error
- func (msg MsgIssueDenom) ValidateBasic() error
- func (m *MsgIssueDenom) XXX_DiscardUnknown()
- func (m *MsgIssueDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIssueDenom) XXX_Merge(src proto.Message)
- func (m *MsgIssueDenom) XXX_Size() int
- func (m *MsgIssueDenom) XXX_Unmarshal(b []byte) error
- type MsgIssueDenomResponse
- func (*MsgIssueDenomResponse) Descriptor() ([]byte, []int)
- func (m *MsgIssueDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgIssueDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIssueDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIssueDenomResponse) ProtoMessage()
- func (m *MsgIssueDenomResponse) Reset()
- func (m *MsgIssueDenomResponse) Size() (n int)
- func (m *MsgIssueDenomResponse) String() string
- func (m *MsgIssueDenomResponse) Unmarshal(dAtA []byte) error
- func (m *MsgIssueDenomResponse) XXX_DiscardUnknown()
- func (m *MsgIssueDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIssueDenomResponse) XXX_Merge(src proto.Message)
- func (m *MsgIssueDenomResponse) XXX_Size() int
- func (m *MsgIssueDenomResponse) XXX_Unmarshal(b []byte) error
- type MsgMintNFT
- func (*MsgMintNFT) Descriptor() ([]byte, []int)
- func (this *MsgMintNFT) Equal(that interface{}) bool
- func (msg MsgMintNFT) GetSignBytes() []byte
- func (msg MsgMintNFT) GetSigners() []sdk.AccAddress
- func (m *MsgMintNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgMintNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintNFT) ProtoMessage()
- func (m *MsgMintNFT) Reset()
- func (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 MsgRevokeNft
- func (*MsgRevokeNft) Descriptor() ([]byte, []int)
- func (this *MsgRevokeNft) Equal(that interface{}) bool
- func (msg MsgRevokeNft) GetSignBytes() []byte
- func (msg MsgRevokeNft) GetSigners() []sdk.AccAddress
- func (m *MsgRevokeNft) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokeNft) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokeNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokeNft) ProtoMessage()
- func (m *MsgRevokeNft) Reset()
- func (msg MsgRevokeNft) Route() string
- func (m *MsgRevokeNft) Size() (n int)
- func (m *MsgRevokeNft) String() string
- func (msg MsgRevokeNft) Type() string
- func (m *MsgRevokeNft) Unmarshal(dAtA []byte) error
- func (msg MsgRevokeNft) ValidateBasic() error
- func (m *MsgRevokeNft) XXX_DiscardUnknown()
- func (m *MsgRevokeNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokeNft) XXX_Merge(src proto.Message)
- func (m *MsgRevokeNft) XXX_Size() int
- func (m *MsgRevokeNft) XXX_Unmarshal(b []byte) error
- type MsgRevokeNftResponse
- func (*MsgRevokeNftResponse) Descriptor() ([]byte, []int)
- func (m *MsgRevokeNftResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokeNftResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokeNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokeNftResponse) ProtoMessage()
- func (m *MsgRevokeNftResponse) Reset()
- func (m *MsgRevokeNftResponse) Size() (n int)
- func (m *MsgRevokeNftResponse) String() string
- func (m *MsgRevokeNftResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRevokeNftResponse) XXX_DiscardUnknown()
- func (m *MsgRevokeNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokeNftResponse) XXX_Merge(src proto.Message)
- func (m *MsgRevokeNftResponse) XXX_Size() int
- func (m *MsgRevokeNftResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTransferDenom
- func (*MsgTransferDenom) Descriptor() ([]byte, []int)
- func (this *MsgTransferDenom) Equal(that interface{}) bool
- func (msg MsgTransferDenom) GetSignBytes() []byte
- func (msg MsgTransferDenom) GetSigners() []sdk.AccAddress
- func (m *MsgTransferDenom) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferDenom) ProtoMessage()
- func (m *MsgTransferDenom) Reset()
- func (msg MsgTransferDenom) Route() string
- func (m *MsgTransferDenom) Size() (n int)
- func (m *MsgTransferDenom) String() string
- func (msg MsgTransferDenom) Type() string
- func (m *MsgTransferDenom) Unmarshal(dAtA []byte) error
- func (msg MsgTransferDenom) ValidateBasic() error
- func (m *MsgTransferDenom) XXX_DiscardUnknown()
- func (m *MsgTransferDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferDenom) XXX_Merge(src proto.Message)
- func (m *MsgTransferDenom) XXX_Size() int
- func (m *MsgTransferDenom) XXX_Unmarshal(b []byte) error
- type MsgTransferDenomResponse
- func (*MsgTransferDenomResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferDenomResponse) ProtoMessage()
- func (m *MsgTransferDenomResponse) Reset()
- func (m *MsgTransferDenomResponse) Size() (n int)
- func (m *MsgTransferDenomResponse) String() string
- func (m *MsgTransferDenomResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferDenomResponse) XXX_DiscardUnknown()
- func (m *MsgTransferDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferDenomResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferDenomResponse) XXX_Size() int
- func (m *MsgTransferDenomResponse) XXX_Unmarshal(b []byte) error
- type MsgTransferNft
- func (*MsgTransferNft) Descriptor() ([]byte, []int)
- func (this *MsgTransferNft) Equal(that interface{}) bool
- func (msg MsgTransferNft) GetSignBytes() []byte
- func (msg MsgTransferNft) GetSigners() []sdk.AccAddress
- func (m *MsgTransferNft) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferNft) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferNft) ProtoMessage()
- func (m *MsgTransferNft) Reset()
- func (msg MsgTransferNft) Route() string
- func (m *MsgTransferNft) Size() (n int)
- func (m *MsgTransferNft) String() string
- func (msg MsgTransferNft) Type() string
- func (m *MsgTransferNft) Unmarshal(dAtA []byte) error
- func (msg MsgTransferNft) ValidateBasic() error
- func (m *MsgTransferNft) XXX_DiscardUnknown()
- func (m *MsgTransferNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferNft) XXX_Merge(src proto.Message)
- func (m *MsgTransferNft) XXX_Size() int
- func (m *MsgTransferNft) XXX_Unmarshal(b []byte) error
- type MsgTransferNftResponse
- func (*MsgTransferNftResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferNftResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferNftResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferNftResponse) ProtoMessage()
- func (m *MsgTransferNftResponse) Reset()
- func (m *MsgTransferNftResponse) Size() (n int)
- func (m *MsgTransferNftResponse) String() string
- func (m *MsgTransferNftResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferNftResponse) XXX_DiscardUnknown()
- func (m *MsgTransferNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferNftResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferNftResponse) XXX_Size() int
- func (m *MsgTransferNftResponse) XXX_Unmarshal(b []byte) error
- type NFTs
- type Owner
- func (*Owner) Descriptor() ([]byte, []int)
- func (this *Owner) Equal(that interface{}) bool
- func (m *Owner) Marshal() (dAtA []byte, err error)
- func (m *Owner) MarshalTo(dAtA []byte) (int, error)
- func (m *Owner) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Owner) ProtoMessage()
- func (m *Owner) Reset()
- func (m *Owner) Size() (n int)
- func (m *Owner) String() string
- func (m *Owner) Unmarshal(dAtA []byte) error
- func (m *Owner) XXX_DiscardUnknown()
- func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Owner) XXX_Merge(src proto.Message)
- func (m *Owner) XXX_Size() int
- func (m *Owner) XXX_Unmarshal(b []byte) error
- type Owners
- type QueryApprovalsIsApprovedForAllRequest
- func (*QueryApprovalsIsApprovedForAllRequest) Descriptor() ([]byte, []int)
- func (m *QueryApprovalsIsApprovedForAllRequest) GetOperator() string
- func (m *QueryApprovalsIsApprovedForAllRequest) GetOwner() string
- func (m *QueryApprovalsIsApprovedForAllRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryApprovalsIsApprovedForAllRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryApprovalsIsApprovedForAllRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryApprovalsIsApprovedForAllRequest) ProtoMessage()
- func (m *QueryApprovalsIsApprovedForAllRequest) Reset()
- func (m *QueryApprovalsIsApprovedForAllRequest) Size() (n int)
- func (m *QueryApprovalsIsApprovedForAllRequest) String() string
- func (m *QueryApprovalsIsApprovedForAllRequest) Unmarshal(dAtA []byte) error
- func (m *QueryApprovalsIsApprovedForAllRequest) XXX_DiscardUnknown()
- func (m *QueryApprovalsIsApprovedForAllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryApprovalsIsApprovedForAllRequest) XXX_Merge(src proto.Message)
- func (m *QueryApprovalsIsApprovedForAllRequest) XXX_Size() int
- func (m *QueryApprovalsIsApprovedForAllRequest) XXX_Unmarshal(b []byte) error
- type QueryApprovalsIsApprovedForAllResponse
- func (*QueryApprovalsIsApprovedForAllResponse) Descriptor() ([]byte, []int)
- func (m *QueryApprovalsIsApprovedForAllResponse) GetIsApproved() bool
- func (m *QueryApprovalsIsApprovedForAllResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryApprovalsIsApprovedForAllResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryApprovalsIsApprovedForAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryApprovalsIsApprovedForAllResponse) ProtoMessage()
- func (m *QueryApprovalsIsApprovedForAllResponse) Reset()
- func (m *QueryApprovalsIsApprovedForAllResponse) Size() (n int)
- func (m *QueryApprovalsIsApprovedForAllResponse) String() string
- func (m *QueryApprovalsIsApprovedForAllResponse) Unmarshal(dAtA []byte) error
- func (m *QueryApprovalsIsApprovedForAllResponse) XXX_DiscardUnknown()
- func (m *QueryApprovalsIsApprovedForAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryApprovalsIsApprovedForAllResponse) XXX_Merge(src proto.Message)
- func (m *QueryApprovalsIsApprovedForAllResponse) XXX_Size() int
- func (m *QueryApprovalsIsApprovedForAllResponse) XXX_Unmarshal(b []byte) error
- type QueryApprovalsNFTRequest
- func (*QueryApprovalsNFTRequest) Descriptor() ([]byte, []int)
- func (m *QueryApprovalsNFTRequest) GetDenomId() string
- func (m *QueryApprovalsNFTRequest) GetTokenId() string
- func (m *QueryApprovalsNFTRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryApprovalsNFTRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryApprovalsNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryApprovalsNFTRequest) ProtoMessage()
- func (m *QueryApprovalsNFTRequest) Reset()
- func (m *QueryApprovalsNFTRequest) Size() (n int)
- func (m *QueryApprovalsNFTRequest) String() string
- func (m *QueryApprovalsNFTRequest) Unmarshal(dAtA []byte) error
- func (m *QueryApprovalsNFTRequest) XXX_DiscardUnknown()
- func (m *QueryApprovalsNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryApprovalsNFTRequest) XXX_Merge(src proto.Message)
- func (m *QueryApprovalsNFTRequest) XXX_Size() int
- func (m *QueryApprovalsNFTRequest) XXX_Unmarshal(b []byte) error
- type QueryApprovalsNFTResponse
- func (*QueryApprovalsNFTResponse) Descriptor() ([]byte, []int)
- func (m *QueryApprovalsNFTResponse) GetApprovedAddresses() []string
- func (m *QueryApprovalsNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryApprovalsNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryApprovalsNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryApprovalsNFTResponse) ProtoMessage()
- func (m *QueryApprovalsNFTResponse) Reset()
- func (m *QueryApprovalsNFTResponse) Size() (n int)
- func (m *QueryApprovalsNFTResponse) String() string
- func (m *QueryApprovalsNFTResponse) Unmarshal(dAtA []byte) error
- func (m *QueryApprovalsNFTResponse) XXX_DiscardUnknown()
- func (m *QueryApprovalsNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryApprovalsNFTResponse) XXX_Merge(src proto.Message)
- func (m *QueryApprovalsNFTResponse) XXX_Size() int
- func (m *QueryApprovalsNFTResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCollectionByIdsResponse
- func (*QueryCollectionByIdsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCollectionByIdsResponse) GetCollections() []*Collection
- func (m *QueryCollectionByIdsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionByIdsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionByIdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionByIdsResponse) ProtoMessage()
- func (m *QueryCollectionByIdsResponse) Reset()
- func (m *QueryCollectionByIdsResponse) Size() (n int)
- func (m *QueryCollectionByIdsResponse) String() string
- func (m *QueryCollectionByIdsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionByIdsResponse) XXX_DiscardUnknown()
- func (m *QueryCollectionByIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionByIdsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCollectionByIdsResponse) XXX_Size() int
- func (m *QueryCollectionByIdsResponse) XXX_Unmarshal(b []byte) error
- type QueryCollectionRequest
- func (*QueryCollectionRequest) Descriptor() ([]byte, []int)
- func (m *QueryCollectionRequest) GetDenomId() string
- func (m *QueryCollectionRequest) GetPagination() *query.PageRequest
- func (m *QueryCollectionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionRequest) ProtoMessage()
- func (m *QueryCollectionRequest) Reset()
- func (m *QueryCollectionRequest) Size() (n int)
- func (m *QueryCollectionRequest) String() string
- func (m *QueryCollectionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionRequest) XXX_DiscardUnknown()
- func (m *QueryCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionRequest) XXX_Merge(src proto.Message)
- func (m *QueryCollectionRequest) XXX_Size() int
- func (m *QueryCollectionRequest) XXX_Unmarshal(b []byte) error
- type QueryCollectionResponse
- func (*QueryCollectionResponse) Descriptor() ([]byte, []int)
- func (m *QueryCollectionResponse) GetCollection() *Collection
- func (m *QueryCollectionResponse) GetPagination() *query.PageResponse
- func (m *QueryCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionResponse) ProtoMessage()
- func (m *QueryCollectionResponse) Reset()
- func (m *QueryCollectionResponse) Size() (n int)
- func (m *QueryCollectionResponse) String() string
- func (m *QueryCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionResponse) XXX_DiscardUnknown()
- func (m *QueryCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionResponse) XXX_Merge(src proto.Message)
- func (m *QueryCollectionResponse) XXX_Size() int
- func (m *QueryCollectionResponse) XXX_Unmarshal(b []byte) error
- type QueryCollectionsByIdsRequest
- func (*QueryCollectionsByIdsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCollectionsByIdsRequest) GetDenomIds() []string
- func (m *QueryCollectionsByIdsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCollectionsByIdsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollectionsByIdsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollectionsByIdsRequest) ProtoMessage()
- func (m *QueryCollectionsByIdsRequest) Reset()
- func (m *QueryCollectionsByIdsRequest) Size() (n int)
- func (m *QueryCollectionsByIdsRequest) String() string
- func (m *QueryCollectionsByIdsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCollectionsByIdsRequest) XXX_DiscardUnknown()
- func (m *QueryCollectionsByIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollectionsByIdsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCollectionsByIdsRequest) XXX_Size() int
- func (m *QueryCollectionsByIdsRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomByNameRequest
- func (*QueryDenomByNameRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomByNameRequest) GetDenomName() string
- func (m *QueryDenomByNameRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomByNameRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomByNameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomByNameRequest) ProtoMessage()
- func (m *QueryDenomByNameRequest) Reset()
- func (m *QueryDenomByNameRequest) Size() (n int)
- func (m *QueryDenomByNameRequest) String() string
- func (m *QueryDenomByNameRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomByNameRequest) XXX_DiscardUnknown()
- func (m *QueryDenomByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomByNameRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomByNameRequest) XXX_Size() int
- func (m *QueryDenomByNameRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomByNameResponse
- func (*QueryDenomByNameResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomByNameResponse) GetDenom() *Denom
- func (m *QueryDenomByNameResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomByNameResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomByNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomByNameResponse) ProtoMessage()
- func (m *QueryDenomByNameResponse) Reset()
- func (m *QueryDenomByNameResponse) Size() (n int)
- func (m *QueryDenomByNameResponse) String() string
- func (m *QueryDenomByNameResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomByNameResponse) XXX_DiscardUnknown()
- func (m *QueryDenomByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomByNameResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomByNameResponse) XXX_Size() int
- func (m *QueryDenomByNameResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomBySymbolRequest
- func (*QueryDenomBySymbolRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomBySymbolRequest) GetSymbol() string
- func (m *QueryDenomBySymbolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomBySymbolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomBySymbolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomBySymbolRequest) ProtoMessage()
- func (m *QueryDenomBySymbolRequest) Reset()
- func (m *QueryDenomBySymbolRequest) Size() (n int)
- func (m *QueryDenomBySymbolRequest) String() string
- func (m *QueryDenomBySymbolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomBySymbolRequest) XXX_DiscardUnknown()
- func (m *QueryDenomBySymbolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomBySymbolRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomBySymbolRequest) XXX_Size() int
- func (m *QueryDenomBySymbolRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomBySymbolResponse
- func (*QueryDenomBySymbolResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomBySymbolResponse) GetDenom() *Denom
- func (m *QueryDenomBySymbolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomBySymbolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomBySymbolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomBySymbolResponse) ProtoMessage()
- func (m *QueryDenomBySymbolResponse) Reset()
- func (m *QueryDenomBySymbolResponse) Size() (n int)
- func (m *QueryDenomBySymbolResponse) String() string
- func (m *QueryDenomBySymbolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomBySymbolResponse) XXX_DiscardUnknown()
- func (m *QueryDenomBySymbolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomBySymbolResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomBySymbolResponse) XXX_Size() int
- func (m *QueryDenomBySymbolResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomRequest
- func (*QueryDenomRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomRequest) GetDenomId() string
- func (m *QueryDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomRequest) ProtoMessage()
- func (m *QueryDenomRequest) Reset()
- func (m *QueryDenomRequest) Size() (n int)
- func (m *QueryDenomRequest) String() string
- func (m *QueryDenomRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomRequest) XXX_DiscardUnknown()
- func (m *QueryDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomRequest) XXX_Size() int
- func (m *QueryDenomRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomResponse
- func (*QueryDenomResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomResponse) GetDenom() *Denom
- func (m *QueryDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomResponse) ProtoMessage()
- func (m *QueryDenomResponse) Reset()
- func (m *QueryDenomResponse) Size() (n int)
- func (m *QueryDenomResponse) String() string
- func (m *QueryDenomResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomResponse) XXX_DiscardUnknown()
- func (m *QueryDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomResponse) XXX_Size() int
- func (m *QueryDenomResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomsRequest
- func (*QueryDenomsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomsRequest) GetPagination() *query.PageRequest
- func (m *QueryDenomsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsRequest) ProtoMessage()
- func (m *QueryDenomsRequest) Reset()
- func (m *QueryDenomsRequest) Size() (n int)
- func (m *QueryDenomsRequest) String() string
- func (m *QueryDenomsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsRequest) XXX_DiscardUnknown()
- func (m *QueryDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomsRequest) XXX_Size() int
- func (m *QueryDenomsRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomsResponse
- func (*QueryDenomsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomsResponse) GetDenoms() []Denom
- func (m *QueryDenomsResponse) GetPagination() *query.PageResponse
- func (m *QueryDenomsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsResponse) ProtoMessage()
- func (m *QueryDenomsResponse) Reset()
- func (m *QueryDenomsResponse) Size() (n int)
- func (m *QueryDenomsResponse) String() string
- func (m *QueryDenomsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsResponse) XXX_DiscardUnknown()
- func (m *QueryDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomsResponse) XXX_Size() int
- func (m *QueryDenomsResponse) XXX_Unmarshal(b []byte) error
- type QueryNFTRequest
- func (*QueryNFTRequest) Descriptor() ([]byte, []int)
- func (m *QueryNFTRequest) GetDenomId() string
- func (m *QueryNFTRequest) GetTokenId() string
- func (m *QueryNFTRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryNFTRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNFTRequest) ProtoMessage()
- func (m *QueryNFTRequest) Reset()
- func (m *QueryNFTRequest) Size() (n int)
- func (m *QueryNFTRequest) String() string
- func (m *QueryNFTRequest) Unmarshal(dAtA []byte) error
- func (m *QueryNFTRequest) XXX_DiscardUnknown()
- func (m *QueryNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNFTRequest) XXX_Merge(src proto.Message)
- func (m *QueryNFTRequest) XXX_Size() int
- func (m *QueryNFTRequest) XXX_Unmarshal(b []byte) error
- type QueryNFTResponse
- func (*QueryNFTResponse) Descriptor() ([]byte, []int)
- func (m *QueryNFTResponse) GetNFT() *BaseNFT
- func (m *QueryNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNFTResponse) ProtoMessage()
- func (m *QueryNFTResponse) Reset()
- func (m *QueryNFTResponse) Size() (n int)
- func (m *QueryNFTResponse) String() string
- func (m *QueryNFTResponse) Unmarshal(dAtA []byte) error
- func (m *QueryNFTResponse) XXX_DiscardUnknown()
- func (m *QueryNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNFTResponse) XXX_Merge(src proto.Message)
- func (m *QueryNFTResponse) XXX_Size() int
- func (m *QueryNFTResponse) XXX_Unmarshal(b []byte) error
- type QueryOwnerRequest
- func (*QueryOwnerRequest) Descriptor() ([]byte, []int)
- func (m *QueryOwnerRequest) GetDenomId() string
- func (m *QueryOwnerRequest) GetOwner() string
- func (m *QueryOwnerRequest) GetPagination() *query.PageRequest
- func (m *QueryOwnerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOwnerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOwnerRequest) ProtoMessage()
- func (m *QueryOwnerRequest) Reset()
- func (m *QueryOwnerRequest) Size() (n int)
- func (m *QueryOwnerRequest) String() string
- func (m *QueryOwnerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOwnerRequest) XXX_DiscardUnknown()
- func (m *QueryOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOwnerRequest) XXX_Merge(src proto.Message)
- func (m *QueryOwnerRequest) XXX_Size() int
- func (m *QueryOwnerRequest) XXX_Unmarshal(b []byte) error
- type QueryOwnerResponse
- func (*QueryOwnerResponse) Descriptor() ([]byte, []int)
- func (m *QueryOwnerResponse) GetOwner() *Owner
- func (m *QueryOwnerResponse) GetPagination() *query.PageResponse
- func (m *QueryOwnerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOwnerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOwnerResponse) ProtoMessage()
- func (m *QueryOwnerResponse) Reset()
- func (m *QueryOwnerResponse) Size() (n int)
- func (m *QueryOwnerResponse) String() string
- func (m *QueryOwnerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOwnerResponse) XXX_DiscardUnknown()
- func (m *QueryOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOwnerResponse) XXX_Merge(src proto.Message)
- func (m *QueryOwnerResponse) XXX_Size() int
- func (m *QueryOwnerResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySupplyRequest
- func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
- func (m *QuerySupplyRequest) GetDenomId() string
- func (m *QuerySupplyRequest) GetOwner() string
- func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyRequest) ProtoMessage()
- func (m *QuerySupplyRequest) Reset()
- func (m *QuerySupplyRequest) Size() (n int)
- func (m *QuerySupplyRequest) String() string
- func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyRequest) XXX_DiscardUnknown()
- func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)
- func (m *QuerySupplyRequest) XXX_Size() int
- func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error
- type QuerySupplyResponse
- func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
- func (m *QuerySupplyResponse) GetAmount() uint64
- func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyResponse) ProtoMessage()
- func (m *QuerySupplyResponse) Reset()
- func (m *QuerySupplyResponse) Size() (n int)
- func (m *QuerySupplyResponse) String() string
- func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyResponse) XXX_DiscardUnknown()
- func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)
- func (m *QuerySupplyResponse) XXX_Size() int
- func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ApproveAllNft(ctx context.Context, req *MsgApproveAllNft) (*MsgApproveAllNftResponse, error)
- func (*UnimplementedMsgServer) ApproveNft(ctx context.Context, req *MsgApproveNft) (*MsgApproveNftResponse, error)
- func (*UnimplementedMsgServer) BurnNFT(ctx context.Context, req *MsgBurnNFT) (*MsgBurnNFTResponse, error)
- func (*UnimplementedMsgServer) EditNFT(ctx context.Context, req *MsgEditNFT) (*MsgEditNFTResponse, error)
- func (*UnimplementedMsgServer) IssueDenom(ctx context.Context, req *MsgIssueDenom) (*MsgIssueDenomResponse, error)
- func (*UnimplementedMsgServer) MintNFT(ctx context.Context, req *MsgMintNFT) (*MsgMintNFTResponse, error)
- func (*UnimplementedMsgServer) RevokeNft(ctx context.Context, req *MsgRevokeNft) (*MsgRevokeNftResponse, error)
- func (*UnimplementedMsgServer) TransferDenom(ctx context.Context, req *MsgTransferDenom) (*MsgTransferDenomResponse, error)
- func (*UnimplementedMsgServer) TransferNft(ctx context.Context, req *MsgTransferNft) (*MsgTransferNftResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Collection(ctx context.Context, req *QueryCollectionRequest) (*QueryCollectionResponse, error)
- func (*UnimplementedQueryServer) CollectionsByDenomIds(ctx context.Context, req *QueryCollectionsByIdsRequest) (*QueryCollectionByIdsResponse, error)
- func (*UnimplementedQueryServer) Denom(ctx context.Context, req *QueryDenomRequest) (*QueryDenomResponse, error)
- func (*UnimplementedQueryServer) DenomByName(ctx context.Context, req *QueryDenomByNameRequest) (*QueryDenomByNameResponse, error)
- func (*UnimplementedQueryServer) DenomBySymbol(ctx context.Context, req *QueryDenomBySymbolRequest) (*QueryDenomBySymbolResponse, error)
- func (*UnimplementedQueryServer) Denoms(ctx context.Context, req *QueryDenomsRequest) (*QueryDenomsResponse, error)
- func (*UnimplementedQueryServer) GetApprovalsNFT(ctx context.Context, req *QueryApprovalsNFTRequest) (*QueryApprovalsNFTResponse, error)
- func (*UnimplementedQueryServer) NFT(ctx context.Context, req *QueryNFTRequest) (*QueryNFTResponse, error)
- func (*UnimplementedQueryServer) Owner(ctx context.Context, req *QueryOwnerRequest) (*QueryOwnerResponse, error)
- func (*UnimplementedQueryServer) QueryApprovalsIsApprovedForAll(ctx context.Context, req *QueryApprovalsIsApprovedForAllRequest) (*QueryApprovalsIsApprovedForAllResponse, error)
- func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "nft" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_nft" )
const ( TypeMsgIssueDenom = "issue_denom" TypeMsgTransferNft = "transfer_nft" TypeMsgEditNFT = "edit_nft" TypeMsgMintNFT = "mint_nft" TypeMsgBurnNFT = "burn_nft" TypeMsgApproveNft = "approve_nft" TypeMsgRevokeNft = "revoke_nft" TypeMsgApproveAllNft = "approve_all" TypeMsgTransferDenom = "transfer_denom" )
constant used to indicate that some field should not be updated
const ( DoNotModify = "[do-not-modify]" MinDenomIdLen = 3 MaxDenomIdLen = 64 MinDenomNameLen = 3 MaxDenomNameLen = 64 MinDenomSymbolLen = 3 MaxDenomSymbolLen = 64 MaxDenomTraitsLen = 256 MaxDenomDescriptionLen = 256 MaxDenomDataLen = 512 MaxSchemaLen = 512 MinTokenNameLen = 1 MaxTokenNameLen = 64 MaxTokenURILen = 256 MaxTokenDataLen = 512 )
Variables ¶
var ( ErrUnknownCollection = sdkerrors.Register(ModuleName, 3, "unknown nft collection") ErrInvalidNFT = sdkerrors.Register(ModuleName, 4, "invalid nft") ErrNFTAlreadyExists = sdkerrors.Register(ModuleName, 5, "nft already exists") ErrUnknownNFT = sdkerrors.Register(ModuleName, 6, "unknown nft") ErrInvalidDenom = sdkerrors.Register(ModuleName, 9, "invalid denom") ErrInvalidTokenID = sdkerrors.Register(ModuleName, 10, "invalid nft id") ErrInvalidTokenURI = sdkerrors.Register(ModuleName, 11, "invalid nft uri") ErrInvalidDenomName = sdkerrors.Register(ModuleName, 12, "invalid denom name") ErrNoApprovedAddresses = sdkerrors.Register(ModuleName, 13, "no approved addresses!") ErrNotFoundNFT = sdkerrors.Register(ModuleName, 14, "nft not found") ErrInvalidDenomSymbol = sdkerrors.Register(ModuleName, 15, "invalid denom symbol") ErrInvalidNftName = sdkerrors.Register(ModuleName, 16, "invalid nft name") ErrInvalidTraits = sdkerrors.Register(ModuleName, 17, "invalid traits") ErrAlreadySoftLocked = sdkerrors.Register(ModuleName, 18, "already soft locked") ErrNotSoftLocked = sdkerrors.Register(ModuleName, 19, "not soft locked") ErrNotOwnerOfSoftLock = sdkerrors.Register(ModuleName, 20, "not owner of soft lock") ErrSoftLocked = sdkerrors.Register(ModuleName, 21, "soft locked") ErrNotEditable = sdkerrors.Register(ModuleName, 22, "not editable") ErrInvalidDescription = sdkerrors.Register(ModuleName, 23, "invalid description") ErrInvalidTokenData = sdkerrors.Register(ModuleName, 24, "invalid token data") ErrInvalidDenomData = sdkerrors.Register(ModuleName, 25, "invalid denom data") ErrInvalidSchema = sdkerrors.Register(ModuleName, 26, "invalid schema") )
var ( EventTypeIssueDenom = "issue_denom" EventTypeTransferNft = "transfer_nft" EventTypeApproveNft = "approve_nft" EventTypeApproveAllNft = "approve_all_nft" EventTypeRevokeNft = "revoke_nft" EventTypeEditNFT = "edit_nft" EventTypeMintNFT = "mint_nft" EventTypeBurnNFT = "burn_nft" EventTypeTransferDenom = "transfer_denom" AttributeValueCategory = ModuleName AttributeKeySender = "sender" AttributeKeyCreator = "creator" AttributeKeyRecipient = "recipient" AttributeKeyOwner = "owner" AttributeKeyOperator = "operator" AttributeKeyTokenID = "token_id" AttributeKeyTokenURI = "token_uri" AttributeKeyDenomID = "denom_id" AttributeKeyDenomName = "denom_name" AttributeKeyMessage = "message" AttributeKeyApproved = "approved" AttributeKeyFrom = "from" AttributeKeyTo = "to" )
NFT module event types
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 ( PrefixNFT = []byte{0x01} PrefixOwners = []byte{0x02} // key for a owner PrefixCollection = []byte{0x03} // key for balance of NFTs held by the denom PrefixDenom = []byte{0x04} // key for denom of the nft PrefixDenomName = []byte{0x05} // key for denom name of the nft PrefixApprovedAddresses = []byte{0x06} // key for globally approved operator addresses PrefixCollectionTotalNftCount = []byte{0x07} // key for total nft count PrefixDenomSymbol = []byte{0x08} // key for denom name of the nft PrefixNFTLockOwner = []byte{0x09} // key for owner of nft lock )
var ( ErrInvalidLengthNft = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNft = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupNft = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // IsAlphaNumeric only accepts [a-z0-9] IsAlphaNumeric = regexp.MustCompile(`^[a-z0-9]+$`).MatchString // IsBeginWithAlpha only begin with [a-z] IsBeginWithAlpha = regexp.MustCompile(`^[a-z].*`).MatchString )
var DenomTraitsMapStrToType = map[string]DenomTrait{ "NotEditable": NotEditable, }
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func KeyApprovedAddresses ¶
KeyApprovedAddresses gets the key of an approved address
func KeyCollection ¶
KeyCollection gets the storeKey by the collection
func KeyCollectionTotalNfts ¶
KeyCollectionTotalNfts gets the storeKey by the collection for all the minted nfts for it
func KeyDenomName ¶
KeyDenomName gets the storeKey by the denom name
func KeyDenomSymbol ¶
KeyDenomSymbol gets the storeKey by the symbol
func KeyNFTLockOwner ¶ added in v1.1.1
func KeyOwner ¶
func KeyOwner(address sdk.AccAddress, denomID, tokenID string) []byte
KeyOwner gets the key of a collection owned by an account address
func MustMarshalSupply ¶
return supply protobuf code
func MustMarshalTokenID ¶
return the tokenID protobuf code
func MustUnMarshalSupply ¶
return th supply
func MustUnMarshalTokenID ¶
return th tokenID
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec concrete types on codec (Amino is still needed for Ledger at the moment) nolint: staticcheck
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.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)
func SplitKeyDenom ¶
func SplitKeyOwner ¶
func SplitKeyOwner(key []byte) (address sdk.AccAddress, denomID, tokenID string, err error)
SplitKeyOwner return the address,denom,id from the key of stored owner
func ValidateDenomData ¶ added in v1.1.1
func ValidateDenomID ¶
ValidateDenomID verifies whether the parameters are legal
func ValidateDenomName ¶
ValidateDenomName verifies whether the parameters are legal
func ValidateDenomSymbol ¶
ValidateDenomSymbol verifies whether the parameters are legal
func ValidateDenomTraits ¶ added in v1.1.1
func ValidateDescription ¶ added in v1.1.1
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
ValidateGenesis performs basic validation of nfts genesis data returning an error for any failed validation criteria.
func ValidateMinter ¶ added in v1.1.1
func ValidateSchema ¶ added in v1.1.1
func ValidateTokenData ¶ added in v1.1.1
func ValidateTokenID ¶
ValidateTokenID verify that the tokenID is legal
func ValidateTokenName ¶ added in v1.1.1
func ValidateTokenURI ¶
ValidateTokenURI verify that the tokenURI is legal
Types ¶
type AccountKeeper ¶
type AccountKeeper interface {
GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
}
AccountKeeper defines the expected account keeper for query account
type ApprovedAddresses ¶
type ApprovedAddresses struct {
ApprovedAddresses map[string]*ApprovedAddressesData `` /* 175-byte string literal not displayed */
}
func (*ApprovedAddresses) Descriptor ¶
func (*ApprovedAddresses) Descriptor() ([]byte, []int)
func (*ApprovedAddresses) Equal ¶
func (this *ApprovedAddresses) Equal(that interface{}) bool
func (*ApprovedAddresses) Marshal ¶
func (m *ApprovedAddresses) Marshal() (dAtA []byte, err error)
func (*ApprovedAddresses) MarshalTo ¶
func (m *ApprovedAddresses) MarshalTo(dAtA []byte) (int, error)
func (*ApprovedAddresses) MarshalToSizedBuffer ¶
func (m *ApprovedAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApprovedAddresses) ProtoMessage ¶
func (*ApprovedAddresses) ProtoMessage()
func (*ApprovedAddresses) Reset ¶
func (m *ApprovedAddresses) Reset()
func (*ApprovedAddresses) Size ¶
func (m *ApprovedAddresses) Size() (n int)
func (*ApprovedAddresses) String ¶
func (m *ApprovedAddresses) String() string
func (*ApprovedAddresses) Unmarshal ¶
func (m *ApprovedAddresses) Unmarshal(dAtA []byte) error
func (*ApprovedAddresses) XXX_DiscardUnknown ¶
func (m *ApprovedAddresses) XXX_DiscardUnknown()
func (*ApprovedAddresses) XXX_Marshal ¶
func (m *ApprovedAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApprovedAddresses) XXX_Merge ¶
func (m *ApprovedAddresses) XXX_Merge(src proto.Message)
func (*ApprovedAddresses) XXX_Size ¶
func (m *ApprovedAddresses) XXX_Size() int
func (*ApprovedAddresses) XXX_Unmarshal ¶
func (m *ApprovedAddresses) XXX_Unmarshal(b []byte) error
type ApprovedAddressesData ¶
type ApprovedAddressesData struct {
ApprovedAddressesData map[string]bool `` /* 184-byte string literal not displayed */
}
func (*ApprovedAddressesData) Descriptor ¶
func (*ApprovedAddressesData) Descriptor() ([]byte, []int)
func (*ApprovedAddressesData) Equal ¶
func (this *ApprovedAddressesData) Equal(that interface{}) bool
func (*ApprovedAddressesData) Marshal ¶
func (m *ApprovedAddressesData) Marshal() (dAtA []byte, err error)
func (*ApprovedAddressesData) MarshalTo ¶
func (m *ApprovedAddressesData) MarshalTo(dAtA []byte) (int, error)
func (*ApprovedAddressesData) MarshalToSizedBuffer ¶
func (m *ApprovedAddressesData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApprovedAddressesData) ProtoMessage ¶
func (*ApprovedAddressesData) ProtoMessage()
func (*ApprovedAddressesData) Reset ¶
func (m *ApprovedAddressesData) Reset()
func (*ApprovedAddressesData) Size ¶
func (m *ApprovedAddressesData) Size() (n int)
func (*ApprovedAddressesData) String ¶
func (m *ApprovedAddressesData) String() string
func (*ApprovedAddressesData) Unmarshal ¶
func (m *ApprovedAddressesData) Unmarshal(dAtA []byte) error
func (*ApprovedAddressesData) XXX_DiscardUnknown ¶
func (m *ApprovedAddressesData) XXX_DiscardUnknown()
func (*ApprovedAddressesData) XXX_Marshal ¶
func (m *ApprovedAddressesData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApprovedAddressesData) XXX_Merge ¶
func (m *ApprovedAddressesData) XXX_Merge(src proto.Message)
func (*ApprovedAddressesData) XXX_Size ¶
func (m *ApprovedAddressesData) XXX_Size() int
func (*ApprovedAddressesData) XXX_Unmarshal ¶
func (m *ApprovedAddressesData) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
BankKeeper defines the expected interface needed to retrieve account balances.
type BaseNFT ¶
type BaseNFT struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` URI string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri"` Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data"` Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` ApprovedAddresses []string `protobuf:"bytes,6,rep,name=approvedAddresses,proto3" json:"approved_addresses,omitempty"` }
BaseNFT defines a non-fungible token
func NewBaseNFT ¶
func NewBaseNFT(id, name string, owner sdk.AccAddress, uri, data string) BaseNFT
NewBaseNFT creates a new NFT instance
func (*BaseNFT) Descriptor ¶
func (BaseNFT) GetApprovedAddresses ¶
GetApprovedAddresses return the Data of BaseNFT
func (BaseNFT) GetOwner ¶
func (bnft BaseNFT) GetOwner() sdk.AccAddress
GetOwner return the owner of BaseNFT
func (*BaseNFT) MarshalToSizedBuffer ¶
func (*BaseNFT) ProtoMessage ¶
func (*BaseNFT) ProtoMessage()
func (*BaseNFT) XXX_DiscardUnknown ¶
func (m *BaseNFT) XXX_DiscardUnknown()
func (*BaseNFT) XXX_Marshal ¶
func (*BaseNFT) XXX_Unmarshal ¶
type Collection ¶
type Collection struct { Denom Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom"` NFTs []BaseNFT `protobuf:"bytes,2,rep,name=nfts,proto3" json:"nfts"` }
Collection defines a type of collection
func NewCollection ¶
func NewCollection(denom Denom, nfts []exported.NFT) (c Collection)
NewCollection creates a new NFT Collection
func NewCollections ¶
func NewCollections(c ...Collection) []Collection
NewCollection creates a new NFT Collection
func (Collection) AddNFT ¶
func (c Collection) AddNFT(nft BaseNFT) Collection
AddNFT adds an NFT to the collection
func (*Collection) Descriptor ¶
func (*Collection) Descriptor() ([]byte, []int)
func (*Collection) Equal ¶
func (this *Collection) Equal(that interface{}) bool
func (*Collection) Marshal ¶
func (m *Collection) Marshal() (dAtA []byte, err error)
func (*Collection) MarshalToSizedBuffer ¶
func (m *Collection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) Reset ¶
func (m *Collection) Reset()
func (*Collection) Size ¶
func (m *Collection) Size() (n int)
func (*Collection) String ¶
func (m *Collection) String() string
func (Collection) Supply ¶
func (c Collection) Supply() int
func (*Collection) Unmarshal ¶
func (m *Collection) Unmarshal(dAtA []byte) error
func (*Collection) XXX_DiscardUnknown ¶
func (m *Collection) XXX_DiscardUnknown()
func (*Collection) XXX_Marshal ¶
func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Collection) XXX_Merge ¶
func (m *Collection) XXX_Merge(src proto.Message)
func (*Collection) XXX_Size ¶
func (m *Collection) XXX_Size() int
func (*Collection) XXX_Unmarshal ¶
func (m *Collection) XXX_Unmarshal(b []byte) error
type Denom ¶
type Denom struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Schema string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema"` Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator"` Symbol string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol"` Traits string `protobuf:"bytes,6,opt,name=traits,proto3" json:"traits"` Minter string `protobuf:"bytes,7,opt,name=minter,proto3" json:"minter"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description"` Data string `protobuf:"bytes,9,opt,name=data,proto3" json:"data"` }
Denom defines a type of NFT
func NewDenom ¶
func NewDenom(id, name, schema, symbol, traits, minter, description, data string, creator sdk.AccAddress) Denom
NewDenom return a new denom
func (*Denom) Descriptor ¶
func (*Denom) ProtoMessage ¶
func (*Denom) ProtoMessage()
func (*Denom) XXX_DiscardUnknown ¶
func (m *Denom) XXX_DiscardUnknown()
func (*Denom) XXX_Marshal ¶
func (*Denom) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct {
Collections []Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections"`
}
GenesisState defines the NFT module's genesis state
func NewGenesisState ¶
func NewGenesisState(collections []Collection) *GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCollections ¶
func (m *GenesisState) GetCollections() []Collection
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) 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) 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 IDCollection ¶
type IDCollection struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` TokenIds []string `protobuf:"bytes,2,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty" yaml:"token_ids"` }
IDCollection defines a type of collection with specified ID
func NewIDCollection ¶
func NewIDCollection(denomID string, tokenIDs []string) IDCollection
NewIDCollection creates a new IDCollection instance
func (IDCollection) AddID ¶
func (idc IDCollection) AddID(tokenID string) IDCollection
AddID adds an tokenID to the idCollection
func (*IDCollection) Descriptor ¶
func (*IDCollection) Descriptor() ([]byte, []int)
func (*IDCollection) Equal ¶
func (this *IDCollection) Equal(that interface{}) bool
func (*IDCollection) Marshal ¶
func (m *IDCollection) Marshal() (dAtA []byte, err error)
func (*IDCollection) MarshalToSizedBuffer ¶
func (m *IDCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IDCollection) ProtoMessage ¶
func (*IDCollection) ProtoMessage()
func (*IDCollection) Reset ¶
func (m *IDCollection) Reset()
func (*IDCollection) Size ¶
func (m *IDCollection) Size() (n int)
func (*IDCollection) String ¶
func (m *IDCollection) String() string
func (IDCollection) Supply ¶
func (idc IDCollection) Supply() int
Supply return the amount of the denom
func (*IDCollection) Unmarshal ¶
func (m *IDCollection) Unmarshal(dAtA []byte) error
func (*IDCollection) XXX_DiscardUnknown ¶
func (m *IDCollection) XXX_DiscardUnknown()
func (*IDCollection) XXX_Marshal ¶
func (m *IDCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IDCollection) XXX_Merge ¶
func (m *IDCollection) XXX_Merge(src proto.Message)
func (*IDCollection) XXX_Size ¶
func (m *IDCollection) XXX_Size() int
func (*IDCollection) XXX_Unmarshal ¶
func (m *IDCollection) XXX_Unmarshal(b []byte) error
type IDCollections ¶
type IDCollections []IDCollection
---------------------------------------------------------------------------- IDCollections is an array of ID Collections
func (IDCollections) Add ¶
func (idcs IDCollections) Add(denomID, tokenID string) IDCollections
Add adds an ID to the idCollection
func (IDCollections) String ¶
func (idcs IDCollections) String() string
String follows stringer interface
type MsgApproveAllNft ¶
type MsgApproveAllNft struct { Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Approved bool `protobuf:"varint,3,opt,name=approved,proto3" json:"approved,omitempty"` ContractAddressSigner string `protobuf:"bytes,4,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` }
func NewMsgApproveAllNft ¶
func NewMsgApproveAllNft(operator, sender, contractAddressSigner string, approved bool, ) *MsgApproveAllNft
NewMsgApproveAllNft NewMsgApproveNft is a constructor function for MsgApproveAllNft
func (*MsgApproveAllNft) Descriptor ¶
func (*MsgApproveAllNft) Descriptor() ([]byte, []int)
func (*MsgApproveAllNft) Equal ¶
func (this *MsgApproveAllNft) Equal(that interface{}) bool
func (MsgApproveAllNft) GetSignBytes ¶
func (msg MsgApproveAllNft) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgApproveAllNft) GetSigners ¶
func (msg MsgApproveAllNft) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgApproveAllNft) Marshal ¶
func (m *MsgApproveAllNft) Marshal() (dAtA []byte, err error)
func (*MsgApproveAllNft) MarshalToSizedBuffer ¶
func (m *MsgApproveAllNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgApproveAllNft) ProtoMessage ¶
func (*MsgApproveAllNft) ProtoMessage()
func (*MsgApproveAllNft) Reset ¶
func (m *MsgApproveAllNft) Reset()
func (*MsgApproveAllNft) Size ¶
func (m *MsgApproveAllNft) Size() (n int)
func (*MsgApproveAllNft) String ¶
func (m *MsgApproveAllNft) String() string
func (*MsgApproveAllNft) Unmarshal ¶
func (m *MsgApproveAllNft) Unmarshal(dAtA []byte) error
func (MsgApproveAllNft) ValidateBasic ¶
func (msg MsgApproveAllNft) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgApproveAllNft) XXX_DiscardUnknown ¶
func (m *MsgApproveAllNft) XXX_DiscardUnknown()
func (*MsgApproveAllNft) XXX_Marshal ¶
func (m *MsgApproveAllNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgApproveAllNft) XXX_Merge ¶
func (m *MsgApproveAllNft) XXX_Merge(src proto.Message)
func (*MsgApproveAllNft) XXX_Size ¶
func (m *MsgApproveAllNft) XXX_Size() int
func (*MsgApproveAllNft) XXX_Unmarshal ¶
func (m *MsgApproveAllNft) XXX_Unmarshal(b []byte) error
type MsgApproveAllNftResponse ¶
type MsgApproveAllNftResponse struct { }
MsgApproveNft defines the Msg/Approve response type.
func (*MsgApproveAllNftResponse) Descriptor ¶
func (*MsgApproveAllNftResponse) Descriptor() ([]byte, []int)
func (*MsgApproveAllNftResponse) Marshal ¶
func (m *MsgApproveAllNftResponse) Marshal() (dAtA []byte, err error)
func (*MsgApproveAllNftResponse) MarshalTo ¶
func (m *MsgApproveAllNftResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgApproveAllNftResponse) MarshalToSizedBuffer ¶
func (m *MsgApproveAllNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgApproveAllNftResponse) ProtoMessage ¶
func (*MsgApproveAllNftResponse) ProtoMessage()
func (*MsgApproveAllNftResponse) Reset ¶
func (m *MsgApproveAllNftResponse) Reset()
func (*MsgApproveAllNftResponse) Size ¶
func (m *MsgApproveAllNftResponse) Size() (n int)
func (*MsgApproveAllNftResponse) String ¶
func (m *MsgApproveAllNftResponse) String() string
func (*MsgApproveAllNftResponse) Unmarshal ¶
func (m *MsgApproveAllNftResponse) Unmarshal(dAtA []byte) error
func (*MsgApproveAllNftResponse) XXX_DiscardUnknown ¶
func (m *MsgApproveAllNftResponse) XXX_DiscardUnknown()
func (*MsgApproveAllNftResponse) XXX_Marshal ¶
func (m *MsgApproveAllNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgApproveAllNftResponse) XXX_Merge ¶
func (m *MsgApproveAllNftResponse) XXX_Merge(src proto.Message)
func (*MsgApproveAllNftResponse) XXX_Size ¶
func (m *MsgApproveAllNftResponse) XXX_Size() int
func (*MsgApproveAllNftResponse) XXX_Unmarshal ¶
func (m *MsgApproveAllNftResponse) XXX_Unmarshal(b []byte) error
type MsgApproveNft ¶
type MsgApproveNft struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` ApprovedAddress string `protobuf:"bytes,4,opt,name=approvedAddress,proto3" json:"approvedAddress,omitempty"` ContractAddressSigner string `protobuf:"bytes,5,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` }
MsgApproveNft defines an SDK message for granted approval.
func NewMsgApproveNft ¶
func NewMsgApproveNft(tokenID, denomID, sender, approvedAddress, contractAddressSigner string, ) *MsgApproveNft
NewMsgApproveNft is a constructor function for MsgApproveNft
func (*MsgApproveNft) Descriptor ¶
func (*MsgApproveNft) Descriptor() ([]byte, []int)
func (*MsgApproveNft) Equal ¶
func (this *MsgApproveNft) Equal(that interface{}) bool
func (MsgApproveNft) GetSignBytes ¶
func (msg MsgApproveNft) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgApproveNft) GetSigners ¶
func (msg MsgApproveNft) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgApproveNft) Marshal ¶
func (m *MsgApproveNft) Marshal() (dAtA []byte, err error)
func (*MsgApproveNft) MarshalToSizedBuffer ¶
func (m *MsgApproveNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgApproveNft) ProtoMessage ¶
func (*MsgApproveNft) ProtoMessage()
func (*MsgApproveNft) Reset ¶
func (m *MsgApproveNft) Reset()
func (*MsgApproveNft) Size ¶
func (m *MsgApproveNft) Size() (n int)
func (*MsgApproveNft) String ¶
func (m *MsgApproveNft) String() string
func (*MsgApproveNft) Unmarshal ¶
func (m *MsgApproveNft) Unmarshal(dAtA []byte) error
func (MsgApproveNft) ValidateBasic ¶
func (msg MsgApproveNft) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgApproveNft) XXX_DiscardUnknown ¶
func (m *MsgApproveNft) XXX_DiscardUnknown()
func (*MsgApproveNft) XXX_Marshal ¶
func (m *MsgApproveNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgApproveNft) XXX_Merge ¶
func (m *MsgApproveNft) XXX_Merge(src proto.Message)
func (*MsgApproveNft) XXX_Size ¶
func (m *MsgApproveNft) XXX_Size() int
func (*MsgApproveNft) XXX_Unmarshal ¶
func (m *MsgApproveNft) XXX_Unmarshal(b []byte) error
type MsgApproveNftResponse ¶
type MsgApproveNftResponse struct { }
MsgApproveNft defines the Msg/Approve response type.
func (*MsgApproveNftResponse) Descriptor ¶
func (*MsgApproveNftResponse) Descriptor() ([]byte, []int)
func (*MsgApproveNftResponse) Marshal ¶
func (m *MsgApproveNftResponse) Marshal() (dAtA []byte, err error)
func (*MsgApproveNftResponse) MarshalTo ¶
func (m *MsgApproveNftResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgApproveNftResponse) MarshalToSizedBuffer ¶
func (m *MsgApproveNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgApproveNftResponse) ProtoMessage ¶
func (*MsgApproveNftResponse) ProtoMessage()
func (*MsgApproveNftResponse) Reset ¶
func (m *MsgApproveNftResponse) Reset()
func (*MsgApproveNftResponse) Size ¶
func (m *MsgApproveNftResponse) Size() (n int)
func (*MsgApproveNftResponse) String ¶
func (m *MsgApproveNftResponse) String() string
func (*MsgApproveNftResponse) Unmarshal ¶
func (m *MsgApproveNftResponse) Unmarshal(dAtA []byte) error
func (*MsgApproveNftResponse) XXX_DiscardUnknown ¶
func (m *MsgApproveNftResponse) XXX_DiscardUnknown()
func (*MsgApproveNftResponse) XXX_Marshal ¶
func (m *MsgApproveNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgApproveNftResponse) XXX_Merge ¶
func (m *MsgApproveNftResponse) XXX_Merge(src proto.Message)
func (*MsgApproveNftResponse) XXX_Size ¶
func (m *MsgApproveNftResponse) XXX_Size() int
func (*MsgApproveNftResponse) XXX_Unmarshal ¶
func (m *MsgApproveNftResponse) XXX_Unmarshal(b []byte) error
type MsgBurnNFT ¶
type MsgBurnNFT struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` ContractAddressSigner string `protobuf:"bytes,4,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` }
MsgBurnNFT defines an SDK message for burning a NFT.
func NewMsgBurnNFT ¶
func NewMsgBurnNFT(sender, tokenID, denomID, contractAddressSigner string) *MsgBurnNFT
NewMsgBurnNFT is a constructor function for MsgBurnNFT
func (*MsgBurnNFT) Descriptor ¶
func (*MsgBurnNFT) Descriptor() ([]byte, []int)
func (*MsgBurnNFT) Equal ¶
func (this *MsgBurnNFT) Equal(that interface{}) bool
func (MsgBurnNFT) GetSignBytes ¶
func (msg MsgBurnNFT) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgBurnNFT) GetSigners ¶
func (msg MsgBurnNFT) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
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) Size ¶
func (m *MsgBurnNFT) Size() (n int)
func (*MsgBurnNFT) String ¶
func (m *MsgBurnNFT) String() string
func (*MsgBurnNFT) Unmarshal ¶
func (m *MsgBurnNFT) Unmarshal(dAtA []byte) error
func (MsgBurnNFT) ValidateBasic ¶
func (msg MsgBurnNFT) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgBurnNFT) XXX_DiscardUnknown ¶
func (m *MsgBurnNFT) XXX_DiscardUnknown()
func (*MsgBurnNFT) XXX_Marshal ¶
func (m *MsgBurnNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnNFT) XXX_Merge ¶
func (m *MsgBurnNFT) XXX_Merge(src proto.Message)
func (*MsgBurnNFT) XXX_Size ¶
func (m *MsgBurnNFT) XXX_Size() int
func (*MsgBurnNFT) XXX_Unmarshal ¶
func (m *MsgBurnNFT) XXX_Unmarshal(b []byte) error
type MsgBurnNFTResponse ¶
type MsgBurnNFTResponse struct { }
MsgBurnNFTResponse defines the Msg/BurnNFT response type.
func (*MsgBurnNFTResponse) Descriptor ¶
func (*MsgBurnNFTResponse) Descriptor() ([]byte, []int)
func (*MsgBurnNFTResponse) Marshal ¶
func (m *MsgBurnNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnNFTResponse) MarshalTo ¶
func (m *MsgBurnNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnNFTResponse) ProtoMessage ¶
func (*MsgBurnNFTResponse) ProtoMessage()
func (*MsgBurnNFTResponse) Reset ¶
func (m *MsgBurnNFTResponse) Reset()
func (*MsgBurnNFTResponse) Size ¶
func (m *MsgBurnNFTResponse) Size() (n int)
func (*MsgBurnNFTResponse) String ¶
func (m *MsgBurnNFTResponse) String() string
func (*MsgBurnNFTResponse) Unmarshal ¶
func (m *MsgBurnNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnNFTResponse) XXX_DiscardUnknown()
func (*MsgBurnNFTResponse) XXX_Marshal ¶
func (m *MsgBurnNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnNFTResponse) XXX_Merge ¶
func (m *MsgBurnNFTResponse) XXX_Merge(src proto.Message)
func (*MsgBurnNFTResponse) XXX_Size ¶
func (m *MsgBurnNFTResponse) XXX_Size() int
func (*MsgBurnNFTResponse) XXX_Unmarshal ¶
func (m *MsgBurnNFTResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // IssueDenom defines a method for issue a denom. IssueDenom(ctx context.Context, in *MsgIssueDenom, opts ...grpc.CallOption) (*MsgIssueDenomResponse, error) // MintNFT defines a method for mint a new nft MintNFT(ctx context.Context, in *MsgMintNFT, opts ...grpc.CallOption) (*MsgMintNFTResponse, error) // EditNFT defines a method for editing a nft. EditNFT(ctx context.Context, in *MsgEditNFT, opts ...grpc.CallOption) (*MsgEditNFTResponse, error) // TransferNft transfers ownership of the token to recipient account. TransferNft(ctx context.Context, in *MsgTransferNft, opts ...grpc.CallOption) (*MsgTransferNftResponse, error) // Approve grants permission to spender to transfer or send the given token. ApproveNft(ctx context.Context, in *MsgApproveNft, opts ...grpc.CallOption) (*MsgApproveNftResponse, error) // Approve grants permission to spender to transfer or send the given token. ApproveAllNft(ctx context.Context, in *MsgApproveAllNft, opts ...grpc.CallOption) (*MsgApproveAllNftResponse, error) // Revokes permission to spender to transfer or send the given token. RevokeNft(ctx context.Context, in *MsgRevokeNft, opts ...grpc.CallOption) (*MsgRevokeNftResponse, error) // BurnNFT defines a method for burning a nft. BurnNFT(ctx context.Context, in *MsgBurnNFT, opts ...grpc.CallOption) (*MsgBurnNFTResponse, error) // TransferDenom defines a method for transferring a denom. TransferDenom(ctx context.Context, in *MsgTransferDenom, opts ...grpc.CallOption) (*MsgTransferDenomResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgEditNFT ¶
type MsgEditNFT struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` URI string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"` Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` Sender string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"` ContractAddressSigner string `protobuf:"bytes,7,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` }
MsgEditNFT defines an SDK message for editing a nft.
func NewMsgEditNFT ¶
func NewMsgEditNFT( tokenID, denomID, tokenName, tokenURI, tokenData, sender, contractAddressSigner string, ) *MsgEditNFT
NewMsgEditNFT is a constructor function for MsgSetName
func (*MsgEditNFT) Descriptor ¶
func (*MsgEditNFT) Descriptor() ([]byte, []int)
func (*MsgEditNFT) Equal ¶
func (this *MsgEditNFT) Equal(that interface{}) bool
func (MsgEditNFT) GetSignBytes ¶
func (msg MsgEditNFT) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgEditNFT) GetSigners ¶
func (msg MsgEditNFT) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgEditNFT) Marshal ¶
func (m *MsgEditNFT) Marshal() (dAtA []byte, err error)
func (*MsgEditNFT) MarshalToSizedBuffer ¶
func (m *MsgEditNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditNFT) ProtoMessage ¶
func (*MsgEditNFT) ProtoMessage()
func (*MsgEditNFT) Reset ¶
func (m *MsgEditNFT) Reset()
func (*MsgEditNFT) Size ¶
func (m *MsgEditNFT) Size() (n int)
func (*MsgEditNFT) String ¶
func (m *MsgEditNFT) String() string
func (*MsgEditNFT) Unmarshal ¶
func (m *MsgEditNFT) Unmarshal(dAtA []byte) error
func (MsgEditNFT) ValidateBasic ¶
func (msg MsgEditNFT) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgEditNFT) XXX_DiscardUnknown ¶
func (m *MsgEditNFT) XXX_DiscardUnknown()
func (*MsgEditNFT) XXX_Marshal ¶
func (m *MsgEditNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditNFT) XXX_Merge ¶
func (m *MsgEditNFT) XXX_Merge(src proto.Message)
func (*MsgEditNFT) XXX_Size ¶
func (m *MsgEditNFT) XXX_Size() int
func (*MsgEditNFT) XXX_Unmarshal ¶
func (m *MsgEditNFT) XXX_Unmarshal(b []byte) error
type MsgEditNFTResponse ¶
type MsgEditNFTResponse struct { }
MsgEditNFTResponse defines the Msg/EditNFT response type.
func (*MsgEditNFTResponse) Descriptor ¶
func (*MsgEditNFTResponse) Descriptor() ([]byte, []int)
func (*MsgEditNFTResponse) Marshal ¶
func (m *MsgEditNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditNFTResponse) MarshalTo ¶
func (m *MsgEditNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgEditNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditNFTResponse) ProtoMessage ¶
func (*MsgEditNFTResponse) ProtoMessage()
func (*MsgEditNFTResponse) Reset ¶
func (m *MsgEditNFTResponse) Reset()
func (*MsgEditNFTResponse) Size ¶
func (m *MsgEditNFTResponse) Size() (n int)
func (*MsgEditNFTResponse) String ¶
func (m *MsgEditNFTResponse) String() string
func (*MsgEditNFTResponse) Unmarshal ¶
func (m *MsgEditNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgEditNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgEditNFTResponse) XXX_DiscardUnknown()
func (*MsgEditNFTResponse) XXX_Marshal ¶
func (m *MsgEditNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditNFTResponse) XXX_Merge ¶
func (m *MsgEditNFTResponse) XXX_Merge(src proto.Message)
func (*MsgEditNFTResponse) XXX_Size ¶
func (m *MsgEditNFTResponse) XXX_Size() int
func (*MsgEditNFTResponse) XXX_Unmarshal ¶
func (m *MsgEditNFTResponse) XXX_Unmarshal(b []byte) error
type MsgIssueDenom ¶
type MsgIssueDenom struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Schema string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"` ContractAddressSigner string `protobuf:"bytes,5,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` Traits string `protobuf:"bytes,7,opt,name=traits,proto3" json:"traits,omitempty"` Minter string `protobuf:"bytes,8,opt,name=minter,proto3" json:"minter,omitempty"` Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` Data string `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` }
MsgIssueDenom defines an SDK message for creating a new denom.
func NewMsgIssueDenom ¶
func NewMsgIssueDenom(denomID, denomName, schema, sender, contractAddressSigner, symbol, traits, minter, description, data string) *MsgIssueDenom
NewMsgIssueDenom is a constructor function for MsgIssueDenom
func (*MsgIssueDenom) Descriptor ¶
func (*MsgIssueDenom) Descriptor() ([]byte, []int)
func (*MsgIssueDenom) Equal ¶
func (this *MsgIssueDenom) Equal(that interface{}) bool
func (MsgIssueDenom) GetSignBytes ¶
func (msg MsgIssueDenom) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgIssueDenom) GetSigners ¶
func (msg MsgIssueDenom) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgIssueDenom) Marshal ¶
func (m *MsgIssueDenom) Marshal() (dAtA []byte, err error)
func (*MsgIssueDenom) MarshalToSizedBuffer ¶
func (m *MsgIssueDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgIssueDenom) ProtoMessage ¶
func (*MsgIssueDenom) ProtoMessage()
func (*MsgIssueDenom) Reset ¶
func (m *MsgIssueDenom) Reset()
func (*MsgIssueDenom) Size ¶
func (m *MsgIssueDenom) Size() (n int)
func (*MsgIssueDenom) String ¶
func (m *MsgIssueDenom) String() string
func (*MsgIssueDenom) Unmarshal ¶
func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error
func (MsgIssueDenom) ValidateBasic ¶
func (msg MsgIssueDenom) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgIssueDenom) XXX_DiscardUnknown ¶
func (m *MsgIssueDenom) XXX_DiscardUnknown()
func (*MsgIssueDenom) XXX_Marshal ¶
func (m *MsgIssueDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgIssueDenom) XXX_Merge ¶
func (m *MsgIssueDenom) XXX_Merge(src proto.Message)
func (*MsgIssueDenom) XXX_Size ¶
func (m *MsgIssueDenom) XXX_Size() int
func (*MsgIssueDenom) XXX_Unmarshal ¶
func (m *MsgIssueDenom) XXX_Unmarshal(b []byte) error
type MsgIssueDenomResponse ¶
type MsgIssueDenomResponse struct { }
MsgIssueDenomResponse defines the Msg/IssueDenom response type.
func (*MsgIssueDenomResponse) Descriptor ¶
func (*MsgIssueDenomResponse) Descriptor() ([]byte, []int)
func (*MsgIssueDenomResponse) Marshal ¶
func (m *MsgIssueDenomResponse) Marshal() (dAtA []byte, err error)
func (*MsgIssueDenomResponse) MarshalTo ¶
func (m *MsgIssueDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgIssueDenomResponse) MarshalToSizedBuffer ¶
func (m *MsgIssueDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgIssueDenomResponse) ProtoMessage ¶
func (*MsgIssueDenomResponse) ProtoMessage()
func (*MsgIssueDenomResponse) Reset ¶
func (m *MsgIssueDenomResponse) Reset()
func (*MsgIssueDenomResponse) Size ¶
func (m *MsgIssueDenomResponse) Size() (n int)
func (*MsgIssueDenomResponse) String ¶
func (m *MsgIssueDenomResponse) String() string
func (*MsgIssueDenomResponse) Unmarshal ¶
func (m *MsgIssueDenomResponse) Unmarshal(dAtA []byte) error
func (*MsgIssueDenomResponse) XXX_DiscardUnknown ¶
func (m *MsgIssueDenomResponse) XXX_DiscardUnknown()
func (*MsgIssueDenomResponse) XXX_Marshal ¶
func (m *MsgIssueDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgIssueDenomResponse) XXX_Merge ¶
func (m *MsgIssueDenomResponse) XXX_Merge(src proto.Message)
func (*MsgIssueDenomResponse) XXX_Size ¶
func (m *MsgIssueDenomResponse) XXX_Size() int
func (*MsgIssueDenomResponse) XXX_Unmarshal ¶
func (m *MsgIssueDenomResponse) XXX_Unmarshal(b []byte) error
type MsgMintNFT ¶
type MsgMintNFT struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` URI string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Sender string `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,6,opt,name=recipient,proto3" json:"recipient,omitempty"` ContractAddressSigner string `protobuf:"bytes,7,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` }
MsgMintNFT defines an SDK message for creating a new NFT.
func NewMsgMintNFT ¶
func NewMsgMintNFT(denomID, tokenName, tokenURI, tokenData, sender, recipient, contractAddressSigner string, ) *MsgMintNFT
NewMsgMintNFT is a constructor function for MsgMintNFT
func (*MsgMintNFT) Descriptor ¶
func (*MsgMintNFT) Descriptor() ([]byte, []int)
func (*MsgMintNFT) Equal ¶
func (this *MsgMintNFT) Equal(that interface{}) bool
func (MsgMintNFT) GetSignBytes ¶
func (msg MsgMintNFT) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgMintNFT) GetSigners ¶
func (msg MsgMintNFT) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
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) Size ¶
func (m *MsgMintNFT) Size() (n int)
func (*MsgMintNFT) String ¶
func (m *MsgMintNFT) String() string
func (*MsgMintNFT) Unmarshal ¶
func (m *MsgMintNFT) Unmarshal(dAtA []byte) error
func (MsgMintNFT) ValidateBasic ¶
func (msg MsgMintNFT) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgMintNFT) XXX_DiscardUnknown ¶
func (m *MsgMintNFT) XXX_DiscardUnknown()
func (*MsgMintNFT) XXX_Marshal ¶
func (m *MsgMintNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintNFT) XXX_Merge ¶
func (m *MsgMintNFT) XXX_Merge(src proto.Message)
func (*MsgMintNFT) XXX_Size ¶
func (m *MsgMintNFT) XXX_Size() int
func (*MsgMintNFT) XXX_Unmarshal ¶
func (m *MsgMintNFT) XXX_Unmarshal(b []byte) error
type MsgMintNFTResponse ¶
type MsgMintNFTResponse struct { }
MsgMintNFTResponse defines the Msg/MintNFT response type.
func (*MsgMintNFTResponse) Descriptor ¶
func (*MsgMintNFTResponse) Descriptor() ([]byte, []int)
func (*MsgMintNFTResponse) Marshal ¶
func (m *MsgMintNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintNFTResponse) MarshalTo ¶
func (m *MsgMintNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgMintNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintNFTResponse) ProtoMessage ¶
func (*MsgMintNFTResponse) ProtoMessage()
func (*MsgMintNFTResponse) Reset ¶
func (m *MsgMintNFTResponse) Reset()
func (*MsgMintNFTResponse) Size ¶
func (m *MsgMintNFTResponse) Size() (n int)
func (*MsgMintNFTResponse) String ¶
func (m *MsgMintNFTResponse) String() string
func (*MsgMintNFTResponse) Unmarshal ¶
func (m *MsgMintNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgMintNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgMintNFTResponse) XXX_DiscardUnknown()
func (*MsgMintNFTResponse) XXX_Marshal ¶
func (m *MsgMintNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintNFTResponse) XXX_Merge ¶
func (m *MsgMintNFTResponse) XXX_Merge(src proto.Message)
func (*MsgMintNFTResponse) XXX_Size ¶
func (m *MsgMintNFTResponse) XXX_Size() int
func (*MsgMintNFTResponse) XXX_Unmarshal ¶
func (m *MsgMintNFTResponse) XXX_Unmarshal(b []byte) error
type MsgRevokeNft ¶
type MsgRevokeNft struct { AddressToRevoke string `protobuf:"bytes,1,opt,name=addressToRevoke,proto3" json:"addressToRevoke,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" yaml:"denom_id"` Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"` ContractAddressSigner string `protobuf:"bytes,5,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` }
MsgRevokeNft defines an SDK message for revoking a previously granted permission to transfer the given an NFT.
func NewMsgRevokeNft ¶
func NewMsgRevokeNft( addressToRevoke, sender, denomId, tokenId, contractAddressSigner string, ) *MsgRevokeNft
NewMsgRevokeNft is a constructor function for MsgRevokeNft
func (*MsgRevokeNft) Descriptor ¶
func (*MsgRevokeNft) Descriptor() ([]byte, []int)
func (*MsgRevokeNft) Equal ¶
func (this *MsgRevokeNft) Equal(that interface{}) bool
func (MsgRevokeNft) GetSignBytes ¶
func (msg MsgRevokeNft) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgRevokeNft) GetSigners ¶
func (msg MsgRevokeNft) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgRevokeNft) Marshal ¶
func (m *MsgRevokeNft) Marshal() (dAtA []byte, err error)
func (*MsgRevokeNft) MarshalToSizedBuffer ¶
func (m *MsgRevokeNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokeNft) ProtoMessage ¶
func (*MsgRevokeNft) ProtoMessage()
func (*MsgRevokeNft) Reset ¶
func (m *MsgRevokeNft) Reset()
func (*MsgRevokeNft) Size ¶
func (m *MsgRevokeNft) Size() (n int)
func (*MsgRevokeNft) String ¶
func (m *MsgRevokeNft) String() string
func (*MsgRevokeNft) Unmarshal ¶
func (m *MsgRevokeNft) Unmarshal(dAtA []byte) error
func (MsgRevokeNft) ValidateBasic ¶
func (msg MsgRevokeNft) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgRevokeNft) XXX_DiscardUnknown ¶
func (m *MsgRevokeNft) XXX_DiscardUnknown()
func (*MsgRevokeNft) XXX_Marshal ¶
func (m *MsgRevokeNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokeNft) XXX_Merge ¶
func (m *MsgRevokeNft) XXX_Merge(src proto.Message)
func (*MsgRevokeNft) XXX_Size ¶
func (m *MsgRevokeNft) XXX_Size() int
func (*MsgRevokeNft) XXX_Unmarshal ¶
func (m *MsgRevokeNft) XXX_Unmarshal(b []byte) error
type MsgRevokeNftResponse ¶
type MsgRevokeNftResponse struct { }
MsgRevokeNftResponse defines the Msg/RevokeNft response type.
func (*MsgRevokeNftResponse) Descriptor ¶
func (*MsgRevokeNftResponse) Descriptor() ([]byte, []int)
func (*MsgRevokeNftResponse) Marshal ¶
func (m *MsgRevokeNftResponse) Marshal() (dAtA []byte, err error)
func (*MsgRevokeNftResponse) MarshalTo ¶
func (m *MsgRevokeNftResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokeNftResponse) MarshalToSizedBuffer ¶
func (m *MsgRevokeNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokeNftResponse) ProtoMessage ¶
func (*MsgRevokeNftResponse) ProtoMessage()
func (*MsgRevokeNftResponse) Reset ¶
func (m *MsgRevokeNftResponse) Reset()
func (*MsgRevokeNftResponse) Size ¶
func (m *MsgRevokeNftResponse) Size() (n int)
func (*MsgRevokeNftResponse) String ¶
func (m *MsgRevokeNftResponse) String() string
func (*MsgRevokeNftResponse) Unmarshal ¶
func (m *MsgRevokeNftResponse) Unmarshal(dAtA []byte) error
func (*MsgRevokeNftResponse) XXX_DiscardUnknown ¶
func (m *MsgRevokeNftResponse) XXX_DiscardUnknown()
func (*MsgRevokeNftResponse) XXX_Marshal ¶
func (m *MsgRevokeNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokeNftResponse) XXX_Merge ¶
func (m *MsgRevokeNftResponse) XXX_Merge(src proto.Message)
func (*MsgRevokeNftResponse) XXX_Size ¶
func (m *MsgRevokeNftResponse) XXX_Size() int
func (*MsgRevokeNftResponse) XXX_Unmarshal ¶
func (m *MsgRevokeNftResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // IssueDenom defines a method for issue a denom. IssueDenom(context.Context, *MsgIssueDenom) (*MsgIssueDenomResponse, error) // MintNFT defines a method for mint a new nft MintNFT(context.Context, *MsgMintNFT) (*MsgMintNFTResponse, error) // EditNFT defines a method for editing a nft. EditNFT(context.Context, *MsgEditNFT) (*MsgEditNFTResponse, error) // TransferNft transfers ownership of the token to recipient account. TransferNft(context.Context, *MsgTransferNft) (*MsgTransferNftResponse, error) // Approve grants permission to spender to transfer or send the given token. ApproveNft(context.Context, *MsgApproveNft) (*MsgApproveNftResponse, error) // Approve grants permission to spender to transfer or send the given token. ApproveAllNft(context.Context, *MsgApproveAllNft) (*MsgApproveAllNftResponse, error) // Revokes permission to spender to transfer or send the given token. RevokeNft(context.Context, *MsgRevokeNft) (*MsgRevokeNftResponse, error) // BurnNFT defines a method for burning a nft. BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error) // TransferDenom defines a method for transferring a denom. TransferDenom(context.Context, *MsgTransferDenom) (*MsgTransferDenomResponse, error) }
MsgServer is the server API for Msg service.
type MsgTransferDenom ¶ added in v1.1.0
type MsgTransferDenom struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` ContractAddressSigner string `protobuf:"bytes,4,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` }
MsgTransferDenom defines an SDK message for transferring an denom to recipient.
func NewMsgTransferDenom ¶ added in v1.1.0
func NewMsgTransferDenom(denomId, sender, recipient, contractAddressSigner string) *MsgTransferDenom
NewMsgTransferDenom is a constructor function for msgTransferDenom
func (*MsgTransferDenom) Descriptor ¶ added in v1.1.0
func (*MsgTransferDenom) Descriptor() ([]byte, []int)
func (*MsgTransferDenom) Equal ¶ added in v1.1.0
func (this *MsgTransferDenom) Equal(that interface{}) bool
func (MsgTransferDenom) GetSignBytes ¶ added in v1.1.0
func (msg MsgTransferDenom) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgTransferDenom) GetSigners ¶ added in v1.1.0
func (msg MsgTransferDenom) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgTransferDenom) Marshal ¶ added in v1.1.0
func (m *MsgTransferDenom) Marshal() (dAtA []byte, err error)
func (*MsgTransferDenom) MarshalTo ¶ added in v1.1.0
func (m *MsgTransferDenom) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferDenom) MarshalToSizedBuffer ¶ added in v1.1.0
func (m *MsgTransferDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferDenom) ProtoMessage ¶ added in v1.1.0
func (*MsgTransferDenom) ProtoMessage()
func (*MsgTransferDenom) Reset ¶ added in v1.1.0
func (m *MsgTransferDenom) Reset()
func (MsgTransferDenom) Route ¶ added in v1.1.0
func (msg MsgTransferDenom) Route() string
Route Implements Msg
func (*MsgTransferDenom) Size ¶ added in v1.1.0
func (m *MsgTransferDenom) Size() (n int)
func (*MsgTransferDenom) String ¶ added in v1.1.0
func (m *MsgTransferDenom) String() string
func (MsgTransferDenom) Type ¶ added in v1.1.0
func (msg MsgTransferDenom) Type() string
Type Implements Msg
func (*MsgTransferDenom) Unmarshal ¶ added in v1.1.0
func (m *MsgTransferDenom) Unmarshal(dAtA []byte) error
func (MsgTransferDenom) ValidateBasic ¶ added in v1.1.0
func (msg MsgTransferDenom) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgTransferDenom) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *MsgTransferDenom) XXX_DiscardUnknown()
func (*MsgTransferDenom) XXX_Marshal ¶ added in v1.1.0
func (m *MsgTransferDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferDenom) XXX_Merge ¶ added in v1.1.0
func (m *MsgTransferDenom) XXX_Merge(src proto.Message)
func (*MsgTransferDenom) XXX_Size ¶ added in v1.1.0
func (m *MsgTransferDenom) XXX_Size() int
func (*MsgTransferDenom) XXX_Unmarshal ¶ added in v1.1.0
func (m *MsgTransferDenom) XXX_Unmarshal(b []byte) error
type MsgTransferDenomResponse ¶ added in v1.1.0
type MsgTransferDenomResponse struct { }
MsgTransferDenomResponse defines the Msg/TransferDenom response type.
func (*MsgTransferDenomResponse) Descriptor ¶ added in v1.1.0
func (*MsgTransferDenomResponse) Descriptor() ([]byte, []int)
func (*MsgTransferDenomResponse) Marshal ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferDenomResponse) MarshalTo ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferDenomResponse) MarshalToSizedBuffer ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferDenomResponse) ProtoMessage ¶ added in v1.1.0
func (*MsgTransferDenomResponse) ProtoMessage()
func (*MsgTransferDenomResponse) Reset ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) Reset()
func (*MsgTransferDenomResponse) Size ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) Size() (n int)
func (*MsgTransferDenomResponse) String ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) String() string
func (*MsgTransferDenomResponse) Unmarshal ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferDenomResponse) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) XXX_DiscardUnknown()
func (*MsgTransferDenomResponse) XXX_Marshal ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferDenomResponse) XXX_Merge ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) XXX_Merge(src proto.Message)
func (*MsgTransferDenomResponse) XXX_Size ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) XXX_Size() int
func (*MsgTransferDenomResponse) XXX_Unmarshal ¶ added in v1.1.0
func (m *MsgTransferDenomResponse) XXX_Unmarshal(b []byte) error
type MsgTransferNft ¶
type MsgTransferNft struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` Sender string `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"` ContractAddressSigner string `protobuf:"bytes,6,opt,name=contractAddressSigner,proto3" json:"contractAddressSigner,omitempty"` }
MsgTransferNft defines an SDK message for transferring an NFT to recipient.
func NewMsgTransferNft ¶
func NewMsgTransferNft( denomID, tokenID, from, to, msgSender, contractAddressSigner string, ) *MsgTransferNft
NewMsgTransferNft is a constructor function for MsgTransferNft
func (*MsgTransferNft) Descriptor ¶
func (*MsgTransferNft) Descriptor() ([]byte, []int)
func (*MsgTransferNft) Equal ¶
func (this *MsgTransferNft) Equal(that interface{}) bool
func (MsgTransferNft) GetSignBytes ¶
func (msg MsgTransferNft) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgTransferNft) GetSigners ¶
func (msg MsgTransferNft) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgTransferNft) Marshal ¶
func (m *MsgTransferNft) Marshal() (dAtA []byte, err error)
func (*MsgTransferNft) MarshalToSizedBuffer ¶
func (m *MsgTransferNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferNft) ProtoMessage ¶
func (*MsgTransferNft) ProtoMessage()
func (*MsgTransferNft) Reset ¶
func (m *MsgTransferNft) Reset()
func (*MsgTransferNft) Size ¶
func (m *MsgTransferNft) Size() (n int)
func (*MsgTransferNft) String ¶
func (m *MsgTransferNft) String() string
func (*MsgTransferNft) Unmarshal ¶
func (m *MsgTransferNft) Unmarshal(dAtA []byte) error
func (MsgTransferNft) ValidateBasic ¶
func (msg MsgTransferNft) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgTransferNft) XXX_DiscardUnknown ¶
func (m *MsgTransferNft) XXX_DiscardUnknown()
func (*MsgTransferNft) XXX_Marshal ¶
func (m *MsgTransferNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferNft) XXX_Merge ¶
func (m *MsgTransferNft) XXX_Merge(src proto.Message)
func (*MsgTransferNft) XXX_Size ¶
func (m *MsgTransferNft) XXX_Size() int
func (*MsgTransferNft) XXX_Unmarshal ¶
func (m *MsgTransferNft) XXX_Unmarshal(b []byte) error
type MsgTransferNftResponse ¶
type MsgTransferNftResponse struct { }
MsgTransferNftResponse defines the Msg/TransferNft response type.
func (*MsgTransferNftResponse) Descriptor ¶
func (*MsgTransferNftResponse) Descriptor() ([]byte, []int)
func (*MsgTransferNftResponse) Marshal ¶
func (m *MsgTransferNftResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferNftResponse) MarshalTo ¶
func (m *MsgTransferNftResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferNftResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferNftResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferNftResponse) ProtoMessage ¶
func (*MsgTransferNftResponse) ProtoMessage()
func (*MsgTransferNftResponse) Reset ¶
func (m *MsgTransferNftResponse) Reset()
func (*MsgTransferNftResponse) Size ¶
func (m *MsgTransferNftResponse) Size() (n int)
func (*MsgTransferNftResponse) String ¶
func (m *MsgTransferNftResponse) String() string
func (*MsgTransferNftResponse) Unmarshal ¶
func (m *MsgTransferNftResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferNftResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferNftResponse) XXX_DiscardUnknown()
func (*MsgTransferNftResponse) XXX_Marshal ¶
func (m *MsgTransferNftResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferNftResponse) XXX_Merge ¶
func (m *MsgTransferNftResponse) XXX_Merge(src proto.Message)
func (*MsgTransferNftResponse) XXX_Size ¶
func (m *MsgTransferNftResponse) XXX_Size() int
func (*MsgTransferNftResponse) XXX_Unmarshal ¶
func (m *MsgTransferNftResponse) XXX_Unmarshal(b []byte) error
type Owner ¶
type Owner struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` IDCollections []IDCollection `protobuf:"bytes,2,rep,name=id_collections,json=idCollections,proto3" json:"id_collections" yaml:"idcs"` }
Owner defines a type of owner
func NewOwner ¶
func NewOwner(owner sdk.AccAddress, idCollections ...IDCollection) Owner
NewOwner creates a new Owner
func (*Owner) Descriptor ¶
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) XXX_DiscardUnknown ¶
func (m *Owner) XXX_DiscardUnknown()
func (*Owner) XXX_Marshal ¶
func (*Owner) XXX_Unmarshal ¶
type QueryApprovalsIsApprovedForAllRequest ¶
type QueryApprovalsIsApprovedForAllRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` }
QueryApprovalsIsApprovedForAllRequest is the request type for the Query/NFT RPC method
func (*QueryApprovalsIsApprovedForAllRequest) Descriptor ¶
func (*QueryApprovalsIsApprovedForAllRequest) Descriptor() ([]byte, []int)
func (*QueryApprovalsIsApprovedForAllRequest) GetOperator ¶
func (m *QueryApprovalsIsApprovedForAllRequest) GetOperator() string
func (*QueryApprovalsIsApprovedForAllRequest) GetOwner ¶
func (m *QueryApprovalsIsApprovedForAllRequest) GetOwner() string
func (*QueryApprovalsIsApprovedForAllRequest) Marshal ¶
func (m *QueryApprovalsIsApprovedForAllRequest) Marshal() (dAtA []byte, err error)
func (*QueryApprovalsIsApprovedForAllRequest) MarshalTo ¶
func (m *QueryApprovalsIsApprovedForAllRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryApprovalsIsApprovedForAllRequest) MarshalToSizedBuffer ¶
func (m *QueryApprovalsIsApprovedForAllRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryApprovalsIsApprovedForAllRequest) ProtoMessage ¶
func (*QueryApprovalsIsApprovedForAllRequest) ProtoMessage()
func (*QueryApprovalsIsApprovedForAllRequest) Reset ¶
func (m *QueryApprovalsIsApprovedForAllRequest) Reset()
func (*QueryApprovalsIsApprovedForAllRequest) Size ¶
func (m *QueryApprovalsIsApprovedForAllRequest) Size() (n int)
func (*QueryApprovalsIsApprovedForAllRequest) String ¶
func (m *QueryApprovalsIsApprovedForAllRequest) String() string
func (*QueryApprovalsIsApprovedForAllRequest) Unmarshal ¶
func (m *QueryApprovalsIsApprovedForAllRequest) Unmarshal(dAtA []byte) error
func (*QueryApprovalsIsApprovedForAllRequest) XXX_DiscardUnknown ¶
func (m *QueryApprovalsIsApprovedForAllRequest) XXX_DiscardUnknown()
func (*QueryApprovalsIsApprovedForAllRequest) XXX_Marshal ¶
func (m *QueryApprovalsIsApprovedForAllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryApprovalsIsApprovedForAllRequest) XXX_Merge ¶
func (m *QueryApprovalsIsApprovedForAllRequest) XXX_Merge(src proto.Message)
func (*QueryApprovalsIsApprovedForAllRequest) XXX_Size ¶
func (m *QueryApprovalsIsApprovedForAllRequest) XXX_Size() int
func (*QueryApprovalsIsApprovedForAllRequest) XXX_Unmarshal ¶
func (m *QueryApprovalsIsApprovedForAllRequest) XXX_Unmarshal(b []byte) error
type QueryApprovalsIsApprovedForAllResponse ¶
type QueryApprovalsIsApprovedForAllResponse struct {
IsApproved bool `protobuf:"varint,1,opt,name=isApproved,proto3" json:"is_approved"`
}
QueryApprovalsNFTResponse is the response type for the Query/ApprovalsNFTRequest RPC method
func (*QueryApprovalsIsApprovedForAllResponse) Descriptor ¶
func (*QueryApprovalsIsApprovedForAllResponse) Descriptor() ([]byte, []int)
func (*QueryApprovalsIsApprovedForAllResponse) GetIsApproved ¶
func (m *QueryApprovalsIsApprovedForAllResponse) GetIsApproved() bool
func (*QueryApprovalsIsApprovedForAllResponse) Marshal ¶
func (m *QueryApprovalsIsApprovedForAllResponse) Marshal() (dAtA []byte, err error)
func (*QueryApprovalsIsApprovedForAllResponse) MarshalTo ¶
func (m *QueryApprovalsIsApprovedForAllResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryApprovalsIsApprovedForAllResponse) MarshalToSizedBuffer ¶
func (m *QueryApprovalsIsApprovedForAllResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryApprovalsIsApprovedForAllResponse) ProtoMessage ¶
func (*QueryApprovalsIsApprovedForAllResponse) ProtoMessage()
func (*QueryApprovalsIsApprovedForAllResponse) Reset ¶
func (m *QueryApprovalsIsApprovedForAllResponse) Reset()
func (*QueryApprovalsIsApprovedForAllResponse) Size ¶
func (m *QueryApprovalsIsApprovedForAllResponse) Size() (n int)
func (*QueryApprovalsIsApprovedForAllResponse) String ¶
func (m *QueryApprovalsIsApprovedForAllResponse) String() string
func (*QueryApprovalsIsApprovedForAllResponse) Unmarshal ¶
func (m *QueryApprovalsIsApprovedForAllResponse) Unmarshal(dAtA []byte) error
func (*QueryApprovalsIsApprovedForAllResponse) XXX_DiscardUnknown ¶
func (m *QueryApprovalsIsApprovedForAllResponse) XXX_DiscardUnknown()
func (*QueryApprovalsIsApprovedForAllResponse) XXX_Marshal ¶
func (m *QueryApprovalsIsApprovedForAllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryApprovalsIsApprovedForAllResponse) XXX_Merge ¶
func (m *QueryApprovalsIsApprovedForAllResponse) XXX_Merge(src proto.Message)
func (*QueryApprovalsIsApprovedForAllResponse) XXX_Size ¶
func (m *QueryApprovalsIsApprovedForAllResponse) XXX_Size() int
func (*QueryApprovalsIsApprovedForAllResponse) XXX_Unmarshal ¶
func (m *QueryApprovalsIsApprovedForAllResponse) XXX_Unmarshal(b []byte) error
type QueryApprovalsNFTRequest ¶
type QueryApprovalsNFTRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" yaml:"token_id"` }
QueryApprovalsNFTRequest is the request type for the Query/NFT RPC method
func (*QueryApprovalsNFTRequest) Descriptor ¶
func (*QueryApprovalsNFTRequest) Descriptor() ([]byte, []int)
func (*QueryApprovalsNFTRequest) GetDenomId ¶
func (m *QueryApprovalsNFTRequest) GetDenomId() string
func (*QueryApprovalsNFTRequest) GetTokenId ¶
func (m *QueryApprovalsNFTRequest) GetTokenId() string
func (*QueryApprovalsNFTRequest) Marshal ¶
func (m *QueryApprovalsNFTRequest) Marshal() (dAtA []byte, err error)
func (*QueryApprovalsNFTRequest) MarshalTo ¶
func (m *QueryApprovalsNFTRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryApprovalsNFTRequest) MarshalToSizedBuffer ¶
func (m *QueryApprovalsNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryApprovalsNFTRequest) ProtoMessage ¶
func (*QueryApprovalsNFTRequest) ProtoMessage()
func (*QueryApprovalsNFTRequest) Reset ¶
func (m *QueryApprovalsNFTRequest) Reset()
func (*QueryApprovalsNFTRequest) Size ¶
func (m *QueryApprovalsNFTRequest) Size() (n int)
func (*QueryApprovalsNFTRequest) String ¶
func (m *QueryApprovalsNFTRequest) String() string
func (*QueryApprovalsNFTRequest) Unmarshal ¶
func (m *QueryApprovalsNFTRequest) Unmarshal(dAtA []byte) error
func (*QueryApprovalsNFTRequest) XXX_DiscardUnknown ¶
func (m *QueryApprovalsNFTRequest) XXX_DiscardUnknown()
func (*QueryApprovalsNFTRequest) XXX_Marshal ¶
func (m *QueryApprovalsNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryApprovalsNFTRequest) XXX_Merge ¶
func (m *QueryApprovalsNFTRequest) XXX_Merge(src proto.Message)
func (*QueryApprovalsNFTRequest) XXX_Size ¶
func (m *QueryApprovalsNFTRequest) XXX_Size() int
func (*QueryApprovalsNFTRequest) XXX_Unmarshal ¶
func (m *QueryApprovalsNFTRequest) XXX_Unmarshal(b []byte) error
type QueryApprovalsNFTResponse ¶
type QueryApprovalsNFTResponse struct {
ApprovedAddresses []string `protobuf:"bytes,1,rep,name=ApprovedAddresses,proto3" json:"approved_addresses"`
}
QueryApprovalsNFTResponse is the response type for the Query/ApprovalsNFTRequest RPC method
func (*QueryApprovalsNFTResponse) Descriptor ¶
func (*QueryApprovalsNFTResponse) Descriptor() ([]byte, []int)
func (*QueryApprovalsNFTResponse) GetApprovedAddresses ¶
func (m *QueryApprovalsNFTResponse) GetApprovedAddresses() []string
func (*QueryApprovalsNFTResponse) Marshal ¶
func (m *QueryApprovalsNFTResponse) Marshal() (dAtA []byte, err error)
func (*QueryApprovalsNFTResponse) MarshalTo ¶
func (m *QueryApprovalsNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryApprovalsNFTResponse) MarshalToSizedBuffer ¶
func (m *QueryApprovalsNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryApprovalsNFTResponse) ProtoMessage ¶
func (*QueryApprovalsNFTResponse) ProtoMessage()
func (*QueryApprovalsNFTResponse) Reset ¶
func (m *QueryApprovalsNFTResponse) Reset()
func (*QueryApprovalsNFTResponse) Size ¶
func (m *QueryApprovalsNFTResponse) Size() (n int)
func (*QueryApprovalsNFTResponse) String ¶
func (m *QueryApprovalsNFTResponse) String() string
func (*QueryApprovalsNFTResponse) Unmarshal ¶
func (m *QueryApprovalsNFTResponse) Unmarshal(dAtA []byte) error
func (*QueryApprovalsNFTResponse) XXX_DiscardUnknown ¶
func (m *QueryApprovalsNFTResponse) XXX_DiscardUnknown()
func (*QueryApprovalsNFTResponse) XXX_Marshal ¶
func (m *QueryApprovalsNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryApprovalsNFTResponse) XXX_Merge ¶
func (m *QueryApprovalsNFTResponse) XXX_Merge(src proto.Message)
func (*QueryApprovalsNFTResponse) XXX_Size ¶
func (m *QueryApprovalsNFTResponse) XXX_Size() int
func (*QueryApprovalsNFTResponse) XXX_Unmarshal ¶
func (m *QueryApprovalsNFTResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Supply queries the total supply of a given denom or owner Supply(ctx context.Context, in *QuerySupplyRequest, opts ...grpc.CallOption) (*QuerySupplyResponse, error) // Owner queries the NFTs of the specified owner Owner(ctx context.Context, in *QueryOwnerRequest, opts ...grpc.CallOption) (*QueryOwnerResponse, error) // Collection queries the NFTs of the specified denom Collection(ctx context.Context, in *QueryCollectionRequest, opts ...grpc.CallOption) (*QueryCollectionResponse, error) // Collection queries the NFTs of the specified denom CollectionsByDenomIds(ctx context.Context, in *QueryCollectionsByIdsRequest, opts ...grpc.CallOption) (*QueryCollectionByIdsResponse, error) // Denom queries the definition of a given denom Denom(ctx context.Context, in *QueryDenomRequest, opts ...grpc.CallOption) (*QueryDenomResponse, error) // DenomByName queries the definition of a given denom by name DenomByName(ctx context.Context, in *QueryDenomByNameRequest, opts ...grpc.CallOption) (*QueryDenomByNameResponse, error) // DenomByName queries the definition of a given denom by name DenomBySymbol(ctx context.Context, in *QueryDenomBySymbolRequest, opts ...grpc.CallOption) (*QueryDenomBySymbolResponse, error) // Denoms queries all the denoms Denoms(ctx context.Context, in *QueryDenomsRequest, opts ...grpc.CallOption) (*QueryDenomsResponse, error) // NFT queries the NFT for the given denom and token ID NFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryNFTResponse, error) // NFT queries the NFT for the given denom and token ID GetApprovalsNFT(ctx context.Context, in *QueryApprovalsNFTRequest, opts ...grpc.CallOption) (*QueryApprovalsNFTResponse, error) // NFT queries the NFT for the given denom and token ID QueryApprovalsIsApprovedForAll(ctx context.Context, in *QueryApprovalsIsApprovedForAllRequest, opts ...grpc.CallOption) (*QueryApprovalsIsApprovedForAllResponse, 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 QueryCollectionByIdsResponse ¶ added in v1.1.1
type QueryCollectionByIdsResponse struct {
Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
}
QueryCollectionResponse is the response type for the Query/CollectionsByIds RPC method
func (*QueryCollectionByIdsResponse) Descriptor ¶ added in v1.1.1
func (*QueryCollectionByIdsResponse) Descriptor() ([]byte, []int)
func (*QueryCollectionByIdsResponse) GetCollections ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) GetCollections() []*Collection
func (*QueryCollectionByIdsResponse) Marshal ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCollectionByIdsResponse) MarshalTo ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollectionByIdsResponse) MarshalToSizedBuffer ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollectionByIdsResponse) ProtoMessage ¶ added in v1.1.1
func (*QueryCollectionByIdsResponse) ProtoMessage()
func (*QueryCollectionByIdsResponse) Reset ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) Reset()
func (*QueryCollectionByIdsResponse) Size ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) Size() (n int)
func (*QueryCollectionByIdsResponse) String ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) String() string
func (*QueryCollectionByIdsResponse) Unmarshal ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) Unmarshal(dAtA []byte) error
func (*QueryCollectionByIdsResponse) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) XXX_DiscardUnknown()
func (*QueryCollectionByIdsResponse) XXX_Marshal ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollectionByIdsResponse) XXX_Merge ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) XXX_Merge(src proto.Message)
func (*QueryCollectionByIdsResponse) XXX_Size ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) XXX_Size() int
func (*QueryCollectionByIdsResponse) XXX_Unmarshal ¶ added in v1.1.1
func (m *QueryCollectionByIdsResponse) XXX_Unmarshal(b []byte) error
type QueryCollectionRequest ¶
type QueryCollectionRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryCollectionRequest is the request type for the Query/Collection RPC method
func (*QueryCollectionRequest) Descriptor ¶
func (*QueryCollectionRequest) Descriptor() ([]byte, []int)
func (*QueryCollectionRequest) GetDenomId ¶
func (m *QueryCollectionRequest) GetDenomId() string
func (*QueryCollectionRequest) GetPagination ¶
func (m *QueryCollectionRequest) GetPagination() *query.PageRequest
func (*QueryCollectionRequest) Marshal ¶
func (m *QueryCollectionRequest) Marshal() (dAtA []byte, err error)
func (*QueryCollectionRequest) MarshalTo ¶
func (m *QueryCollectionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollectionRequest) MarshalToSizedBuffer ¶
func (m *QueryCollectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollectionRequest) ProtoMessage ¶
func (*QueryCollectionRequest) ProtoMessage()
func (*QueryCollectionRequest) Reset ¶
func (m *QueryCollectionRequest) Reset()
func (*QueryCollectionRequest) Size ¶
func (m *QueryCollectionRequest) Size() (n int)
func (*QueryCollectionRequest) String ¶
func (m *QueryCollectionRequest) String() string
func (*QueryCollectionRequest) Unmarshal ¶
func (m *QueryCollectionRequest) Unmarshal(dAtA []byte) error
func (*QueryCollectionRequest) XXX_DiscardUnknown ¶
func (m *QueryCollectionRequest) XXX_DiscardUnknown()
func (*QueryCollectionRequest) XXX_Marshal ¶
func (m *QueryCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollectionRequest) XXX_Merge ¶
func (m *QueryCollectionRequest) XXX_Merge(src proto.Message)
func (*QueryCollectionRequest) XXX_Size ¶
func (m *QueryCollectionRequest) XXX_Size() int
func (*QueryCollectionRequest) XXX_Unmarshal ¶
func (m *QueryCollectionRequest) XXX_Unmarshal(b []byte) error
type QueryCollectionResponse ¶
type QueryCollectionResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryCollectionResponse is the response type for the Query/Collection RPC method
func (*QueryCollectionResponse) Descriptor ¶
func (*QueryCollectionResponse) Descriptor() ([]byte, []int)
func (*QueryCollectionResponse) GetCollection ¶
func (m *QueryCollectionResponse) GetCollection() *Collection
func (*QueryCollectionResponse) GetPagination ¶
func (m *QueryCollectionResponse) GetPagination() *query.PageResponse
func (*QueryCollectionResponse) Marshal ¶
func (m *QueryCollectionResponse) Marshal() (dAtA []byte, err error)
func (*QueryCollectionResponse) MarshalTo ¶
func (m *QueryCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollectionResponse) MarshalToSizedBuffer ¶
func (m *QueryCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollectionResponse) ProtoMessage ¶
func (*QueryCollectionResponse) ProtoMessage()
func (*QueryCollectionResponse) Reset ¶
func (m *QueryCollectionResponse) Reset()
func (*QueryCollectionResponse) Size ¶
func (m *QueryCollectionResponse) Size() (n int)
func (*QueryCollectionResponse) String ¶
func (m *QueryCollectionResponse) String() string
func (*QueryCollectionResponse) Unmarshal ¶
func (m *QueryCollectionResponse) Unmarshal(dAtA []byte) error
func (*QueryCollectionResponse) XXX_DiscardUnknown ¶
func (m *QueryCollectionResponse) XXX_DiscardUnknown()
func (*QueryCollectionResponse) XXX_Marshal ¶
func (m *QueryCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollectionResponse) XXX_Merge ¶
func (m *QueryCollectionResponse) XXX_Merge(src proto.Message)
func (*QueryCollectionResponse) XXX_Size ¶
func (m *QueryCollectionResponse) XXX_Size() int
func (*QueryCollectionResponse) XXX_Unmarshal ¶
func (m *QueryCollectionResponse) XXX_Unmarshal(b []byte) error
type QueryCollectionsByIdsRequest ¶ added in v1.1.1
type QueryCollectionsByIdsRequest struct {
DenomIds []string `protobuf:"bytes,1,rep,name=denom_ids,json=denomIds,proto3" json:"denom_ids,omitempty" yaml:"denom_ids"`
}
QueryCollectionsByIdsRequest is the request type for the Query/CollectionsByIds RPC method
func (*QueryCollectionsByIdsRequest) Descriptor ¶ added in v1.1.1
func (*QueryCollectionsByIdsRequest) Descriptor() ([]byte, []int)
func (*QueryCollectionsByIdsRequest) GetDenomIds ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) GetDenomIds() []string
func (*QueryCollectionsByIdsRequest) Marshal ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCollectionsByIdsRequest) MarshalTo ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollectionsByIdsRequest) MarshalToSizedBuffer ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollectionsByIdsRequest) ProtoMessage ¶ added in v1.1.1
func (*QueryCollectionsByIdsRequest) ProtoMessage()
func (*QueryCollectionsByIdsRequest) Reset ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) Reset()
func (*QueryCollectionsByIdsRequest) Size ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) Size() (n int)
func (*QueryCollectionsByIdsRequest) String ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) String() string
func (*QueryCollectionsByIdsRequest) Unmarshal ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) Unmarshal(dAtA []byte) error
func (*QueryCollectionsByIdsRequest) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) XXX_DiscardUnknown()
func (*QueryCollectionsByIdsRequest) XXX_Marshal ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollectionsByIdsRequest) XXX_Merge ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) XXX_Merge(src proto.Message)
func (*QueryCollectionsByIdsRequest) XXX_Size ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) XXX_Size() int
func (*QueryCollectionsByIdsRequest) XXX_Unmarshal ¶ added in v1.1.1
func (m *QueryCollectionsByIdsRequest) XXX_Unmarshal(b []byte) error
type QueryDenomByNameRequest ¶
type QueryDenomByNameRequest struct {
DenomName string `protobuf:"bytes,1,opt,name=denom_name,json=denomName,proto3" json:"denom_name,omitempty" yaml:"denom_name"`
}
QueryDenomByNameRequest is the request type for the Query/DenomByName RPC method
func (*QueryDenomByNameRequest) Descriptor ¶
func (*QueryDenomByNameRequest) Descriptor() ([]byte, []int)
func (*QueryDenomByNameRequest) GetDenomName ¶
func (m *QueryDenomByNameRequest) GetDenomName() string
func (*QueryDenomByNameRequest) Marshal ¶
func (m *QueryDenomByNameRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomByNameRequest) MarshalTo ¶
func (m *QueryDenomByNameRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomByNameRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomByNameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomByNameRequest) ProtoMessage ¶
func (*QueryDenomByNameRequest) ProtoMessage()
func (*QueryDenomByNameRequest) Reset ¶
func (m *QueryDenomByNameRequest) Reset()
func (*QueryDenomByNameRequest) Size ¶
func (m *QueryDenomByNameRequest) Size() (n int)
func (*QueryDenomByNameRequest) String ¶
func (m *QueryDenomByNameRequest) String() string
func (*QueryDenomByNameRequest) Unmarshal ¶
func (m *QueryDenomByNameRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomByNameRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomByNameRequest) XXX_DiscardUnknown()
func (*QueryDenomByNameRequest) XXX_Marshal ¶
func (m *QueryDenomByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomByNameRequest) XXX_Merge ¶
func (m *QueryDenomByNameRequest) XXX_Merge(src proto.Message)
func (*QueryDenomByNameRequest) XXX_Size ¶
func (m *QueryDenomByNameRequest) XXX_Size() int
func (*QueryDenomByNameRequest) XXX_Unmarshal ¶
func (m *QueryDenomByNameRequest) XXX_Unmarshal(b []byte) error
type QueryDenomByNameResponse ¶
type QueryDenomByNameResponse struct {
Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
QueryDenomByNameResponse is the response type for the Query/DenomByName RPC method
func (*QueryDenomByNameResponse) Descriptor ¶
func (*QueryDenomByNameResponse) Descriptor() ([]byte, []int)
func (*QueryDenomByNameResponse) GetDenom ¶
func (m *QueryDenomByNameResponse) GetDenom() *Denom
func (*QueryDenomByNameResponse) Marshal ¶
func (m *QueryDenomByNameResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomByNameResponse) MarshalTo ¶
func (m *QueryDenomByNameResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomByNameResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomByNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomByNameResponse) ProtoMessage ¶
func (*QueryDenomByNameResponse) ProtoMessage()
func (*QueryDenomByNameResponse) Reset ¶
func (m *QueryDenomByNameResponse) Reset()
func (*QueryDenomByNameResponse) Size ¶
func (m *QueryDenomByNameResponse) Size() (n int)
func (*QueryDenomByNameResponse) String ¶
func (m *QueryDenomByNameResponse) String() string
func (*QueryDenomByNameResponse) Unmarshal ¶
func (m *QueryDenomByNameResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomByNameResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomByNameResponse) XXX_DiscardUnknown()
func (*QueryDenomByNameResponse) XXX_Marshal ¶
func (m *QueryDenomByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomByNameResponse) XXX_Merge ¶
func (m *QueryDenomByNameResponse) XXX_Merge(src proto.Message)
func (*QueryDenomByNameResponse) XXX_Size ¶
func (m *QueryDenomByNameResponse) XXX_Size() int
func (*QueryDenomByNameResponse) XXX_Unmarshal ¶
func (m *QueryDenomByNameResponse) XXX_Unmarshal(b []byte) error
type QueryDenomBySymbolRequest ¶
type QueryDenomBySymbolRequest struct {
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty" yaml:"symbol"`
}
QueryDenomBySymbolRequest is the request type for the Query/DenomBySymbol RPC method
func (*QueryDenomBySymbolRequest) Descriptor ¶
func (*QueryDenomBySymbolRequest) Descriptor() ([]byte, []int)
func (*QueryDenomBySymbolRequest) GetSymbol ¶
func (m *QueryDenomBySymbolRequest) GetSymbol() string
func (*QueryDenomBySymbolRequest) Marshal ¶
func (m *QueryDenomBySymbolRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomBySymbolRequest) MarshalTo ¶
func (m *QueryDenomBySymbolRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomBySymbolRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomBySymbolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomBySymbolRequest) ProtoMessage ¶
func (*QueryDenomBySymbolRequest) ProtoMessage()
func (*QueryDenomBySymbolRequest) Reset ¶
func (m *QueryDenomBySymbolRequest) Reset()
func (*QueryDenomBySymbolRequest) Size ¶
func (m *QueryDenomBySymbolRequest) Size() (n int)
func (*QueryDenomBySymbolRequest) String ¶
func (m *QueryDenomBySymbolRequest) String() string
func (*QueryDenomBySymbolRequest) Unmarshal ¶
func (m *QueryDenomBySymbolRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomBySymbolRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomBySymbolRequest) XXX_DiscardUnknown()
func (*QueryDenomBySymbolRequest) XXX_Marshal ¶
func (m *QueryDenomBySymbolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomBySymbolRequest) XXX_Merge ¶
func (m *QueryDenomBySymbolRequest) XXX_Merge(src proto.Message)
func (*QueryDenomBySymbolRequest) XXX_Size ¶
func (m *QueryDenomBySymbolRequest) XXX_Size() int
func (*QueryDenomBySymbolRequest) XXX_Unmarshal ¶
func (m *QueryDenomBySymbolRequest) XXX_Unmarshal(b []byte) error
type QueryDenomBySymbolResponse ¶
type QueryDenomBySymbolResponse struct {
Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
QueryDenomByNameResponse is the response type for the Query/DenomByName RPC method
func (*QueryDenomBySymbolResponse) Descriptor ¶
func (*QueryDenomBySymbolResponse) Descriptor() ([]byte, []int)
func (*QueryDenomBySymbolResponse) GetDenom ¶
func (m *QueryDenomBySymbolResponse) GetDenom() *Denom
func (*QueryDenomBySymbolResponse) Marshal ¶
func (m *QueryDenomBySymbolResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomBySymbolResponse) MarshalTo ¶
func (m *QueryDenomBySymbolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomBySymbolResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomBySymbolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomBySymbolResponse) ProtoMessage ¶
func (*QueryDenomBySymbolResponse) ProtoMessage()
func (*QueryDenomBySymbolResponse) Reset ¶
func (m *QueryDenomBySymbolResponse) Reset()
func (*QueryDenomBySymbolResponse) Size ¶
func (m *QueryDenomBySymbolResponse) Size() (n int)
func (*QueryDenomBySymbolResponse) String ¶
func (m *QueryDenomBySymbolResponse) String() string
func (*QueryDenomBySymbolResponse) Unmarshal ¶
func (m *QueryDenomBySymbolResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomBySymbolResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomBySymbolResponse) XXX_DiscardUnknown()
func (*QueryDenomBySymbolResponse) XXX_Marshal ¶
func (m *QueryDenomBySymbolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomBySymbolResponse) XXX_Merge ¶
func (m *QueryDenomBySymbolResponse) XXX_Merge(src proto.Message)
func (*QueryDenomBySymbolResponse) XXX_Size ¶
func (m *QueryDenomBySymbolResponse) XXX_Size() int
func (*QueryDenomBySymbolResponse) XXX_Unmarshal ¶
func (m *QueryDenomBySymbolResponse) XXX_Unmarshal(b []byte) error
type QueryDenomRequest ¶
type QueryDenomRequest struct {
DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
}
QueryDenomRequest is the request type for the Query/Denom RPC method
func (*QueryDenomRequest) Descriptor ¶
func (*QueryDenomRequest) Descriptor() ([]byte, []int)
func (*QueryDenomRequest) GetDenomId ¶
func (m *QueryDenomRequest) GetDenomId() string
func (*QueryDenomRequest) Marshal ¶
func (m *QueryDenomRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomRequest) MarshalTo ¶
func (m *QueryDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomRequest) ProtoMessage ¶
func (*QueryDenomRequest) ProtoMessage()
func (*QueryDenomRequest) Reset ¶
func (m *QueryDenomRequest) Reset()
func (*QueryDenomRequest) Size ¶
func (m *QueryDenomRequest) Size() (n int)
func (*QueryDenomRequest) String ¶
func (m *QueryDenomRequest) String() string
func (*QueryDenomRequest) Unmarshal ¶
func (m *QueryDenomRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomRequest) XXX_DiscardUnknown()
func (*QueryDenomRequest) XXX_Marshal ¶
func (m *QueryDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomRequest) XXX_Merge ¶
func (m *QueryDenomRequest) XXX_Merge(src proto.Message)
func (*QueryDenomRequest) XXX_Size ¶
func (m *QueryDenomRequest) XXX_Size() int
func (*QueryDenomRequest) XXX_Unmarshal ¶
func (m *QueryDenomRequest) XXX_Unmarshal(b []byte) error
type QueryDenomResponse ¶
type QueryDenomResponse struct {
Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
QueryDenomResponse is the response type for the Query/Denom RPC method
func (*QueryDenomResponse) Descriptor ¶
func (*QueryDenomResponse) Descriptor() ([]byte, []int)
func (*QueryDenomResponse) GetDenom ¶
func (m *QueryDenomResponse) GetDenom() *Denom
func (*QueryDenomResponse) Marshal ¶
func (m *QueryDenomResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomResponse) MarshalTo ¶
func (m *QueryDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomResponse) ProtoMessage ¶
func (*QueryDenomResponse) ProtoMessage()
func (*QueryDenomResponse) Reset ¶
func (m *QueryDenomResponse) Reset()
func (*QueryDenomResponse) Size ¶
func (m *QueryDenomResponse) Size() (n int)
func (*QueryDenomResponse) String ¶
func (m *QueryDenomResponse) String() string
func (*QueryDenomResponse) Unmarshal ¶
func (m *QueryDenomResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomResponse) XXX_DiscardUnknown()
func (*QueryDenomResponse) XXX_Marshal ¶
func (m *QueryDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomResponse) XXX_Merge ¶
func (m *QueryDenomResponse) XXX_Merge(src proto.Message)
func (*QueryDenomResponse) XXX_Size ¶
func (m *QueryDenomResponse) XXX_Size() int
func (*QueryDenomResponse) XXX_Unmarshal ¶
func (m *QueryDenomResponse) XXX_Unmarshal(b []byte) error
type QueryDenomsRequest ¶
type QueryDenomsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsRequest is the request type for the Query/Denoms RPC method
func (*QueryDenomsRequest) Descriptor ¶
func (*QueryDenomsRequest) Descriptor() ([]byte, []int)
func (*QueryDenomsRequest) GetPagination ¶
func (m *QueryDenomsRequest) GetPagination() *query.PageRequest
func (*QueryDenomsRequest) Marshal ¶
func (m *QueryDenomsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomsRequest) MarshalTo ¶
func (m *QueryDenomsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsRequest) ProtoMessage ¶
func (*QueryDenomsRequest) ProtoMessage()
func (*QueryDenomsRequest) Reset ¶
func (m *QueryDenomsRequest) Reset()
func (*QueryDenomsRequest) Size ¶
func (m *QueryDenomsRequest) Size() (n int)
func (*QueryDenomsRequest) String ¶
func (m *QueryDenomsRequest) String() string
func (*QueryDenomsRequest) Unmarshal ¶
func (m *QueryDenomsRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomsRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomsRequest) XXX_DiscardUnknown()
func (*QueryDenomsRequest) XXX_Marshal ¶
func (m *QueryDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsRequest) XXX_Merge ¶
func (m *QueryDenomsRequest) XXX_Merge(src proto.Message)
func (*QueryDenomsRequest) XXX_Size ¶
func (m *QueryDenomsRequest) XXX_Size() int
func (*QueryDenomsRequest) XXX_Unmarshal ¶
func (m *QueryDenomsRequest) XXX_Unmarshal(b []byte) error
type QueryDenomsResponse ¶
type QueryDenomsResponse struct { Denoms []Denom `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsResponse is the response type for the Query/Denoms RPC method
func (*QueryDenomsResponse) Descriptor ¶
func (*QueryDenomsResponse) Descriptor() ([]byte, []int)
func (*QueryDenomsResponse) GetDenoms ¶
func (m *QueryDenomsResponse) GetDenoms() []Denom
func (*QueryDenomsResponse) GetPagination ¶
func (m *QueryDenomsResponse) GetPagination() *query.PageResponse
func (*QueryDenomsResponse) Marshal ¶
func (m *QueryDenomsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomsResponse) MarshalTo ¶
func (m *QueryDenomsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsResponse) ProtoMessage ¶
func (*QueryDenomsResponse) ProtoMessage()
func (*QueryDenomsResponse) Reset ¶
func (m *QueryDenomsResponse) Reset()
func (*QueryDenomsResponse) Size ¶
func (m *QueryDenomsResponse) Size() (n int)
func (*QueryDenomsResponse) String ¶
func (m *QueryDenomsResponse) String() string
func (*QueryDenomsResponse) Unmarshal ¶
func (m *QueryDenomsResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomsResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomsResponse) XXX_DiscardUnknown()
func (*QueryDenomsResponse) XXX_Marshal ¶
func (m *QueryDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsResponse) XXX_Merge ¶
func (m *QueryDenomsResponse) XXX_Merge(src proto.Message)
func (*QueryDenomsResponse) XXX_Size ¶
func (m *QueryDenomsResponse) XXX_Size() int
func (*QueryDenomsResponse) XXX_Unmarshal ¶
func (m *QueryDenomsResponse) XXX_Unmarshal(b []byte) error
type QueryNFTRequest ¶
type QueryNFTRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" yaml:"token_id"` }
QueryNFTRequest is the request type for the Query/NFT RPC method
func (*QueryNFTRequest) Descriptor ¶
func (*QueryNFTRequest) Descriptor() ([]byte, []int)
func (*QueryNFTRequest) GetDenomId ¶
func (m *QueryNFTRequest) GetDenomId() string
func (*QueryNFTRequest) GetTokenId ¶
func (m *QueryNFTRequest) GetTokenId() string
func (*QueryNFTRequest) Marshal ¶
func (m *QueryNFTRequest) Marshal() (dAtA []byte, err error)
func (*QueryNFTRequest) MarshalToSizedBuffer ¶
func (m *QueryNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNFTRequest) ProtoMessage ¶
func (*QueryNFTRequest) ProtoMessage()
func (*QueryNFTRequest) Reset ¶
func (m *QueryNFTRequest) Reset()
func (*QueryNFTRequest) Size ¶
func (m *QueryNFTRequest) Size() (n int)
func (*QueryNFTRequest) String ¶
func (m *QueryNFTRequest) String() string
func (*QueryNFTRequest) Unmarshal ¶
func (m *QueryNFTRequest) Unmarshal(dAtA []byte) error
func (*QueryNFTRequest) XXX_DiscardUnknown ¶
func (m *QueryNFTRequest) XXX_DiscardUnknown()
func (*QueryNFTRequest) XXX_Marshal ¶
func (m *QueryNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNFTRequest) XXX_Merge ¶
func (m *QueryNFTRequest) XXX_Merge(src proto.Message)
func (*QueryNFTRequest) XXX_Size ¶
func (m *QueryNFTRequest) XXX_Size() int
func (*QueryNFTRequest) XXX_Unmarshal ¶
func (m *QueryNFTRequest) XXX_Unmarshal(b []byte) error
type QueryNFTResponse ¶
type QueryNFTResponse struct {
NFT *BaseNFT `protobuf:"bytes,1,opt,name=nft,proto3" json:"nft,omitempty"`
}
QueryNFTResponse is the response type for the Query/NFT RPC method
func (*QueryNFTResponse) Descriptor ¶
func (*QueryNFTResponse) Descriptor() ([]byte, []int)
func (*QueryNFTResponse) GetNFT ¶
func (m *QueryNFTResponse) GetNFT() *BaseNFT
func (*QueryNFTResponse) Marshal ¶
func (m *QueryNFTResponse) Marshal() (dAtA []byte, err error)
func (*QueryNFTResponse) MarshalToSizedBuffer ¶
func (m *QueryNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNFTResponse) ProtoMessage ¶
func (*QueryNFTResponse) ProtoMessage()
func (*QueryNFTResponse) Reset ¶
func (m *QueryNFTResponse) Reset()
func (*QueryNFTResponse) Size ¶
func (m *QueryNFTResponse) Size() (n int)
func (*QueryNFTResponse) String ¶
func (m *QueryNFTResponse) String() string
func (*QueryNFTResponse) Unmarshal ¶
func (m *QueryNFTResponse) Unmarshal(dAtA []byte) error
func (*QueryNFTResponse) XXX_DiscardUnknown ¶
func (m *QueryNFTResponse) XXX_DiscardUnknown()
func (*QueryNFTResponse) XXX_Marshal ¶
func (m *QueryNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNFTResponse) XXX_Merge ¶
func (m *QueryNFTResponse) XXX_Merge(src proto.Message)
func (*QueryNFTResponse) XXX_Size ¶
func (m *QueryNFTResponse) XXX_Size() int
func (*QueryNFTResponse) XXX_Unmarshal ¶
func (m *QueryNFTResponse) XXX_Unmarshal(b []byte) error
type QueryOwnerRequest ¶
type QueryOwnerRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryOwnerRequest is the request type for the Query/Owner RPC method
func (*QueryOwnerRequest) Descriptor ¶
func (*QueryOwnerRequest) Descriptor() ([]byte, []int)
func (*QueryOwnerRequest) GetDenomId ¶
func (m *QueryOwnerRequest) GetDenomId() string
func (*QueryOwnerRequest) GetOwner ¶
func (m *QueryOwnerRequest) GetOwner() string
func (*QueryOwnerRequest) GetPagination ¶
func (m *QueryOwnerRequest) GetPagination() *query.PageRequest
func (*QueryOwnerRequest) Marshal ¶
func (m *QueryOwnerRequest) Marshal() (dAtA []byte, err error)
func (*QueryOwnerRequest) MarshalTo ¶
func (m *QueryOwnerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOwnerRequest) MarshalToSizedBuffer ¶
func (m *QueryOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOwnerRequest) ProtoMessage ¶
func (*QueryOwnerRequest) ProtoMessage()
func (*QueryOwnerRequest) Reset ¶
func (m *QueryOwnerRequest) Reset()
func (*QueryOwnerRequest) Size ¶
func (m *QueryOwnerRequest) Size() (n int)
func (*QueryOwnerRequest) String ¶
func (m *QueryOwnerRequest) String() string
func (*QueryOwnerRequest) Unmarshal ¶
func (m *QueryOwnerRequest) Unmarshal(dAtA []byte) error
func (*QueryOwnerRequest) XXX_DiscardUnknown ¶
func (m *QueryOwnerRequest) XXX_DiscardUnknown()
func (*QueryOwnerRequest) XXX_Marshal ¶
func (m *QueryOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOwnerRequest) XXX_Merge ¶
func (m *QueryOwnerRequest) XXX_Merge(src proto.Message)
func (*QueryOwnerRequest) XXX_Size ¶
func (m *QueryOwnerRequest) XXX_Size() int
func (*QueryOwnerRequest) XXX_Unmarshal ¶
func (m *QueryOwnerRequest) XXX_Unmarshal(b []byte) error
type QueryOwnerResponse ¶
type QueryOwnerResponse struct { Owner *Owner `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryOwnerResponse is the response type for the Query/Owner RPC method
func (*QueryOwnerResponse) Descriptor ¶
func (*QueryOwnerResponse) Descriptor() ([]byte, []int)
func (*QueryOwnerResponse) GetOwner ¶
func (m *QueryOwnerResponse) GetOwner() *Owner
func (*QueryOwnerResponse) GetPagination ¶
func (m *QueryOwnerResponse) GetPagination() *query.PageResponse
func (*QueryOwnerResponse) Marshal ¶
func (m *QueryOwnerResponse) Marshal() (dAtA []byte, err error)
func (*QueryOwnerResponse) MarshalTo ¶
func (m *QueryOwnerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOwnerResponse) MarshalToSizedBuffer ¶
func (m *QueryOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOwnerResponse) ProtoMessage ¶
func (*QueryOwnerResponse) ProtoMessage()
func (*QueryOwnerResponse) Reset ¶
func (m *QueryOwnerResponse) Reset()
func (*QueryOwnerResponse) Size ¶
func (m *QueryOwnerResponse) Size() (n int)
func (*QueryOwnerResponse) String ¶
func (m *QueryOwnerResponse) String() string
func (*QueryOwnerResponse) Unmarshal ¶
func (m *QueryOwnerResponse) Unmarshal(dAtA []byte) error
func (*QueryOwnerResponse) XXX_DiscardUnknown ¶
func (m *QueryOwnerResponse) XXX_DiscardUnknown()
func (*QueryOwnerResponse) XXX_Marshal ¶
func (m *QueryOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOwnerResponse) XXX_Merge ¶
func (m *QueryOwnerResponse) XXX_Merge(src proto.Message)
func (*QueryOwnerResponse) XXX_Size ¶
func (m *QueryOwnerResponse) XXX_Size() int
func (*QueryOwnerResponse) XXX_Unmarshal ¶
func (m *QueryOwnerResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Supply queries the total supply of a given denom or owner Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error) // Owner queries the NFTs of the specified owner Owner(context.Context, *QueryOwnerRequest) (*QueryOwnerResponse, error) // Collection queries the NFTs of the specified denom Collection(context.Context, *QueryCollectionRequest) (*QueryCollectionResponse, error) // Collection queries the NFTs of the specified denom CollectionsByDenomIds(context.Context, *QueryCollectionsByIdsRequest) (*QueryCollectionByIdsResponse, error) // Denom queries the definition of a given denom Denom(context.Context, *QueryDenomRequest) (*QueryDenomResponse, error) // DenomByName queries the definition of a given denom by name DenomByName(context.Context, *QueryDenomByNameRequest) (*QueryDenomByNameResponse, error) // DenomByName queries the definition of a given denom by name DenomBySymbol(context.Context, *QueryDenomBySymbolRequest) (*QueryDenomBySymbolResponse, error) // Denoms queries all the denoms Denoms(context.Context, *QueryDenomsRequest) (*QueryDenomsResponse, error) // NFT queries the NFT for the given denom and token ID NFT(context.Context, *QueryNFTRequest) (*QueryNFTResponse, error) // NFT queries the NFT for the given denom and token ID GetApprovalsNFT(context.Context, *QueryApprovalsNFTRequest) (*QueryApprovalsNFTResponse, error) // NFT queries the NFT for the given denom and token ID QueryApprovalsIsApprovedForAll(context.Context, *QueryApprovalsIsApprovedForAllRequest) (*QueryApprovalsIsApprovedForAllResponse, error) }
QueryServer is the server API for Query service.
type QuerySupplyRequest ¶
type QuerySupplyRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` }
QuerySupplyRequest is the request type for the Query/HTLC RPC method
func (*QuerySupplyRequest) Descriptor ¶
func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
func (*QuerySupplyRequest) GetDenomId ¶
func (m *QuerySupplyRequest) GetDenomId() string
func (*QuerySupplyRequest) GetOwner ¶
func (m *QuerySupplyRequest) GetOwner() string
func (*QuerySupplyRequest) Marshal ¶
func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)
func (*QuerySupplyRequest) MarshalTo ¶
func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyRequest) MarshalToSizedBuffer ¶
func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyRequest) ProtoMessage ¶
func (*QuerySupplyRequest) ProtoMessage()
func (*QuerySupplyRequest) Reset ¶
func (m *QuerySupplyRequest) Reset()
func (*QuerySupplyRequest) Size ¶
func (m *QuerySupplyRequest) Size() (n int)
func (*QuerySupplyRequest) String ¶
func (m *QuerySupplyRequest) String() string
func (*QuerySupplyRequest) Unmarshal ¶
func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error
func (*QuerySupplyRequest) XXX_DiscardUnknown ¶
func (m *QuerySupplyRequest) XXX_DiscardUnknown()
func (*QuerySupplyRequest) XXX_Marshal ¶
func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyRequest) XXX_Merge ¶
func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)
func (*QuerySupplyRequest) XXX_Size ¶
func (m *QuerySupplyRequest) XXX_Size() int
func (*QuerySupplyRequest) XXX_Unmarshal ¶
func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error
type QuerySupplyResponse ¶
type QuerySupplyResponse struct {
Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount"`
}
QuerySupplyResponse is the response type for the Query/Supply RPC method
func (*QuerySupplyResponse) Descriptor ¶
func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
func (*QuerySupplyResponse) GetAmount ¶
func (m *QuerySupplyResponse) GetAmount() uint64
func (*QuerySupplyResponse) Marshal ¶
func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)
func (*QuerySupplyResponse) MarshalTo ¶
func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyResponse) MarshalToSizedBuffer ¶
func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyResponse) ProtoMessage ¶
func (*QuerySupplyResponse) ProtoMessage()
func (*QuerySupplyResponse) Reset ¶
func (m *QuerySupplyResponse) Reset()
func (*QuerySupplyResponse) Size ¶
func (m *QuerySupplyResponse) Size() (n int)
func (*QuerySupplyResponse) String ¶
func (m *QuerySupplyResponse) String() string
func (*QuerySupplyResponse) Unmarshal ¶
func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error
func (*QuerySupplyResponse) XXX_DiscardUnknown ¶
func (m *QuerySupplyResponse) XXX_DiscardUnknown()
func (*QuerySupplyResponse) XXX_Marshal ¶
func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyResponse) XXX_Merge ¶
func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)
func (*QuerySupplyResponse) XXX_Size ¶
func (m *QuerySupplyResponse) XXX_Size() int
func (*QuerySupplyResponse) XXX_Unmarshal ¶
func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ApproveAllNft ¶
func (*UnimplementedMsgServer) ApproveAllNft(ctx context.Context, req *MsgApproveAllNft) (*MsgApproveAllNftResponse, error)
func (*UnimplementedMsgServer) ApproveNft ¶
func (*UnimplementedMsgServer) ApproveNft(ctx context.Context, req *MsgApproveNft) (*MsgApproveNftResponse, error)
func (*UnimplementedMsgServer) BurnNFT ¶
func (*UnimplementedMsgServer) BurnNFT(ctx context.Context, req *MsgBurnNFT) (*MsgBurnNFTResponse, error)
func (*UnimplementedMsgServer) EditNFT ¶
func (*UnimplementedMsgServer) EditNFT(ctx context.Context, req *MsgEditNFT) (*MsgEditNFTResponse, error)
func (*UnimplementedMsgServer) IssueDenom ¶
func (*UnimplementedMsgServer) IssueDenom(ctx context.Context, req *MsgIssueDenom) (*MsgIssueDenomResponse, error)
func (*UnimplementedMsgServer) MintNFT ¶
func (*UnimplementedMsgServer) MintNFT(ctx context.Context, req *MsgMintNFT) (*MsgMintNFTResponse, error)
func (*UnimplementedMsgServer) RevokeNft ¶
func (*UnimplementedMsgServer) RevokeNft(ctx context.Context, req *MsgRevokeNft) (*MsgRevokeNftResponse, error)
func (*UnimplementedMsgServer) TransferDenom ¶ added in v1.1.0
func (*UnimplementedMsgServer) TransferDenom(ctx context.Context, req *MsgTransferDenom) (*MsgTransferDenomResponse, error)
func (*UnimplementedMsgServer) TransferNft ¶
func (*UnimplementedMsgServer) TransferNft(ctx context.Context, req *MsgTransferNft) (*MsgTransferNftResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Collection ¶
func (*UnimplementedQueryServer) Collection(ctx context.Context, req *QueryCollectionRequest) (*QueryCollectionResponse, error)
func (*UnimplementedQueryServer) CollectionsByDenomIds ¶ added in v1.1.1
func (*UnimplementedQueryServer) CollectionsByDenomIds(ctx context.Context, req *QueryCollectionsByIdsRequest) (*QueryCollectionByIdsResponse, error)
func (*UnimplementedQueryServer) Denom ¶
func (*UnimplementedQueryServer) Denom(ctx context.Context, req *QueryDenomRequest) (*QueryDenomResponse, error)
func (*UnimplementedQueryServer) DenomByName ¶
func (*UnimplementedQueryServer) DenomByName(ctx context.Context, req *QueryDenomByNameRequest) (*QueryDenomByNameResponse, error)
func (*UnimplementedQueryServer) DenomBySymbol ¶
func (*UnimplementedQueryServer) DenomBySymbol(ctx context.Context, req *QueryDenomBySymbolRequest) (*QueryDenomBySymbolResponse, error)
func (*UnimplementedQueryServer) Denoms ¶
func (*UnimplementedQueryServer) Denoms(ctx context.Context, req *QueryDenomsRequest) (*QueryDenomsResponse, error)
func (*UnimplementedQueryServer) GetApprovalsNFT ¶
func (*UnimplementedQueryServer) GetApprovalsNFT(ctx context.Context, req *QueryApprovalsNFTRequest) (*QueryApprovalsNFTResponse, error)
func (*UnimplementedQueryServer) NFT ¶
func (*UnimplementedQueryServer) NFT(ctx context.Context, req *QueryNFTRequest) (*QueryNFTResponse, error)
func (*UnimplementedQueryServer) Owner ¶
func (*UnimplementedQueryServer) Owner(ctx context.Context, req *QueryOwnerRequest) (*QueryOwnerResponse, error)
func (*UnimplementedQueryServer) QueryApprovalsIsApprovedForAll ¶
func (*UnimplementedQueryServer) QueryApprovalsIsApprovedForAll(ctx context.Context, req *QueryApprovalsIsApprovedForAllRequest) (*QueryApprovalsIsApprovedForAllResponse, error)
func (*UnimplementedQueryServer) Supply ¶
func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)