types

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 44 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	MinListingIdLength   = 4
	MaxListingIdLength   = 64
	MaxSplits            = 5
	MaxWhitelistAccounts = 10
)
View Source
const (
	EventTypeListNFT                = "list_nft"
	EventTypeEditListing            = "edit_listing"
	EventTypeDeListNFT              = "de_list_nft"
	EventTypeBuyNFT                 = "buy_nft"
	EventTypeRoyaltyShareTransfer   = "royalty_share_transfer"
	EventTypeSplitShareTransfer     = "split_share_transfer"
	EventTypeSaleCommissionTransfer = "sale_commission_transfer"

	EventTypeCreateAuction = "create_auction"
	EventTypeCancelAuction = "cancel_auction"
	EventTypePlaceBid      = "place_bid"
	EventTypeRemoveAuction = "remove_auction"
	EventTypeProcessBid    = "process_bid"

	AttributeValueCategory = ModuleName
	AttributeKeyListingId  = "listing-id"
	AttributeKeyDenomId    = "denom-id"
	AttributeKeyNftId      = "nft-id"
	AttributeKeyBuyer      = "buyer"
	AttributeKeyOwner      = "owner"
	AttributeKeyRecipient  = "recipient"
	AttributeKeyAmount     = "amount"
	AttributeKeyAuctionId  = "auction-id"
	AttributeKeyStartPrice = "start-price"
	AttributeKeyBidder     = "bidder"
)
View Source
const (
	ModuleName               = "marketplace"
	StoreKey          string = ModuleName
	QuerierRoute      string = ModuleName
	RouterKey         string = ModuleName
	DefaultParamspace        = ModuleName
)
View Source
const (
	MsgRoute = "marketplace"

	TypeMsgListNFT       = "list_nft"
	TypeMsgEditListing   = "edit_listing"
	TypeMsgDeListNFT     = "de_list_nft"
	TypeMsgBuyNFT        = "buy_nft"
	TypeMsgCreateAuction = "create_auction"
	TypeMsgCancelAuction = "cancel_auction"
	TypeMsgPlaceBid      = "place_bid"

	// DoNotModify used to indicate that some field should not be updated
	DoNotModify = "[do-not-modify]"
	IdPrefix    = "list"
)
View Source
const (
	// DefaultBidClosePeriod Default period for closing bids for an auction
	DefaultBidClosePeriod     time.Duration = time.Hour * 12      // 12 Hours
	DefaultMaxAuctionDuration time.Duration = time.Hour * 24 * 90 // 90 Days
)
View Source
const (
	QueryParams          = "params"
	QueryListing         = "listing"
	QueryAllListings     = "listings"
	QueryListingsByOwner = "listings-by-owner"
	QueryAuction         = "auction"
	QueryAllAuctions     = "auctions"
	QueryBid             = "bid"
	QueryAllBids         = "bids"
	QueryAuctionsByOwner = "auctions-by-owner"
)

Variables

View Source
var (
	ErrInvalidLengthAuction        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuction          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuction = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrListingNotExists         = errorsmod.Register(ModuleName, 2, "Listing does not exist")
	ErrInvalidOwner             = errorsmod.Register(ModuleName, 3, "invalid Listing owner")
	ErrInvalidPrice             = errorsmod.Register(ModuleName, 4, "invalid amount")
	ErrInvalidListing           = errorsmod.Register(ModuleName, 5, "invalid Listing")
	ErrListingAlreadyExists     = errorsmod.Register(ModuleName, 6, "Listing already exists")
	ErrNotEnoughAmount          = errorsmod.Register(ModuleName, 7, "amount is not enough to buy")
	ErrInvalidPriceDenom        = errorsmod.Register(ModuleName, 8, "invalid price denom")
	ErrInvalidListingId         = errorsmod.Register(ModuleName, 9, "invalid Listing id")
	ErrInvalidNftId             = errorsmod.Register(ModuleName, 10, "invalid nft id")
	ErrNftNotExists             = errorsmod.Register(ModuleName, 11, "nft not exists with given details")
	ErrUnauthorized             = errorsmod.Register(ModuleName, 12, "unauthorized")
	ErrNftNonTransferable       = errorsmod.Register(ModuleName, 13, "non-transferable nft")
	ErrListingDoesNotExists     = errorsmod.Register(ModuleName, 14, "listing doesn't exists")
	ErrInvalidSplits            = errorsmod.Register(ModuleName, 15, "invalid split shares")
	ErrNonPositiveNumber        = errorsmod.Register(ModuleName, 16, "non positive number")
	ErrInvalidAuctionId         = errorsmod.Register(ModuleName, 17, "invalid auction id")
	ErrInvalidWhitelistAccounts = errorsmod.Register(ModuleName, 18, "invalid whitelist accounts")
	ErrAuctionDoesNotExists     = errorsmod.Register(ModuleName, 19, "auction listing doesn't exists")
	ErrBidExists                = errorsmod.Register(ModuleName, 20, "bid exists")
	ErrEndedAuction             = errorsmod.Register(ModuleName, 21, "auction ended")
	ErrInActiveAuction          = errorsmod.Register(ModuleName, 22, "inactive auction")
	ErrBidAmountNotEnough       = errorsmod.Register(ModuleName, 23, "amount is not enough to bid")
	ErrBidDoesNotExists         = errorsmod.Register(ModuleName, 24, "bid does not exists")
	ErrInvalidStartTime         = errorsmod.Register(ModuleName, 25, "invalid start time")
	ErrInvalidPercentage        = errorsmod.Register(ModuleName, 26, "invalid percentage decimal value")
	ErrInvalidTime              = errorsmod.Register(ModuleName, 27, "invalid timestamp value")
	ErrInvalidDuration          = errorsmod.Register(ModuleName, 28, "invalid duration")
)

Listing module errors

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	PrefixListingId         = []byte{0x01}
	PrefixListingOwner      = []byte{0x02}
	PrefixListingsCount     = []byte{0x03}
	PrefixListingNFTID      = []byte{0x04}
	PrefixListingPriceDenom = []byte{0x05}
	PrefixAuctionId         = []byte{0x06}
	PrefixAuctionOwner      = []byte{0x07}
	PrefixAuctionNFTID      = []byte{0x08}
	PrefixAuctionPriceDenom = []byte{0x09}
	PrefixNextAuctionNumber = []byte{0x10}
	PrefixBidByAuctionId    = []byte{0x11}
	PrefixBidByBidder       = []byte{0x12}
	PrefixInactiveAuction   = []byte{0x13}
	PrefixActiveAuction     = []byte{0x14}

	ParamsKey = []byte{0x15}
)
View Source
var (
	ErrInvalidLengthListing        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowListing          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupListing = 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 (
	ParamStoreKeySaleCommission     = []byte("SaleCommission")
	ParamStoreKeyDistribution       = []byte("MarketplaceDistribution")
	ParamStoreKeyBidCloseDuration   = []byte("BidCloseDuration")
	ParamStoreKeyMaxAuctionDuration = []byte("MaxAuctionDuration")
)

Parameter keys

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	IsAlphaNumeric   = regexp.MustCompile(`^[a-zA-Z0-9]+$`).MatchString
	IsBeginWithAlpha = regexp.MustCompile(`^[a-zA-Z].*`).MatchString
	IsAlpha          = regexp.MustCompile(`^[a-zA-Z]+`).MatchString
)
View Source
var AuctionStatus_name = map[int32]string{
	0: "AUCTION_STATUS_UNSPECIFIED",
	1: "AUCTION_STATUS_INACTIVE",
	2: "AUCTION_STATUS_ACTIVE",
}
View Source
var AuctionStatus_value = map[string]int32{
	"AUCTION_STATUS_UNSPECIFIED": 0,
	"AUCTION_STATUS_INACTIVE":    1,
	"AUCTION_STATUS_ACTIVE":      2,
}
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func GenUniqueID

func GenUniqueID(prefix string) string

func KeyActiveAuctionPrefix

func KeyActiveAuctionPrefix(id uint64) []byte

func KeyAuctionIdPrefix

func KeyAuctionIdPrefix(id uint64) []byte

func KeyAuctionNFTIDPrefix

func KeyAuctionNFTIDPrefix(nftId string) []byte

func KeyAuctionOwnerPrefix

func KeyAuctionOwnerPrefix(owner sdk.AccAddress, id uint64) []byte

func KeyAuctionPriceDenomPrefix

func KeyAuctionPriceDenomPrefix(priceDenom string, id uint64) []byte

func KeyBidPrefix

func KeyBidPrefix(id uint64) []byte

func KeyInActiveAuctionPrefix

func KeyInActiveAuctionPrefix(id uint64) []byte

func KeyListingIdPrefix

func KeyListingIdPrefix(id string) []byte

func KeyListingNFTIDPrefix

func KeyListingNFTIDPrefix(nftId string) []byte

func KeyListingOwnerPrefix

func KeyListingOwnerPrefix(owner sdk.AccAddress, id string) []byte

func KeyListingPriceDenomPrefix

func KeyListingPriceDenomPrefix(priceDenom, id string) []byte

func MustMarshalListingID

func MustMarshalListingID(cdc codec.BinaryCodec, listingId string) []byte

func MustUnMarshalListingID

func MustUnMarshalListingID(cdc codec.BinaryCodec, value []byte) string

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter key table.

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

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 StringInSlice

func StringInSlice(a string, list []string) bool

func ValidAuctionStatus

func ValidAuctionStatus(status AuctionStatus) bool

func ValidateAuctionListing

func ValidateAuctionListing(auction AuctionListing) error

ValidateAuctionListing checks auction listing is valid or not

func ValidateBid

func ValidateBid(bid Bid) error

ValidateBid checks bid is valid or not

func ValidateDuration

func ValidateDuration(t interface{}) error

func ValidateId

func ValidateId(id string) error

func ValidateListing

func ValidateListing(listing Listing) error

ValidateListing checks listing is valid or not

func ValidatePrice

func ValidatePrice(price sdk.Coin) error

ValidatePrice

func ValidateSplitShares

func ValidateSplitShares(splitShares []WeightedAddress) error

func ValidateWhiteListAccounts

func ValidateWhiteListAccounts(whitelistAccounts []string) error

Types

type AccountKeeper

type AccountKeeper interface {
	// Methods imported from account should be defined here
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
	GetModuleAccount(ctx sdk.Context, name string) authtypes.ModuleAccountI
	GetModuleAddress(module string) sdk.AccAddress
}

type AuctionListing

type AuctionListing struct {
	Id                  uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId               string                                 `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty" yaml:"nft_id"`
	DenomId             string                                 `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	StartPrice          types.Coin                             `` /* 153-byte string literal not displayed */
	StartTime           time.Time                              `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" yaml:"start_time"`
	EndTime             *time.Time                             `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time,omitempty" yaml:"end_time"`
	Owner               string                                 `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`
	IncrementPercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 186-byte string literal not displayed */
	WhitelistAccounts   []string                               `` /* 138-byte string literal not displayed */
	SplitShares         []WeightedAddress                      `protobuf:"bytes,10,rep,name=split_shares,json=splitShares,proto3" json:"split_shares" yaml:"split_shares"`
}

func NewAuctionListing

func NewAuctionListing(id uint64, nftId, denomId string, startTime time.Time, endTime *time.Time, startPrice sdk.Coin, incrementPercentage sdk.Dec,
	owner sdk.AccAddress, whitelistAccounts []string, splitShares []WeightedAddress,
) AuctionListing

func (*AuctionListing) Descriptor

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

func (AuctionListing) GetDenomId

func (al AuctionListing) GetDenomId() string

func (AuctionListing) GetId

func (al AuctionListing) GetId() uint64

func (AuctionListing) GetIncrementPercentage

func (al AuctionListing) GetIncrementPercentage() sdk.Dec

func (AuctionListing) GetNftId

func (al AuctionListing) GetNftId() string

func (AuctionListing) GetOwner

func (al AuctionListing) GetOwner() sdk.AccAddress

func (AuctionListing) GetSplitShares

func (al AuctionListing) GetSplitShares() interface{}

func (AuctionListing) GetStartPrice

func (al AuctionListing) GetStartPrice() sdk.Coin

func (AuctionListing) GetStartTime

func (al AuctionListing) GetStartTime() time.Time

func (AuctionListing) GetStatus

func (al AuctionListing) GetStatus() string

func (*AuctionListing) Marshal

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

func (*AuctionListing) MarshalTo

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

func (*AuctionListing) MarshalToSizedBuffer

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

func (*AuctionListing) ProtoMessage

func (*AuctionListing) ProtoMessage()

func (*AuctionListing) Reset

func (m *AuctionListing) Reset()

func (*AuctionListing) Size

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

func (*AuctionListing) String

func (m *AuctionListing) String() string

func (*AuctionListing) Unmarshal

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

func (*AuctionListing) XXX_DiscardUnknown

func (m *AuctionListing) XXX_DiscardUnknown()

func (*AuctionListing) XXX_Marshal

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

func (*AuctionListing) XXX_Merge

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

func (*AuctionListing) XXX_Size

func (m *AuctionListing) XXX_Size() int

func (*AuctionListing) XXX_Unmarshal

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

type AuctionStatus

type AuctionStatus int32
const (
	AUCTION_STATUS_UNSPECIFIED AuctionStatus = 0
	AUCTION_STATUS_INACTIVE    AuctionStatus = 1
	AUCTION_STATUS_ACTIVE      AuctionStatus = 2
)

func (AuctionStatus) EnumDescriptor

func (AuctionStatus) EnumDescriptor() ([]byte, []int)

func (AuctionStatus) String

func (x AuctionStatus) String() string

type BankKeeper

type BankKeeper interface {
	// Methods imported from bank should be defined here
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoins(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, amount sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, formModule string, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx sdk.Context, formModule string, toModule string, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, fromAddr sdk.AccAddress, toModule string, amt sdk.Coins) error
}

type Bid

type Bid struct {
	AuctionId uint64     `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" yaml:"auction_id"`
	Bidder    string     `protobuf:"bytes,2,opt,name=bidder,proto3" json:"bidder,omitempty"`
	Amount    types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	Time      time.Time  `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
}

func NewBid

func NewBid(auctionId uint64, amount sdk.Coin, bidTime time.Time, bidder sdk.AccAddress) Bid

func (*Bid) Descriptor

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

func (*Bid) Equal

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

func (Bid) GetAmount

func (b Bid) GetAmount() sdk.Coin

func (Bid) GetAuctionId

func (b Bid) GetAuctionId() uint64

func (Bid) GetBidder

func (b Bid) GetBidder() sdk.AccAddress

func (*Bid) Marshal

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

func (*Bid) MarshalTo

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

func (*Bid) MarshalToSizedBuffer

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

func (*Bid) ProtoMessage

func (*Bid) ProtoMessage()

func (*Bid) Reset

func (m *Bid) Reset()

func (*Bid) Size

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

func (*Bid) String

func (m *Bid) String() string

func (*Bid) Unmarshal

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

func (*Bid) XXX_DiscardUnknown

func (m *Bid) XXX_DiscardUnknown()

func (*Bid) XXX_Marshal

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

func (*Bid) XXX_Merge

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

func (*Bid) XXX_Size

func (m *Bid) XXX_Size() int

func (*Bid) XXX_Unmarshal

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

type Distribution

type Distribution struct {
	Staking       github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=staking,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"staking" yaml:"staking"`
	CommunityPool github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */
}

func (*Distribution) Descriptor

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

func (*Distribution) Marshal

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

func (*Distribution) MarshalTo

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

func (*Distribution) MarshalToSizedBuffer

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

func (*Distribution) ProtoMessage

func (*Distribution) ProtoMessage()

func (*Distribution) Reset

func (m *Distribution) Reset()

func (*Distribution) Size

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

func (*Distribution) String

func (m *Distribution) String() string

func (*Distribution) Unmarshal

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

func (*Distribution) XXX_DiscardUnknown

func (m *Distribution) XXX_DiscardUnknown()

func (*Distribution) XXX_Marshal

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

func (*Distribution) XXX_Merge

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

func (*Distribution) XXX_Size

func (m *Distribution) XXX_Size() int

func (*Distribution) XXX_Unmarshal

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

type DistributionKeeper

type DistributionKeeper interface {
	FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error
}

DistributionKeeper defines the expected distribution keeper

type EventBuyNFT

type EventBuyNFT struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId   string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId string `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Owner   string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Buyer   string `protobuf:"bytes,5,opt,name=buyer,proto3" json:"buyer,omitempty"`
}

EventBuyONFT is emitted on NFT Buy

func (*EventBuyNFT) Descriptor

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

func (*EventBuyNFT) GetBuyer

func (m *EventBuyNFT) GetBuyer() string

func (*EventBuyNFT) GetDenomId

func (m *EventBuyNFT) GetDenomId() string

func (*EventBuyNFT) GetId

func (m *EventBuyNFT) GetId() string

func (*EventBuyNFT) GetNftId

func (m *EventBuyNFT) GetNftId() string

func (*EventBuyNFT) GetOwner

func (m *EventBuyNFT) GetOwner() string

func (*EventBuyNFT) Marshal

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

func (*EventBuyNFT) MarshalTo

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

func (*EventBuyNFT) MarshalToSizedBuffer

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

func (*EventBuyNFT) ProtoMessage

func (*EventBuyNFT) ProtoMessage()

func (*EventBuyNFT) Reset

func (m *EventBuyNFT) Reset()

func (*EventBuyNFT) Size

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

func (*EventBuyNFT) String

func (m *EventBuyNFT) String() string

func (*EventBuyNFT) Unmarshal

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

func (*EventBuyNFT) XXX_DiscardUnknown

func (m *EventBuyNFT) XXX_DiscardUnknown()

func (*EventBuyNFT) XXX_Marshal

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

func (*EventBuyNFT) XXX_Merge

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

func (*EventBuyNFT) XXX_Size

func (m *EventBuyNFT) XXX_Size() int

func (*EventBuyNFT) XXX_Unmarshal

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

type EventCancelAuction

type EventCancelAuction struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId   string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId string `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Owner   string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
}

EventCancelAuction is emitted on canceling auction

func (*EventCancelAuction) Descriptor

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

func (*EventCancelAuction) GetDenomId

func (m *EventCancelAuction) GetDenomId() string

func (*EventCancelAuction) GetId

func (m *EventCancelAuction) GetId() string

func (*EventCancelAuction) GetNftId

func (m *EventCancelAuction) GetNftId() string

func (*EventCancelAuction) GetOwner

func (m *EventCancelAuction) GetOwner() string

func (*EventCancelAuction) Marshal

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

func (*EventCancelAuction) MarshalTo

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

func (*EventCancelAuction) MarshalToSizedBuffer

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

func (*EventCancelAuction) ProtoMessage

func (*EventCancelAuction) ProtoMessage()

func (*EventCancelAuction) Reset

func (m *EventCancelAuction) Reset()

func (*EventCancelAuction) Size

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

func (*EventCancelAuction) String

func (m *EventCancelAuction) String() string

func (*EventCancelAuction) Unmarshal

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

func (*EventCancelAuction) XXX_DiscardUnknown

func (m *EventCancelAuction) XXX_DiscardUnknown()

func (*EventCancelAuction) XXX_Marshal

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

func (*EventCancelAuction) XXX_Merge

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

func (*EventCancelAuction) XXX_Size

func (m *EventCancelAuction) XXX_Size() int

func (*EventCancelAuction) XXX_Unmarshal

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

type EventCreateAuction

type EventCreateAuction struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId    string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId  string `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Owner    string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	MinPrice string `protobuf:"bytes,5,opt,name=min_price,json=minPrice,proto3" json:"min_price,omitempty"`
}

EventCreateAuction is emitted on creating auction

func (*EventCreateAuction) Descriptor

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

func (*EventCreateAuction) GetDenomId

func (m *EventCreateAuction) GetDenomId() string

func (*EventCreateAuction) GetId

func (m *EventCreateAuction) GetId() string

func (*EventCreateAuction) GetMinPrice

func (m *EventCreateAuction) GetMinPrice() string

func (*EventCreateAuction) GetNftId

func (m *EventCreateAuction) GetNftId() string

func (*EventCreateAuction) GetOwner

func (m *EventCreateAuction) GetOwner() string

func (*EventCreateAuction) Marshal

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

func (*EventCreateAuction) MarshalTo

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

func (*EventCreateAuction) MarshalToSizedBuffer

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

func (*EventCreateAuction) ProtoMessage

func (*EventCreateAuction) ProtoMessage()

func (*EventCreateAuction) Reset

func (m *EventCreateAuction) Reset()

func (*EventCreateAuction) Size

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

func (*EventCreateAuction) String

func (m *EventCreateAuction) String() string

func (*EventCreateAuction) Unmarshal

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

func (*EventCreateAuction) XXX_DiscardUnknown

func (m *EventCreateAuction) XXX_DiscardUnknown()

func (*EventCreateAuction) XXX_Marshal

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

func (*EventCreateAuction) XXX_Merge

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

func (*EventCreateAuction) XXX_Size

func (m *EventCreateAuction) XXX_Size() int

func (*EventCreateAuction) XXX_Unmarshal

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

type EventDeListNFT

type EventDeListNFT struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId   string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId string `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Owner   string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
}

EventDeListONFT is emitted on NFT DeListing from market

func (*EventDeListNFT) Descriptor

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

func (*EventDeListNFT) GetDenomId

func (m *EventDeListNFT) GetDenomId() string

func (*EventDeListNFT) GetId

func (m *EventDeListNFT) GetId() string

func (*EventDeListNFT) GetNftId

func (m *EventDeListNFT) GetNftId() string

func (*EventDeListNFT) GetOwner

func (m *EventDeListNFT) GetOwner() string

func (*EventDeListNFT) Marshal

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

func (*EventDeListNFT) MarshalTo

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

func (*EventDeListNFT) MarshalToSizedBuffer

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

func (*EventDeListNFT) ProtoMessage

func (*EventDeListNFT) ProtoMessage()

func (*EventDeListNFT) Reset

func (m *EventDeListNFT) Reset()

func (*EventDeListNFT) Size

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

func (*EventDeListNFT) String

func (m *EventDeListNFT) String() string

func (*EventDeListNFT) Unmarshal

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

func (*EventDeListNFT) XXX_DiscardUnknown

func (m *EventDeListNFT) XXX_DiscardUnknown()

func (*EventDeListNFT) XXX_Marshal

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

func (*EventDeListNFT) XXX_Merge

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

func (*EventDeListNFT) XXX_Size

func (m *EventDeListNFT) XXX_Size() int

func (*EventDeListNFT) XXX_Unmarshal

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

type EventEditListing

type EventEditListing struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId   string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId string `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Owner   string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
}

EventEditListing is emitted on edit Listing on market

func (*EventEditListing) Descriptor

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

func (*EventEditListing) GetDenomId

func (m *EventEditListing) GetDenomId() string

func (*EventEditListing) GetId

func (m *EventEditListing) GetId() string

func (*EventEditListing) GetNftId

func (m *EventEditListing) GetNftId() string

func (*EventEditListing) GetOwner

func (m *EventEditListing) GetOwner() string

func (*EventEditListing) Marshal

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

func (*EventEditListing) MarshalTo

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

func (*EventEditListing) MarshalToSizedBuffer

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

func (*EventEditListing) ProtoMessage

func (*EventEditListing) ProtoMessage()

func (*EventEditListing) Reset

func (m *EventEditListing) Reset()

func (*EventEditListing) Size

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

func (*EventEditListing) String

func (m *EventEditListing) String() string

func (*EventEditListing) Unmarshal

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

func (*EventEditListing) XXX_DiscardUnknown

func (m *EventEditListing) XXX_DiscardUnknown()

func (*EventEditListing) XXX_Marshal

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

func (*EventEditListing) XXX_Merge

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

func (*EventEditListing) XXX_Size

func (m *EventEditListing) XXX_Size() int

func (*EventEditListing) XXX_Unmarshal

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

type EventListNFT

type EventListNFT struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId   string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId string `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Owner   string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
}

EventListONFT is emitted on NFT Listing on market

func (*EventListNFT) Descriptor

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

func (*EventListNFT) GetDenomId

func (m *EventListNFT) GetDenomId() string

func (*EventListNFT) GetId

func (m *EventListNFT) GetId() string

func (*EventListNFT) GetNftId

func (m *EventListNFT) GetNftId() string

func (*EventListNFT) GetOwner

func (m *EventListNFT) GetOwner() string

func (*EventListNFT) Marshal

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

func (*EventListNFT) MarshalTo

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

func (*EventListNFT) MarshalToSizedBuffer

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

func (*EventListNFT) ProtoMessage

func (*EventListNFT) ProtoMessage()

func (*EventListNFT) Reset

func (m *EventListNFT) Reset()

func (*EventListNFT) Size

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

func (*EventListNFT) String

func (m *EventListNFT) String() string

func (*EventListNFT) Unmarshal

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

func (*EventListNFT) XXX_DiscardUnknown

func (m *EventListNFT) XXX_DiscardUnknown()

func (*EventListNFT) XXX_Marshal

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

func (*EventListNFT) XXX_Merge

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

func (*EventListNFT) XXX_Size

func (m *EventListNFT) XXX_Size() int

func (*EventListNFT) XXX_Unmarshal

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

type EventPlaceBid

type EventPlaceBid struct {
	AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	NftId     string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId   string `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Bidder    string `protobuf:"bytes,4,opt,name=bidder,proto3" json:"bidder,omitempty"`
	Amount    string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
}

EventPlaceBid is emitted on placing bid for an auction

func (*EventPlaceBid) Descriptor

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

func (*EventPlaceBid) GetAmount

func (m *EventPlaceBid) GetAmount() string

func (*EventPlaceBid) GetAuctionId

func (m *EventPlaceBid) GetAuctionId() string

func (*EventPlaceBid) GetBidder

func (m *EventPlaceBid) GetBidder() string

func (*EventPlaceBid) GetDenomId

func (m *EventPlaceBid) GetDenomId() string

func (*EventPlaceBid) GetNftId

func (m *EventPlaceBid) GetNftId() string

func (*EventPlaceBid) Marshal

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

func (*EventPlaceBid) MarshalTo

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

func (*EventPlaceBid) MarshalToSizedBuffer

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

func (*EventPlaceBid) ProtoMessage

func (*EventPlaceBid) ProtoMessage()

func (*EventPlaceBid) Reset

func (m *EventPlaceBid) Reset()

func (*EventPlaceBid) Size

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

func (*EventPlaceBid) String

func (m *EventPlaceBid) String() string

func (*EventPlaceBid) Unmarshal

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

func (*EventPlaceBid) XXX_DiscardUnknown

func (m *EventPlaceBid) XXX_DiscardUnknown()

func (*EventPlaceBid) XXX_Marshal

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

func (*EventPlaceBid) XXX_Merge

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

func (*EventPlaceBid) XXX_Size

func (m *EventPlaceBid) XXX_Size() int

func (*EventPlaceBid) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// NFTs that are listed in marketplace
	Listings          []Listing        `protobuf:"bytes,1,rep,name=listings,proto3" json:"listings"`
	ListingCount      uint64           `protobuf:"varint,2,opt,name=ListingCount,proto3" json:"ListingCount,omitempty"`
	Params            Params           `protobuf:"bytes,3,opt,name=params,proto3" json:"params"`
	Auctions          []AuctionListing `protobuf:"bytes,4,rep,name=auctions,proto3" json:"auctions"`
	Bids              []Bid            `protobuf:"bytes,5,rep,name=bids,proto3" json:"bids"`
	NextAuctionNumber uint64           `protobuf:"varint,6,opt,name=next_auction_number,json=nextAuctionNumber,proto3" json:"next_auction_number,omitempty"`
}

func NewGenesisState

func NewGenesisState(listings []Listing, listingCount uint64, params Params,
	auctions []AuctionListing, bids []Bid, nextAuctionNumber uint64,
) *GenesisState

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAuctions

func (m *GenesisState) GetAuctions() []AuctionListing

func (*GenesisState) GetBids

func (m *GenesisState) GetBids() []Bid

func (*GenesisState) GetListingCount

func (m *GenesisState) GetListingCount() uint64

func (*GenesisState) GetListings

func (m *GenesisState) GetListings() []Listing

func (*GenesisState) GetNextAuctionNumber

func (m *GenesisState) GetNextAuctionNumber() uint64

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) ValidateGenesis

func (m *GenesisState) ValidateGenesis() error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type Listing

type Listing struct {
	Id          string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId       string            `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty" yaml:"nft_id"`
	DenomId     string            `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	Price       types.Coin        `protobuf:"bytes,4,opt,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"price"`
	Owner       string            `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
	SplitShares []WeightedAddress `protobuf:"bytes,6,rep,name=split_shares,json=splitShares,proto3" json:"split_shares" yaml:"split_shares"`
}

func NewListing

func NewListing(id, nftId, denomId string, price sdk.Coin, owner sdk.AccAddress, splitShares []WeightedAddress) Listing

func (*Listing) Descriptor

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

func (Listing) GetDenomId

func (l Listing) GetDenomId() string

func (Listing) GetId

func (l Listing) GetId() string

func (Listing) GetNftId

func (l Listing) GetNftId() string

func (Listing) GetOwner

func (l Listing) GetOwner() sdk.AccAddress

func (Listing) GetPrice

func (l Listing) GetPrice() sdk.Coin

func (Listing) GetSplitShares

func (l Listing) GetSplitShares() interface{}

func (*Listing) Marshal

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

func (*Listing) MarshalTo

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

func (*Listing) MarshalToSizedBuffer

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

func (*Listing) ProtoMessage

func (*Listing) ProtoMessage()

func (*Listing) Reset

func (m *Listing) Reset()

func (*Listing) Size

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

func (*Listing) String

func (m *Listing) String() string

func (*Listing) Unmarshal

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

func (*Listing) XXX_DiscardUnknown

func (m *Listing) XXX_DiscardUnknown()

func (*Listing) XXX_Marshal

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

func (*Listing) XXX_Merge

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

func (*Listing) XXX_Size

func (m *Listing) XXX_Size() int

func (*Listing) XXX_Unmarshal

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

type MsgBuyNFT

type MsgBuyNFT struct {
	Id    string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Price types.Coin `protobuf:"bytes,2,opt,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"price"`
	Buyer string     `protobuf:"bytes,3,opt,name=buyer,proto3" json:"buyer,omitempty"`
}

func NewMsgBuyNFT

func NewMsgBuyNFT(id string, price sdk.Coin, buyer sdk.AccAddress) *MsgBuyNFT

NewMsgBuyNFT

func (*MsgBuyNFT) Descriptor

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

func (MsgBuyNFT) GetSignBytes

func (msg MsgBuyNFT) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBuyNFT) GetSigners

func (msg MsgBuyNFT) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

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

Route Implements Msg.

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

Type Implements Msg.

func (*MsgBuyNFT) Unmarshal

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

func (MsgBuyNFT) ValidateBasic

func (msg MsgBuyNFT) ValidateBasic() error

ValidateBasic Implements Msg.

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 MsgCancelAuction

type MsgCancelAuction struct {
	AuctionId uint64 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" yaml:"auction_id"`
	Owner     string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgCancelAuction

func NewMsgCancelAuction(auctionId uint64, owner sdk.AccAddress) *MsgCancelAuction

func (*MsgCancelAuction) Descriptor

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

func (MsgCancelAuction) GetSignBytes

func (msg MsgCancelAuction) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgCancelAuction) GetSigners

func (msg MsgCancelAuction) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgCancelAuction) Marshal

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

func (*MsgCancelAuction) MarshalTo

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

func (*MsgCancelAuction) MarshalToSizedBuffer

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

func (*MsgCancelAuction) ProtoMessage

func (*MsgCancelAuction) ProtoMessage()

func (*MsgCancelAuction) Reset

func (m *MsgCancelAuction) Reset()

func (MsgCancelAuction) Route

func (msg MsgCancelAuction) Route() string

func (*MsgCancelAuction) Size

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

func (*MsgCancelAuction) String

func (m *MsgCancelAuction) String() string

func (MsgCancelAuction) Type

func (msg MsgCancelAuction) Type() string

func (*MsgCancelAuction) Unmarshal

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

func (MsgCancelAuction) ValidateBasic

func (msg MsgCancelAuction) ValidateBasic() error

func (*MsgCancelAuction) XXX_DiscardUnknown

func (m *MsgCancelAuction) XXX_DiscardUnknown()

func (*MsgCancelAuction) XXX_Marshal

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

func (*MsgCancelAuction) XXX_Merge

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

func (*MsgCancelAuction) XXX_Size

func (m *MsgCancelAuction) XXX_Size() int

func (*MsgCancelAuction) XXX_Unmarshal

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

type MsgCancelAuctionResponse

type MsgCancelAuctionResponse struct {
}

func (*MsgCancelAuctionResponse) Descriptor

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

func (*MsgCancelAuctionResponse) Marshal

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

func (*MsgCancelAuctionResponse) MarshalTo

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

func (*MsgCancelAuctionResponse) MarshalToSizedBuffer

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

func (*MsgCancelAuctionResponse) ProtoMessage

func (*MsgCancelAuctionResponse) ProtoMessage()

func (*MsgCancelAuctionResponse) Reset

func (m *MsgCancelAuctionResponse) Reset()

func (*MsgCancelAuctionResponse) Size

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

func (*MsgCancelAuctionResponse) String

func (m *MsgCancelAuctionResponse) String() string

func (*MsgCancelAuctionResponse) Unmarshal

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

func (*MsgCancelAuctionResponse) XXX_DiscardUnknown

func (m *MsgCancelAuctionResponse) XXX_DiscardUnknown()

func (*MsgCancelAuctionResponse) XXX_Marshal

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

func (*MsgCancelAuctionResponse) XXX_Merge

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

func (*MsgCancelAuctionResponse) XXX_Size

func (m *MsgCancelAuctionResponse) XXX_Size() int

func (*MsgCancelAuctionResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	ListNFT(ctx context.Context, in *MsgListNFT, opts ...grpc.CallOption) (*MsgListNFTResponse, error)
	EditListing(ctx context.Context, in *MsgEditListing, opts ...grpc.CallOption) (*MsgEditListingResponse, error)
	DeListNFT(ctx context.Context, in *MsgDeListNFT, opts ...grpc.CallOption) (*MsgDeListNFTResponse, error)
	BuyNFT(ctx context.Context, in *MsgBuyNFT, opts ...grpc.CallOption) (*MsgBuyNFTResponse, error)
	CreateAuction(ctx context.Context, in *MsgCreateAuction, opts ...grpc.CallOption) (*MsgCreateAuctionResponse, error)
	CancelAuction(ctx context.Context, in *MsgCancelAuction, opts ...grpc.CallOption) (*MsgCancelAuctionResponse, error)
	PlaceBid(ctx context.Context, in *MsgPlaceBid, opts ...grpc.CallOption) (*MsgPlaceBidResponse, error)
	// UpdateParams defines a governance operation for updating the x/marketplace module
	// parameters. The authority is hard-coded to the x/marketplace module account.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateAuction

type MsgCreateAuction struct {
	NftId               string                                 `protobuf:"bytes,1,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId             string                                 `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	StartTime           time.Time                              `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" yaml:"start_time"`
	StartPrice          types.Coin                             `` /* 153-byte string literal not displayed */
	Duration            *time.Duration                         `protobuf:"bytes,5,opt,name=duration,proto3,stdduration" json:"duration,omitempty"`
	IncrementPercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 186-byte string literal not displayed */
	WhitelistAccounts   []string                               `` /* 138-byte string literal not displayed */
	SplitShares         []WeightedAddress                      `protobuf:"bytes,8,rep,name=split_shares,json=splitShares,proto3" json:"split_shares" yaml:"split_shares"`
	Owner               string                                 `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgCreateAuction

func NewMsgCreateAuction(denomId, nftId string, startTime time.Time, duration *time.Duration, startPrice sdk.Coin, owner sdk.AccAddress,
	incrementPercentage sdk.Dec, whitelistAccounts []string, splitShares []WeightedAddress,
) *MsgCreateAuction

func (*MsgCreateAuction) Descriptor

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

func (MsgCreateAuction) GetSignBytes

func (msg MsgCreateAuction) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgCreateAuction) GetSigners

func (msg MsgCreateAuction) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgCreateAuction) Marshal

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

func (*MsgCreateAuction) MarshalTo

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

func (*MsgCreateAuction) MarshalToSizedBuffer

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

func (*MsgCreateAuction) ProtoMessage

func (*MsgCreateAuction) ProtoMessage()

func (*MsgCreateAuction) Reset

func (m *MsgCreateAuction) Reset()

func (MsgCreateAuction) Route

func (msg MsgCreateAuction) Route() string

func (*MsgCreateAuction) Size

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

func (*MsgCreateAuction) String

func (m *MsgCreateAuction) String() string

func (MsgCreateAuction) Type

func (msg MsgCreateAuction) Type() string

func (*MsgCreateAuction) Unmarshal

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

func (MsgCreateAuction) Validate

func (msg MsgCreateAuction) Validate(now time.Time) error

func (MsgCreateAuction) ValidateBasic

func (msg MsgCreateAuction) ValidateBasic() error

func (*MsgCreateAuction) XXX_DiscardUnknown

func (m *MsgCreateAuction) XXX_DiscardUnknown()

func (*MsgCreateAuction) XXX_Marshal

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

func (*MsgCreateAuction) XXX_Merge

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

func (*MsgCreateAuction) XXX_Size

func (m *MsgCreateAuction) XXX_Size() int

func (*MsgCreateAuction) XXX_Unmarshal

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

type MsgCreateAuctionResponse

type MsgCreateAuctionResponse struct {
	Auction *AuctionListing `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"`
}

func (*MsgCreateAuctionResponse) Descriptor

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

func (*MsgCreateAuctionResponse) Marshal

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

func (*MsgCreateAuctionResponse) MarshalTo

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

func (*MsgCreateAuctionResponse) MarshalToSizedBuffer

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

func (*MsgCreateAuctionResponse) ProtoMessage

func (*MsgCreateAuctionResponse) ProtoMessage()

func (*MsgCreateAuctionResponse) Reset

func (m *MsgCreateAuctionResponse) Reset()

func (*MsgCreateAuctionResponse) Size

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

func (*MsgCreateAuctionResponse) String

func (m *MsgCreateAuctionResponse) String() string

func (*MsgCreateAuctionResponse) Unmarshal

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

func (*MsgCreateAuctionResponse) XXX_DiscardUnknown

func (m *MsgCreateAuctionResponse) XXX_DiscardUnknown()

func (*MsgCreateAuctionResponse) XXX_Marshal

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

func (*MsgCreateAuctionResponse) XXX_Merge

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

func (*MsgCreateAuctionResponse) XXX_Size

func (m *MsgCreateAuctionResponse) XXX_Size() int

func (*MsgCreateAuctionResponse) XXX_Unmarshal

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

type MsgDeListNFT

type MsgDeListNFT struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgDeListNFT

func NewMsgDeListNFT(id string, owner sdk.AccAddress) *MsgDeListNFT

NewMsgDeListNFT

func (*MsgDeListNFT) Descriptor

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

func (MsgDeListNFT) GetSignBytes

func (msg MsgDeListNFT) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgDeListNFT) GetSigners

func (msg MsgDeListNFT) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgDeListNFT) Marshal

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

func (*MsgDeListNFT) MarshalTo

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

func (*MsgDeListNFT) MarshalToSizedBuffer

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

func (*MsgDeListNFT) ProtoMessage

func (*MsgDeListNFT) ProtoMessage()

func (*MsgDeListNFT) Reset

func (m *MsgDeListNFT) Reset()

func (MsgDeListNFT) Route

func (msg MsgDeListNFT) Route() string

Route Implements Msg.

func (*MsgDeListNFT) Size

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

func (*MsgDeListNFT) String

func (m *MsgDeListNFT) String() string

func (MsgDeListNFT) Type

func (msg MsgDeListNFT) Type() string

Type Implements Msg.

func (*MsgDeListNFT) Unmarshal

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

func (MsgDeListNFT) ValidateBasic

func (msg MsgDeListNFT) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgDeListNFT) XXX_DiscardUnknown

func (m *MsgDeListNFT) XXX_DiscardUnknown()

func (*MsgDeListNFT) XXX_Marshal

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

func (*MsgDeListNFT) XXX_Merge

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

func (*MsgDeListNFT) XXX_Size

func (m *MsgDeListNFT) XXX_Size() int

func (*MsgDeListNFT) XXX_Unmarshal

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

type MsgDeListNFTResponse

type MsgDeListNFTResponse struct {
}

func (*MsgDeListNFTResponse) Descriptor

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

func (*MsgDeListNFTResponse) Marshal

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

func (*MsgDeListNFTResponse) MarshalTo

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

func (*MsgDeListNFTResponse) MarshalToSizedBuffer

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

func (*MsgDeListNFTResponse) ProtoMessage

func (*MsgDeListNFTResponse) ProtoMessage()

func (*MsgDeListNFTResponse) Reset

func (m *MsgDeListNFTResponse) Reset()

func (*MsgDeListNFTResponse) Size

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

func (*MsgDeListNFTResponse) String

func (m *MsgDeListNFTResponse) String() string

func (*MsgDeListNFTResponse) Unmarshal

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

func (*MsgDeListNFTResponse) XXX_DiscardUnknown

func (m *MsgDeListNFTResponse) XXX_DiscardUnknown()

func (*MsgDeListNFTResponse) XXX_Marshal

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

func (*MsgDeListNFTResponse) XXX_Merge

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

func (*MsgDeListNFTResponse) XXX_Size

func (m *MsgDeListNFTResponse) XXX_Size() int

func (*MsgDeListNFTResponse) XXX_Unmarshal

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

type MsgEditListing

type MsgEditListing struct {
	Id    string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Price types.Coin `protobuf:"bytes,2,opt,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"price"`
	Owner string     `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}

func NewMsgEditListing

func NewMsgEditListing(id string, price sdk.Coin, owner sdk.AccAddress) *MsgEditListing

func (*MsgEditListing) Descriptor

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

func (MsgEditListing) GetSignBytes

func (msg MsgEditListing) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgEditListing) GetSigners

func (msg MsgEditListing) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgEditListing) Marshal

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

func (*MsgEditListing) MarshalTo

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

func (*MsgEditListing) MarshalToSizedBuffer

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

func (*MsgEditListing) ProtoMessage

func (*MsgEditListing) ProtoMessage()

func (*MsgEditListing) Reset

func (m *MsgEditListing) Reset()

func (MsgEditListing) Route

func (msg MsgEditListing) Route() string

func (*MsgEditListing) Size

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

func (*MsgEditListing) String

func (m *MsgEditListing) String() string

func (MsgEditListing) Type

func (msg MsgEditListing) Type() string

func (*MsgEditListing) Unmarshal

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

func (MsgEditListing) ValidateBasic

func (msg MsgEditListing) ValidateBasic() error

func (*MsgEditListing) XXX_DiscardUnknown

func (m *MsgEditListing) XXX_DiscardUnknown()

func (*MsgEditListing) XXX_Marshal

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

func (*MsgEditListing) XXX_Merge

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

func (*MsgEditListing) XXX_Size

func (m *MsgEditListing) XXX_Size() int

func (*MsgEditListing) XXX_Unmarshal

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

type MsgEditListingResponse

type MsgEditListingResponse struct {
}

func (*MsgEditListingResponse) Descriptor

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

func (*MsgEditListingResponse) Marshal

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

func (*MsgEditListingResponse) MarshalTo

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

func (*MsgEditListingResponse) MarshalToSizedBuffer

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

func (*MsgEditListingResponse) ProtoMessage

func (*MsgEditListingResponse) ProtoMessage()

func (*MsgEditListingResponse) Reset

func (m *MsgEditListingResponse) Reset()

func (*MsgEditListingResponse) Size

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

func (*MsgEditListingResponse) String

func (m *MsgEditListingResponse) String() string

func (*MsgEditListingResponse) Unmarshal

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

func (*MsgEditListingResponse) XXX_DiscardUnknown

func (m *MsgEditListingResponse) XXX_DiscardUnknown()

func (*MsgEditListingResponse) XXX_Marshal

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

func (*MsgEditListingResponse) XXX_Merge

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

func (*MsgEditListingResponse) XXX_Size

func (m *MsgEditListingResponse) XXX_Size() int

func (*MsgEditListingResponse) XXX_Unmarshal

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

type MsgListNFT

type MsgListNFT struct {
	Id          string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NftId       string            `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
	DenomId     string            `protobuf:"bytes,3,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
	Price       types.Coin        `protobuf:"bytes,4,opt,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"price"`
	Owner       string            `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	SplitShares []WeightedAddress `protobuf:"bytes,6,rep,name=split_shares,json=splitShares,proto3" json:"split_shares" yaml:"split_shares"`
}

func NewMsgListNFT

func NewMsgListNFT(denomId, nftId string, price sdk.Coin, owner sdk.AccAddress, splitShares []WeightedAddress) *MsgListNFT

func (*MsgListNFT) Descriptor

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

func (MsgListNFT) GetSignBytes

func (msg MsgListNFT) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgListNFT) GetSigners

func (msg MsgListNFT) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgListNFT) Marshal

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

func (*MsgListNFT) MarshalTo

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

func (*MsgListNFT) MarshalToSizedBuffer

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

func (*MsgListNFT) ProtoMessage

func (*MsgListNFT) ProtoMessage()

func (*MsgListNFT) Reset

func (m *MsgListNFT) Reset()

func (MsgListNFT) Route

func (msg MsgListNFT) Route() string

func (*MsgListNFT) Size

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

func (*MsgListNFT) String

func (m *MsgListNFT) String() string

func (MsgListNFT) Type

func (msg MsgListNFT) Type() string

func (*MsgListNFT) Unmarshal

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

func (MsgListNFT) ValidateBasic

func (msg MsgListNFT) ValidateBasic() error

func (*MsgListNFT) XXX_DiscardUnknown

func (m *MsgListNFT) XXX_DiscardUnknown()

func (*MsgListNFT) XXX_Marshal

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

func (*MsgListNFT) XXX_Merge

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

func (*MsgListNFT) XXX_Size

func (m *MsgListNFT) XXX_Size() int

func (*MsgListNFT) XXX_Unmarshal

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

type MsgListNFTResponse

type MsgListNFTResponse struct {
}

func (*MsgListNFTResponse) Descriptor

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

func (*MsgListNFTResponse) Marshal

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

func (*MsgListNFTResponse) MarshalTo

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

func (*MsgListNFTResponse) MarshalToSizedBuffer

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

func (*MsgListNFTResponse) ProtoMessage

func (*MsgListNFTResponse) ProtoMessage()

func (*MsgListNFTResponse) Reset

func (m *MsgListNFTResponse) Reset()

func (*MsgListNFTResponse) Size

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

func (*MsgListNFTResponse) String

func (m *MsgListNFTResponse) String() string

func (*MsgListNFTResponse) Unmarshal

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

func (*MsgListNFTResponse) XXX_DiscardUnknown

func (m *MsgListNFTResponse) XXX_DiscardUnknown()

func (*MsgListNFTResponse) XXX_Marshal

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

func (*MsgListNFTResponse) XXX_Merge

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

func (*MsgListNFTResponse) XXX_Size

func (m *MsgListNFTResponse) XXX_Size() int

func (*MsgListNFTResponse) XXX_Unmarshal

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

type MsgPlaceBid

type MsgPlaceBid struct {
	AuctionId uint64     `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" yaml:"auction_id"`
	Amount    types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	Bidder    string     `protobuf:"bytes,3,opt,name=bidder,proto3" json:"bidder,omitempty"`
}

func NewMsgPlaceBid

func NewMsgPlaceBid(auctionId uint64, amount sdk.Coin, bidder sdk.AccAddress) *MsgPlaceBid

func (*MsgPlaceBid) Descriptor

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

func (MsgPlaceBid) GetSignBytes

func (msg MsgPlaceBid) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgPlaceBid) GetSigners

func (msg MsgPlaceBid) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (*MsgPlaceBid) Marshal

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

func (*MsgPlaceBid) MarshalTo

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

func (*MsgPlaceBid) MarshalToSizedBuffer

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

func (*MsgPlaceBid) ProtoMessage

func (*MsgPlaceBid) ProtoMessage()

func (*MsgPlaceBid) Reset

func (m *MsgPlaceBid) Reset()

func (MsgPlaceBid) Route

func (msg MsgPlaceBid) Route() string

func (*MsgPlaceBid) Size

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

func (*MsgPlaceBid) String

func (m *MsgPlaceBid) String() string

func (MsgPlaceBid) Type

func (msg MsgPlaceBid) Type() string

func (*MsgPlaceBid) Unmarshal

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

func (MsgPlaceBid) ValidateBasic

func (msg MsgPlaceBid) ValidateBasic() error

func (*MsgPlaceBid) XXX_DiscardUnknown

func (m *MsgPlaceBid) XXX_DiscardUnknown()

func (*MsgPlaceBid) XXX_Marshal

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

func (*MsgPlaceBid) XXX_Merge

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

func (*MsgPlaceBid) XXX_Size

func (m *MsgPlaceBid) XXX_Size() int

func (*MsgPlaceBid) XXX_Unmarshal

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

type MsgPlaceBidResponse

type MsgPlaceBidResponse struct {
}

func (*MsgPlaceBidResponse) Descriptor

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

func (*MsgPlaceBidResponse) Marshal

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

func (*MsgPlaceBidResponse) MarshalTo

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

func (*MsgPlaceBidResponse) MarshalToSizedBuffer

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

func (*MsgPlaceBidResponse) ProtoMessage

func (*MsgPlaceBidResponse) ProtoMessage()

func (*MsgPlaceBidResponse) Reset

func (m *MsgPlaceBidResponse) Reset()

func (*MsgPlaceBidResponse) Size

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

func (*MsgPlaceBidResponse) String

func (m *MsgPlaceBidResponse) String() string

func (*MsgPlaceBidResponse) Unmarshal

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

func (*MsgPlaceBidResponse) XXX_DiscardUnknown

func (m *MsgPlaceBidResponse) XXX_DiscardUnknown()

func (*MsgPlaceBidResponse) XXX_Marshal

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

func (*MsgPlaceBidResponse) XXX_Merge

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

func (*MsgPlaceBidResponse) XXX_Size

func (m *MsgPlaceBidResponse) XXX_Size() int

func (*MsgPlaceBidResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	ListNFT(context.Context, *MsgListNFT) (*MsgListNFTResponse, error)
	EditListing(context.Context, *MsgEditListing) (*MsgEditListingResponse, error)
	DeListNFT(context.Context, *MsgDeListNFT) (*MsgDeListNFTResponse, error)
	BuyNFT(context.Context, *MsgBuyNFT) (*MsgBuyNFTResponse, error)
	CreateAuction(context.Context, *MsgCreateAuction) (*MsgCreateAuctionResponse, error)
	CancelAuction(context.Context, *MsgCancelAuction) (*MsgCancelAuctionResponse, error)
	PlaceBid(context.Context, *MsgPlaceBid) (*MsgPlaceBidResponse, error)
	// UpdateParams defines a governance operation for updating the x/marketplace module
	// parameters. The authority is hard-coded to the x/marketplace module account.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/marketplace parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func (*MsgUpdateParams) Descriptor

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

func (MsgUpdateParams) GetSignBytes

func (m MsgUpdateParams) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateParams) GetSigners

func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type NftKeeper

type NftKeeper interface {
	GetONFT(ctx sdk.Context, denomId, onftId string) (nft nft.ONFTI, err error)
	GetDenomInfo(ctx sdk.Context, denomId string) (*nftypes.Denom, error)
	TransferOwnership(ctx sdk.Context, denomId, nftId string, srcOwner, dstOwner sdk.AccAddress) error
}

NftKeeper methods imported from nft should be defined here

type Params

type Params struct {
	SaleCommission     github_com_cosmos_cosmos_sdk_types.Dec `` /* 166-byte string literal not displayed */
	Distribution       Distribution                           `protobuf:"bytes,2,opt,name=distribution,proto3" json:"distribution"`
	BidCloseDuration   time.Duration                          `` /* 139-byte string literal not displayed */
	MaxAuctionDuration time.Duration                          `` /* 147-byte string literal not displayed */
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns default marketplace parameters

func NewMarketplaceParams

func NewMarketplaceParams(
	saleCommission sdk.Dec,
	distribution Distribution,
	bidCloseDuration time.Duration,
	maxAuctionDuration time.Duration,
) Params

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 returns the parameter set pairs.

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 (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) ValidateBasic

func (p Params) ValidateBasic() error

ValidateBasic performs basic validation on marketplace parameters.

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 QueryAllAuctionsParams

type QueryAllAuctionsParams struct{}

QueryAllListingsParams is the query parameters for 'marketplace/auctions'

func NewQueryAllAuctionsParams

func NewQueryAllAuctionsParams() QueryAllAuctionsParams

NewQueryAllListingsParams

type QueryAllBidsParams

type QueryAllBidsParams struct{}

QueryAllBidsParams is the query parameters for 'marketplace/bids'

func NewQueryAllBidsParams

func NewQueryAllBidsParams() QueryAllBidsParams

NewQueryAllListingsParams

type QueryAllListingsParams

type QueryAllListingsParams struct{}

QueryAllListingsParams is the query parameters for 'marketplace/listings'

func NewQueryAllListingsParams

func NewQueryAllListingsParams() QueryAllListingsParams

NewQueryAllListingsParams

type QueryAuctionByNFTIDRequest

type QueryAuctionByNFTIDRequest struct {
	NftId string `protobuf:"bytes,1,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty" yaml:"nft_id"`
}

func (*QueryAuctionByNFTIDRequest) Descriptor

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

func (*QueryAuctionByNFTIDRequest) GetNftId

func (m *QueryAuctionByNFTIDRequest) GetNftId() string

func (*QueryAuctionByNFTIDRequest) Marshal

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

func (*QueryAuctionByNFTIDRequest) MarshalTo

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

func (*QueryAuctionByNFTIDRequest) MarshalToSizedBuffer

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

func (*QueryAuctionByNFTIDRequest) ProtoMessage

func (*QueryAuctionByNFTIDRequest) ProtoMessage()

func (*QueryAuctionByNFTIDRequest) Reset

func (m *QueryAuctionByNFTIDRequest) Reset()

func (*QueryAuctionByNFTIDRequest) Size

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

func (*QueryAuctionByNFTIDRequest) String

func (m *QueryAuctionByNFTIDRequest) String() string

func (*QueryAuctionByNFTIDRequest) Unmarshal

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

func (*QueryAuctionByNFTIDRequest) XXX_DiscardUnknown

func (m *QueryAuctionByNFTIDRequest) XXX_DiscardUnknown()

func (*QueryAuctionByNFTIDRequest) XXX_Marshal

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

func (*QueryAuctionByNFTIDRequest) XXX_Merge

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

func (*QueryAuctionByNFTIDRequest) XXX_Size

func (m *QueryAuctionByNFTIDRequest) XXX_Size() int

func (*QueryAuctionByNFTIDRequest) XXX_Unmarshal

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

type QueryAuctionParams

type QueryAuctionParams struct {
	Id uint64
}

QueryAuctionParams is the query parameters for '/marketplace/auctions/{id}'

func NewQueryAuctionParams

func NewQueryAuctionParams(id uint64) QueryAuctionParams

NewQueryAuctionParams

type QueryAuctionRequest

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

func (*QueryAuctionRequest) Descriptor

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

func (*QueryAuctionRequest) GetId

func (m *QueryAuctionRequest) GetId() uint64

func (*QueryAuctionRequest) Marshal

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

func (*QueryAuctionRequest) MarshalTo

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

func (*QueryAuctionRequest) MarshalToSizedBuffer

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

func (*QueryAuctionRequest) ProtoMessage

func (*QueryAuctionRequest) ProtoMessage()

func (*QueryAuctionRequest) Reset

func (m *QueryAuctionRequest) Reset()

func (*QueryAuctionRequest) Size

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

func (*QueryAuctionRequest) String

func (m *QueryAuctionRequest) String() string

func (*QueryAuctionRequest) Unmarshal

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

func (*QueryAuctionRequest) XXX_DiscardUnknown

func (m *QueryAuctionRequest) XXX_DiscardUnknown()

func (*QueryAuctionRequest) XXX_Marshal

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

func (*QueryAuctionRequest) XXX_Merge

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

func (*QueryAuctionRequest) XXX_Size

func (m *QueryAuctionRequest) XXX_Size() int

func (*QueryAuctionRequest) XXX_Unmarshal

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

type QueryAuctionResponse

type QueryAuctionResponse struct {
	Auction *AuctionListing `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"`
}

func (*QueryAuctionResponse) Descriptor

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

func (*QueryAuctionResponse) GetAuction

func (m *QueryAuctionResponse) GetAuction() *AuctionListing

func (*QueryAuctionResponse) Marshal

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

func (*QueryAuctionResponse) MarshalTo

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

func (*QueryAuctionResponse) MarshalToSizedBuffer

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

func (*QueryAuctionResponse) ProtoMessage

func (*QueryAuctionResponse) ProtoMessage()

func (*QueryAuctionResponse) Reset

func (m *QueryAuctionResponse) Reset()

func (*QueryAuctionResponse) Size

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

func (*QueryAuctionResponse) String

func (m *QueryAuctionResponse) String() string

func (*QueryAuctionResponse) Unmarshal

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

func (*QueryAuctionResponse) XXX_DiscardUnknown

func (m *QueryAuctionResponse) XXX_DiscardUnknown()

func (*QueryAuctionResponse) XXX_Marshal

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

func (*QueryAuctionResponse) XXX_Merge

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

func (*QueryAuctionResponse) XXX_Size

func (m *QueryAuctionResponse) XXX_Size() int

func (*QueryAuctionResponse) XXX_Unmarshal

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

type QueryAuctionsByOwnerParams

type QueryAuctionsByOwnerParams struct {
	Owner sdk.AccAddress
}

QueryListingsByOwnerParams is the query parameters for 'marketplace/auctions/{owner}'

func NewQueryAuctionsByOwnerParams

func NewQueryAuctionsByOwnerParams(owner sdk.AccAddress) QueryAuctionsByOwnerParams

NewQueryAuctionsByOwnerParams

type QueryAuctionsByOwnerRequest

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

func (*QueryAuctionsByOwnerRequest) Descriptor

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

func (*QueryAuctionsByOwnerRequest) GetOwner

func (m *QueryAuctionsByOwnerRequest) GetOwner() string

func (*QueryAuctionsByOwnerRequest) GetPagination

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

func (*QueryAuctionsByOwnerRequest) Marshal

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

func (*QueryAuctionsByOwnerRequest) MarshalTo

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

func (*QueryAuctionsByOwnerRequest) MarshalToSizedBuffer

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

func (*QueryAuctionsByOwnerRequest) ProtoMessage

func (*QueryAuctionsByOwnerRequest) ProtoMessage()

func (*QueryAuctionsByOwnerRequest) Reset

func (m *QueryAuctionsByOwnerRequest) Reset()

func (*QueryAuctionsByOwnerRequest) Size

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

func (*QueryAuctionsByOwnerRequest) String

func (m *QueryAuctionsByOwnerRequest) String() string

func (*QueryAuctionsByOwnerRequest) Unmarshal

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

func (*QueryAuctionsByOwnerRequest) XXX_DiscardUnknown

func (m *QueryAuctionsByOwnerRequest) XXX_DiscardUnknown()

func (*QueryAuctionsByOwnerRequest) XXX_Marshal

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

func (*QueryAuctionsByOwnerRequest) XXX_Merge

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

func (*QueryAuctionsByOwnerRequest) XXX_Size

func (m *QueryAuctionsByOwnerRequest) XXX_Size() int

func (*QueryAuctionsByOwnerRequest) XXX_Unmarshal

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

type QueryAuctionsByPriceDenomRequest

type QueryAuctionsByPriceDenomRequest struct {
	PriceDenom string             `protobuf:"bytes,1,opt,name=price_denom,json=priceDenom,proto3" json:"price_denom,omitempty" yaml:"price_denom"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAuctionsByPriceDenomRequest) Descriptor

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

func (*QueryAuctionsByPriceDenomRequest) GetPagination

func (*QueryAuctionsByPriceDenomRequest) GetPriceDenom

func (m *QueryAuctionsByPriceDenomRequest) GetPriceDenom() string

func (*QueryAuctionsByPriceDenomRequest) Marshal

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

func (*QueryAuctionsByPriceDenomRequest) MarshalTo

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

func (*QueryAuctionsByPriceDenomRequest) MarshalToSizedBuffer

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

func (*QueryAuctionsByPriceDenomRequest) ProtoMessage

func (*QueryAuctionsByPriceDenomRequest) ProtoMessage()

func (*QueryAuctionsByPriceDenomRequest) Reset

func (*QueryAuctionsByPriceDenomRequest) Size

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

func (*QueryAuctionsByPriceDenomRequest) String

func (*QueryAuctionsByPriceDenomRequest) Unmarshal

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

func (*QueryAuctionsByPriceDenomRequest) XXX_DiscardUnknown

func (m *QueryAuctionsByPriceDenomRequest) XXX_DiscardUnknown()

func (*QueryAuctionsByPriceDenomRequest) XXX_Marshal

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

func (*QueryAuctionsByPriceDenomRequest) XXX_Merge

func (*QueryAuctionsByPriceDenomRequest) XXX_Size

func (m *QueryAuctionsByPriceDenomRequest) XXX_Size() int

func (*QueryAuctionsByPriceDenomRequest) XXX_Unmarshal

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

type QueryAuctionsRequest

type QueryAuctionsRequest struct {
	Status     AuctionStatus      `protobuf:"varint,1,opt,name=status,proto3,enum=OmniFlix.marketplace.v1beta1.AuctionStatus" json:"status,omitempty"`
	Owner      string             `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	PriceDenom string             `protobuf:"bytes,3,opt,name=price_denom,json=priceDenom,proto3" json:"price_denom,omitempty" yaml:"price_denom"`
	Pagination *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAuctionsRequest) Descriptor

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

func (*QueryAuctionsRequest) GetOwner

func (m *QueryAuctionsRequest) GetOwner() string

func (*QueryAuctionsRequest) GetPagination

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

func (*QueryAuctionsRequest) GetPriceDenom

func (m *QueryAuctionsRequest) GetPriceDenom() string

func (*QueryAuctionsRequest) GetStatus

func (m *QueryAuctionsRequest) GetStatus() AuctionStatus

func (*QueryAuctionsRequest) Marshal

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

func (*QueryAuctionsRequest) MarshalTo

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

func (*QueryAuctionsRequest) MarshalToSizedBuffer

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

func (*QueryAuctionsRequest) ProtoMessage

func (*QueryAuctionsRequest) ProtoMessage()

func (*QueryAuctionsRequest) Reset

func (m *QueryAuctionsRequest) Reset()

func (*QueryAuctionsRequest) Size

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

func (*QueryAuctionsRequest) String

func (m *QueryAuctionsRequest) String() string

func (*QueryAuctionsRequest) Unmarshal

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

func (*QueryAuctionsRequest) XXX_DiscardUnknown

func (m *QueryAuctionsRequest) XXX_DiscardUnknown()

func (*QueryAuctionsRequest) XXX_Marshal

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

func (*QueryAuctionsRequest) XXX_Merge

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

func (*QueryAuctionsRequest) XXX_Size

func (m *QueryAuctionsRequest) XXX_Size() int

func (*QueryAuctionsRequest) XXX_Unmarshal

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

type QueryAuctionsResponse

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

func (*QueryAuctionsResponse) Descriptor

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

func (*QueryAuctionsResponse) GetAuctions

func (m *QueryAuctionsResponse) GetAuctions() []AuctionListing

func (*QueryAuctionsResponse) GetPagination

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

func (*QueryAuctionsResponse) Marshal

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

func (*QueryAuctionsResponse) MarshalTo

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

func (*QueryAuctionsResponse) MarshalToSizedBuffer

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

func (*QueryAuctionsResponse) ProtoMessage

func (*QueryAuctionsResponse) ProtoMessage()

func (*QueryAuctionsResponse) Reset

func (m *QueryAuctionsResponse) Reset()

func (*QueryAuctionsResponse) Size

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

func (*QueryAuctionsResponse) String

func (m *QueryAuctionsResponse) String() string

func (*QueryAuctionsResponse) Unmarshal

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

func (*QueryAuctionsResponse) XXX_DiscardUnknown

func (m *QueryAuctionsResponse) XXX_DiscardUnknown()

func (*QueryAuctionsResponse) XXX_Marshal

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

func (*QueryAuctionsResponse) XXX_Merge

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

func (*QueryAuctionsResponse) XXX_Size

func (m *QueryAuctionsResponse) XXX_Size() int

func (*QueryAuctionsResponse) XXX_Unmarshal

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

type QueryBidParams

type QueryBidParams struct {
	Id uint64
}

QueryBidParams is the query parameters for '/marketplace/bids/{id}'

func NewQueryBidParams

func NewQueryBidParams(id uint64) QueryBidParams

NewQueryAuctionParams

type QueryBidRequest

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

func (*QueryBidRequest) Descriptor

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

func (*QueryBidRequest) GetId

func (m *QueryBidRequest) GetId() uint64

func (*QueryBidRequest) Marshal

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

func (*QueryBidRequest) MarshalTo

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

func (*QueryBidRequest) MarshalToSizedBuffer

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

func (*QueryBidRequest) ProtoMessage

func (*QueryBidRequest) ProtoMessage()

func (*QueryBidRequest) Reset

func (m *QueryBidRequest) Reset()

func (*QueryBidRequest) Size

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

func (*QueryBidRequest) String

func (m *QueryBidRequest) String() string

func (*QueryBidRequest) Unmarshal

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

func (*QueryBidRequest) XXX_DiscardUnknown

func (m *QueryBidRequest) XXX_DiscardUnknown()

func (*QueryBidRequest) XXX_Marshal

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

func (*QueryBidRequest) XXX_Merge

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

func (*QueryBidRequest) XXX_Size

func (m *QueryBidRequest) XXX_Size() int

func (*QueryBidRequest) XXX_Unmarshal

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

type QueryBidResponse

type QueryBidResponse struct {
	Bid *Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"`
}

func (*QueryBidResponse) Descriptor

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

func (*QueryBidResponse) GetBid

func (m *QueryBidResponse) GetBid() *Bid

func (*QueryBidResponse) Marshal

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

func (*QueryBidResponse) MarshalTo

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

func (*QueryBidResponse) MarshalToSizedBuffer

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

func (*QueryBidResponse) ProtoMessage

func (*QueryBidResponse) ProtoMessage()

func (*QueryBidResponse) Reset

func (m *QueryBidResponse) Reset()

func (*QueryBidResponse) Size

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

func (*QueryBidResponse) String

func (m *QueryBidResponse) String() string

func (*QueryBidResponse) Unmarshal

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

func (*QueryBidResponse) XXX_DiscardUnknown

func (m *QueryBidResponse) XXX_DiscardUnknown()

func (*QueryBidResponse) XXX_Marshal

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

func (*QueryBidResponse) XXX_Merge

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

func (*QueryBidResponse) XXX_Size

func (m *QueryBidResponse) XXX_Size() int

func (*QueryBidResponse) XXX_Unmarshal

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

type QueryBidsRequest

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

func (*QueryBidsRequest) Descriptor

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

func (*QueryBidsRequest) GetBidder

func (m *QueryBidsRequest) GetBidder() string

func (*QueryBidsRequest) GetPagination

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

func (*QueryBidsRequest) Marshal

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

func (*QueryBidsRequest) MarshalTo

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

func (*QueryBidsRequest) MarshalToSizedBuffer

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

func (*QueryBidsRequest) ProtoMessage

func (*QueryBidsRequest) ProtoMessage()

func (*QueryBidsRequest) Reset

func (m *QueryBidsRequest) Reset()

func (*QueryBidsRequest) Size

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

func (*QueryBidsRequest) String

func (m *QueryBidsRequest) String() string

func (*QueryBidsRequest) Unmarshal

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

func (*QueryBidsRequest) XXX_DiscardUnknown

func (m *QueryBidsRequest) XXX_DiscardUnknown()

func (*QueryBidsRequest) XXX_Marshal

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

func (*QueryBidsRequest) XXX_Merge

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

func (*QueryBidsRequest) XXX_Size

func (m *QueryBidsRequest) XXX_Size() int

func (*QueryBidsRequest) XXX_Unmarshal

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

type QueryBidsResponse

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

func (*QueryBidsResponse) Descriptor

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

func (*QueryBidsResponse) GetBids

func (m *QueryBidsResponse) GetBids() []Bid

func (*QueryBidsResponse) GetPagination

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

func (*QueryBidsResponse) Marshal

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

func (*QueryBidsResponse) MarshalTo

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

func (*QueryBidsResponse) MarshalToSizedBuffer

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

func (*QueryBidsResponse) ProtoMessage

func (*QueryBidsResponse) ProtoMessage()

func (*QueryBidsResponse) Reset

func (m *QueryBidsResponse) Reset()

func (*QueryBidsResponse) Size

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

func (*QueryBidsResponse) String

func (m *QueryBidsResponse) String() string

func (*QueryBidsResponse) Unmarshal

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

func (*QueryBidsResponse) XXX_DiscardUnknown

func (m *QueryBidsResponse) XXX_DiscardUnknown()

func (*QueryBidsResponse) XXX_Marshal

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

func (*QueryBidsResponse) XXX_Merge

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

func (*QueryBidsResponse) XXX_Size

func (m *QueryBidsResponse) XXX_Size() int

func (*QueryBidsResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Params queries params of the marketplace module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	Listings(ctx context.Context, in *QueryListingsRequest, opts ...grpc.CallOption) (*QueryListingsResponse, error)
	Listing(ctx context.Context, in *QueryListingRequest, opts ...grpc.CallOption) (*QueryListingResponse, error)
	ListingsByOwner(ctx context.Context, in *QueryListingsByOwnerRequest, opts ...grpc.CallOption) (*QueryListingsByOwnerResponse, error)
	ListingsByPriceDenom(ctx context.Context, in *QueryListingsByPriceDenomRequest, opts ...grpc.CallOption) (*QueryListingsByPriceDenomResponse, error)
	ListingByNftId(ctx context.Context, in *QueryListingByNFTIDRequest, opts ...grpc.CallOption) (*QueryListingResponse, error)
	// auction queries
	Auctions(ctx context.Context, in *QueryAuctionsRequest, opts ...grpc.CallOption) (*QueryAuctionsResponse, error)
	Auction(ctx context.Context, in *QueryAuctionRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error)
	AuctionsByOwner(ctx context.Context, in *QueryAuctionsByOwnerRequest, opts ...grpc.CallOption) (*QueryAuctionsResponse, error)
	AuctionsByPriceDenom(ctx context.Context, in *QueryAuctionsByPriceDenomRequest, opts ...grpc.CallOption) (*QueryAuctionsResponse, error)
	AuctionByNftId(ctx context.Context, in *QueryAuctionByNFTIDRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error)
	Bids(ctx context.Context, in *QueryBidsRequest, opts ...grpc.CallOption) (*QueryBidsResponse, error)
	Bid(ctx context.Context, in *QueryBidRequest, opts ...grpc.CallOption) (*QueryBidResponse, 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 QueryListingByNFTIDRequest

type QueryListingByNFTIDRequest struct {
	NftId string `protobuf:"bytes,1,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty" yaml:"nft_id"`
}

func (*QueryListingByNFTIDRequest) Descriptor

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

func (*QueryListingByNFTIDRequest) GetNftId

func (m *QueryListingByNFTIDRequest) GetNftId() string

func (*QueryListingByNFTIDRequest) Marshal

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

func (*QueryListingByNFTIDRequest) MarshalTo

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

func (*QueryListingByNFTIDRequest) MarshalToSizedBuffer

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

func (*QueryListingByNFTIDRequest) ProtoMessage

func (*QueryListingByNFTIDRequest) ProtoMessage()

func (*QueryListingByNFTIDRequest) Reset

func (m *QueryListingByNFTIDRequest) Reset()

func (*QueryListingByNFTIDRequest) Size

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

func (*QueryListingByNFTIDRequest) String

func (m *QueryListingByNFTIDRequest) String() string

func (*QueryListingByNFTIDRequest) Unmarshal

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

func (*QueryListingByNFTIDRequest) XXX_DiscardUnknown

func (m *QueryListingByNFTIDRequest) XXX_DiscardUnknown()

func (*QueryListingByNFTIDRequest) XXX_Marshal

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

func (*QueryListingByNFTIDRequest) XXX_Merge

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

func (*QueryListingByNFTIDRequest) XXX_Size

func (m *QueryListingByNFTIDRequest) XXX_Size() int

func (*QueryListingByNFTIDRequest) XXX_Unmarshal

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

type QueryListingParams

type QueryListingParams struct {
	Id string
}

QueryListingParams is the query parameters for '/marketplace/listings/{id}'

func NewQueryListingParams

func NewQueryListingParams(id string) QueryListingParams

NewQueryListingParams

type QueryListingRequest

type QueryListingRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryListingRequest) Descriptor

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

func (*QueryListingRequest) GetId

func (m *QueryListingRequest) GetId() string

func (*QueryListingRequest) Marshal

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

func (*QueryListingRequest) MarshalTo

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

func (*QueryListingRequest) MarshalToSizedBuffer

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

func (*QueryListingRequest) ProtoMessage

func (*QueryListingRequest) ProtoMessage()

func (*QueryListingRequest) Reset

func (m *QueryListingRequest) Reset()

func (*QueryListingRequest) Size

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

func (*QueryListingRequest) String

func (m *QueryListingRequest) String() string

func (*QueryListingRequest) Unmarshal

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

func (*QueryListingRequest) XXX_DiscardUnknown

func (m *QueryListingRequest) XXX_DiscardUnknown()

func (*QueryListingRequest) XXX_Marshal

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

func (*QueryListingRequest) XXX_Merge

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

func (*QueryListingRequest) XXX_Size

func (m *QueryListingRequest) XXX_Size() int

func (*QueryListingRequest) XXX_Unmarshal

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

type QueryListingResponse

type QueryListingResponse struct {
	Listing *Listing `protobuf:"bytes,1,opt,name=listing,proto3" json:"listing,omitempty"`
}

func (*QueryListingResponse) Descriptor

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

func (*QueryListingResponse) GetListing

func (m *QueryListingResponse) GetListing() *Listing

func (*QueryListingResponse) Marshal

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

func (*QueryListingResponse) MarshalTo

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

func (*QueryListingResponse) MarshalToSizedBuffer

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

func (*QueryListingResponse) ProtoMessage

func (*QueryListingResponse) ProtoMessage()

func (*QueryListingResponse) Reset

func (m *QueryListingResponse) Reset()

func (*QueryListingResponse) Size

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

func (*QueryListingResponse) String

func (m *QueryListingResponse) String() string

func (*QueryListingResponse) Unmarshal

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

func (*QueryListingResponse) XXX_DiscardUnknown

func (m *QueryListingResponse) XXX_DiscardUnknown()

func (*QueryListingResponse) XXX_Marshal

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

func (*QueryListingResponse) XXX_Merge

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

func (*QueryListingResponse) XXX_Size

func (m *QueryListingResponse) XXX_Size() int

func (*QueryListingResponse) XXX_Unmarshal

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

type QueryListingsByOwnerParams

type QueryListingsByOwnerParams struct {
	Owner sdk.AccAddress
}

QueryListingsByOwnerParams is the query parameters for 'marketplace/listings/{owner}'

func NewQueryListingsByOwnerParams

func NewQueryListingsByOwnerParams(owner sdk.AccAddress) QueryListingsByOwnerParams

NewQueryListingsByOwnerParams

type QueryListingsByOwnerRequest

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

func (*QueryListingsByOwnerRequest) Descriptor

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

func (*QueryListingsByOwnerRequest) GetOwner

func (m *QueryListingsByOwnerRequest) GetOwner() string

func (*QueryListingsByOwnerRequest) GetPagination

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

func (*QueryListingsByOwnerRequest) Marshal

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

func (*QueryListingsByOwnerRequest) MarshalTo

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

func (*QueryListingsByOwnerRequest) MarshalToSizedBuffer

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

func (*QueryListingsByOwnerRequest) ProtoMessage

func (*QueryListingsByOwnerRequest) ProtoMessage()

func (*QueryListingsByOwnerRequest) Reset

func (m *QueryListingsByOwnerRequest) Reset()

func (*QueryListingsByOwnerRequest) Size

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

func (*QueryListingsByOwnerRequest) String

func (m *QueryListingsByOwnerRequest) String() string

func (*QueryListingsByOwnerRequest) Unmarshal

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

func (*QueryListingsByOwnerRequest) XXX_DiscardUnknown

func (m *QueryListingsByOwnerRequest) XXX_DiscardUnknown()

func (*QueryListingsByOwnerRequest) XXX_Marshal

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

func (*QueryListingsByOwnerRequest) XXX_Merge

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

func (*QueryListingsByOwnerRequest) XXX_Size

func (m *QueryListingsByOwnerRequest) XXX_Size() int

func (*QueryListingsByOwnerRequest) XXX_Unmarshal

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

type QueryListingsByOwnerResponse

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

func (*QueryListingsByOwnerResponse) Descriptor

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

func (*QueryListingsByOwnerResponse) GetListings

func (m *QueryListingsByOwnerResponse) GetListings() []Listing

func (*QueryListingsByOwnerResponse) GetPagination

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

func (*QueryListingsByOwnerResponse) Marshal

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

func (*QueryListingsByOwnerResponse) MarshalTo

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

func (*QueryListingsByOwnerResponse) MarshalToSizedBuffer

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

func (*QueryListingsByOwnerResponse) ProtoMessage

func (*QueryListingsByOwnerResponse) ProtoMessage()

func (*QueryListingsByOwnerResponse) Reset

func (m *QueryListingsByOwnerResponse) Reset()

func (*QueryListingsByOwnerResponse) Size

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

func (*QueryListingsByOwnerResponse) String

func (*QueryListingsByOwnerResponse) Unmarshal

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

func (*QueryListingsByOwnerResponse) XXX_DiscardUnknown

func (m *QueryListingsByOwnerResponse) XXX_DiscardUnknown()

func (*QueryListingsByOwnerResponse) XXX_Marshal

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

func (*QueryListingsByOwnerResponse) XXX_Merge

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

func (*QueryListingsByOwnerResponse) XXX_Size

func (m *QueryListingsByOwnerResponse) XXX_Size() int

func (*QueryListingsByOwnerResponse) XXX_Unmarshal

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

type QueryListingsByPriceDenomRequest

type QueryListingsByPriceDenomRequest struct {
	PriceDenom string             `protobuf:"bytes,1,opt,name=price_denom,json=priceDenom,proto3" json:"price_denom,omitempty" yaml:"price_denom"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListingsByPriceDenomRequest) Descriptor

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

func (*QueryListingsByPriceDenomRequest) GetPagination

func (*QueryListingsByPriceDenomRequest) GetPriceDenom

func (m *QueryListingsByPriceDenomRequest) GetPriceDenom() string

func (*QueryListingsByPriceDenomRequest) Marshal

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

func (*QueryListingsByPriceDenomRequest) MarshalTo

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

func (*QueryListingsByPriceDenomRequest) MarshalToSizedBuffer

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

func (*QueryListingsByPriceDenomRequest) ProtoMessage

func (*QueryListingsByPriceDenomRequest) ProtoMessage()

func (*QueryListingsByPriceDenomRequest) Reset

func (*QueryListingsByPriceDenomRequest) Size

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

func (*QueryListingsByPriceDenomRequest) String

func (*QueryListingsByPriceDenomRequest) Unmarshal

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

func (*QueryListingsByPriceDenomRequest) XXX_DiscardUnknown

func (m *QueryListingsByPriceDenomRequest) XXX_DiscardUnknown()

func (*QueryListingsByPriceDenomRequest) XXX_Marshal

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

func (*QueryListingsByPriceDenomRequest) XXX_Merge

func (*QueryListingsByPriceDenomRequest) XXX_Size

func (m *QueryListingsByPriceDenomRequest) XXX_Size() int

func (*QueryListingsByPriceDenomRequest) XXX_Unmarshal

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

type QueryListingsByPriceDenomResponse

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

func (*QueryListingsByPriceDenomResponse) Descriptor

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

func (*QueryListingsByPriceDenomResponse) GetListings

func (m *QueryListingsByPriceDenomResponse) GetListings() []Listing

func (*QueryListingsByPriceDenomResponse) GetPagination

func (*QueryListingsByPriceDenomResponse) Marshal

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

func (*QueryListingsByPriceDenomResponse) MarshalTo

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

func (*QueryListingsByPriceDenomResponse) MarshalToSizedBuffer

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

func (*QueryListingsByPriceDenomResponse) ProtoMessage

func (*QueryListingsByPriceDenomResponse) ProtoMessage()

func (*QueryListingsByPriceDenomResponse) Reset

func (*QueryListingsByPriceDenomResponse) Size

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

func (*QueryListingsByPriceDenomResponse) String

func (*QueryListingsByPriceDenomResponse) Unmarshal

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

func (*QueryListingsByPriceDenomResponse) XXX_DiscardUnknown

func (m *QueryListingsByPriceDenomResponse) XXX_DiscardUnknown()

func (*QueryListingsByPriceDenomResponse) XXX_Marshal

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

func (*QueryListingsByPriceDenomResponse) XXX_Merge

func (*QueryListingsByPriceDenomResponse) XXX_Size

func (m *QueryListingsByPriceDenomResponse) XXX_Size() int

func (*QueryListingsByPriceDenomResponse) XXX_Unmarshal

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

type QueryListingsRequest

type QueryListingsRequest struct {
	Owner      string             `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	PriceDenom string             `protobuf:"bytes,2,opt,name=price_denom,json=priceDenom,proto3" json:"price_denom,omitempty" yaml:"price_denom"`
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListingsRequest) Descriptor

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

func (*QueryListingsRequest) GetOwner

func (m *QueryListingsRequest) GetOwner() string

func (*QueryListingsRequest) GetPagination

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

func (*QueryListingsRequest) GetPriceDenom

func (m *QueryListingsRequest) GetPriceDenom() string

func (*QueryListingsRequest) Marshal

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

func (*QueryListingsRequest) MarshalTo

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

func (*QueryListingsRequest) MarshalToSizedBuffer

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

func (*QueryListingsRequest) ProtoMessage

func (*QueryListingsRequest) ProtoMessage()

func (*QueryListingsRequest) Reset

func (m *QueryListingsRequest) Reset()

func (*QueryListingsRequest) Size

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

func (*QueryListingsRequest) String

func (m *QueryListingsRequest) String() string

func (*QueryListingsRequest) Unmarshal

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

func (*QueryListingsRequest) XXX_DiscardUnknown

func (m *QueryListingsRequest) XXX_DiscardUnknown()

func (*QueryListingsRequest) XXX_Marshal

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

func (*QueryListingsRequest) XXX_Merge

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

func (*QueryListingsRequest) XXX_Size

func (m *QueryListingsRequest) XXX_Size() int

func (*QueryListingsRequest) XXX_Unmarshal

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

type QueryListingsResponse

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

func (*QueryListingsResponse) Descriptor

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

func (*QueryListingsResponse) GetListings

func (m *QueryListingsResponse) GetListings() []Listing

func (*QueryListingsResponse) GetPagination

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

func (*QueryListingsResponse) Marshal

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

func (*QueryListingsResponse) MarshalTo

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

func (*QueryListingsResponse) MarshalToSizedBuffer

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

func (*QueryListingsResponse) ProtoMessage

func (*QueryListingsResponse) ProtoMessage()

func (*QueryListingsResponse) Reset

func (m *QueryListingsResponse) Reset()

func (*QueryListingsResponse) Size

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

func (*QueryListingsResponse) String

func (m *QueryListingsResponse) String() string

func (*QueryListingsResponse) Unmarshal

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

func (*QueryListingsResponse) XXX_DiscardUnknown

func (m *QueryListingsResponse) XXX_DiscardUnknown()

func (*QueryListingsResponse) XXX_Marshal

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

func (*QueryListingsResponse) XXX_Merge

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

func (*QueryListingsResponse) XXX_Size

func (m *QueryListingsResponse) XXX_Size() int

func (*QueryListingsResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is the 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 defines the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is the 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 UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BuyNFT

func (*UnimplementedMsgServer) CancelAuction

func (*UnimplementedMsgServer) CreateAuction

func (*UnimplementedMsgServer) DeListNFT

func (*UnimplementedMsgServer) EditListing

func (*UnimplementedMsgServer) ListNFT

func (*UnimplementedMsgServer) PlaceBid

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Auction

func (*UnimplementedQueryServer) AuctionByNftId

func (*UnimplementedQueryServer) Auctions

func (*UnimplementedQueryServer) AuctionsByOwner

func (*UnimplementedQueryServer) AuctionsByPriceDenom

func (*UnimplementedQueryServer) Bid

func (*UnimplementedQueryServer) Bids

func (*UnimplementedQueryServer) Listing

func (*UnimplementedQueryServer) ListingByNftId

func (*UnimplementedQueryServer) Listings

func (*UnimplementedQueryServer) ListingsByOwner

func (*UnimplementedQueryServer) Params

type WeightedAddress

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

func (*WeightedAddress) Descriptor

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

func (*WeightedAddress) Equal

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

func (*WeightedAddress) Marshal

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

func (*WeightedAddress) MarshalTo

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

func (*WeightedAddress) MarshalToSizedBuffer

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

func (*WeightedAddress) ProtoMessage

func (*WeightedAddress) ProtoMessage()

func (*WeightedAddress) Reset

func (m *WeightedAddress) Reset()

func (*WeightedAddress) Size

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

func (*WeightedAddress) String

func (m *WeightedAddress) String() string

func (*WeightedAddress) Unmarshal

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

func (*WeightedAddress) XXX_DiscardUnknown

func (m *WeightedAddress) XXX_DiscardUnknown()

func (*WeightedAddress) XXX_Marshal

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

func (*WeightedAddress) XXX_Merge

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

func (*WeightedAddress) XXX_Size

func (m *WeightedAddress) XXX_Size() int

func (*WeightedAddress) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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