types

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 33 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

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

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

	AdminDenom = "cudosAdmin"
)
View Source
const (
	CollectionKey        = "Collection-value-"
	CollectionCountKey   = "Collection-count-"
	CollectionDenomIDKey = "Collection-denom-id"
)
View Source
const (
	NftKey             = "Nft-value-"
	NftCountKey        = "Nft-count-"
	NextUniqueIdKey    = "Next-unique-id-"
	NftDenomTokenIDKey = "Nft-denom-token-id-"
)
View Source
const (
	AdminsKey = "Admins-"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const TypeMsgAddAdmin = "add_admin"
View Source
const TypeMsgBuyNft = "buy_nft"
View Source
const TypeMsgCreateCollection = "create_collection"
View Source
const TypeMsgMintNft = "mint_nft"
View Source
const TypeMsgPublishCollection = "publish_collection"
View Source
const TypeMsgPublishNft = "publish_nft"
View Source
const TypeMsgRemoveAdmin = "remove_admin"
View Source
const TypeMsgRemoveNft = "remove_nft"
View Source
const TypeMsgUnverifyCollection = "unverify_collection"
View Source
const TypeMsgUpdatePrice = "update_price"
View Source
const TypeMsgUpdateRoyalties = "update_royalties"
View Source
const TypeMsgVerifyCollection = "verify_collection"

Variables

View Source
var (
	ErrInvalidLengthAdmins        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAdmins          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAdmins = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCollection        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCollection          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCollection = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidRoyaltyPercent          = sdkerrors.Register(ModuleName, 1100, "invalid royalty percent")
	ErrInvalidRoyaltyPercentPrecision = sdkerrors.Register(ModuleName, 1101, "invalid royalty percent precision")
	ErrEmptyDenomID                   = sdkerrors.Register(ModuleName, 1102, "empty denom id")
	ErrNotDenomOwner                  = sdkerrors.Register(ModuleName, 1103, "not denom owner")
	ErrCollectionAlreadyPublished     = sdkerrors.Register(ModuleName, 1104, "collection already published")
	ErrEmptyNftID                     = sdkerrors.Register(ModuleName, 1105, "empty nft id")
	ErrInvalidPrice                   = sdkerrors.Register(ModuleName, 1106, "invalid price")
	ErrNftNotFound                    = sdkerrors.Register(ModuleName, 1107, "nft not found")
	ErrCannotBuyOwnNft                = sdkerrors.Register(ModuleName, 1108, "cannot buy own nft")
	ErrCollectionNotFound             = sdkerrors.Register(ModuleName, 1109, "collection not published for sale")
	ErrNotNftOwner                    = sdkerrors.Register(ModuleName, 1110, "not nft owner")
	ErrNftAlreadyPublished            = sdkerrors.Register(ModuleName, 1111, "nft already published")
	ErrAlreadyAdmin                   = sdkerrors.Register(ModuleName, 1112, "already admin")
	ErrCollectionAlreadyVerified      = sdkerrors.Register(ModuleName, 1113, "collection is already verified")
	ErrCollectionAlreadyUnverified    = sdkerrors.Register(ModuleName, 1114, "collection is already unverified")
	ErrCollectionIsUnverified         = sdkerrors.Register(ModuleName, 1115, "collection is unverified")
	ErrNotCollectionOwner             = sdkerrors.Register(ModuleName, 1116, "not collection owner")
	ErrNotAdmin                       = sdkerrors.Register(ModuleName, 1117, "not admin")
)

x/marketplace module sentinel errors

View Source
var (
	EventPublishCollectionType  = "publish_collection"
	EventPublishNftType         = "publish_nft"
	EventBuyNftType             = "buy_nft"
	EventMintNftType            = "marketplace_mint_nft"
	EventRemoveNftType          = "remove_nft"
	EventVerifyCollectionType   = "verify_collection"
	EventUnverifyCollectionType = "unverify_collection"
	EventCreateCollectionType   = "create_collection"
	EventUpdateRoyaltiesType    = "update_royalties"
	EventUpdatePriceType        = "update_price"
	EventAddAdminType           = "add_admin"
	EventRemoveAdminType        = "remove_admin"

	AttributeValueCategory = ModuleName

	AttributeKeyCollectionID = "collection_id"
	AttributeKeyDenomID      = "denom_id"
	AttributeKeyCreator      = "creator"
	AttributeKeyTokenID      = "token_id"
	AttributeKeyNftID        = "nft_id"
	AttributeKeyPrice        = "price"
	AttributeKeyBuyer        = "buyer"
	AttributeKeyOwner        = "owner"
	AttributeKeyAddress      = "address"
	AttributeKeyUID          = "uid"
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthNft        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNft          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNft = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRoyalty        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRoyalty          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRoyalty = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func BytesToUint64

func BytesToUint64(value []byte) uint64

func KeyAdmins

func KeyAdmins() []byte

func KeyCollectionDenomID

func KeyCollectionDenomID(denomID string) []byte

func KeyNftDenomTokenID

func KeyNftDenomTokenID(denomID, tokenID string) []byte

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func Uint64ToBytes

func Uint64ToBytes(value uint64) []byte

func ValidateMintRoyalties

func ValidateMintRoyalties(royalties []Royalty) error

func ValidateResaleRoyalties

func ValidateResaleRoyalties(royalties []Royalty) error

func ValidateRoyalties

func ValidateRoyalties(royalties []Royalty, requiredPercent *sdk.Dec) error

Types

type AccountKeeper

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

AccountKeeper defines the expected account keeper used for simulations (noalias)

type Admins

type Admins struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}

func (*Admins) Descriptor

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

func (*Admins) Equal

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

func (*Admins) GetAddresses

func (m *Admins) GetAddresses() []string

func (*Admins) Marshal

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

func (*Admins) MarshalTo

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

func (*Admins) MarshalToSizedBuffer

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

func (*Admins) ProtoMessage

func (*Admins) ProtoMessage()

func (*Admins) Reset

func (m *Admins) Reset()

func (*Admins) Size

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

func (*Admins) String

func (m *Admins) String() string

func (*Admins) Unmarshal

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

func (*Admins) XXX_DiscardUnknown

func (m *Admins) XXX_DiscardUnknown()

func (*Admins) XXX_Marshal

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

func (*Admins) XXX_Merge

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

func (*Admins) XXX_Size

func (m *Admins) XXX_Size() int

func (*Admins) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToAccount(ctx sdk.Context, formModule string, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, fromAddr sdk.AccAddress, toModule string, amt sdk.Coins) error
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
}

BankKeeper defines the expected interface needed to retrieve account balances.

type Collection

type Collection struct {
	Id              uint64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomId         string    `protobuf:"bytes,2,opt,name=denomId,proto3" json:"denomId,omitempty"`
	MintRoyalties   []Royalty `protobuf:"bytes,3,rep,name=mintRoyalties,proto3" json:"mintRoyalties"`
	ResaleRoyalties []Royalty `protobuf:"bytes,4,rep,name=resaleRoyalties,proto3" json:"resaleRoyalties"`
	Verified        bool      `protobuf:"varint,5,opt,name=verified,proto3" json:"verified,omitempty"`
	Owner           string    `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
}

Collection listed for sale in the marketplace

func NewCollection

func NewCollection(denomId string, mintRoyalties, resaleRoyalties []Royalty, owner string, verified bool) Collection

func (*Collection) Descriptor

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

func (*Collection) GetDenomId

func (m *Collection) GetDenomId() string

func (*Collection) GetId

func (m *Collection) GetId() uint64

func (*Collection) GetMintRoyalties

func (m *Collection) GetMintRoyalties() []Royalty

func (*Collection) GetOwner

func (m *Collection) GetOwner() string

func (*Collection) GetResaleRoyalties

func (m *Collection) GetResaleRoyalties() []Royalty

func (*Collection) GetVerified

func (m *Collection) GetVerified() bool

func (*Collection) Marshal

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

func (*Collection) MarshalTo

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

func (*Collection) MarshalToSizedBuffer

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

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) Reset

func (m *Collection) Reset()

func (*Collection) Size

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

func (*Collection) String

func (m *Collection) String() string

func (*Collection) Unmarshal

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

func (*Collection) XXX_DiscardUnknown

func (m *Collection) XXX_DiscardUnknown()

func (*Collection) XXX_Marshal

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

func (*Collection) XXX_Merge

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

func (*Collection) XXX_Size

func (m *Collection) XXX_Size() int

func (*Collection) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params          Params       `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	CollectionList  []Collection `protobuf:"bytes,2,rep,name=collectionList,proto3" json:"collectionList"`
	CollectionCount uint64       `protobuf:"varint,3,opt,name=collectionCount,proto3" json:"collectionCount,omitempty"`
	NftList         []Nft        `protobuf:"bytes,4,rep,name=nftList,proto3" json:"nftList"`
	NftCount        uint64       `protobuf:"varint,5,opt,name=nftCount,proto3" json:"nftCount,omitempty"`
	NextUniqueId    uint64       `protobuf:"varint,6,opt,name=nextUniqueId,proto3" json:"nextUniqueId,omitempty"`
}

GenesisState defines the marketplace module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCollectionCount

func (m *GenesisState) GetCollectionCount() uint64

func (*GenesisState) GetCollectionList

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

func (*GenesisState) GetNextUniqueId

func (m *GenesisState) GetNextUniqueId() uint64

func (*GenesisState) GetNftCount

func (m *GenesisState) GetNftCount() uint64

func (*GenesisState) GetNftList

func (m *GenesisState) GetNftList() []Nft

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgAddAdmin

type MsgAddAdmin struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgAddAdmin

func NewMsgAddAdmin(creator string, address string) *MsgAddAdmin

func (*MsgAddAdmin) Descriptor

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

func (*MsgAddAdmin) GetAddress

func (m *MsgAddAdmin) GetAddress() string

func (*MsgAddAdmin) GetCreator

func (m *MsgAddAdmin) GetCreator() string

func (*MsgAddAdmin) GetSignBytes

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

func (*MsgAddAdmin) GetSigners

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

func (*MsgAddAdmin) Marshal

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

func (*MsgAddAdmin) MarshalTo

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

func (*MsgAddAdmin) MarshalToSizedBuffer

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

func (*MsgAddAdmin) ProtoMessage

func (*MsgAddAdmin) ProtoMessage()

func (*MsgAddAdmin) Reset

func (m *MsgAddAdmin) Reset()

func (*MsgAddAdmin) Route

func (msg *MsgAddAdmin) Route() string

func (*MsgAddAdmin) Size

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

func (*MsgAddAdmin) String

func (m *MsgAddAdmin) String() string

func (*MsgAddAdmin) Type

func (msg *MsgAddAdmin) Type() string

func (*MsgAddAdmin) Unmarshal

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

func (*MsgAddAdmin) ValidateBasic

func (msg *MsgAddAdmin) ValidateBasic() error

func (*MsgAddAdmin) XXX_DiscardUnknown

func (m *MsgAddAdmin) XXX_DiscardUnknown()

func (*MsgAddAdmin) XXX_Marshal

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

func (*MsgAddAdmin) XXX_Merge

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

func (*MsgAddAdmin) XXX_Size

func (m *MsgAddAdmin) XXX_Size() int

func (*MsgAddAdmin) XXX_Unmarshal

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

type MsgAddAdminResponse

type MsgAddAdminResponse struct {
}

func (*MsgAddAdminResponse) Descriptor

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

func (*MsgAddAdminResponse) Marshal

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

func (*MsgAddAdminResponse) MarshalTo

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

func (*MsgAddAdminResponse) MarshalToSizedBuffer

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

func (*MsgAddAdminResponse) ProtoMessage

func (*MsgAddAdminResponse) ProtoMessage()

func (*MsgAddAdminResponse) Reset

func (m *MsgAddAdminResponse) Reset()

func (*MsgAddAdminResponse) Size

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

func (*MsgAddAdminResponse) String

func (m *MsgAddAdminResponse) String() string

func (*MsgAddAdminResponse) Unmarshal

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

func (*MsgAddAdminResponse) XXX_DiscardUnknown

func (m *MsgAddAdminResponse) XXX_DiscardUnknown()

func (*MsgAddAdminResponse) XXX_Marshal

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

func (*MsgAddAdminResponse) XXX_Merge

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

func (*MsgAddAdminResponse) XXX_Size

func (m *MsgAddAdminResponse) XXX_Size() int

func (*MsgAddAdminResponse) XXX_Unmarshal

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

type MsgBuyNft

type MsgBuyNft struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func NewMsgBuyNft

func NewMsgBuyNft(creator string, id uint64) *MsgBuyNft

func (*MsgBuyNft) Descriptor

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

func (*MsgBuyNft) GetCreator

func (m *MsgBuyNft) GetCreator() string

func (*MsgBuyNft) GetId

func (m *MsgBuyNft) GetId() uint64

func (*MsgBuyNft) GetSignBytes

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

func (*MsgBuyNft) GetSigners

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

func (*MsgBuyNft) Marshal

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

func (*MsgBuyNft) MarshalTo

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

func (*MsgBuyNft) MarshalToSizedBuffer

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

func (*MsgBuyNft) ProtoMessage

func (*MsgBuyNft) ProtoMessage()

func (*MsgBuyNft) Reset

func (m *MsgBuyNft) Reset()

func (*MsgBuyNft) Route

func (msg *MsgBuyNft) Route() string

func (*MsgBuyNft) Size

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

func (*MsgBuyNft) String

func (m *MsgBuyNft) String() string

func (*MsgBuyNft) Type

func (msg *MsgBuyNft) Type() string

func (*MsgBuyNft) Unmarshal

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

func (*MsgBuyNft) ValidateBasic

func (msg *MsgBuyNft) ValidateBasic() error

func (*MsgBuyNft) XXX_DiscardUnknown

func (m *MsgBuyNft) XXX_DiscardUnknown()

func (*MsgBuyNft) XXX_Marshal

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

func (*MsgBuyNft) XXX_Merge

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

func (*MsgBuyNft) XXX_Size

func (m *MsgBuyNft) XXX_Size() int

func (*MsgBuyNft) XXX_Unmarshal

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

type MsgBuyNftResponse

type MsgBuyNftResponse struct {
}

func (*MsgBuyNftResponse) Descriptor

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

func (*MsgBuyNftResponse) Marshal

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

func (*MsgBuyNftResponse) MarshalTo

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

func (*MsgBuyNftResponse) MarshalToSizedBuffer

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

func (*MsgBuyNftResponse) ProtoMessage

func (*MsgBuyNftResponse) ProtoMessage()

func (*MsgBuyNftResponse) Reset

func (m *MsgBuyNftResponse) Reset()

func (*MsgBuyNftResponse) Size

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

func (*MsgBuyNftResponse) String

func (m *MsgBuyNftResponse) String() string

func (*MsgBuyNftResponse) Unmarshal

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

func (*MsgBuyNftResponse) XXX_DiscardUnknown

func (m *MsgBuyNftResponse) XXX_DiscardUnknown()

func (*MsgBuyNftResponse) XXX_Marshal

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

func (*MsgBuyNftResponse) XXX_Merge

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

func (*MsgBuyNftResponse) XXX_Size

func (m *MsgBuyNftResponse) XXX_Size() int

func (*MsgBuyNftResponse) XXX_Unmarshal

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

type MsgClient

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 MsgCreateCollection

type MsgCreateCollection struct {
	Creator         string    `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id              string    `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name            string    `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Schema          string    `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
	Symbol          string    `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Traits          string    `protobuf:"bytes,6,opt,name=traits,proto3" json:"traits,omitempty"`
	Description     string    `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	Minter          string    `protobuf:"bytes,8,opt,name=minter,proto3" json:"minter,omitempty"`
	Data            string    `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"`
	MintRoyalties   []Royalty `protobuf:"bytes,10,rep,name=mintRoyalties,proto3" json:"mintRoyalties"`
	ResaleRoyalties []Royalty `protobuf:"bytes,11,rep,name=resaleRoyalties,proto3" json:"resaleRoyalties"`
	Verified        bool      `protobuf:"varint,12,opt,name=verified,proto3" json:"verified,omitempty"`
}

func NewMsgCreateCollection

func NewMsgCreateCollection(creator, id, name, schema, symbol, traits, description, minter, data string, mintRoyalties, resaleRoyalties []Royalty, verified bool) *MsgCreateCollection

func (*MsgCreateCollection) Descriptor

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

func (*MsgCreateCollection) GetCreator

func (m *MsgCreateCollection) GetCreator() string

func (*MsgCreateCollection) GetData

func (m *MsgCreateCollection) GetData() string

func (*MsgCreateCollection) GetDescription

func (m *MsgCreateCollection) GetDescription() string

func (*MsgCreateCollection) GetId

func (m *MsgCreateCollection) GetId() string

func (*MsgCreateCollection) GetMintRoyalties

func (m *MsgCreateCollection) GetMintRoyalties() []Royalty

func (*MsgCreateCollection) GetMinter

func (m *MsgCreateCollection) GetMinter() string

func (*MsgCreateCollection) GetName

func (m *MsgCreateCollection) GetName() string

func (*MsgCreateCollection) GetResaleRoyalties

func (m *MsgCreateCollection) GetResaleRoyalties() []Royalty

func (*MsgCreateCollection) GetSchema

func (m *MsgCreateCollection) GetSchema() string

func (*MsgCreateCollection) GetSignBytes

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

func (*MsgCreateCollection) GetSigners

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

func (*MsgCreateCollection) GetSymbol

func (m *MsgCreateCollection) GetSymbol() string

func (*MsgCreateCollection) GetTraits

func (m *MsgCreateCollection) GetTraits() string

func (*MsgCreateCollection) GetVerified

func (m *MsgCreateCollection) GetVerified() bool

func (*MsgCreateCollection) Marshal

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

func (*MsgCreateCollection) MarshalTo

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

func (*MsgCreateCollection) MarshalToSizedBuffer

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

func (*MsgCreateCollection) ProtoMessage

func (*MsgCreateCollection) ProtoMessage()

func (*MsgCreateCollection) Reset

func (m *MsgCreateCollection) Reset()

func (*MsgCreateCollection) Route

func (msg *MsgCreateCollection) Route() string

func (*MsgCreateCollection) Size

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

func (*MsgCreateCollection) String

func (m *MsgCreateCollection) String() string

func (*MsgCreateCollection) Type

func (msg *MsgCreateCollection) Type() string

func (*MsgCreateCollection) Unmarshal

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

func (*MsgCreateCollection) ValidateBasic

func (msg *MsgCreateCollection) ValidateBasic() error

func (*MsgCreateCollection) XXX_DiscardUnknown

func (m *MsgCreateCollection) XXX_DiscardUnknown()

func (*MsgCreateCollection) XXX_Marshal

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

func (*MsgCreateCollection) XXX_Merge

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

func (*MsgCreateCollection) XXX_Size

func (m *MsgCreateCollection) XXX_Size() int

func (*MsgCreateCollection) XXX_Unmarshal

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

type MsgCreateCollectionResponse

type MsgCreateCollectionResponse struct {
}

func (*MsgCreateCollectionResponse) Descriptor

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

func (*MsgCreateCollectionResponse) Marshal

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

func (*MsgCreateCollectionResponse) MarshalTo

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

func (*MsgCreateCollectionResponse) MarshalToSizedBuffer

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

func (*MsgCreateCollectionResponse) ProtoMessage

func (*MsgCreateCollectionResponse) ProtoMessage()

func (*MsgCreateCollectionResponse) Reset

func (m *MsgCreateCollectionResponse) Reset()

func (*MsgCreateCollectionResponse) Size

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

func (*MsgCreateCollectionResponse) String

func (m *MsgCreateCollectionResponse) String() string

func (*MsgCreateCollectionResponse) Unmarshal

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

func (*MsgCreateCollectionResponse) XXX_DiscardUnknown

func (m *MsgCreateCollectionResponse) XXX_DiscardUnknown()

func (*MsgCreateCollectionResponse) XXX_Marshal

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

func (*MsgCreateCollectionResponse) XXX_Merge

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

func (*MsgCreateCollectionResponse) XXX_Size

func (m *MsgCreateCollectionResponse) XXX_Size() int

func (*MsgCreateCollectionResponse) XXX_Unmarshal

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

type MsgMintNft

type MsgMintNft struct {
	Creator   string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	DenomId   string     `protobuf:"bytes,2,opt,name=denomId,proto3" json:"denomId,omitempty"`
	Recipient string     `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Price     types.Coin `protobuf:"bytes,4,opt,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"price"`
	Name      string     `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Uri       string     `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"`
	Data      string     `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	Uid       string     `protobuf:"bytes,8,opt,name=uid,proto3" json:"uid,omitempty"`
}

func NewMsgMintNft

func NewMsgMintNft(creator, denomId, recipient, name, uri, data, uid string, price sdk.Coin) *MsgMintNft

func (*MsgMintNft) Descriptor

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

func (*MsgMintNft) GetCreator

func (m *MsgMintNft) GetCreator() string

func (*MsgMintNft) GetData

func (m *MsgMintNft) GetData() string

func (*MsgMintNft) GetDenomId

func (m *MsgMintNft) GetDenomId() string

func (*MsgMintNft) GetName

func (m *MsgMintNft) GetName() string

func (*MsgMintNft) GetPrice

func (m *MsgMintNft) GetPrice() types.Coin

func (*MsgMintNft) GetRecipient

func (m *MsgMintNft) GetRecipient() string

func (*MsgMintNft) GetSignBytes

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

func (*MsgMintNft) GetSigners

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

func (*MsgMintNft) GetUid

func (m *MsgMintNft) GetUid() string

func (*MsgMintNft) GetUri

func (m *MsgMintNft) GetUri() string

func (*MsgMintNft) Marshal

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

func (*MsgMintNft) MarshalTo

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

func (*MsgMintNft) MarshalToSizedBuffer

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

func (*MsgMintNft) ProtoMessage

func (*MsgMintNft) ProtoMessage()

func (*MsgMintNft) Reset

func (m *MsgMintNft) Reset()

func (*MsgMintNft) Route

func (msg *MsgMintNft) Route() string

func (*MsgMintNft) Size

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

func (*MsgMintNft) String

func (m *MsgMintNft) String() string

func (*MsgMintNft) Type

func (msg *MsgMintNft) Type() string

func (*MsgMintNft) Unmarshal

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

func (*MsgMintNft) ValidateBasic

func (msg *MsgMintNft) ValidateBasic() error

func (*MsgMintNft) XXX_DiscardUnknown

func (m *MsgMintNft) XXX_DiscardUnknown()

func (*MsgMintNft) XXX_Marshal

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

func (*MsgMintNft) XXX_Merge

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

func (*MsgMintNft) XXX_Size

func (m *MsgMintNft) XXX_Size() int

func (*MsgMintNft) XXX_Unmarshal

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

type MsgMintNftResponse

type MsgMintNftResponse struct {
}

func (*MsgMintNftResponse) Descriptor

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

func (*MsgMintNftResponse) Marshal

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

func (*MsgMintNftResponse) MarshalTo

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

func (*MsgMintNftResponse) MarshalToSizedBuffer

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

func (*MsgMintNftResponse) ProtoMessage

func (*MsgMintNftResponse) ProtoMessage()

func (*MsgMintNftResponse) Reset

func (m *MsgMintNftResponse) Reset()

func (*MsgMintNftResponse) Size

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

func (*MsgMintNftResponse) String

func (m *MsgMintNftResponse) String() string

func (*MsgMintNftResponse) Unmarshal

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

func (*MsgMintNftResponse) XXX_DiscardUnknown

func (m *MsgMintNftResponse) XXX_DiscardUnknown()

func (*MsgMintNftResponse) XXX_Marshal

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

func (*MsgMintNftResponse) XXX_Merge

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

func (*MsgMintNftResponse) XXX_Size

func (m *MsgMintNftResponse) XXX_Size() int

func (*MsgMintNftResponse) XXX_Unmarshal

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

type MsgPublishCollection

type MsgPublishCollection struct {
	Creator         string    `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	DenomId         string    `protobuf:"bytes,2,opt,name=denomId,proto3" json:"denomId,omitempty"`
	MintRoyalties   []Royalty `protobuf:"bytes,3,rep,name=mintRoyalties,proto3" json:"mintRoyalties"`
	ResaleRoyalties []Royalty `protobuf:"bytes,4,rep,name=resaleRoyalties,proto3" json:"resaleRoyalties"`
}

func NewMsgPublishCollection

func NewMsgPublishCollection(creator, denomId string, mintRoyalties, resaleRoyalties []Royalty) *MsgPublishCollection

func (*MsgPublishCollection) Descriptor

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

func (*MsgPublishCollection) GetCreator

func (m *MsgPublishCollection) GetCreator() string

func (*MsgPublishCollection) GetDenomId

func (m *MsgPublishCollection) GetDenomId() string

func (*MsgPublishCollection) GetMintRoyalties

func (m *MsgPublishCollection) GetMintRoyalties() []Royalty

func (*MsgPublishCollection) GetResaleRoyalties

func (m *MsgPublishCollection) GetResaleRoyalties() []Royalty

func (*MsgPublishCollection) GetSignBytes

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

func (*MsgPublishCollection) GetSigners

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

func (*MsgPublishCollection) Marshal

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

func (*MsgPublishCollection) MarshalTo

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

func (*MsgPublishCollection) MarshalToSizedBuffer

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

func (*MsgPublishCollection) ProtoMessage

func (*MsgPublishCollection) ProtoMessage()

func (*MsgPublishCollection) Reset

func (m *MsgPublishCollection) Reset()

func (*MsgPublishCollection) Route

func (msg *MsgPublishCollection) Route() string

func (*MsgPublishCollection) Size

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

func (*MsgPublishCollection) String

func (m *MsgPublishCollection) String() string

func (*MsgPublishCollection) Type

func (msg *MsgPublishCollection) Type() string

func (*MsgPublishCollection) Unmarshal

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

func (*MsgPublishCollection) ValidateBasic

func (msg *MsgPublishCollection) ValidateBasic() error

func (*MsgPublishCollection) XXX_DiscardUnknown

func (m *MsgPublishCollection) XXX_DiscardUnknown()

func (*MsgPublishCollection) XXX_Marshal

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

func (*MsgPublishCollection) XXX_Merge

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

func (*MsgPublishCollection) XXX_Size

func (m *MsgPublishCollection) XXX_Size() int

func (*MsgPublishCollection) XXX_Unmarshal

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

type MsgPublishCollectionResponse

type MsgPublishCollectionResponse struct {
}

func (*MsgPublishCollectionResponse) Descriptor

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

func (*MsgPublishCollectionResponse) Marshal

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

func (*MsgPublishCollectionResponse) MarshalTo

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

func (*MsgPublishCollectionResponse) MarshalToSizedBuffer

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

func (*MsgPublishCollectionResponse) ProtoMessage

func (*MsgPublishCollectionResponse) ProtoMessage()

func (*MsgPublishCollectionResponse) Reset

func (m *MsgPublishCollectionResponse) Reset()

func (*MsgPublishCollectionResponse) Size

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

func (*MsgPublishCollectionResponse) String

func (*MsgPublishCollectionResponse) Unmarshal

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

func (*MsgPublishCollectionResponse) XXX_DiscardUnknown

func (m *MsgPublishCollectionResponse) XXX_DiscardUnknown()

func (*MsgPublishCollectionResponse) XXX_Marshal

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

func (*MsgPublishCollectionResponse) XXX_Merge

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

func (*MsgPublishCollectionResponse) XXX_Size

func (m *MsgPublishCollectionResponse) XXX_Size() int

func (*MsgPublishCollectionResponse) XXX_Unmarshal

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

type MsgPublishNft

type MsgPublishNft struct {
	Creator string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	TokenId string     `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	DenomId string     `protobuf:"bytes,3,opt,name=denomId,proto3" json:"denomId,omitempty"`
	Price   types.Coin `protobuf:"bytes,4,opt,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"price"`
}

func NewMsgPublishNft

func NewMsgPublishNft(creator, tokenId, denomId string, price sdk.Coin) *MsgPublishNft

func (*MsgPublishNft) Descriptor

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

func (*MsgPublishNft) GetCreator

func (m *MsgPublishNft) GetCreator() string

func (*MsgPublishNft) GetDenomId

func (m *MsgPublishNft) GetDenomId() string

func (*MsgPublishNft) GetPrice

func (m *MsgPublishNft) GetPrice() types.Coin

func (*MsgPublishNft) GetSignBytes

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

func (*MsgPublishNft) GetSigners

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

func (*MsgPublishNft) GetTokenId

func (m *MsgPublishNft) GetTokenId() string

func (*MsgPublishNft) Marshal

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

func (*MsgPublishNft) MarshalTo

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

func (*MsgPublishNft) MarshalToSizedBuffer

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

func (*MsgPublishNft) ProtoMessage

func (*MsgPublishNft) ProtoMessage()

func (*MsgPublishNft) Reset

func (m *MsgPublishNft) Reset()

func (*MsgPublishNft) Route

func (msg *MsgPublishNft) Route() string

func (*MsgPublishNft) Size

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

func (*MsgPublishNft) String

func (m *MsgPublishNft) String() string

func (*MsgPublishNft) Type

func (msg *MsgPublishNft) Type() string

func (*MsgPublishNft) Unmarshal

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

func (*MsgPublishNft) ValidateBasic

func (msg *MsgPublishNft) ValidateBasic() error

func (*MsgPublishNft) XXX_DiscardUnknown

func (m *MsgPublishNft) XXX_DiscardUnknown()

func (*MsgPublishNft) XXX_Marshal

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

func (*MsgPublishNft) XXX_Merge

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

func (*MsgPublishNft) XXX_Size

func (m *MsgPublishNft) XXX_Size() int

func (*MsgPublishNft) XXX_Unmarshal

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

type MsgPublishNftResponse

type MsgPublishNftResponse struct {
}

func (*MsgPublishNftResponse) Descriptor

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

func (*MsgPublishNftResponse) Marshal

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

func (*MsgPublishNftResponse) MarshalTo

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

func (*MsgPublishNftResponse) MarshalToSizedBuffer

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

func (*MsgPublishNftResponse) ProtoMessage

func (*MsgPublishNftResponse) ProtoMessage()

func (*MsgPublishNftResponse) Reset

func (m *MsgPublishNftResponse) Reset()

func (*MsgPublishNftResponse) Size

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

func (*MsgPublishNftResponse) String

func (m *MsgPublishNftResponse) String() string

func (*MsgPublishNftResponse) Unmarshal

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

func (*MsgPublishNftResponse) XXX_DiscardUnknown

func (m *MsgPublishNftResponse) XXX_DiscardUnknown()

func (*MsgPublishNftResponse) XXX_Marshal

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

func (*MsgPublishNftResponse) XXX_Merge

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

func (*MsgPublishNftResponse) XXX_Size

func (m *MsgPublishNftResponse) XXX_Size() int

func (*MsgPublishNftResponse) XXX_Unmarshal

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

type MsgRemoveAdmin

type MsgRemoveAdmin struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgRemoveAdmin

func NewMsgRemoveAdmin(creator string, address string) *MsgRemoveAdmin

func (*MsgRemoveAdmin) Descriptor

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

func (*MsgRemoveAdmin) GetAddress

func (m *MsgRemoveAdmin) GetAddress() string

func (*MsgRemoveAdmin) GetCreator

func (m *MsgRemoveAdmin) GetCreator() string

func (*MsgRemoveAdmin) GetSignBytes

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

func (*MsgRemoveAdmin) GetSigners

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

func (*MsgRemoveAdmin) Marshal

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

func (*MsgRemoveAdmin) MarshalTo

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

func (*MsgRemoveAdmin) MarshalToSizedBuffer

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

func (*MsgRemoveAdmin) ProtoMessage

func (*MsgRemoveAdmin) ProtoMessage()

func (*MsgRemoveAdmin) Reset

func (m *MsgRemoveAdmin) Reset()

func (*MsgRemoveAdmin) Route

func (msg *MsgRemoveAdmin) Route() string

func (*MsgRemoveAdmin) Size

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

func (*MsgRemoveAdmin) String

func (m *MsgRemoveAdmin) String() string

func (*MsgRemoveAdmin) Type

func (msg *MsgRemoveAdmin) Type() string

func (*MsgRemoveAdmin) Unmarshal

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

func (*MsgRemoveAdmin) ValidateBasic

func (msg *MsgRemoveAdmin) ValidateBasic() error

func (*MsgRemoveAdmin) XXX_DiscardUnknown

func (m *MsgRemoveAdmin) XXX_DiscardUnknown()

func (*MsgRemoveAdmin) XXX_Marshal

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

func (*MsgRemoveAdmin) XXX_Merge

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

func (*MsgRemoveAdmin) XXX_Size

func (m *MsgRemoveAdmin) XXX_Size() int

func (*MsgRemoveAdmin) XXX_Unmarshal

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

type MsgRemoveAdminResponse

type MsgRemoveAdminResponse struct {
}

func (*MsgRemoveAdminResponse) Descriptor

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

func (*MsgRemoveAdminResponse) Marshal

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

func (*MsgRemoveAdminResponse) MarshalTo

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

func (*MsgRemoveAdminResponse) MarshalToSizedBuffer

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

func (*MsgRemoveAdminResponse) ProtoMessage

func (*MsgRemoveAdminResponse) ProtoMessage()

func (*MsgRemoveAdminResponse) Reset

func (m *MsgRemoveAdminResponse) Reset()

func (*MsgRemoveAdminResponse) Size

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

func (*MsgRemoveAdminResponse) String

func (m *MsgRemoveAdminResponse) String() string

func (*MsgRemoveAdminResponse) Unmarshal

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

func (*MsgRemoveAdminResponse) XXX_DiscardUnknown

func (m *MsgRemoveAdminResponse) XXX_DiscardUnknown()

func (*MsgRemoveAdminResponse) XXX_Marshal

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

func (*MsgRemoveAdminResponse) XXX_Merge

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

func (*MsgRemoveAdminResponse) XXX_Size

func (m *MsgRemoveAdminResponse) XXX_Size() int

func (*MsgRemoveAdminResponse) XXX_Unmarshal

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

type MsgRemoveNft

type MsgRemoveNft struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func NewMsgRemoveNft

func NewMsgRemoveNft(creator string, id uint64) *MsgRemoveNft

func (*MsgRemoveNft) Descriptor

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

func (*MsgRemoveNft) GetCreator

func (m *MsgRemoveNft) GetCreator() string

func (*MsgRemoveNft) GetId

func (m *MsgRemoveNft) GetId() uint64

func (*MsgRemoveNft) GetSignBytes

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

func (*MsgRemoveNft) GetSigners

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

func (*MsgRemoveNft) Marshal

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

func (*MsgRemoveNft) MarshalTo

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

func (*MsgRemoveNft) MarshalToSizedBuffer

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

func (*MsgRemoveNft) ProtoMessage

func (*MsgRemoveNft) ProtoMessage()

func (*MsgRemoveNft) Reset

func (m *MsgRemoveNft) Reset()

func (*MsgRemoveNft) Route

func (msg *MsgRemoveNft) Route() string

func (*MsgRemoveNft) Size

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

func (*MsgRemoveNft) String

func (m *MsgRemoveNft) String() string

func (*MsgRemoveNft) Type

func (msg *MsgRemoveNft) Type() string

func (*MsgRemoveNft) Unmarshal

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

func (*MsgRemoveNft) ValidateBasic

func (msg *MsgRemoveNft) ValidateBasic() error

func (*MsgRemoveNft) XXX_DiscardUnknown

func (m *MsgRemoveNft) XXX_DiscardUnknown()

func (*MsgRemoveNft) XXX_Marshal

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

func (*MsgRemoveNft) XXX_Merge

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

func (*MsgRemoveNft) XXX_Size

func (m *MsgRemoveNft) XXX_Size() int

func (*MsgRemoveNft) XXX_Unmarshal

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

type MsgRemoveNftResponse

type MsgRemoveNftResponse struct {
}

func (*MsgRemoveNftResponse) Descriptor

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

func (*MsgRemoveNftResponse) Marshal

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

func (*MsgRemoveNftResponse) MarshalTo

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

func (*MsgRemoveNftResponse) MarshalToSizedBuffer

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

func (*MsgRemoveNftResponse) ProtoMessage

func (*MsgRemoveNftResponse) ProtoMessage()

func (*MsgRemoveNftResponse) Reset

func (m *MsgRemoveNftResponse) Reset()

func (*MsgRemoveNftResponse) Size

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

func (*MsgRemoveNftResponse) String

func (m *MsgRemoveNftResponse) String() string

func (*MsgRemoveNftResponse) Unmarshal

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

func (*MsgRemoveNftResponse) XXX_DiscardUnknown

func (m *MsgRemoveNftResponse) XXX_DiscardUnknown()

func (*MsgRemoveNftResponse) XXX_Marshal

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

func (*MsgRemoveNftResponse) XXX_Merge

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

func (*MsgRemoveNftResponse) XXX_Size

func (m *MsgRemoveNftResponse) XXX_Size() int

func (*MsgRemoveNftResponse) XXX_Unmarshal

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

type MsgUnverifyCollection

type MsgUnverifyCollection struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func NewMsgUnverifyCollection

func NewMsgUnverifyCollection(creator string, id uint64) *MsgUnverifyCollection

func (*MsgUnverifyCollection) Descriptor

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

func (*MsgUnverifyCollection) GetCreator

func (m *MsgUnverifyCollection) GetCreator() string

func (*MsgUnverifyCollection) GetId

func (m *MsgUnverifyCollection) GetId() uint64

func (*MsgUnverifyCollection) GetSignBytes

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

func (*MsgUnverifyCollection) GetSigners

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

func (*MsgUnverifyCollection) Marshal

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

func (*MsgUnverifyCollection) MarshalTo

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

func (*MsgUnverifyCollection) MarshalToSizedBuffer

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

func (*MsgUnverifyCollection) ProtoMessage

func (*MsgUnverifyCollection) ProtoMessage()

func (*MsgUnverifyCollection) Reset

func (m *MsgUnverifyCollection) Reset()

func (*MsgUnverifyCollection) Route

func (msg *MsgUnverifyCollection) Route() string

func (*MsgUnverifyCollection) Size

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

func (*MsgUnverifyCollection) String

func (m *MsgUnverifyCollection) String() string

func (*MsgUnverifyCollection) Type

func (msg *MsgUnverifyCollection) Type() string

func (*MsgUnverifyCollection) Unmarshal

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

func (*MsgUnverifyCollection) ValidateBasic

func (msg *MsgUnverifyCollection) ValidateBasic() error

func (*MsgUnverifyCollection) XXX_DiscardUnknown

func (m *MsgUnverifyCollection) XXX_DiscardUnknown()

func (*MsgUnverifyCollection) XXX_Marshal

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

func (*MsgUnverifyCollection) XXX_Merge

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

func (*MsgUnverifyCollection) XXX_Size

func (m *MsgUnverifyCollection) XXX_Size() int

func (*MsgUnverifyCollection) XXX_Unmarshal

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

type MsgUnverifyCollectionResponse

type MsgUnverifyCollectionResponse struct {
}

func (*MsgUnverifyCollectionResponse) Descriptor

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

func (*MsgUnverifyCollectionResponse) Marshal

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

func (*MsgUnverifyCollectionResponse) MarshalTo

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

func (*MsgUnverifyCollectionResponse) MarshalToSizedBuffer

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

func (*MsgUnverifyCollectionResponse) ProtoMessage

func (*MsgUnverifyCollectionResponse) ProtoMessage()

func (*MsgUnverifyCollectionResponse) Reset

func (m *MsgUnverifyCollectionResponse) Reset()

func (*MsgUnverifyCollectionResponse) Size

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

func (*MsgUnverifyCollectionResponse) String

func (*MsgUnverifyCollectionResponse) Unmarshal

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

func (*MsgUnverifyCollectionResponse) XXX_DiscardUnknown

func (m *MsgUnverifyCollectionResponse) XXX_DiscardUnknown()

func (*MsgUnverifyCollectionResponse) XXX_Marshal

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

func (*MsgUnverifyCollectionResponse) XXX_Merge

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

func (*MsgUnverifyCollectionResponse) XXX_Size

func (m *MsgUnverifyCollectionResponse) XXX_Size() int

func (*MsgUnverifyCollectionResponse) XXX_Unmarshal

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

type MsgUpdatePrice

type MsgUpdatePrice struct {
	Creator string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64     `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Price   types.Coin `protobuf:"bytes,4,opt,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"price"`
}

func NewMsgUpdatePrice

func NewMsgUpdatePrice(creator string, id uint64, price sdk.Coin) *MsgUpdatePrice

func (*MsgUpdatePrice) Descriptor

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

func (*MsgUpdatePrice) GetCreator

func (m *MsgUpdatePrice) GetCreator() string

func (*MsgUpdatePrice) GetId

func (m *MsgUpdatePrice) GetId() uint64

func (*MsgUpdatePrice) GetPrice

func (m *MsgUpdatePrice) GetPrice() types.Coin

func (*MsgUpdatePrice) GetSignBytes

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

func (*MsgUpdatePrice) GetSigners

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

func (*MsgUpdatePrice) Marshal

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

func (*MsgUpdatePrice) MarshalTo

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

func (*MsgUpdatePrice) MarshalToSizedBuffer

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

func (*MsgUpdatePrice) ProtoMessage

func (*MsgUpdatePrice) ProtoMessage()

func (*MsgUpdatePrice) Reset

func (m *MsgUpdatePrice) Reset()

func (*MsgUpdatePrice) Route

func (msg *MsgUpdatePrice) Route() string

func (*MsgUpdatePrice) Size

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

func (*MsgUpdatePrice) String

func (m *MsgUpdatePrice) String() string

func (*MsgUpdatePrice) Type

func (msg *MsgUpdatePrice) Type() string

func (*MsgUpdatePrice) Unmarshal

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

func (*MsgUpdatePrice) ValidateBasic

func (msg *MsgUpdatePrice) ValidateBasic() error

func (*MsgUpdatePrice) XXX_DiscardUnknown

func (m *MsgUpdatePrice) XXX_DiscardUnknown()

func (*MsgUpdatePrice) XXX_Marshal

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

func (*MsgUpdatePrice) XXX_Merge

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

func (*MsgUpdatePrice) XXX_Size

func (m *MsgUpdatePrice) XXX_Size() int

func (*MsgUpdatePrice) XXX_Unmarshal

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

type MsgUpdatePriceResponse

type MsgUpdatePriceResponse struct {
}

func (*MsgUpdatePriceResponse) Descriptor

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

func (*MsgUpdatePriceResponse) Marshal

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

func (*MsgUpdatePriceResponse) MarshalTo

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

func (*MsgUpdatePriceResponse) MarshalToSizedBuffer

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

func (*MsgUpdatePriceResponse) ProtoMessage

func (*MsgUpdatePriceResponse) ProtoMessage()

func (*MsgUpdatePriceResponse) Reset

func (m *MsgUpdatePriceResponse) Reset()

func (*MsgUpdatePriceResponse) Size

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

func (*MsgUpdatePriceResponse) String

func (m *MsgUpdatePriceResponse) String() string

func (*MsgUpdatePriceResponse) Unmarshal

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

func (*MsgUpdatePriceResponse) XXX_DiscardUnknown

func (m *MsgUpdatePriceResponse) XXX_DiscardUnknown()

func (*MsgUpdatePriceResponse) XXX_Marshal

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

func (*MsgUpdatePriceResponse) XXX_Merge

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

func (*MsgUpdatePriceResponse) XXX_Size

func (m *MsgUpdatePriceResponse) XXX_Size() int

func (*MsgUpdatePriceResponse) XXX_Unmarshal

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

type MsgUpdateRoyalties

type MsgUpdateRoyalties struct {
	Creator         string    `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id              uint64    `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	MintRoyalties   []Royalty `protobuf:"bytes,3,rep,name=mintRoyalties,proto3" json:"mintRoyalties"`
	ResaleRoyalties []Royalty `protobuf:"bytes,4,rep,name=resaleRoyalties,proto3" json:"resaleRoyalties"`
}

func NewMsgUpdateRoyalties

func NewMsgUpdateRoyalties(creator string, id uint64, mintRoyalties, resaleRoyalties []Royalty) *MsgUpdateRoyalties

func (*MsgUpdateRoyalties) Descriptor

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

func (*MsgUpdateRoyalties) GetCreator

func (m *MsgUpdateRoyalties) GetCreator() string

func (*MsgUpdateRoyalties) GetId

func (m *MsgUpdateRoyalties) GetId() uint64

func (*MsgUpdateRoyalties) GetMintRoyalties

func (m *MsgUpdateRoyalties) GetMintRoyalties() []Royalty

func (*MsgUpdateRoyalties) GetResaleRoyalties

func (m *MsgUpdateRoyalties) GetResaleRoyalties() []Royalty

func (*MsgUpdateRoyalties) GetSignBytes

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

func (*MsgUpdateRoyalties) GetSigners

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

func (*MsgUpdateRoyalties) Marshal

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

func (*MsgUpdateRoyalties) MarshalTo

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

func (*MsgUpdateRoyalties) MarshalToSizedBuffer

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

func (*MsgUpdateRoyalties) ProtoMessage

func (*MsgUpdateRoyalties) ProtoMessage()

func (*MsgUpdateRoyalties) Reset

func (m *MsgUpdateRoyalties) Reset()

func (*MsgUpdateRoyalties) Route

func (msg *MsgUpdateRoyalties) Route() string

func (*MsgUpdateRoyalties) Size

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

func (*MsgUpdateRoyalties) String

func (m *MsgUpdateRoyalties) String() string

func (*MsgUpdateRoyalties) Type

func (msg *MsgUpdateRoyalties) Type() string

func (*MsgUpdateRoyalties) Unmarshal

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

func (*MsgUpdateRoyalties) ValidateBasic

func (msg *MsgUpdateRoyalties) ValidateBasic() error

func (*MsgUpdateRoyalties) XXX_DiscardUnknown

func (m *MsgUpdateRoyalties) XXX_DiscardUnknown()

func (*MsgUpdateRoyalties) XXX_Marshal

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

func (*MsgUpdateRoyalties) XXX_Merge

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

func (*MsgUpdateRoyalties) XXX_Size

func (m *MsgUpdateRoyalties) XXX_Size() int

func (*MsgUpdateRoyalties) XXX_Unmarshal

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

type MsgUpdateRoyaltiesResponse

type MsgUpdateRoyaltiesResponse struct {
}

func (*MsgUpdateRoyaltiesResponse) Descriptor

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

func (*MsgUpdateRoyaltiesResponse) Marshal

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

func (*MsgUpdateRoyaltiesResponse) MarshalTo

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

func (*MsgUpdateRoyaltiesResponse) MarshalToSizedBuffer

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

func (*MsgUpdateRoyaltiesResponse) ProtoMessage

func (*MsgUpdateRoyaltiesResponse) ProtoMessage()

func (*MsgUpdateRoyaltiesResponse) Reset

func (m *MsgUpdateRoyaltiesResponse) Reset()

func (*MsgUpdateRoyaltiesResponse) Size

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

func (*MsgUpdateRoyaltiesResponse) String

func (m *MsgUpdateRoyaltiesResponse) String() string

func (*MsgUpdateRoyaltiesResponse) Unmarshal

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

func (*MsgUpdateRoyaltiesResponse) XXX_DiscardUnknown

func (m *MsgUpdateRoyaltiesResponse) XXX_DiscardUnknown()

func (*MsgUpdateRoyaltiesResponse) XXX_Marshal

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

func (*MsgUpdateRoyaltiesResponse) XXX_Merge

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

func (*MsgUpdateRoyaltiesResponse) XXX_Size

func (m *MsgUpdateRoyaltiesResponse) XXX_Size() int

func (*MsgUpdateRoyaltiesResponse) XXX_Unmarshal

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

type MsgVerifyCollection

type MsgVerifyCollection struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func NewMsgVerifyCollection

func NewMsgVerifyCollection(creator string, id uint64) *MsgVerifyCollection

func (*MsgVerifyCollection) Descriptor

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

func (*MsgVerifyCollection) GetCreator

func (m *MsgVerifyCollection) GetCreator() string

func (*MsgVerifyCollection) GetId

func (m *MsgVerifyCollection) GetId() uint64

func (*MsgVerifyCollection) GetSignBytes

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

func (*MsgVerifyCollection) GetSigners

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

func (*MsgVerifyCollection) Marshal

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

func (*MsgVerifyCollection) MarshalTo

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

func (*MsgVerifyCollection) MarshalToSizedBuffer

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

func (*MsgVerifyCollection) ProtoMessage

func (*MsgVerifyCollection) ProtoMessage()

func (*MsgVerifyCollection) Reset

func (m *MsgVerifyCollection) Reset()

func (*MsgVerifyCollection) Route

func (msg *MsgVerifyCollection) Route() string

func (*MsgVerifyCollection) Size

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

func (*MsgVerifyCollection) String

func (m *MsgVerifyCollection) String() string

func (*MsgVerifyCollection) Type

func (msg *MsgVerifyCollection) Type() string

func (*MsgVerifyCollection) Unmarshal

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

func (*MsgVerifyCollection) ValidateBasic

func (msg *MsgVerifyCollection) ValidateBasic() error

func (*MsgVerifyCollection) XXX_DiscardUnknown

func (m *MsgVerifyCollection) XXX_DiscardUnknown()

func (*MsgVerifyCollection) XXX_Marshal

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

func (*MsgVerifyCollection) XXX_Merge

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

func (*MsgVerifyCollection) XXX_Size

func (m *MsgVerifyCollection) XXX_Size() int

func (*MsgVerifyCollection) XXX_Unmarshal

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

type MsgVerifyCollectionResponse

type MsgVerifyCollectionResponse struct {
}

func (*MsgVerifyCollectionResponse) Descriptor

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

func (*MsgVerifyCollectionResponse) Marshal

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

func (*MsgVerifyCollectionResponse) MarshalTo

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

func (*MsgVerifyCollectionResponse) MarshalToSizedBuffer

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

func (*MsgVerifyCollectionResponse) ProtoMessage

func (*MsgVerifyCollectionResponse) ProtoMessage()

func (*MsgVerifyCollectionResponse) Reset

func (m *MsgVerifyCollectionResponse) Reset()

func (*MsgVerifyCollectionResponse) Size

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

func (*MsgVerifyCollectionResponse) String

func (m *MsgVerifyCollectionResponse) String() string

func (*MsgVerifyCollectionResponse) Unmarshal

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

func (*MsgVerifyCollectionResponse) XXX_DiscardUnknown

func (m *MsgVerifyCollectionResponse) XXX_DiscardUnknown()

func (*MsgVerifyCollectionResponse) XXX_Marshal

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

func (*MsgVerifyCollectionResponse) XXX_Merge

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

func (*MsgVerifyCollectionResponse) XXX_Size

func (m *MsgVerifyCollectionResponse) XXX_Size() int

func (*MsgVerifyCollectionResponse) XXX_Unmarshal

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

type Nft

type Nft struct {
	Id      uint64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TokenId string     `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	DenomId string     `protobuf:"bytes,3,opt,name=denomId,proto3" json:"denomId,omitempty"`
	Price   types.Coin `protobuf:"bytes,4,opt,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"price"`
	Owner   string     `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
}

NFT listed for sale in the marketplace

func NewNft

func NewNft(tokenID, denomID, owner string, price sdk.Coin) Nft

func (*Nft) Descriptor

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

func (*Nft) GetDenomId

func (m *Nft) GetDenomId() string

func (*Nft) GetId

func (m *Nft) GetId() uint64

func (*Nft) GetOwner

func (m *Nft) GetOwner() string

func (*Nft) GetPrice

func (m *Nft) GetPrice() types.Coin

func (*Nft) GetTokenId

func (m *Nft) GetTokenId() string

func (*Nft) Marshal

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

func (*Nft) MarshalTo

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

func (*Nft) MarshalToSizedBuffer

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

func (*Nft) ProtoMessage

func (*Nft) ProtoMessage()

func (*Nft) Reset

func (m *Nft) Reset()

func (*Nft) Size

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

func (*Nft) String

func (m *Nft) String() string

func (*Nft) Unmarshal

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

func (*Nft) XXX_DiscardUnknown

func (m *Nft) XXX_DiscardUnknown()

func (*Nft) XXX_Marshal

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

func (*Nft) XXX_Merge

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

func (*Nft) XXX_Size

func (m *Nft) XXX_Size() int

func (*Nft) XXX_Unmarshal

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

type NftKeeper

type NftKeeper interface {
	// Methods imported from nft should be defined here
	GetDenom(ctx sdk.Context, id string) (denom nfttypes.Denom, err error)
	GetNFT(ctx sdk.Context, denomID, tokenID string) (nft exported.NFT, err error)
	GetBaseNFT(ctx sdk.Context, denomID, tokenID string) (nft nfttypes.BaseNFT, err error)
	IsApprovedOperator(ctx sdk.Context, owner, operator sdk.AccAddress) bool
	TransferNftInternal(ctx sdk.Context, denomID string, tokenID string, from sdk.AccAddress, to sdk.AccAddress, nft nfttypes.BaseNFT)
	SoftLockNFT(ctx sdk.Context, lockOwner, denomID, tokenID string) error
	SoftUnlockNFT(ctx sdk.Context, lockOwner, denomID, tokenID string) error
	MintNFT(ctx sdk.Context, denomID string, tokenNm, tokenURI, tokenData string, sender, owner sdk.AccAddress) (string, error)
	GetOwners(ctx sdk.Context) (owners nfttypes.Owners, err error)
	IssueDenom(ctx sdk.Context, id, name, schema, symbol, traits, minter, description, data string, creator sdk.AccAddress) error
}

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryAllCollectionRequest

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

func (*QueryAllCollectionRequest) Descriptor

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

func (*QueryAllCollectionRequest) GetPagination

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

func (*QueryAllCollectionRequest) Marshal

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

func (*QueryAllCollectionRequest) MarshalTo

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

func (*QueryAllCollectionRequest) MarshalToSizedBuffer

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

func (*QueryAllCollectionRequest) ProtoMessage

func (*QueryAllCollectionRequest) ProtoMessage()

func (*QueryAllCollectionRequest) Reset

func (m *QueryAllCollectionRequest) Reset()

func (*QueryAllCollectionRequest) Size

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

func (*QueryAllCollectionRequest) String

func (m *QueryAllCollectionRequest) String() string

func (*QueryAllCollectionRequest) Unmarshal

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

func (*QueryAllCollectionRequest) XXX_DiscardUnknown

func (m *QueryAllCollectionRequest) XXX_DiscardUnknown()

func (*QueryAllCollectionRequest) XXX_Marshal

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

func (*QueryAllCollectionRequest) XXX_Merge

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

func (*QueryAllCollectionRequest) XXX_Size

func (m *QueryAllCollectionRequest) XXX_Size() int

func (*QueryAllCollectionRequest) XXX_Unmarshal

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

type QueryAllCollectionResponse

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

func (*QueryAllCollectionResponse) Descriptor

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

func (*QueryAllCollectionResponse) GetCollection

func (m *QueryAllCollectionResponse) GetCollection() []Collection

func (*QueryAllCollectionResponse) GetPagination

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

func (*QueryAllCollectionResponse) Marshal

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

func (*QueryAllCollectionResponse) MarshalTo

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

func (*QueryAllCollectionResponse) MarshalToSizedBuffer

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

func (*QueryAllCollectionResponse) ProtoMessage

func (*QueryAllCollectionResponse) ProtoMessage()

func (*QueryAllCollectionResponse) Reset

func (m *QueryAllCollectionResponse) Reset()

func (*QueryAllCollectionResponse) Size

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

func (*QueryAllCollectionResponse) String

func (m *QueryAllCollectionResponse) String() string

func (*QueryAllCollectionResponse) Unmarshal

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

func (*QueryAllCollectionResponse) XXX_DiscardUnknown

func (m *QueryAllCollectionResponse) XXX_DiscardUnknown()

func (*QueryAllCollectionResponse) XXX_Marshal

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

func (*QueryAllCollectionResponse) XXX_Merge

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

func (*QueryAllCollectionResponse) XXX_Size

func (m *QueryAllCollectionResponse) XXX_Size() int

func (*QueryAllCollectionResponse) XXX_Unmarshal

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

type QueryAllNftRequest

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

func (*QueryAllNftRequest) Descriptor

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

func (*QueryAllNftRequest) GetPagination

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

func (*QueryAllNftRequest) Marshal

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

func (*QueryAllNftRequest) MarshalTo

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

func (*QueryAllNftRequest) MarshalToSizedBuffer

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

func (*QueryAllNftRequest) ProtoMessage

func (*QueryAllNftRequest) ProtoMessage()

func (*QueryAllNftRequest) Reset

func (m *QueryAllNftRequest) Reset()

func (*QueryAllNftRequest) Size

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

func (*QueryAllNftRequest) String

func (m *QueryAllNftRequest) String() string

func (*QueryAllNftRequest) Unmarshal

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

func (*QueryAllNftRequest) XXX_DiscardUnknown

func (m *QueryAllNftRequest) XXX_DiscardUnknown()

func (*QueryAllNftRequest) XXX_Marshal

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

func (*QueryAllNftRequest) XXX_Merge

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

func (*QueryAllNftRequest) XXX_Size

func (m *QueryAllNftRequest) XXX_Size() int

func (*QueryAllNftRequest) XXX_Unmarshal

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

type QueryAllNftResponse

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

func (*QueryAllNftResponse) Descriptor

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

func (*QueryAllNftResponse) GetNft

func (m *QueryAllNftResponse) GetNft() []Nft

func (*QueryAllNftResponse) GetPagination

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

func (*QueryAllNftResponse) Marshal

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

func (*QueryAllNftResponse) MarshalTo

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

func (*QueryAllNftResponse) MarshalToSizedBuffer

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

func (*QueryAllNftResponse) ProtoMessage

func (*QueryAllNftResponse) ProtoMessage()

func (*QueryAllNftResponse) Reset

func (m *QueryAllNftResponse) Reset()

func (*QueryAllNftResponse) Size

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

func (*QueryAllNftResponse) String

func (m *QueryAllNftResponse) String() string

func (*QueryAllNftResponse) Unmarshal

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

func (*QueryAllNftResponse) XXX_DiscardUnknown

func (m *QueryAllNftResponse) XXX_DiscardUnknown()

func (*QueryAllNftResponse) XXX_Marshal

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

func (*QueryAllNftResponse) XXX_Merge

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

func (*QueryAllNftResponse) XXX_Size

func (m *QueryAllNftResponse) XXX_Size() int

func (*QueryAllNftResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a Collection for sale by id.
	Collection(ctx context.Context, in *QueryGetCollectionRequest, opts ...grpc.CallOption) (*QueryGetCollectionResponse, error)
	// Queries all Collection items for sale.
	CollectionAll(ctx context.Context, in *QueryAllCollectionRequest, opts ...grpc.CallOption) (*QueryAllCollectionResponse, error)
	// Queries a Nft for sale by id.
	Nft(ctx context.Context, in *QueryGetNftRequest, opts ...grpc.CallOption) (*QueryGetNftResponse, error)
	// Queries all Nft items for sale.
	NftAll(ctx context.Context, in *QueryAllNftRequest, opts ...grpc.CallOption) (*QueryAllNftResponse, error)
	// Queries a list of CollectionByDenomId items.
	CollectionByDenomId(ctx context.Context, in *QueryCollectionByDenomIdRequest, opts ...grpc.CallOption) (*QueryCollectionByDenomIdResponse, error)
	// Queries a list of ListAdmins items.
	ListAdmins(ctx context.Context, in *QueryListAdminsRequest, opts ...grpc.CallOption) (*QueryListAdminsResponse, 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 QueryCollectionByDenomIdRequest

type QueryCollectionByDenomIdRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denomId,proto3" json:"denomId,omitempty"`
}

func (*QueryCollectionByDenomIdRequest) Descriptor

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

func (*QueryCollectionByDenomIdRequest) GetDenomId

func (m *QueryCollectionByDenomIdRequest) GetDenomId() string

func (*QueryCollectionByDenomIdRequest) Marshal

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

func (*QueryCollectionByDenomIdRequest) MarshalTo

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

func (*QueryCollectionByDenomIdRequest) MarshalToSizedBuffer

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

func (*QueryCollectionByDenomIdRequest) ProtoMessage

func (*QueryCollectionByDenomIdRequest) ProtoMessage()

func (*QueryCollectionByDenomIdRequest) Reset

func (*QueryCollectionByDenomIdRequest) Size

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

func (*QueryCollectionByDenomIdRequest) String

func (*QueryCollectionByDenomIdRequest) Unmarshal

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

func (*QueryCollectionByDenomIdRequest) XXX_DiscardUnknown

func (m *QueryCollectionByDenomIdRequest) XXX_DiscardUnknown()

func (*QueryCollectionByDenomIdRequest) XXX_Marshal

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

func (*QueryCollectionByDenomIdRequest) XXX_Merge

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

func (*QueryCollectionByDenomIdRequest) XXX_Size

func (m *QueryCollectionByDenomIdRequest) XXX_Size() int

func (*QueryCollectionByDenomIdRequest) XXX_Unmarshal

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

type QueryCollectionByDenomIdResponse

type QueryCollectionByDenomIdResponse struct {
	Collection Collection `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection"`
}

func (*QueryCollectionByDenomIdResponse) Descriptor

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

func (*QueryCollectionByDenomIdResponse) GetCollection

func (m *QueryCollectionByDenomIdResponse) GetCollection() Collection

func (*QueryCollectionByDenomIdResponse) Marshal

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

func (*QueryCollectionByDenomIdResponse) MarshalTo

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

func (*QueryCollectionByDenomIdResponse) MarshalToSizedBuffer

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

func (*QueryCollectionByDenomIdResponse) ProtoMessage

func (*QueryCollectionByDenomIdResponse) ProtoMessage()

func (*QueryCollectionByDenomIdResponse) Reset

func (*QueryCollectionByDenomIdResponse) Size

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

func (*QueryCollectionByDenomIdResponse) String

func (*QueryCollectionByDenomIdResponse) Unmarshal

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

func (*QueryCollectionByDenomIdResponse) XXX_DiscardUnknown

func (m *QueryCollectionByDenomIdResponse) XXX_DiscardUnknown()

func (*QueryCollectionByDenomIdResponse) XXX_Marshal

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

func (*QueryCollectionByDenomIdResponse) XXX_Merge

func (*QueryCollectionByDenomIdResponse) XXX_Size

func (m *QueryCollectionByDenomIdResponse) XXX_Size() int

func (*QueryCollectionByDenomIdResponse) XXX_Unmarshal

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

type QueryGetCollectionRequest

type QueryGetCollectionRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryGetCollectionRequest) Descriptor

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

func (*QueryGetCollectionRequest) GetId

func (m *QueryGetCollectionRequest) GetId() uint64

func (*QueryGetCollectionRequest) Marshal

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

func (*QueryGetCollectionRequest) MarshalTo

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

func (*QueryGetCollectionRequest) MarshalToSizedBuffer

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

func (*QueryGetCollectionRequest) ProtoMessage

func (*QueryGetCollectionRequest) ProtoMessage()

func (*QueryGetCollectionRequest) Reset

func (m *QueryGetCollectionRequest) Reset()

func (*QueryGetCollectionRequest) Size

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

func (*QueryGetCollectionRequest) String

func (m *QueryGetCollectionRequest) String() string

func (*QueryGetCollectionRequest) Unmarshal

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

func (*QueryGetCollectionRequest) XXX_DiscardUnknown

func (m *QueryGetCollectionRequest) XXX_DiscardUnknown()

func (*QueryGetCollectionRequest) XXX_Marshal

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

func (*QueryGetCollectionRequest) XXX_Merge

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

func (*QueryGetCollectionRequest) XXX_Size

func (m *QueryGetCollectionRequest) XXX_Size() int

func (*QueryGetCollectionRequest) XXX_Unmarshal

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

type QueryGetCollectionResponse

type QueryGetCollectionResponse struct {
	Collection Collection `protobuf:"bytes,1,opt,name=Collection,proto3" json:"Collection"`
}

func (*QueryGetCollectionResponse) Descriptor

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

func (*QueryGetCollectionResponse) GetCollection

func (m *QueryGetCollectionResponse) GetCollection() Collection

func (*QueryGetCollectionResponse) Marshal

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

func (*QueryGetCollectionResponse) MarshalTo

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

func (*QueryGetCollectionResponse) MarshalToSizedBuffer

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

func (*QueryGetCollectionResponse) ProtoMessage

func (*QueryGetCollectionResponse) ProtoMessage()

func (*QueryGetCollectionResponse) Reset

func (m *QueryGetCollectionResponse) Reset()

func (*QueryGetCollectionResponse) Size

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

func (*QueryGetCollectionResponse) String

func (m *QueryGetCollectionResponse) String() string

func (*QueryGetCollectionResponse) Unmarshal

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

func (*QueryGetCollectionResponse) XXX_DiscardUnknown

func (m *QueryGetCollectionResponse) XXX_DiscardUnknown()

func (*QueryGetCollectionResponse) XXX_Marshal

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

func (*QueryGetCollectionResponse) XXX_Merge

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

func (*QueryGetCollectionResponse) XXX_Size

func (m *QueryGetCollectionResponse) XXX_Size() int

func (*QueryGetCollectionResponse) XXX_Unmarshal

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

type QueryGetNftRequest

type QueryGetNftRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryGetNftRequest) Descriptor

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

func (*QueryGetNftRequest) GetId

func (m *QueryGetNftRequest) GetId() uint64

func (*QueryGetNftRequest) Marshal

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

func (*QueryGetNftRequest) MarshalTo

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

func (*QueryGetNftRequest) MarshalToSizedBuffer

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

func (*QueryGetNftRequest) ProtoMessage

func (*QueryGetNftRequest) ProtoMessage()

func (*QueryGetNftRequest) Reset

func (m *QueryGetNftRequest) Reset()

func (*QueryGetNftRequest) Size

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

func (*QueryGetNftRequest) String

func (m *QueryGetNftRequest) String() string

func (*QueryGetNftRequest) Unmarshal

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

func (*QueryGetNftRequest) XXX_DiscardUnknown

func (m *QueryGetNftRequest) XXX_DiscardUnknown()

func (*QueryGetNftRequest) XXX_Marshal

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

func (*QueryGetNftRequest) XXX_Merge

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

func (*QueryGetNftRequest) XXX_Size

func (m *QueryGetNftRequest) XXX_Size() int

func (*QueryGetNftRequest) XXX_Unmarshal

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

type QueryGetNftResponse

type QueryGetNftResponse struct {
	Nft Nft `protobuf:"bytes,1,opt,name=Nft,proto3" json:"Nft"`
}

func (*QueryGetNftResponse) Descriptor

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

func (*QueryGetNftResponse) GetNft

func (m *QueryGetNftResponse) GetNft() Nft

func (*QueryGetNftResponse) Marshal

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

func (*QueryGetNftResponse) MarshalTo

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

func (*QueryGetNftResponse) MarshalToSizedBuffer

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

func (*QueryGetNftResponse) ProtoMessage

func (*QueryGetNftResponse) ProtoMessage()

func (*QueryGetNftResponse) Reset

func (m *QueryGetNftResponse) Reset()

func (*QueryGetNftResponse) Size

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

func (*QueryGetNftResponse) String

func (m *QueryGetNftResponse) String() string

func (*QueryGetNftResponse) Unmarshal

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

func (*QueryGetNftResponse) XXX_DiscardUnknown

func (m *QueryGetNftResponse) XXX_DiscardUnknown()

func (*QueryGetNftResponse) XXX_Marshal

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

func (*QueryGetNftResponse) XXX_Merge

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

func (*QueryGetNftResponse) XXX_Size

func (m *QueryGetNftResponse) XXX_Size() int

func (*QueryGetNftResponse) XXX_Unmarshal

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

type QueryListAdminsRequest

type QueryListAdminsRequest struct {
}

func (*QueryListAdminsRequest) Descriptor

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

func (*QueryListAdminsRequest) Marshal

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

func (*QueryListAdminsRequest) MarshalTo

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

func (*QueryListAdminsRequest) MarshalToSizedBuffer

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

func (*QueryListAdminsRequest) ProtoMessage

func (*QueryListAdminsRequest) ProtoMessage()

func (*QueryListAdminsRequest) Reset

func (m *QueryListAdminsRequest) Reset()

func (*QueryListAdminsRequest) Size

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

func (*QueryListAdminsRequest) String

func (m *QueryListAdminsRequest) String() string

func (*QueryListAdminsRequest) Unmarshal

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

func (*QueryListAdminsRequest) XXX_DiscardUnknown

func (m *QueryListAdminsRequest) XXX_DiscardUnknown()

func (*QueryListAdminsRequest) XXX_Marshal

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

func (*QueryListAdminsRequest) XXX_Merge

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

func (*QueryListAdminsRequest) XXX_Size

func (m *QueryListAdminsRequest) XXX_Size() int

func (*QueryListAdminsRequest) XXX_Unmarshal

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

type QueryListAdminsResponse

type QueryListAdminsResponse struct {
	Admins []string `protobuf:"bytes,1,rep,name=Admins,proto3" json:"Admins,omitempty"`
}

func (*QueryListAdminsResponse) Descriptor

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

func (*QueryListAdminsResponse) GetAdmins

func (m *QueryListAdminsResponse) GetAdmins() []string

func (*QueryListAdminsResponse) Marshal

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

func (*QueryListAdminsResponse) MarshalTo

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

func (*QueryListAdminsResponse) MarshalToSizedBuffer

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

func (*QueryListAdminsResponse) ProtoMessage

func (*QueryListAdminsResponse) ProtoMessage()

func (*QueryListAdminsResponse) Reset

func (m *QueryListAdminsResponse) Reset()

func (*QueryListAdminsResponse) Size

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

func (*QueryListAdminsResponse) String

func (m *QueryListAdminsResponse) String() string

func (*QueryListAdminsResponse) Unmarshal

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

func (*QueryListAdminsResponse) XXX_DiscardUnknown

func (m *QueryListAdminsResponse) XXX_DiscardUnknown()

func (*QueryListAdminsResponse) XXX_Marshal

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

func (*QueryListAdminsResponse) XXX_Merge

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

func (*QueryListAdminsResponse) XXX_Size

func (m *QueryListAdminsResponse) XXX_Size() int

func (*QueryListAdminsResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a Collection for sale by id.
	Collection(context.Context, *QueryGetCollectionRequest) (*QueryGetCollectionResponse, error)
	// Queries all Collection items for sale.
	CollectionAll(context.Context, *QueryAllCollectionRequest) (*QueryAllCollectionResponse, error)
	// Queries a Nft for sale by id.
	Nft(context.Context, *QueryGetNftRequest) (*QueryGetNftResponse, error)
	// Queries all Nft items for sale.
	NftAll(context.Context, *QueryAllNftRequest) (*QueryAllNftResponse, error)
	// Queries a list of CollectionByDenomId items.
	CollectionByDenomId(context.Context, *QueryCollectionByDenomIdRequest) (*QueryCollectionByDenomIdResponse, error)
	// Queries a list of ListAdmins items.
	ListAdmins(context.Context, *QueryListAdminsRequest) (*QueryListAdminsResponse, error)
}

QueryServer is the server API for Query service.

type Royalty

type Royalty struct {
	Address string                                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Percent github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=percent,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"percent"`
}

func (*Royalty) Descriptor

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

func (*Royalty) Equal

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

func (*Royalty) GetAddress

func (m *Royalty) GetAddress() string

func (*Royalty) Marshal

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

func (*Royalty) MarshalTo

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

func (*Royalty) MarshalToSizedBuffer

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

func (*Royalty) ProtoMessage

func (*Royalty) ProtoMessage()

func (*Royalty) Reset

func (m *Royalty) Reset()

func (*Royalty) Size

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

func (*Royalty) String

func (m *Royalty) String() string

func (*Royalty) Unmarshal

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

func (*Royalty) XXX_DiscardUnknown

func (m *Royalty) XXX_DiscardUnknown()

func (*Royalty) XXX_Marshal

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

func (*Royalty) XXX_Merge

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

func (*Royalty) XXX_Size

func (m *Royalty) XXX_Size() int

func (*Royalty) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddAdmin

func (*UnimplementedMsgServer) BuyNft

func (*UnimplementedMsgServer) CreateCollection

func (*UnimplementedMsgServer) MintNft

func (*UnimplementedMsgServer) PublishCollection

func (*UnimplementedMsgServer) PublishNft

func (*UnimplementedMsgServer) RemoveAdmin

func (*UnimplementedMsgServer) RemoveNft

func (*UnimplementedMsgServer) UnverifyCollection

func (*UnimplementedMsgServer) UpdatePrice

func (*UnimplementedMsgServer) UpdateRoyalties

func (*UnimplementedMsgServer) VerifyCollection

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Collection

func (*UnimplementedQueryServer) CollectionAll

func (*UnimplementedQueryServer) CollectionByDenomId

func (*UnimplementedQueryServer) ListAdmins

func (*UnimplementedQueryServer) Nft

func (*UnimplementedQueryServer) NftAll

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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