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: 48 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Namespace          = "omniflix:"
	KeyMediaFieldValue = "value"
)
View Source
const (
	MinDenomLen       = 3
	MaxDenomLen       = 128
	MinIDLen          = 3
	MaxIDLen          = 128
	MaxNameLen        = 256
	MaxDescriptionLen = 4096
	MaxURILen         = 256
	DoNotModify       = "[do-not-modify]"
	IDPrefix          = "onft"
	DenomPrefix       = "onftdenom"
)
View Source
const (
	EventTypeCreateONFTDenom   = "create_onft_denom"
	EventTypeUpdateONFTDenom   = "update_onft_denom"
	EventTypeTransferONFTDenom = "transfer_onft_denom"
	EventTypePurgeONFTDenom    = "purge_onft_denom"

	EventTypeMintONFT     = "mint_onft"
	EventTypeTransferONFT = "transfer_onft"
	EventTypeBurnONFT     = "burn_onft"

	AttributeValueCategory       = ModuleName
	AttributeKeySender           = "sender"
	AttributeKeyCreator          = "creator"
	AttributeKeyOwner            = "owner"
	AttributeKeyRecipient        = "recipient"
	AttributeKeyNFTID            = "nft-id"
	AttributeKeyDenomID          = "denom-id"
	AttributeKeySymbol           = "symbol"
	AttributeKeyName             = "name"
	AttributeKeyDescription      = "description"
	AttributeKeyMediaURI         = "media-uri"
	AttributeKeyPreviewURI       = "preview-uri"
	AttributeKeyRoyaltyReceivers = "royalty-receivers"
)
View Source
const (
	ModuleName = "onft"
	StoreKey   = ModuleName
	RouterKey  = ModuleName
)
View Source
const (
	TypeMsgCreateDenom   = "create_denom"
	TypeMsgUpdateDenom   = "update_denom"
	TypeMsgTransferDenom = "transfer_denom"

	TypeMsgMintONFT     = "mint_onft"
	TypeMsgTransferONFT = "transfer_onft"
	TypeMsgBurnONFT     = "burn_onft"
)

Variables

View Source
var (
	ClassKeyName             = fmt.Sprintf("%s%s", Namespace, "name")
	ClassKeySymbol           = fmt.Sprintf("%s%s", Namespace, "symbol")
	ClassKeyDescription      = fmt.Sprintf("%s%s", Namespace, "description")
	ClassKeyURIHash          = fmt.Sprintf("%s%s", Namespace, "uri_hash")
	ClassKeyCreator          = fmt.Sprintf("%s%s", Namespace, "creator")
	ClassKeySchema           = fmt.Sprintf("%s%s", Namespace, "schema")
	ClassKeyPreviewURI       = fmt.Sprintf("%s%s", Namespace, "preview_uri")
	ClassKeyRoyaltyReceivers = fmt.Sprintf("%s%s", Namespace, "royalty_receivers")
)
View Source
var (
	ErrInvalidCollection       = errorsmod.Register(ModuleName, 3, "invalid ONFT collection")
	ErrUnknownCollection       = errorsmod.Register(ModuleName, 4, "unknown ONFT collection")
	ErrInvalidONFT             = errorsmod.Register(ModuleName, 5, "invalid ONFT")
	ErrONFTAlreadyExists       = errorsmod.Register(ModuleName, 6, "ONFT already exists")
	ErrUnknownONFT             = errorsmod.Register(ModuleName, 7, "unknown ONFT")
	ErrEmptyMetaData           = errorsmod.Register(ModuleName, 8, "ONFT MetaData can't be empty")
	ErrUnauthorized            = errorsmod.Register(ModuleName, 9, "unauthorized address")
	ErrInvalidDenom            = errorsmod.Register(ModuleName, 10, "invalid denom")
	ErrInvalidONFTID           = errorsmod.Register(ModuleName, 11, "invalid ID")
	ErrInvalidONFTMeta         = errorsmod.Register(ModuleName, 12, "invalid metadata")
	ErrInvalidMediaURI         = errorsmod.Register(ModuleName, 13, "invalid media URI")
	ErrInvalidPreviewURI       = errorsmod.Register(ModuleName, 14, "invalid preview URI")
	ErrNotTransferable         = errorsmod.Register(ModuleName, 15, "onft is not transferable")
	ErrNotEditable             = errorsmod.Register(ModuleName, 16, "onft is not editable")
	ErrInvalidOption           = errorsmod.Register(ModuleName, 17, "invalid option")
	ErrInvalidName             = errorsmod.Register(ModuleName, 18, "invalid name")
	ErrInvalidDescription      = errorsmod.Register(ModuleName, 19, "invalid description")
	ErrInvalidURI              = errorsmod.Register(ModuleName, 20, "invalid URI")
	ErrInvalidPercentage       = errorsmod.Register(ModuleName, 21, "invalid percentage")
	ErrInvalidDenomCreationFee = errorsmod.Register(ModuleName, 22, "invalid denom creation fee")
	ErrInvalidFeeDenom         = errorsmod.Register(ModuleName, 23, "invalid creation fee denom")
	ErrNotEnoughFeeAmount      = errorsmod.Register(ModuleName, 24, "invalid creation fee amount")
	ErrInvalidONFTMetadata     = errorsmod.Register(ModuleName, 25, "invalid nft data")
	ErrDenomIdExists           = errorsmod.Register(ModuleName, 26, "denom exists")
	ErrInvalidRoyaltyReceivers = errorsmod.Register(ModuleName, 27, "invalid royalty receivers")
	ErrNotAllowed              = errorsmod.Register(ModuleName, 28, "not allowed ")
)
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 (
	PrefixONFT       = []byte{0x01}
	PrefixOwners     = []byte{0x02}
	PrefixCollection = []byte{0x03}
	PrefixDenom      = []byte{0x04}

	ParamsKey = []byte{0x07}
)
View Source
var (
	ErrInvalidLengthOnft        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOnft          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOnft = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	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 DefaultDenomCreationFee = sdk.NewInt64Coin("uflix", 100_000_000) // 100FLIX

DefaultDenomCreationFee Default period for closing bids for an auction

View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var ParamStoreKeyDenomCreationFee = []byte("DenomCreationFee")

Functions

func GenUniqueID

func GenUniqueID(prefix string) string

func IsIBCDenom

func IsIBCDenom(denomID string) bool

func MustUnMarshalDenomID

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

func MustUnMarshalONFTID

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

func MustUnMarshalSupply

func MustUnMarshalSupply(cdc codec.BinaryCodec, value []byte) uint64

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter key table.

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.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 ValidateCreationFee

func ValidateCreationFee(fee sdk.Coin) error

func ValidateDenomID

func ValidateDenomID(denomID string) error

func ValidateDenomSymbol

func ValidateDenomSymbol(denomSymbol string) error

func ValidateDescription

func ValidateDescription(description string) error

func ValidateGenesis

func ValidateGenesis(data GenesisState) error

func ValidateMediaURI

func ValidateMediaURI(uri string) error

func ValidateName

func ValidateName(name string) error

func ValidateONFTID

func ValidateONFTID(onftId string) error

func ValidateURI

func ValidateURI(uri string) error

func ValidateWeightedAddresses added in v2.1.0

func ValidateWeightedAddresses(i interface{}) error

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
	GetModuleAccount(ctx sdk.Context, name string) authtypes.ModuleAccountI
	GetModuleAddress(module string) sdk.AccAddress
}

AccountKeeper defines the expected account keeper for query account

type BankKeeper

type BankKeeper interface {
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type ClassBuilder

type ClassBuilder struct {
	// contains filtered or unexported fields
}

func NewClassBuilder

func NewClassBuilder(
	cdc codec.Codec,
	getModuleAddress func(string) sdk.AccAddress,
) ClassBuilder

func (ClassBuilder) Build

func (cb ClassBuilder) Build(classID, classURI, classData string) (nft.Class, error)

Build create a class from ics721 packetData

func (ClassBuilder) BuildMetadata

func (cb ClassBuilder) BuildMetadata(class nft.Class) (string, error)

BuildMetadata encode class into the metadata format defined by ics721

type Collection

type Collection struct {
	Denom Denom  `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom"`
	ONFTs []ONFT `protobuf:"bytes,2,rep,name=onfts,proto3" json:"onfts"`
}

Collection

func NewCollection

func NewCollection(denom Denom, onfts []exported.ONFTI) (c Collection)

func NewCollections

func NewCollections(c ...Collection) []Collection

func (Collection) AddONFT

func (c Collection) AddONFT(nft ONFT) Collection

func (*Collection) Descriptor

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

func (*Collection) Marshal

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

func (*Collection) MarshalTo

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

func (*Collection) MarshalToSizedBuffer

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

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) Reset

func (m *Collection) Reset()

func (*Collection) Size

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

func (*Collection) String

func (m *Collection) String() string

func (Collection) Supply

func (c Collection) Supply() int

func (*Collection) Unmarshal

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

func (*Collection) XXX_DiscardUnknown

func (m *Collection) XXX_DiscardUnknown()

func (*Collection) XXX_Marshal

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

func (*Collection) XXX_Merge

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

func (*Collection) XXX_Size

func (m *Collection) XXX_Size() int

func (*Collection) XXX_Unmarshal

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

type Denom

type Denom struct {
	Id               string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Symbol           string             `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Name             string             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Schema           string             `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
	Creator          string             `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
	Description      string             `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	PreviewURI       string             `protobuf:"bytes,7,opt,name=preview_uri,json=previewUri,proto3" json:"preview_uri,omitempty" yaml:"preview_uri"`
	Uri              string             `protobuf:"bytes,8,opt,name=uri,proto3" json:"uri,omitempty"`
	UriHash          string             `protobuf:"bytes,9,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	Data             string             `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"`
	RoyaltyReceivers []*WeightedAddress `` /* 135-byte string literal not displayed */
}

func NewDenom

func NewDenom(id, symbol, name, schema string, creator sdk.AccAddress, description, previewURI string) Denom

func (*Denom) Descriptor

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

func (*Denom) Marshal

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

func (*Denom) MarshalTo

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

func (*Denom) MarshalToSizedBuffer

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

func (*Denom) ProtoMessage

func (*Denom) ProtoMessage()

func (*Denom) Reset

func (m *Denom) Reset()

func (*Denom) Size

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

func (*Denom) String

func (m *Denom) String() string

func (*Denom) Unmarshal

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

func (*Denom) XXX_DiscardUnknown

func (m *Denom) XXX_DiscardUnknown()

func (*Denom) XXX_Marshal

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

func (*Denom) XXX_Merge

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

func (*Denom) XXX_Size

func (m *Denom) XXX_Size() int

func (*Denom) XXX_Unmarshal

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

type DenomMetadata

type DenomMetadata struct {
	Creator          string             `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Schema           string             `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	Description      string             `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	PreviewUri       string             `protobuf:"bytes,4,opt,name=preview_uri,json=previewUri,proto3" json:"preview_uri,omitempty"`
	Data             string             `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	UriHash          string             `protobuf:"bytes,6,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	RoyaltyReceivers []*WeightedAddress `` /* 134-byte string literal not displayed */
}

func (*DenomMetadata) Descriptor

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

func (*DenomMetadata) Marshal

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

func (*DenomMetadata) MarshalTo

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

func (*DenomMetadata) MarshalToSizedBuffer

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

func (*DenomMetadata) ProtoMessage

func (*DenomMetadata) ProtoMessage()

func (*DenomMetadata) Reset

func (m *DenomMetadata) Reset()

func (*DenomMetadata) Size

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

func (*DenomMetadata) String

func (m *DenomMetadata) String() string

func (*DenomMetadata) Unmarshal

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

func (*DenomMetadata) XXX_DiscardUnknown

func (m *DenomMetadata) XXX_DiscardUnknown()

func (*DenomMetadata) XXX_Marshal

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

func (*DenomMetadata) XXX_Merge

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

func (*DenomMetadata) XXX_Size

func (m *DenomMetadata) XXX_Size() int

func (*DenomMetadata) XXX_Unmarshal

func (m *DenomMetadata) 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 GenesisState

type GenesisState struct {
	Collections []Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections"`
	Params      Params       `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

GenesisState defines the nft module's genesis state.

func NewGenesisState

func NewGenesisState(collections []Collection, params Params) *GenesisState

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCollections

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

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

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type IDCollection

type IDCollection struct {
	DenomId string   `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	OnftIds []string `protobuf:"bytes,2,rep,name=onft_ids,json=onftIds,proto3" json:"onft_ids,omitempty" yaml:"onft_ids"`
}

func (*IDCollection) Descriptor

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

func (*IDCollection) Marshal

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

func (*IDCollection) MarshalTo

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

func (*IDCollection) MarshalToSizedBuffer

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

func (*IDCollection) ProtoMessage

func (*IDCollection) ProtoMessage()

func (*IDCollection) Reset

func (m *IDCollection) Reset()

func (*IDCollection) Size

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

func (*IDCollection) String

func (m *IDCollection) String() string

func (*IDCollection) Unmarshal

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

func (*IDCollection) XXX_DiscardUnknown

func (m *IDCollection) XXX_DiscardUnknown()

func (*IDCollection) XXX_Marshal

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

func (*IDCollection) XXX_Merge

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

func (*IDCollection) XXX_Size

func (m *IDCollection) XXX_Size() int

func (*IDCollection) XXX_Unmarshal

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

type MediaField

type MediaField struct {
	Value interface{} `json:"value"`
	Mime  string      `json:"mime,omitempty"`
}

type Metadata

type Metadata struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
	MediaURI    string `protobuf:"bytes,3,opt,name=media_uri,json=mediaUri,proto3" json:"media_uri,omitempty" yaml:"media_uri"`
	PreviewURI  string `protobuf:"bytes,4,opt,name=preview_uri,json=previewUri,proto3" json:"preview_uri,omitempty" yaml:"preview_uri"`
	UriHash     string `protobuf:"bytes,5,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
}

func (*Metadata) Descriptor

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

func (*Metadata) Equal

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

func (*Metadata) Marshal

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

func (*Metadata) MarshalTo

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

func (*Metadata) MarshalToSizedBuffer

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

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

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

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Unmarshal

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

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

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

func (*Metadata) XXX_Merge

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

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

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

type MsgBurnONFT

type MsgBurnONFT struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	Sender  string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
}

func NewMsgBurnONFT

func NewMsgBurnONFT(denomId, id, sender string) *MsgBurnONFT

func (*MsgBurnONFT) Descriptor

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

func (MsgBurnONFT) GetSignBytes

func (msg MsgBurnONFT) GetSignBytes() []byte

func (MsgBurnONFT) GetSigners

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

func (*MsgBurnONFT) Marshal

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

func (*MsgBurnONFT) MarshalTo

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

func (*MsgBurnONFT) MarshalToSizedBuffer

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

func (*MsgBurnONFT) ProtoMessage

func (*MsgBurnONFT) ProtoMessage()

func (*MsgBurnONFT) Reset

func (m *MsgBurnONFT) Reset()

func (MsgBurnONFT) Route

func (msg MsgBurnONFT) Route() string

func (*MsgBurnONFT) Size

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

func (*MsgBurnONFT) String

func (m *MsgBurnONFT) String() string

func (MsgBurnONFT) Type

func (msg MsgBurnONFT) Type() string

func (*MsgBurnONFT) Unmarshal

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

func (MsgBurnONFT) ValidateBasic

func (msg MsgBurnONFT) ValidateBasic() error

func (*MsgBurnONFT) XXX_DiscardUnknown

func (m *MsgBurnONFT) XXX_DiscardUnknown()

func (*MsgBurnONFT) XXX_Marshal

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

func (*MsgBurnONFT) XXX_Merge

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

func (*MsgBurnONFT) XXX_Size

func (m *MsgBurnONFT) XXX_Size() int

func (*MsgBurnONFT) XXX_Unmarshal

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

type MsgBurnONFTResponse

type MsgBurnONFTResponse struct {
}

func (*MsgBurnONFTResponse) Descriptor

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

func (*MsgBurnONFTResponse) Marshal

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

func (*MsgBurnONFTResponse) MarshalTo

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

func (*MsgBurnONFTResponse) MarshalToSizedBuffer

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

func (*MsgBurnONFTResponse) ProtoMessage

func (*MsgBurnONFTResponse) ProtoMessage()

func (*MsgBurnONFTResponse) Reset

func (m *MsgBurnONFTResponse) Reset()

func (*MsgBurnONFTResponse) Size

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

func (*MsgBurnONFTResponse) String

func (m *MsgBurnONFTResponse) String() string

func (*MsgBurnONFTResponse) Unmarshal

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

func (*MsgBurnONFTResponse) XXX_DiscardUnknown

func (m *MsgBurnONFTResponse) XXX_DiscardUnknown()

func (*MsgBurnONFTResponse) XXX_Marshal

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

func (*MsgBurnONFTResponse) XXX_Merge

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

func (*MsgBurnONFTResponse) XXX_Size

func (m *MsgBurnONFTResponse) XXX_Size() int

func (*MsgBurnONFTResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	CreateDenom(ctx context.Context, in *MsgCreateDenom, opts ...grpc.CallOption) (*MsgCreateDenomResponse, error)
	UpdateDenom(ctx context.Context, in *MsgUpdateDenom, opts ...grpc.CallOption) (*MsgUpdateDenomResponse, error)
	TransferDenom(ctx context.Context, in *MsgTransferDenom, opts ...grpc.CallOption) (*MsgTransferDenomResponse, error)
	PurgeDenom(ctx context.Context, in *MsgPurgeDenom, opts ...grpc.CallOption) (*MsgPurgeDenomResponse, error)
	MintONFT(ctx context.Context, in *MsgMintONFT, opts ...grpc.CallOption) (*MsgMintONFTResponse, error)
	TransferONFT(ctx context.Context, in *MsgTransferONFT, opts ...grpc.CallOption) (*MsgTransferONFTResponse, error)
	BurnONFT(ctx context.Context, in *MsgBurnONFT, opts ...grpc.CallOption) (*MsgBurnONFTResponse, error)
	// UpdateParams defines a governance operation for updating the onft module
	// parameters. The authority is hard-coded to the onft 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 MsgCreateDenom

type MsgCreateDenom struct {
	Id               string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Symbol           string             `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Name             string             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description      string             `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	PreviewURI       string             `protobuf:"bytes,5,opt,name=preview_uri,json=previewUri,proto3" json:"preview_uri,omitempty" yaml:"preview_uri"`
	Schema           string             `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
	Sender           string             `protobuf:"bytes,7,opt,name=sender,proto3" json:"sender,omitempty"`
	CreationFee      types.Coin         `` /* 157-byte string literal not displayed */
	Uri              string             `protobuf:"bytes,9,opt,name=uri,proto3" json:"uri,omitempty"`
	UriHash          string             `protobuf:"bytes,10,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
	Data             string             `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"`
	RoyaltyReceivers []*WeightedAddress `` /* 135-byte string literal not displayed */
}

func NewMsgCreateDenom

func NewMsgCreateDenom(
	symbol,
	name, schema, description, uri, uriHash, previewUri, data, sender string,
	creationFee sdk.Coin,
	royaltyReceivers []*WeightedAddress,
) *MsgCreateDenom

func (*MsgCreateDenom) Descriptor

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

func (MsgCreateDenom) GetSignBytes

func (msg MsgCreateDenom) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgCreateDenom) GetSigners

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

func (*MsgCreateDenom) Marshal

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

func (*MsgCreateDenom) MarshalTo

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

func (*MsgCreateDenom) MarshalToSizedBuffer

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

func (*MsgCreateDenom) ProtoMessage

func (*MsgCreateDenom) ProtoMessage()

func (*MsgCreateDenom) Reset

func (m *MsgCreateDenom) Reset()

func (MsgCreateDenom) Route

func (msg MsgCreateDenom) Route() string

func (*MsgCreateDenom) Size

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

func (*MsgCreateDenom) String

func (m *MsgCreateDenom) String() string

func (MsgCreateDenom) Type

func (msg MsgCreateDenom) Type() string

func (*MsgCreateDenom) Unmarshal

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

func (MsgCreateDenom) ValidateBasic

func (msg MsgCreateDenom) ValidateBasic() error

func (*MsgCreateDenom) XXX_DiscardUnknown

func (m *MsgCreateDenom) XXX_DiscardUnknown()

func (*MsgCreateDenom) XXX_Marshal

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

func (*MsgCreateDenom) XXX_Merge

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

func (*MsgCreateDenom) XXX_Size

func (m *MsgCreateDenom) XXX_Size() int

func (*MsgCreateDenom) XXX_Unmarshal

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

type MsgCreateDenomResponse

type MsgCreateDenomResponse struct {
}

func (*MsgCreateDenomResponse) Descriptor

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

func (*MsgCreateDenomResponse) Marshal

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

func (*MsgCreateDenomResponse) MarshalTo

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

func (*MsgCreateDenomResponse) MarshalToSizedBuffer

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

func (*MsgCreateDenomResponse) ProtoMessage

func (*MsgCreateDenomResponse) ProtoMessage()

func (*MsgCreateDenomResponse) Reset

func (m *MsgCreateDenomResponse) Reset()

func (*MsgCreateDenomResponse) Size

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

func (*MsgCreateDenomResponse) String

func (m *MsgCreateDenomResponse) String() string

func (*MsgCreateDenomResponse) Unmarshal

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

func (*MsgCreateDenomResponse) XXX_DiscardUnknown

func (m *MsgCreateDenomResponse) XXX_DiscardUnknown()

func (*MsgCreateDenomResponse) XXX_Marshal

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

func (*MsgCreateDenomResponse) XXX_Merge

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

func (*MsgCreateDenomResponse) XXX_Size

func (m *MsgCreateDenomResponse) XXX_Size() int

func (*MsgCreateDenomResponse) XXX_Unmarshal

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

type MsgMintONFT

type MsgMintONFT struct {
	Id           string                                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomId      string                                 `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	Metadata     Metadata                               `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"`
	Data         string                                 `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Transferable bool                                   `protobuf:"varint,5,opt,name=transferable,proto3" json:"transferable,omitempty"`
	Extensible   bool                                   `protobuf:"varint,6,opt,name=extensible,proto3" json:"extensible,omitempty"`
	Nsfw         bool                                   `protobuf:"varint,7,opt,name=nsfw,proto3" json:"nsfw,omitempty"`
	RoyaltyShare github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	Sender       string                                 `protobuf:"bytes,9,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient    string                                 `protobuf:"bytes,10,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

func NewMsgMintONFT

func NewMsgMintONFT(
	denomId, sender, recipient string, metadata Metadata, data string,
	transferable, extensible, nsfw bool, royaltyShare sdk.Dec,
) *MsgMintONFT

func (*MsgMintONFT) Descriptor

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

func (MsgMintONFT) GetSignBytes

func (msg MsgMintONFT) GetSignBytes() []byte

func (MsgMintONFT) GetSigners

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

func (*MsgMintONFT) Marshal

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

func (*MsgMintONFT) MarshalTo

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

func (*MsgMintONFT) MarshalToSizedBuffer

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

func (*MsgMintONFT) ProtoMessage

func (*MsgMintONFT) ProtoMessage()

func (*MsgMintONFT) Reset

func (m *MsgMintONFT) Reset()

func (MsgMintONFT) Route

func (msg MsgMintONFT) Route() string

func (*MsgMintONFT) Size

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

func (*MsgMintONFT) String

func (m *MsgMintONFT) String() string

func (MsgMintONFT) Type

func (msg MsgMintONFT) Type() string

func (*MsgMintONFT) Unmarshal

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

func (MsgMintONFT) ValidateBasic

func (msg MsgMintONFT) ValidateBasic() error

func (*MsgMintONFT) XXX_DiscardUnknown

func (m *MsgMintONFT) XXX_DiscardUnknown()

func (*MsgMintONFT) XXX_Marshal

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

func (*MsgMintONFT) XXX_Merge

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

func (*MsgMintONFT) XXX_Size

func (m *MsgMintONFT) XXX_Size() int

func (*MsgMintONFT) XXX_Unmarshal

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

type MsgMintONFTResponse

type MsgMintONFTResponse struct {
}

func (*MsgMintONFTResponse) Descriptor

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

func (*MsgMintONFTResponse) Marshal

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

func (*MsgMintONFTResponse) MarshalTo

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

func (*MsgMintONFTResponse) MarshalToSizedBuffer

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

func (*MsgMintONFTResponse) ProtoMessage

func (*MsgMintONFTResponse) ProtoMessage()

func (*MsgMintONFTResponse) Reset

func (m *MsgMintONFTResponse) Reset()

func (*MsgMintONFTResponse) Size

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

func (*MsgMintONFTResponse) String

func (m *MsgMintONFTResponse) String() string

func (*MsgMintONFTResponse) Unmarshal

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

func (*MsgMintONFTResponse) XXX_DiscardUnknown

func (m *MsgMintONFTResponse) XXX_DiscardUnknown()

func (*MsgMintONFTResponse) XXX_Marshal

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

func (*MsgMintONFTResponse) XXX_Merge

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

func (*MsgMintONFTResponse) XXX_Size

func (m *MsgMintONFTResponse) XXX_Size() int

func (*MsgMintONFTResponse) XXX_Unmarshal

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

type MsgPurgeDenom added in v2.1.0

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

func NewMsgPurgeDenom added in v2.1.0

func NewMsgPurgeDenom(id, sender string) *MsgPurgeDenom

func (*MsgPurgeDenom) Descriptor added in v2.1.0

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

func (MsgPurgeDenom) GetSignBytes added in v2.1.0

func (msg MsgPurgeDenom) GetSignBytes() []byte

func (MsgPurgeDenom) GetSigners added in v2.1.0

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

func (*MsgPurgeDenom) Marshal added in v2.1.0

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

func (*MsgPurgeDenom) MarshalTo added in v2.1.0

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

func (*MsgPurgeDenom) MarshalToSizedBuffer added in v2.1.0

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

func (*MsgPurgeDenom) ProtoMessage added in v2.1.0

func (*MsgPurgeDenom) ProtoMessage()

func (*MsgPurgeDenom) Reset added in v2.1.0

func (m *MsgPurgeDenom) Reset()

func (MsgPurgeDenom) Route added in v2.1.0

func (msg MsgPurgeDenom) Route() string

func (*MsgPurgeDenom) Size added in v2.1.0

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

func (*MsgPurgeDenom) String added in v2.1.0

func (m *MsgPurgeDenom) String() string

func (MsgPurgeDenom) Type added in v2.1.0

func (msg MsgPurgeDenom) Type() string

func (*MsgPurgeDenom) Unmarshal added in v2.1.0

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

func (MsgPurgeDenom) ValidateBasic added in v2.1.0

func (msg MsgPurgeDenom) ValidateBasic() error

func (*MsgPurgeDenom) XXX_DiscardUnknown added in v2.1.0

func (m *MsgPurgeDenom) XXX_DiscardUnknown()

func (*MsgPurgeDenom) XXX_Marshal added in v2.1.0

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

func (*MsgPurgeDenom) XXX_Merge added in v2.1.0

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

func (*MsgPurgeDenom) XXX_Size added in v2.1.0

func (m *MsgPurgeDenom) XXX_Size() int

func (*MsgPurgeDenom) XXX_Unmarshal added in v2.1.0

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

type MsgPurgeDenomResponse added in v2.1.0

type MsgPurgeDenomResponse struct {
}

func (*MsgPurgeDenomResponse) Descriptor added in v2.1.0

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

func (*MsgPurgeDenomResponse) Marshal added in v2.1.0

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

func (*MsgPurgeDenomResponse) MarshalTo added in v2.1.0

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

func (*MsgPurgeDenomResponse) MarshalToSizedBuffer added in v2.1.0

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

func (*MsgPurgeDenomResponse) ProtoMessage added in v2.1.0

func (*MsgPurgeDenomResponse) ProtoMessage()

func (*MsgPurgeDenomResponse) Reset added in v2.1.0

func (m *MsgPurgeDenomResponse) Reset()

func (*MsgPurgeDenomResponse) Size added in v2.1.0

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

func (*MsgPurgeDenomResponse) String added in v2.1.0

func (m *MsgPurgeDenomResponse) String() string

func (*MsgPurgeDenomResponse) Unmarshal added in v2.1.0

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

func (*MsgPurgeDenomResponse) XXX_DiscardUnknown added in v2.1.0

func (m *MsgPurgeDenomResponse) XXX_DiscardUnknown()

func (*MsgPurgeDenomResponse) XXX_Marshal added in v2.1.0

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

func (*MsgPurgeDenomResponse) XXX_Merge added in v2.1.0

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

func (*MsgPurgeDenomResponse) XXX_Size added in v2.1.0

func (m *MsgPurgeDenomResponse) XXX_Size() int

func (*MsgPurgeDenomResponse) XXX_Unmarshal added in v2.1.0

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

type MsgServer

type MsgServer interface {
	CreateDenom(context.Context, *MsgCreateDenom) (*MsgCreateDenomResponse, error)
	UpdateDenom(context.Context, *MsgUpdateDenom) (*MsgUpdateDenomResponse, error)
	TransferDenom(context.Context, *MsgTransferDenom) (*MsgTransferDenomResponse, error)
	PurgeDenom(context.Context, *MsgPurgeDenom) (*MsgPurgeDenomResponse, error)
	MintONFT(context.Context, *MsgMintONFT) (*MsgMintONFTResponse, error)
	TransferONFT(context.Context, *MsgTransferONFT) (*MsgTransferONFTResponse, error)
	BurnONFT(context.Context, *MsgBurnONFT) (*MsgBurnONFTResponse, error)
	// UpdateParams defines a governance operation for updating the onft module
	// parameters. The authority is hard-coded to the onft module account.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgTransferDenom

type MsgTransferDenom struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Sender    string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

func NewMsgTransferDenom

func NewMsgTransferDenom(id, sender, recipient string) *MsgTransferDenom

func (*MsgTransferDenom) Descriptor

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

func (MsgTransferDenom) GetSignBytes

func (msg MsgTransferDenom) GetSignBytes() []byte

func (MsgTransferDenom) GetSigners

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

func (*MsgTransferDenom) Marshal

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

func (*MsgTransferDenom) MarshalTo

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

func (*MsgTransferDenom) MarshalToSizedBuffer

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

func (*MsgTransferDenom) ProtoMessage

func (*MsgTransferDenom) ProtoMessage()

func (*MsgTransferDenom) Reset

func (m *MsgTransferDenom) Reset()

func (MsgTransferDenom) Route

func (msg MsgTransferDenom) Route() string

func (*MsgTransferDenom) Size

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

func (*MsgTransferDenom) String

func (m *MsgTransferDenom) String() string

func (MsgTransferDenom) Type

func (msg MsgTransferDenom) Type() string

func (*MsgTransferDenom) Unmarshal

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

func (MsgTransferDenom) ValidateBasic

func (msg MsgTransferDenom) ValidateBasic() error

func (*MsgTransferDenom) XXX_DiscardUnknown

func (m *MsgTransferDenom) XXX_DiscardUnknown()

func (*MsgTransferDenom) XXX_Marshal

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

func (*MsgTransferDenom) XXX_Merge

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

func (*MsgTransferDenom) XXX_Size

func (m *MsgTransferDenom) XXX_Size() int

func (*MsgTransferDenom) XXX_Unmarshal

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

type MsgTransferDenomResponse

type MsgTransferDenomResponse struct {
}

func (*MsgTransferDenomResponse) Descriptor

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

func (*MsgTransferDenomResponse) Marshal

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

func (*MsgTransferDenomResponse) MarshalTo

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

func (*MsgTransferDenomResponse) MarshalToSizedBuffer

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

func (*MsgTransferDenomResponse) ProtoMessage

func (*MsgTransferDenomResponse) ProtoMessage()

func (*MsgTransferDenomResponse) Reset

func (m *MsgTransferDenomResponse) Reset()

func (*MsgTransferDenomResponse) Size

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

func (*MsgTransferDenomResponse) String

func (m *MsgTransferDenomResponse) String() string

func (*MsgTransferDenomResponse) Unmarshal

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

func (*MsgTransferDenomResponse) XXX_DiscardUnknown

func (m *MsgTransferDenomResponse) XXX_DiscardUnknown()

func (*MsgTransferDenomResponse) XXX_Marshal

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

func (*MsgTransferDenomResponse) XXX_Merge

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

func (*MsgTransferDenomResponse) XXX_Size

func (m *MsgTransferDenomResponse) XXX_Size() int

func (*MsgTransferDenomResponse) XXX_Unmarshal

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

type MsgTransferONFT

type MsgTransferONFT struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DenomId   string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	Sender    string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

func NewMsgTransferONFT

func NewMsgTransferONFT(id, denomId, sender, recipient string) *MsgTransferONFT

func (*MsgTransferONFT) Descriptor

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

func (MsgTransferONFT) GetSignBytes

func (msg MsgTransferONFT) GetSignBytes() []byte

func (MsgTransferONFT) GetSigners

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

func (*MsgTransferONFT) Marshal

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

func (*MsgTransferONFT) MarshalTo

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

func (*MsgTransferONFT) MarshalToSizedBuffer

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

func (*MsgTransferONFT) ProtoMessage

func (*MsgTransferONFT) ProtoMessage()

func (*MsgTransferONFT) Reset

func (m *MsgTransferONFT) Reset()

func (MsgTransferONFT) Route

func (msg MsgTransferONFT) Route() string

func (*MsgTransferONFT) Size

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

func (*MsgTransferONFT) String

func (m *MsgTransferONFT) String() string

func (MsgTransferONFT) Type

func (msg MsgTransferONFT) Type() string

func (*MsgTransferONFT) Unmarshal

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

func (MsgTransferONFT) ValidateBasic

func (msg MsgTransferONFT) ValidateBasic() error

func (*MsgTransferONFT) XXX_DiscardUnknown

func (m *MsgTransferONFT) XXX_DiscardUnknown()

func (*MsgTransferONFT) XXX_Marshal

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

func (*MsgTransferONFT) XXX_Merge

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

func (*MsgTransferONFT) XXX_Size

func (m *MsgTransferONFT) XXX_Size() int

func (*MsgTransferONFT) XXX_Unmarshal

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

type MsgTransferONFTResponse

type MsgTransferONFTResponse struct {
}

func (*MsgTransferONFTResponse) Descriptor

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

func (*MsgTransferONFTResponse) Marshal

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

func (*MsgTransferONFTResponse) MarshalTo

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

func (*MsgTransferONFTResponse) MarshalToSizedBuffer

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

func (*MsgTransferONFTResponse) ProtoMessage

func (*MsgTransferONFTResponse) ProtoMessage()

func (*MsgTransferONFTResponse) Reset

func (m *MsgTransferONFTResponse) Reset()

func (*MsgTransferONFTResponse) Size

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

func (*MsgTransferONFTResponse) String

func (m *MsgTransferONFTResponse) String() string

func (*MsgTransferONFTResponse) Unmarshal

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

func (*MsgTransferONFTResponse) XXX_DiscardUnknown

func (m *MsgTransferONFTResponse) XXX_DiscardUnknown()

func (*MsgTransferONFTResponse) XXX_Marshal

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

func (*MsgTransferONFTResponse) XXX_Merge

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

func (*MsgTransferONFTResponse) XXX_Size

func (m *MsgTransferONFTResponse) XXX_Size() int

func (*MsgTransferONFTResponse) XXX_Unmarshal

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

type MsgUpdateDenom

type MsgUpdateDenom struct {
	Id               string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description      string             `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	PreviewURI       string             `protobuf:"bytes,4,opt,name=preview_uri,json=previewUri,proto3" json:"preview_uri,omitempty" yaml:"preview_uri"`
	Sender           string             `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"`
	RoyaltyReceivers []*WeightedAddress `` /* 134-byte string literal not displayed */
}

func NewMsgUpdateDenom

func NewMsgUpdateDenom(
	id, name, description, previewUri, sender string,
	royaltyReceivers []*WeightedAddress,
) *MsgUpdateDenom

func (*MsgUpdateDenom) Descriptor

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

func (MsgUpdateDenom) GetSignBytes

func (msg MsgUpdateDenom) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgUpdateDenom) GetSigners

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

func (*MsgUpdateDenom) Marshal

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

func (*MsgUpdateDenom) MarshalTo

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

func (*MsgUpdateDenom) MarshalToSizedBuffer

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

func (*MsgUpdateDenom) ProtoMessage

func (*MsgUpdateDenom) ProtoMessage()

func (*MsgUpdateDenom) Reset

func (m *MsgUpdateDenom) Reset()

func (MsgUpdateDenom) Route

func (msg MsgUpdateDenom) Route() string

func (*MsgUpdateDenom) Size

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

func (*MsgUpdateDenom) String

func (m *MsgUpdateDenom) String() string

func (MsgUpdateDenom) Type

func (msg MsgUpdateDenom) Type() string

func (*MsgUpdateDenom) Unmarshal

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

func (MsgUpdateDenom) ValidateBasic

func (msg MsgUpdateDenom) ValidateBasic() error

func (*MsgUpdateDenom) XXX_DiscardUnknown

func (m *MsgUpdateDenom) XXX_DiscardUnknown()

func (*MsgUpdateDenom) XXX_Marshal

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

func (*MsgUpdateDenom) XXX_Merge

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

func (*MsgUpdateDenom) XXX_Size

func (m *MsgUpdateDenom) XXX_Size() int

func (*MsgUpdateDenom) XXX_Unmarshal

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

type MsgUpdateDenomResponse

type MsgUpdateDenomResponse struct {
}

func (*MsgUpdateDenomResponse) Descriptor

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

func (*MsgUpdateDenomResponse) Marshal

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

func (*MsgUpdateDenomResponse) MarshalTo

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

func (*MsgUpdateDenomResponse) MarshalToSizedBuffer

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

func (*MsgUpdateDenomResponse) ProtoMessage

func (*MsgUpdateDenomResponse) ProtoMessage()

func (*MsgUpdateDenomResponse) Reset

func (m *MsgUpdateDenomResponse) Reset()

func (*MsgUpdateDenomResponse) Size

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

func (*MsgUpdateDenomResponse) String

func (m *MsgUpdateDenomResponse) String() string

func (*MsgUpdateDenomResponse) Unmarshal

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

func (*MsgUpdateDenomResponse) XXX_DiscardUnknown

func (m *MsgUpdateDenomResponse) XXX_DiscardUnknown()

func (*MsgUpdateDenomResponse) XXX_Marshal

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

func (*MsgUpdateDenomResponse) XXX_Merge

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

func (*MsgUpdateDenomResponse) XXX_Size

func (m *MsgUpdateDenomResponse) XXX_Size() int

func (*MsgUpdateDenomResponse) XXX_Unmarshal

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

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 onft module 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 NFTBuilder

type NFTBuilder struct {
	// contains filtered or unexported fields
}

func NewNFTBuilder

func NewNFTBuilder(cdc codec.Codec) NFTBuilder

func (NFTBuilder) Build

func (nb NFTBuilder) Build(classId, nftID, nftURI, nftData string) (nft.NFT, error)

Build create a nft from ics721 packet data

func (NFTBuilder) BuildMetadata

func (nb NFTBuilder) BuildMetadata(_nft nft.NFT) (string, error)

BuildMetadata encode nft into the metadata format defined by ics721

type ONFT

type ONFT struct {
	Id           string                                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Metadata     Metadata                               `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata"`
	Data         string                                 `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Owner        string                                 `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Transferable bool                                   `protobuf:"varint,5,opt,name=transferable,proto3" json:"transferable,omitempty"`
	Extensible   bool                                   `protobuf:"varint,6,opt,name=extensible,proto3" json:"extensible,omitempty"`
	CreatedAt    time.Time                              `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at" yaml:"created_at"`
	Nsfw         bool                                   `protobuf:"varint,8,opt,name=nsfw,proto3" json:"nsfw,omitempty"`
	RoyaltyShare github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
}

ASSET or ONFT

func NewONFT

func NewONFT(
	id string, metadata Metadata, data string, transferable, extensible bool, owner sdk.AccAddress,
	createdTime time.Time, nsfw bool, royaltyShare sdk.Dec,
) ONFT

func (*ONFT) Descriptor

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

func (*ONFT) Equal

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

func (ONFT) GetCreatedTime

func (onft ONFT) GetCreatedTime() time.Time

func (ONFT) GetData

func (onft ONFT) GetData() string

func (ONFT) GetDescription

func (onft ONFT) GetDescription() string

func (ONFT) GetID

func (onft ONFT) GetID() string

func (ONFT) GetMediaURI

func (onft ONFT) GetMediaURI() string

func (ONFT) GetMetadata

func (onft ONFT) GetMetadata() string

func (ONFT) GetName

func (onft ONFT) GetName() string

func (ONFT) GetOwner

func (onft ONFT) GetOwner() sdk.AccAddress

func (ONFT) GetPreviewURI

func (onft ONFT) GetPreviewURI() string

func (ONFT) GetRoyaltyShare

func (onft ONFT) GetRoyaltyShare() sdk.Dec

func (ONFT) GetURIHash

func (onft ONFT) GetURIHash() string

func (ONFT) IsExtensible

func (onft ONFT) IsExtensible() bool

func (ONFT) IsNSFW

func (onft ONFT) IsNSFW() bool

func (ONFT) IsTransferable

func (onft ONFT) IsTransferable() bool

func (*ONFT) Marshal

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

func (*ONFT) MarshalTo

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

func (*ONFT) MarshalToSizedBuffer

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

func (*ONFT) ProtoMessage

func (*ONFT) ProtoMessage()

func (*ONFT) Reset

func (m *ONFT) Reset()

func (*ONFT) Size

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

func (*ONFT) String

func (m *ONFT) String() string

func (*ONFT) Unmarshal

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

func (*ONFT) XXX_DiscardUnknown

func (m *ONFT) XXX_DiscardUnknown()

func (*ONFT) XXX_Marshal

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

func (*ONFT) XXX_Merge

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

func (*ONFT) XXX_Size

func (m *ONFT) XXX_Size() int

func (*ONFT) XXX_Unmarshal

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

type ONFTMetadata

type ONFTMetadata struct {
	Name         string                                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description  string                                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	PreviewURI   string                                 `protobuf:"bytes,3,opt,name=preview_uri,json=previewUri,proto3" json:"preview_uri,omitempty" yaml:"preview_uri"`
	Data         string                                 `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Transferable bool                                   `protobuf:"varint,5,opt,name=transferable,proto3" json:"transferable,omitempty"`
	Extensible   bool                                   `protobuf:"varint,6,opt,name=extensible,proto3" json:"extensible,omitempty"`
	CreatedAt    time.Time                              `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at" yaml:"created_at"`
	Nsfw         bool                                   `protobuf:"varint,8,opt,name=nsfw,proto3" json:"nsfw,omitempty"`
	RoyaltyShare github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	UriHash      string                                 `protobuf:"bytes,10,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"`
}

func UnmarshalNFTMetadata

func UnmarshalNFTMetadata(cdc codec.BinaryCodec, bz []byte) (ONFTMetadata, error)

func (*ONFTMetadata) Descriptor

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

func (*ONFTMetadata) Marshal

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

func (*ONFTMetadata) MarshalTo

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

func (*ONFTMetadata) MarshalToSizedBuffer

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

func (*ONFTMetadata) ProtoMessage

func (*ONFTMetadata) ProtoMessage()

func (*ONFTMetadata) Reset

func (m *ONFTMetadata) Reset()

func (*ONFTMetadata) Size

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

func (*ONFTMetadata) String

func (m *ONFTMetadata) String() string

func (*ONFTMetadata) Unmarshal

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

func (*ONFTMetadata) XXX_DiscardUnknown

func (m *ONFTMetadata) XXX_DiscardUnknown()

func (*ONFTMetadata) XXX_Marshal

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

func (*ONFTMetadata) XXX_Merge

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

func (*ONFTMetadata) XXX_Size

func (m *ONFTMetadata) XXX_Size() int

func (*ONFTMetadata) XXX_Unmarshal

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

type ONFTs

type ONFTs []exported.ONFTI

func NewONFTs

func NewONFTs(onfts ...exported.ONFTI) ONFTs

type Owner

type Owner struct {
	Address       string         `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	IDCollections []IDCollection `protobuf:"bytes,2,rep,name=id_collections,json=idCollections,proto3" json:"id_collections" yaml:"idcs"`
}

func (*Owner) Descriptor

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

func (*Owner) Marshal

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

func (*Owner) MarshalTo

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

func (*Owner) MarshalToSizedBuffer

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

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) Reset

func (m *Owner) Reset()

func (*Owner) Size

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

func (*Owner) String

func (m *Owner) String() string

func (*Owner) Unmarshal

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

func (*Owner) XXX_DiscardUnknown

func (m *Owner) XXX_DiscardUnknown()

func (*Owner) XXX_Marshal

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

func (*Owner) XXX_Merge

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

func (*Owner) XXX_Size

func (m *Owner) XXX_Size() int

func (*Owner) XXX_Unmarshal

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

type OwnerONFTCollection

type OwnerONFTCollection struct {
	Denom Denom  `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom"`
	Onfts []ONFT `protobuf:"bytes,2,rep,name=onfts,proto3" json:"onfts"`
}

func (*OwnerONFTCollection) Descriptor

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

func (*OwnerONFTCollection) GetDenom

func (m *OwnerONFTCollection) GetDenom() Denom

func (*OwnerONFTCollection) GetOnfts

func (m *OwnerONFTCollection) GetOnfts() []ONFT

func (*OwnerONFTCollection) Marshal

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

func (*OwnerONFTCollection) MarshalTo

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

func (*OwnerONFTCollection) MarshalToSizedBuffer

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

func (*OwnerONFTCollection) ProtoMessage

func (*OwnerONFTCollection) ProtoMessage()

func (*OwnerONFTCollection) Reset

func (m *OwnerONFTCollection) Reset()

func (*OwnerONFTCollection) Size

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

func (*OwnerONFTCollection) String

func (m *OwnerONFTCollection) String() string

func (*OwnerONFTCollection) Unmarshal

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

func (*OwnerONFTCollection) XXX_DiscardUnknown

func (m *OwnerONFTCollection) XXX_DiscardUnknown()

func (*OwnerONFTCollection) XXX_Marshal

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

func (*OwnerONFTCollection) XXX_Merge

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

func (*OwnerONFTCollection) XXX_Size

func (m *OwnerONFTCollection) XXX_Size() int

func (*OwnerONFTCollection) XXX_Unmarshal

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

type Params

type Params struct {
	DenomCreationFee github_com_cosmos_cosmos_sdk_types.Coin `` /* 178-byte string literal not displayed */
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns default onft parameters

func NewONFTParams

func NewONFTParams(denomCreationFee sdk.Coin) 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 onft 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 QueryClient

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 QueryCollectionRequest

type QueryCollectionRequest struct {
	DenomId    string             `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryCollectionRequest) Descriptor

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

func (*QueryCollectionRequest) GetDenomId

func (m *QueryCollectionRequest) GetDenomId() string

func (*QueryCollectionRequest) GetPagination

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

func (*QueryCollectionRequest) Marshal

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

func (*QueryCollectionRequest) MarshalTo

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

func (*QueryCollectionRequest) MarshalToSizedBuffer

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

func (*QueryCollectionRequest) ProtoMessage

func (*QueryCollectionRequest) ProtoMessage()

func (*QueryCollectionRequest) Reset

func (m *QueryCollectionRequest) Reset()

func (*QueryCollectionRequest) Size

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

func (*QueryCollectionRequest) String

func (m *QueryCollectionRequest) String() string

func (*QueryCollectionRequest) Unmarshal

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

func (*QueryCollectionRequest) XXX_DiscardUnknown

func (m *QueryCollectionRequest) XXX_DiscardUnknown()

func (*QueryCollectionRequest) XXX_Marshal

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

func (*QueryCollectionRequest) XXX_Merge

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

func (*QueryCollectionRequest) XXX_Size

func (m *QueryCollectionRequest) XXX_Size() int

func (*QueryCollectionRequest) XXX_Unmarshal

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

type QueryCollectionResponse

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

func (*QueryCollectionResponse) Descriptor

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

func (*QueryCollectionResponse) GetCollection

func (m *QueryCollectionResponse) GetCollection() *Collection

func (*QueryCollectionResponse) GetPagination

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

func (*QueryCollectionResponse) Marshal

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

func (*QueryCollectionResponse) MarshalTo

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

func (*QueryCollectionResponse) MarshalToSizedBuffer

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

func (*QueryCollectionResponse) ProtoMessage

func (*QueryCollectionResponse) ProtoMessage()

func (*QueryCollectionResponse) Reset

func (m *QueryCollectionResponse) Reset()

func (*QueryCollectionResponse) Size

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

func (*QueryCollectionResponse) String

func (m *QueryCollectionResponse) String() string

func (*QueryCollectionResponse) Unmarshal

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

func (*QueryCollectionResponse) XXX_DiscardUnknown

func (m *QueryCollectionResponse) XXX_DiscardUnknown()

func (*QueryCollectionResponse) XXX_Marshal

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

func (*QueryCollectionResponse) XXX_Merge

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

func (*QueryCollectionResponse) XXX_Size

func (m *QueryCollectionResponse) XXX_Size() int

func (*QueryCollectionResponse) XXX_Unmarshal

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

type QueryDenomRequest

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

func (*QueryDenomRequest) Descriptor

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

func (*QueryDenomRequest) GetDenomId

func (m *QueryDenomRequest) GetDenomId() string

func (*QueryDenomRequest) Marshal

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

func (*QueryDenomRequest) MarshalTo

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

func (*QueryDenomRequest) MarshalToSizedBuffer

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

func (*QueryDenomRequest) ProtoMessage

func (*QueryDenomRequest) ProtoMessage()

func (*QueryDenomRequest) Reset

func (m *QueryDenomRequest) Reset()

func (*QueryDenomRequest) Size

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

func (*QueryDenomRequest) String

func (m *QueryDenomRequest) String() string

func (*QueryDenomRequest) Unmarshal

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

func (*QueryDenomRequest) XXX_DiscardUnknown

func (m *QueryDenomRequest) XXX_DiscardUnknown()

func (*QueryDenomRequest) XXX_Marshal

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

func (*QueryDenomRequest) XXX_Merge

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

func (*QueryDenomRequest) XXX_Size

func (m *QueryDenomRequest) XXX_Size() int

func (*QueryDenomRequest) XXX_Unmarshal

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

type QueryDenomResponse

type QueryDenomResponse struct {
	Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryDenomResponse) Descriptor

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

func (*QueryDenomResponse) GetDenom

func (m *QueryDenomResponse) GetDenom() *Denom

func (*QueryDenomResponse) Marshal

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

func (*QueryDenomResponse) MarshalTo

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

func (*QueryDenomResponse) MarshalToSizedBuffer

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

func (*QueryDenomResponse) ProtoMessage

func (*QueryDenomResponse) ProtoMessage()

func (*QueryDenomResponse) Reset

func (m *QueryDenomResponse) Reset()

func (*QueryDenomResponse) Size

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

func (*QueryDenomResponse) String

func (m *QueryDenomResponse) String() string

func (*QueryDenomResponse) Unmarshal

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

func (*QueryDenomResponse) XXX_DiscardUnknown

func (m *QueryDenomResponse) XXX_DiscardUnknown()

func (*QueryDenomResponse) XXX_Marshal

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

func (*QueryDenomResponse) XXX_Merge

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

func (*QueryDenomResponse) XXX_Size

func (m *QueryDenomResponse) XXX_Size() int

func (*QueryDenomResponse) XXX_Unmarshal

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

type QueryDenomsRequest

type QueryDenomsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Owner      string             `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*QueryDenomsRequest) Descriptor

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

func (*QueryDenomsRequest) GetOwner

func (m *QueryDenomsRequest) GetOwner() string

func (*QueryDenomsRequest) GetPagination

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

func (*QueryDenomsRequest) Marshal

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

func (*QueryDenomsRequest) MarshalTo

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

func (*QueryDenomsRequest) MarshalToSizedBuffer

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

func (*QueryDenomsRequest) ProtoMessage

func (*QueryDenomsRequest) ProtoMessage()

func (*QueryDenomsRequest) Reset

func (m *QueryDenomsRequest) Reset()

func (*QueryDenomsRequest) Size

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

func (*QueryDenomsRequest) String

func (m *QueryDenomsRequest) String() string

func (*QueryDenomsRequest) Unmarshal

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

func (*QueryDenomsRequest) XXX_DiscardUnknown

func (m *QueryDenomsRequest) XXX_DiscardUnknown()

func (*QueryDenomsRequest) XXX_Marshal

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

func (*QueryDenomsRequest) XXX_Merge

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

func (*QueryDenomsRequest) XXX_Size

func (m *QueryDenomsRequest) XXX_Size() int

func (*QueryDenomsRequest) XXX_Unmarshal

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

type QueryDenomsResponse

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

func (*QueryDenomsResponse) Descriptor

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

func (*QueryDenomsResponse) GetDenoms

func (m *QueryDenomsResponse) GetDenoms() []Denom

func (*QueryDenomsResponse) GetPagination

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

func (*QueryDenomsResponse) Marshal

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

func (*QueryDenomsResponse) MarshalTo

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

func (*QueryDenomsResponse) MarshalToSizedBuffer

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

func (*QueryDenomsResponse) ProtoMessage

func (*QueryDenomsResponse) ProtoMessage()

func (*QueryDenomsResponse) Reset

func (m *QueryDenomsResponse) Reset()

func (*QueryDenomsResponse) Size

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

func (*QueryDenomsResponse) String

func (m *QueryDenomsResponse) String() string

func (*QueryDenomsResponse) Unmarshal

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

func (*QueryDenomsResponse) XXX_DiscardUnknown

func (m *QueryDenomsResponse) XXX_DiscardUnknown()

func (*QueryDenomsResponse) XXX_Marshal

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

func (*QueryDenomsResponse) XXX_Merge

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

func (*QueryDenomsResponse) XXX_Size

func (m *QueryDenomsResponse) XXX_Size() int

func (*QueryDenomsResponse) XXX_Unmarshal

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

type QueryIBCCollectionRequest

type QueryIBCCollectionRequest struct {
	Hash       string             `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" yaml:"hash"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryIBCCollectionRequest) Descriptor

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

func (*QueryIBCCollectionRequest) GetHash

func (m *QueryIBCCollectionRequest) GetHash() string

func (*QueryIBCCollectionRequest) GetPagination

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

func (*QueryIBCCollectionRequest) Marshal

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

func (*QueryIBCCollectionRequest) MarshalTo

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

func (*QueryIBCCollectionRequest) MarshalToSizedBuffer

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

func (*QueryIBCCollectionRequest) ProtoMessage

func (*QueryIBCCollectionRequest) ProtoMessage()

func (*QueryIBCCollectionRequest) Reset

func (m *QueryIBCCollectionRequest) Reset()

func (*QueryIBCCollectionRequest) Size

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

func (*QueryIBCCollectionRequest) String

func (m *QueryIBCCollectionRequest) String() string

func (*QueryIBCCollectionRequest) Unmarshal

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

func (*QueryIBCCollectionRequest) XXX_DiscardUnknown

func (m *QueryIBCCollectionRequest) XXX_DiscardUnknown()

func (*QueryIBCCollectionRequest) XXX_Marshal

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

func (*QueryIBCCollectionRequest) XXX_Merge

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

func (*QueryIBCCollectionRequest) XXX_Size

func (m *QueryIBCCollectionRequest) XXX_Size() int

func (*QueryIBCCollectionRequest) XXX_Unmarshal

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

type QueryIBCDenomONFTRequest

type QueryIBCDenomONFTRequest struct {
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" yaml:"hash"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryIBCDenomONFTRequest) Descriptor

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

func (*QueryIBCDenomONFTRequest) GetHash

func (m *QueryIBCDenomONFTRequest) GetHash() string

func (*QueryIBCDenomONFTRequest) GetId

func (m *QueryIBCDenomONFTRequest) GetId() string

func (*QueryIBCDenomONFTRequest) Marshal

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

func (*QueryIBCDenomONFTRequest) MarshalTo

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

func (*QueryIBCDenomONFTRequest) MarshalToSizedBuffer

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

func (*QueryIBCDenomONFTRequest) ProtoMessage

func (*QueryIBCDenomONFTRequest) ProtoMessage()

func (*QueryIBCDenomONFTRequest) Reset

func (m *QueryIBCDenomONFTRequest) Reset()

func (*QueryIBCDenomONFTRequest) Size

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

func (*QueryIBCDenomONFTRequest) String

func (m *QueryIBCDenomONFTRequest) String() string

func (*QueryIBCDenomONFTRequest) Unmarshal

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

func (*QueryIBCDenomONFTRequest) XXX_DiscardUnknown

func (m *QueryIBCDenomONFTRequest) XXX_DiscardUnknown()

func (*QueryIBCDenomONFTRequest) XXX_Marshal

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

func (*QueryIBCDenomONFTRequest) XXX_Merge

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

func (*QueryIBCDenomONFTRequest) XXX_Size

func (m *QueryIBCDenomONFTRequest) XXX_Size() int

func (*QueryIBCDenomONFTRequest) XXX_Unmarshal

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

type QueryIBCDenomRequest

type QueryIBCDenomRequest struct {
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" yaml:"hash"`
}

func (*QueryIBCDenomRequest) Descriptor

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

func (*QueryIBCDenomRequest) GetHash

func (m *QueryIBCDenomRequest) GetHash() string

func (*QueryIBCDenomRequest) Marshal

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

func (*QueryIBCDenomRequest) MarshalTo

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

func (*QueryIBCDenomRequest) MarshalToSizedBuffer

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

func (*QueryIBCDenomRequest) ProtoMessage

func (*QueryIBCDenomRequest) ProtoMessage()

func (*QueryIBCDenomRequest) Reset

func (m *QueryIBCDenomRequest) Reset()

func (*QueryIBCDenomRequest) Size

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

func (*QueryIBCDenomRequest) String

func (m *QueryIBCDenomRequest) String() string

func (*QueryIBCDenomRequest) Unmarshal

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

func (*QueryIBCDenomRequest) XXX_DiscardUnknown

func (m *QueryIBCDenomRequest) XXX_DiscardUnknown()

func (*QueryIBCDenomRequest) XXX_Marshal

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

func (*QueryIBCDenomRequest) XXX_Merge

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

func (*QueryIBCDenomRequest) XXX_Size

func (m *QueryIBCDenomRequest) XXX_Size() int

func (*QueryIBCDenomRequest) XXX_Unmarshal

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

type QueryIBCDenomSupplyRequest

type QueryIBCDenomSupplyRequest struct {
	Hash  string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" yaml:"hash"`
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*QueryIBCDenomSupplyRequest) Descriptor

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

func (*QueryIBCDenomSupplyRequest) GetHash

func (m *QueryIBCDenomSupplyRequest) GetHash() string

func (*QueryIBCDenomSupplyRequest) GetOwner

func (m *QueryIBCDenomSupplyRequest) GetOwner() string

func (*QueryIBCDenomSupplyRequest) Marshal

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

func (*QueryIBCDenomSupplyRequest) MarshalTo

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

func (*QueryIBCDenomSupplyRequest) MarshalToSizedBuffer

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

func (*QueryIBCDenomSupplyRequest) ProtoMessage

func (*QueryIBCDenomSupplyRequest) ProtoMessage()

func (*QueryIBCDenomSupplyRequest) Reset

func (m *QueryIBCDenomSupplyRequest) Reset()

func (*QueryIBCDenomSupplyRequest) Size

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

func (*QueryIBCDenomSupplyRequest) String

func (m *QueryIBCDenomSupplyRequest) String() string

func (*QueryIBCDenomSupplyRequest) Unmarshal

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

func (*QueryIBCDenomSupplyRequest) XXX_DiscardUnknown

func (m *QueryIBCDenomSupplyRequest) XXX_DiscardUnknown()

func (*QueryIBCDenomSupplyRequest) XXX_Marshal

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

func (*QueryIBCDenomSupplyRequest) XXX_Merge

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

func (*QueryIBCDenomSupplyRequest) XXX_Size

func (m *QueryIBCDenomSupplyRequest) XXX_Size() int

func (*QueryIBCDenomSupplyRequest) XXX_Unmarshal

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

type QueryONFTRequest

type QueryONFTRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	Id      string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryONFTRequest) Descriptor

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

func (*QueryONFTRequest) GetDenomId

func (m *QueryONFTRequest) GetDenomId() string

func (*QueryONFTRequest) GetId

func (m *QueryONFTRequest) GetId() string

func (*QueryONFTRequest) Marshal

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

func (*QueryONFTRequest) MarshalTo

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

func (*QueryONFTRequest) MarshalToSizedBuffer

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

func (*QueryONFTRequest) ProtoMessage

func (*QueryONFTRequest) ProtoMessage()

func (*QueryONFTRequest) Reset

func (m *QueryONFTRequest) Reset()

func (*QueryONFTRequest) Size

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

func (*QueryONFTRequest) String

func (m *QueryONFTRequest) String() string

func (*QueryONFTRequest) Unmarshal

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

func (*QueryONFTRequest) XXX_DiscardUnknown

func (m *QueryONFTRequest) XXX_DiscardUnknown()

func (*QueryONFTRequest) XXX_Marshal

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

func (*QueryONFTRequest) XXX_Merge

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

func (*QueryONFTRequest) XXX_Size

func (m *QueryONFTRequest) XXX_Size() int

func (*QueryONFTRequest) XXX_Unmarshal

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

type QueryONFTResponse

type QueryONFTResponse struct {
	ONFT *ONFT `protobuf:"bytes,1,opt,name=onft,proto3" json:"onft,omitempty"`
}

func (*QueryONFTResponse) Descriptor

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

func (*QueryONFTResponse) GetONFT

func (m *QueryONFTResponse) GetONFT() *ONFT

func (*QueryONFTResponse) Marshal

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

func (*QueryONFTResponse) MarshalTo

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

func (*QueryONFTResponse) MarshalToSizedBuffer

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

func (*QueryONFTResponse) ProtoMessage

func (*QueryONFTResponse) ProtoMessage()

func (*QueryONFTResponse) Reset

func (m *QueryONFTResponse) Reset()

func (*QueryONFTResponse) Size

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

func (*QueryONFTResponse) String

func (m *QueryONFTResponse) String() string

func (*QueryONFTResponse) Unmarshal

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

func (*QueryONFTResponse) XXX_DiscardUnknown

func (m *QueryONFTResponse) XXX_DiscardUnknown()

func (*QueryONFTResponse) XXX_Marshal

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

func (*QueryONFTResponse) XXX_Merge

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

func (*QueryONFTResponse) XXX_Size

func (m *QueryONFTResponse) XXX_Size() int

func (*QueryONFTResponse) XXX_Unmarshal

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

type QueryOwnerIBCDenomONFTsRequest

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

func (*QueryOwnerIBCDenomONFTsRequest) Descriptor

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

func (*QueryOwnerIBCDenomONFTsRequest) GetHash

func (*QueryOwnerIBCDenomONFTsRequest) GetOwner

func (m *QueryOwnerIBCDenomONFTsRequest) GetOwner() string

func (*QueryOwnerIBCDenomONFTsRequest) GetPagination

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

func (*QueryOwnerIBCDenomONFTsRequest) Marshal

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

func (*QueryOwnerIBCDenomONFTsRequest) MarshalTo

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

func (*QueryOwnerIBCDenomONFTsRequest) MarshalToSizedBuffer

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

func (*QueryOwnerIBCDenomONFTsRequest) ProtoMessage

func (*QueryOwnerIBCDenomONFTsRequest) ProtoMessage()

func (*QueryOwnerIBCDenomONFTsRequest) Reset

func (m *QueryOwnerIBCDenomONFTsRequest) Reset()

func (*QueryOwnerIBCDenomONFTsRequest) Size

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

func (*QueryOwnerIBCDenomONFTsRequest) String

func (*QueryOwnerIBCDenomONFTsRequest) Unmarshal

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

func (*QueryOwnerIBCDenomONFTsRequest) XXX_DiscardUnknown

func (m *QueryOwnerIBCDenomONFTsRequest) XXX_DiscardUnknown()

func (*QueryOwnerIBCDenomONFTsRequest) XXX_Marshal

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

func (*QueryOwnerIBCDenomONFTsRequest) XXX_Merge

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

func (*QueryOwnerIBCDenomONFTsRequest) XXX_Size

func (m *QueryOwnerIBCDenomONFTsRequest) XXX_Size() int

func (*QueryOwnerIBCDenomONFTsRequest) XXX_Unmarshal

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

type QueryOwnerONFTsRequest

type QueryOwnerONFTsRequest struct {
	DenomId    string             `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	Owner      string             `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryOwnerONFTsRequest) Descriptor

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

func (*QueryOwnerONFTsRequest) GetDenomId

func (m *QueryOwnerONFTsRequest) GetDenomId() string

func (*QueryOwnerONFTsRequest) GetOwner

func (m *QueryOwnerONFTsRequest) GetOwner() string

func (*QueryOwnerONFTsRequest) GetPagination

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

func (*QueryOwnerONFTsRequest) Marshal

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

func (*QueryOwnerONFTsRequest) MarshalTo

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

func (*QueryOwnerONFTsRequest) MarshalToSizedBuffer

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

func (*QueryOwnerONFTsRequest) ProtoMessage

func (*QueryOwnerONFTsRequest) ProtoMessage()

func (*QueryOwnerONFTsRequest) Reset

func (m *QueryOwnerONFTsRequest) Reset()

func (*QueryOwnerONFTsRequest) Size

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

func (*QueryOwnerONFTsRequest) String

func (m *QueryOwnerONFTsRequest) String() string

func (*QueryOwnerONFTsRequest) Unmarshal

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

func (*QueryOwnerONFTsRequest) XXX_DiscardUnknown

func (m *QueryOwnerONFTsRequest) XXX_DiscardUnknown()

func (*QueryOwnerONFTsRequest) XXX_Marshal

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

func (*QueryOwnerONFTsRequest) XXX_Merge

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

func (*QueryOwnerONFTsRequest) XXX_Size

func (m *QueryOwnerONFTsRequest) XXX_Size() int

func (*QueryOwnerONFTsRequest) XXX_Unmarshal

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

type QueryOwnerONFTsResponse

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

func (*QueryOwnerONFTsResponse) Descriptor

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

func (*QueryOwnerONFTsResponse) GetOwner

func (m *QueryOwnerONFTsResponse) GetOwner() *Owner

func (*QueryOwnerONFTsResponse) GetPagination

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

func (*QueryOwnerONFTsResponse) Marshal

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

func (*QueryOwnerONFTsResponse) MarshalTo

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

func (*QueryOwnerONFTsResponse) MarshalToSizedBuffer

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

func (*QueryOwnerONFTsResponse) ProtoMessage

func (*QueryOwnerONFTsResponse) ProtoMessage()

func (*QueryOwnerONFTsResponse) Reset

func (m *QueryOwnerONFTsResponse) Reset()

func (*QueryOwnerONFTsResponse) Size

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

func (*QueryOwnerONFTsResponse) String

func (m *QueryOwnerONFTsResponse) String() string

func (*QueryOwnerONFTsResponse) Unmarshal

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

func (*QueryOwnerONFTsResponse) XXX_DiscardUnknown

func (m *QueryOwnerONFTsResponse) XXX_DiscardUnknown()

func (*QueryOwnerONFTsResponse) XXX_Marshal

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

func (*QueryOwnerONFTsResponse) XXX_Merge

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

func (*QueryOwnerONFTsResponse) XXX_Size

func (m *QueryOwnerONFTsResponse) XXX_Size() int

func (*QueryOwnerONFTsResponse) XXX_Unmarshal

func (m *QueryOwnerONFTsResponse) 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 QuerySupplyRequest

type QuerySupplyRequest struct {
	DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty" yaml:"denom_id"`
	Owner   string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*QuerySupplyRequest) Descriptor

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

func (*QuerySupplyRequest) GetDenomId

func (m *QuerySupplyRequest) GetDenomId() string

func (*QuerySupplyRequest) GetOwner

func (m *QuerySupplyRequest) GetOwner() string

func (*QuerySupplyRequest) Marshal

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

func (*QuerySupplyRequest) MarshalTo

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

func (*QuerySupplyRequest) MarshalToSizedBuffer

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

func (*QuerySupplyRequest) ProtoMessage

func (*QuerySupplyRequest) ProtoMessage()

func (*QuerySupplyRequest) Reset

func (m *QuerySupplyRequest) Reset()

func (*QuerySupplyRequest) Size

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

func (*QuerySupplyRequest) String

func (m *QuerySupplyRequest) String() string

func (*QuerySupplyRequest) Unmarshal

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

func (*QuerySupplyRequest) XXX_DiscardUnknown

func (m *QuerySupplyRequest) XXX_DiscardUnknown()

func (*QuerySupplyRequest) XXX_Marshal

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

func (*QuerySupplyRequest) XXX_Merge

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

func (*QuerySupplyRequest) XXX_Size

func (m *QuerySupplyRequest) XXX_Size() int

func (*QuerySupplyRequest) XXX_Unmarshal

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

type QuerySupplyResponse

type QuerySupplyResponse struct {
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*QuerySupplyResponse) Descriptor

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

func (*QuerySupplyResponse) GetAmount

func (m *QuerySupplyResponse) GetAmount() uint64

func (*QuerySupplyResponse) Marshal

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

func (*QuerySupplyResponse) MarshalTo

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

func (*QuerySupplyResponse) MarshalToSizedBuffer

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

func (*QuerySupplyResponse) ProtoMessage

func (*QuerySupplyResponse) ProtoMessage()

func (*QuerySupplyResponse) Reset

func (m *QuerySupplyResponse) Reset()

func (*QuerySupplyResponse) Size

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

func (*QuerySupplyResponse) String

func (m *QuerySupplyResponse) String() string

func (*QuerySupplyResponse) Unmarshal

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

func (*QuerySupplyResponse) XXX_DiscardUnknown

func (m *QuerySupplyResponse) XXX_DiscardUnknown()

func (*QuerySupplyResponse) XXX_Marshal

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

func (*QuerySupplyResponse) XXX_Merge

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

func (*QuerySupplyResponse) XXX_Size

func (m *QuerySupplyResponse) XXX_Size() int

func (*QuerySupplyResponse) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BurnONFT

func (*UnimplementedMsgServer) CreateDenom

func (*UnimplementedMsgServer) MintONFT

func (*UnimplementedMsgServer) PurgeDenom added in v2.1.0

func (*UnimplementedMsgServer) TransferDenom

func (*UnimplementedMsgServer) TransferONFT

func (*UnimplementedMsgServer) UpdateDenom

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Collection

func (*UnimplementedQueryServer) Denom

func (*UnimplementedQueryServer) Denoms

func (*UnimplementedQueryServer) IBCCollection

func (*UnimplementedQueryServer) IBCDenom

func (*UnimplementedQueryServer) IBCDenomONFT

func (*UnimplementedQueryServer) IBCDenomSupply

func (*UnimplementedQueryServer) ONFT

func (*UnimplementedQueryServer) OwnerIBCDenomONFTs

func (*UnimplementedQueryServer) OwnerONFTs

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Supply

type WeightedAddress added in v2.1.0

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 added in v2.1.0

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

func (*WeightedAddress) Marshal added in v2.1.0

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

func (*WeightedAddress) MarshalTo added in v2.1.0

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

func (*WeightedAddress) MarshalToSizedBuffer added in v2.1.0

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

func (*WeightedAddress) ProtoMessage added in v2.1.0

func (*WeightedAddress) ProtoMessage()

func (*WeightedAddress) Reset added in v2.1.0

func (m *WeightedAddress) Reset()

func (*WeightedAddress) Size added in v2.1.0

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

func (*WeightedAddress) String added in v2.1.0

func (m *WeightedAddress) String() string

func (*WeightedAddress) Unmarshal added in v2.1.0

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

func (*WeightedAddress) XXX_DiscardUnknown added in v2.1.0

func (m *WeightedAddress) XXX_DiscardUnknown()

func (*WeightedAddress) XXX_Marshal added in v2.1.0

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

func (*WeightedAddress) XXX_Merge added in v2.1.0

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

func (*WeightedAddress) XXX_Size added in v2.1.0

func (m *WeightedAddress) XXX_Size() int

func (*WeightedAddress) XXX_Unmarshal added in v2.1.0

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