collection

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 34 Imported by: 5

Documentation

Overview

Package collection is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	DefaultDepthLimit = 1
	DefaultWidthLimit = 4
)
View Source
const (
	// ModuleName is the module name constant used in many places
	ModuleName = "collection"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName
)

Variables

View Source
var (
	ErrInvalidLengthCollection        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCollection          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCollection = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrTokenNotExist                 = sdkerrors.Register(collectionCodespace, 2, "token symbol, token-id does not exist")
	ErrTokenNotMintable              = sdkerrors.Register(collectionCodespace, 3, "token symbol, token-id is not mintable")
	ErrInvalidTokenName              = sdkerrors.Register(collectionCodespace, 4, "token name should not be empty")
	ErrInvalidTokenID                = sdkerrors.Register(collectionCodespace, 5, "invalid token id")
	ErrInvalidTokenDecimals          = sdkerrors.Register(collectionCodespace, 6, "token decimals should be within the range in 0 ~ 18")
	ErrInvalidIssueFT                = sdkerrors.Register(collectionCodespace, 7, "Issuing token with amount[1], decimals[0], mintable[false] prohibited. Issue nft token instead.")
	ErrInvalidAmount                 = sdkerrors.Register(collectionCodespace, 8, "invalid token amount")
	ErrInvalidBaseImgURILength       = sdkerrors.Register(collectionCodespace, 9, "invalid base_img_uri length")
	ErrInvalidNameLength             = sdkerrors.Register(collectionCodespace, 10, "invalid name length")
	ErrInvalidTokenType              = sdkerrors.Register(collectionCodespace, 11, "invalid token type pattern found")
	ErrInvalidTokenIndex             = sdkerrors.Register(collectionCodespace, 12, "invalid token index pattern found")
	ErrCollectionExist               = sdkerrors.Register(collectionCodespace, 13, "collection already exists")
	ErrCollectionNotExist            = sdkerrors.Register(collectionCodespace, 14, "collection does not exists")
	ErrTokenTypeExist                = sdkerrors.Register(collectionCodespace, 15, "token type for contract_id, token-type already exists")
	ErrTokenTypeNotExist             = sdkerrors.Register(collectionCodespace, 16, "token type for contract_id, token-type does not exist")
	ErrTokenTypeFull                 = sdkerrors.Register(collectionCodespace, 17, "all token type for contract_id are occupied")
	ErrTokenIndexFull                = sdkerrors.Register(collectionCodespace, 18, "all non-fungible token index for contract_id, token-type are occupied")
	ErrTokenIDFull                   = sdkerrors.Register(collectionCodespace, 19, "all fungible token-id for contract_id are occupied")
	ErrTokenNoPermission             = sdkerrors.Register(collectionCodespace, 20, "account does not have the permission")
	ErrTokenAlreadyAChild            = sdkerrors.Register(collectionCodespace, 21, "token is already a child of some other")
	ErrTokenNotAChild                = sdkerrors.Register(collectionCodespace, 22, "token is not a child of some other")
	ErrTokenNotOwnedBy               = sdkerrors.Register(collectionCodespace, 23, "token is being not owned by")
	ErrTokenCannotTransferChildToken = sdkerrors.Register(collectionCodespace, 24, "cannot transfer a child token")
	ErrTokenNotNFT                   = sdkerrors.Register(collectionCodespace, 25, "token is not a NFT")
	ErrCannotAttachToItself          = sdkerrors.Register(collectionCodespace, 26, "cannot attach token to itself")
	ErrCannotAttachToADescendant     = sdkerrors.Register(collectionCodespace, 27, "cannot attach token to a descendant")
	ErrApproverProxySame             = sdkerrors.Register(collectionCodespace, 28, "approver is same with proxy")
	ErrCollectionNotApproved         = sdkerrors.Register(collectionCodespace, 29, "proxy is not approved on the collection")
	ErrCollectionAlreadyApproved     = sdkerrors.Register(collectionCodespace, 30, "proxy is already approved on the collection")
	ErrAccountExist                  = sdkerrors.Register(collectionCodespace, 31, "account already exists")
	ErrAccountNotExist               = sdkerrors.Register(collectionCodespace, 32, "account does not exists")
	ErrInsufficientSupply            = sdkerrors.Register(collectionCodespace, 33, "insufficient supply")
	ErrInvalidCoin                   = sdkerrors.Register(collectionCodespace, 34, "invalid coin")
	ErrInvalidChangesFieldCount      = sdkerrors.Register(collectionCodespace, 35, "invalid count of field changes")
	ErrEmptyChanges                  = sdkerrors.Register(collectionCodespace, 36, "changes is empty")
	ErrInvalidChangesField           = sdkerrors.Register(collectionCodespace, 37, "invalid field of changes")
	ErrTokenIndexWithoutType         = sdkerrors.Register(collectionCodespace, 38, "There is a token index but no token type")
	ErrTokenTypeFTWithoutIndex       = sdkerrors.Register(collectionCodespace, 39, "There is a token type of ft but no token index")
	ErrInsufficientToken             = sdkerrors.Register(collectionCodespace, 40, "insufficient token")
	ErrDuplicateChangesField         = sdkerrors.Register(collectionCodespace, 41, "duplicate field of changes")
	ErrInvalidMetaLength             = sdkerrors.Register(collectionCodespace, 42, "invalid meta length")
	ErrSupplyOverflow                = sdkerrors.Register(collectionCodespace, 43, "supply for collection reached maximum")
	ErrEmptyField                    = sdkerrors.Register(collectionCodespace, 44, "required field cannot be empty")
	ErrCompositionTooDeep            = sdkerrors.Register(collectionCodespace, 45, "cannot attach token (composition too deep)")
	ErrCompositionTooWide            = sdkerrors.Register(collectionCodespace, 46, "cannot attach token (composition too wide)")
	ErrBurnNonRootNFT                = sdkerrors.Register(collectionCodespace, 47, "cannot burn non-root NFTs")
)
View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	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 AttributeKey_name = map[int32]string{
	0:  "ATTRIBUTE_KEY_UNSPECIFIED",
	1:  "ATTRIBUTE_KEY_NAME",
	2:  "ATTRIBUTE_KEY_META",
	8:  "ATTRIBUTE_KEY_BASE_IMG_URI",
	20: "ATTRIBUTE_KEY_URI",
}
View Source
var AttributeKey_value = map[string]int32{
	"ATTRIBUTE_KEY_UNSPECIFIED":  0,
	"ATTRIBUTE_KEY_NAME":         1,
	"ATTRIBUTE_KEY_META":         2,
	"ATTRIBUTE_KEY_BASE_IMG_URI": 8,
	"ATTRIBUTE_KEY_URI":          20,
}
View Source
var LegacyPermission_name = map[int32]string{
	0: "LEGACY_PERMISSION_UNSPECIFIED",
	1: "LEGACY_PERMISSION_ISSUE",
	2: "LEGACY_PERMISSION_MODIFY",
	3: "LEGACY_PERMISSION_MINT",
	4: "LEGACY_PERMISSION_BURN",
}
View Source
var LegacyPermission_value = map[string]int32{
	"LEGACY_PERMISSION_UNSPECIFIED": 0,
	"LEGACY_PERMISSION_ISSUE":       1,
	"LEGACY_PERMISSION_MODIFY":      2,
	"LEGACY_PERMISSION_MINT":        3,
	"LEGACY_PERMISSION_BURN":        4,
}
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var Permission_name = map[int32]string{
	0: "PERMISSION_UNSPECIFIED",
	1: "PERMISSION_ISSUE",
	2: "PERMISSION_MODIFY",
	3: "PERMISSION_MINT",
	4: "PERMISSION_BURN",
}
View Source
var Permission_value = map[string]int32{
	"PERMISSION_UNSPECIFIED": 0,
	"PERMISSION_ISSUE":       1,
	"PERMISSION_MODIFY":      2,
	"PERMISSION_MINT":        3,
	"PERMISSION_BURN":        4,
}

Functions

func NewFTID

func NewFTID(classID string) string

func NewNFTID

func NewNFTID(classID string, number int) string

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec

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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SplitTokenID

func SplitTokenID(tokenID string) (classID string)

func TokenClassToAny

func TokenClassToAny(class TokenClass) *codectypes.Any

func TokenClassUnpackInterfaces

func TokenClassUnpackInterfaces(any *codectypes.Any, unpacker codectypes.AnyUnpacker) error

func TokenUnpackInterfaces

func TokenUnpackInterfaces(any *codectypes.Any, unpacker codectypes.AnyUnpacker) error

func UpdateMsgModify

func UpdateMsgModify(msg *MsgModify)

func ValidateClassID

func ValidateClassID(id string) error

func ValidateContractID

func ValidateContractID(id string) error

func ValidateFTID

func ValidateFTID(id string) error

func ValidateGenesis

func ValidateGenesis(data GenesisState) error

ValidateGenesis check the given genesis state has no integrity issues

func ValidateLegacyFTClassID deprecated

func ValidateLegacyFTClassID(id string) error

Deprecated: do not use (no successor).

func ValidateLegacyNFTClassID deprecated

func ValidateLegacyNFTClassID(id string) error

Deprecated: do not use (no successor).

func ValidateLegacyNFTID deprecated

func ValidateLegacyNFTID(id string) error

Deprecated: do not use (no successor).

func ValidateNFTID

func ValidateNFTID(id string) error

func ValidatePermission

func ValidatePermission(permission Permission) error

func ValidateTokenID

func ValidateTokenID(id string) error

Types

type Attribute

type Attribute struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

Attribute defines a key and value of the attribute.

Since: 0.46.0 (finschia)

func (*Attribute) Descriptor

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

func (*Attribute) Marshal

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

func (*Attribute) MarshalTo

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

func (*Attribute) MarshalToSizedBuffer

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

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) Reset

func (m *Attribute) Reset()

func (*Attribute) Size

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

func (*Attribute) String

func (m *Attribute) String() string

func (*Attribute) Unmarshal

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

func (*Attribute) XXX_DiscardUnknown

func (m *Attribute) XXX_DiscardUnknown()

func (*Attribute) XXX_Marshal

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

func (*Attribute) XXX_Merge

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

func (*Attribute) XXX_Size

func (m *Attribute) XXX_Size() int

func (*Attribute) XXX_Unmarshal

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

type AttributeKey

type AttributeKey int32

AttributeKey enumerates the valid attribute keys on x/collection.

const (
	AttributeKeyUnspecified AttributeKey = 0
	AttributeKeyName        AttributeKey = 1
	AttributeKeyMeta        AttributeKey = 2
	// deprecated: use ATTRIBUTE_KEY_URI
	AttributeKeyBaseImgURI AttributeKey = 8
	AttributeKeyURI        AttributeKey = 20
)

func AttributeKeyFromString

func AttributeKeyFromString(name string) AttributeKey

func (AttributeKey) EnumDescriptor

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

func (AttributeKey) String

func (x AttributeKey) String() string

type Authorization

type Authorization struct {
	// address of the holder which authorizes the manipulation of its tokens.
	Holder string `protobuf:"bytes,1,opt,name=holder,proto3" json:"holder,omitempty"`
	// address of the operator which the authorization is granted to.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
}

Authorization defines an authorization given to the operator on tokens of the holder.

Since: 0.46.0 (finschia)

func (*Authorization) Descriptor

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

func (*Authorization) Marshal

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

func (*Authorization) MarshalTo

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

func (*Authorization) MarshalToSizedBuffer

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

func (*Authorization) ProtoMessage

func (*Authorization) ProtoMessage()

func (*Authorization) Reset

func (m *Authorization) Reset()

func (*Authorization) Size

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

func (*Authorization) String

func (m *Authorization) String() string

func (*Authorization) Unmarshal

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

func (*Authorization) XXX_DiscardUnknown

func (m *Authorization) XXX_DiscardUnknown()

func (*Authorization) XXX_Marshal

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

func (*Authorization) XXX_Merge

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

func (*Authorization) XXX_Size

func (m *Authorization) XXX_Size() int

func (*Authorization) XXX_Unmarshal

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

type Balance

type Balance struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount  Coins  `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=Coins" json:"amount"`
}

Balance defines a balance of an address.

func (*Balance) Descriptor

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

func (*Balance) Equal

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

func (*Balance) GetAddress

func (m *Balance) GetAddress() string

func (*Balance) GetAmount

func (m *Balance) GetAmount() Coins

func (*Balance) Marshal

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

func (*Balance) MarshalTo

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

func (*Balance) MarshalToSizedBuffer

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

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) Reset

func (m *Balance) Reset()

func (*Balance) Size

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

func (*Balance) String

func (m *Balance) String() string

func (*Balance) Unmarshal

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

func (*Balance) XXX_DiscardUnknown

func (m *Balance) XXX_DiscardUnknown()

func (*Balance) XXX_Marshal

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

func (*Balance) XXX_Merge

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

func (*Balance) XXX_Size

func (m *Balance) XXX_Size() int

func (*Balance) XXX_Unmarshal

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

type ClassKeeper

type ClassKeeper interface {
	NewID(ctx sdk.Context) string
	HasID(ctx sdk.Context, id string) bool
}

ClassKeeper defines the contract needed to be fulfilled for class dependencies.

type ClassStatistics

type ClassStatistics struct {
	// class id associated with the token class.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// statistics
	Amount github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"amount"`
}

ClassStatistics defines statistics belong to a token class.

func (*ClassStatistics) Descriptor

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

func (*ClassStatistics) GetClassId

func (m *ClassStatistics) GetClassId() string

func (*ClassStatistics) Marshal

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

func (*ClassStatistics) MarshalTo

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

func (*ClassStatistics) MarshalToSizedBuffer

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

func (*ClassStatistics) ProtoMessage

func (*ClassStatistics) ProtoMessage()

func (*ClassStatistics) Reset

func (m *ClassStatistics) Reset()

func (*ClassStatistics) Size

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

func (*ClassStatistics) String

func (m *ClassStatistics) String() string

func (*ClassStatistics) Unmarshal

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

func (*ClassStatistics) XXX_DiscardUnknown

func (m *ClassStatistics) XXX_DiscardUnknown()

func (*ClassStatistics) XXX_Marshal

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

func (*ClassStatistics) XXX_Merge

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

func (*ClassStatistics) XXX_Size

func (m *ClassStatistics) XXX_Size() int

func (*ClassStatistics) XXX_Unmarshal

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

type Coin

type Coin struct {
	// token id associated with the token.
	TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// amount of the token.
	Amount github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"amount"`
}

Coin defines a token with a token id and an amount.

func NewCoin

func NewCoin(id string, amount sdk.Int) Coin

func NewFTCoin

func NewFTCoin(classID string, amount sdk.Int) Coin

---------------------------------------------------------------------------- Coin

func NewNFTCoin

func NewNFTCoin(classID string, number int) Coin

func ParseCoin

func ParseCoin(coinStr string) (*Coin, error)

func (*Coin) Descriptor

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

func (*Coin) Equal

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

func (*Coin) Marshal

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

func (*Coin) MarshalTo

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

func (*Coin) MarshalToSizedBuffer

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

func (*Coin) ProtoMessage

func (*Coin) ProtoMessage()

func (*Coin) Reset

func (m *Coin) Reset()

func (*Coin) Size

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

func (Coin) String

func (c Coin) String() string

func (*Coin) Unmarshal

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

func (Coin) ValidateBasic

func (c Coin) ValidateBasic() error

func (*Coin) XXX_DiscardUnknown

func (m *Coin) XXX_DiscardUnknown()

func (*Coin) XXX_Marshal

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

func (*Coin) XXX_Merge

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

func (*Coin) XXX_Size

func (m *Coin) XXX_Size() int

func (*Coin) XXX_Unmarshal

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

type Coins

type Coins []Coin

---------------------------------------------------------------------------- Coins

func NewCoins

func NewCoins(coins ...Coin) Coins

func ParseCoins

func ParseCoins(coinsStr string) (Coins, error)

func (Coins) String

func (coins Coins) String() string

func (Coins) ValidateBasic

func (coins Coins) ValidateBasic() error

type Contract

type Contract struct {
	// contract_id defines the unique identifier of the contract.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name defines the human-readable name of the contract.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the contract.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// uri for the contract image stored off chain.
	Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
}

Contract defines the information of the contract for the collection.

func (*Contract) Descriptor

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

func (*Contract) Marshal

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

func (*Contract) MarshalTo

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

func (*Contract) MarshalToSizedBuffer

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

func (*Contract) ProtoMessage

func (*Contract) ProtoMessage()

func (*Contract) Reset

func (m *Contract) Reset()

func (*Contract) Size

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

func (*Contract) String

func (m *Contract) String() string

func (*Contract) Unmarshal

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

func (*Contract) XXX_DiscardUnknown

func (m *Contract) XXX_DiscardUnknown()

func (*Contract) XXX_Marshal

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

func (*Contract) XXX_Merge

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

func (*Contract) XXX_Size

func (m *Contract) XXX_Size() int

func (*Contract) XXX_Unmarshal

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

type ContractAuthorizations

type ContractAuthorizations struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// authorizations
	Authorizations []Authorization `protobuf:"bytes,2,rep,name=authorizations,proto3" json:"authorizations"`
}

ContractAuthorizations defines authorizations belong to a contract.

func (*ContractAuthorizations) Descriptor

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

func (*ContractAuthorizations) GetAuthorizations

func (m *ContractAuthorizations) GetAuthorizations() []Authorization

func (*ContractAuthorizations) GetContractId

func (m *ContractAuthorizations) GetContractId() string

func (*ContractAuthorizations) Marshal

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

func (*ContractAuthorizations) MarshalTo

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

func (*ContractAuthorizations) MarshalToSizedBuffer

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

func (*ContractAuthorizations) ProtoMessage

func (*ContractAuthorizations) ProtoMessage()

func (*ContractAuthorizations) Reset

func (m *ContractAuthorizations) Reset()

func (*ContractAuthorizations) Size

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

func (*ContractAuthorizations) String

func (m *ContractAuthorizations) String() string

func (*ContractAuthorizations) Unmarshal

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

func (*ContractAuthorizations) XXX_DiscardUnknown

func (m *ContractAuthorizations) XXX_DiscardUnknown()

func (*ContractAuthorizations) XXX_Marshal

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

func (*ContractAuthorizations) XXX_Merge

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

func (*ContractAuthorizations) XXX_Size

func (m *ContractAuthorizations) XXX_Size() int

func (*ContractAuthorizations) XXX_Unmarshal

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

type ContractBalances

type ContractBalances struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// balances
	Balances []Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances"`
}

ContractBalances defines balances belong to a contract. genesis state.

func (*ContractBalances) Descriptor

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

func (*ContractBalances) GetBalances

func (m *ContractBalances) GetBalances() []Balance

func (*ContractBalances) GetContractId

func (m *ContractBalances) GetContractId() string

func (*ContractBalances) Marshal

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

func (*ContractBalances) MarshalTo

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

func (*ContractBalances) MarshalToSizedBuffer

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

func (*ContractBalances) ProtoMessage

func (*ContractBalances) ProtoMessage()

func (*ContractBalances) Reset

func (m *ContractBalances) Reset()

func (*ContractBalances) Size

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

func (*ContractBalances) String

func (m *ContractBalances) String() string

func (*ContractBalances) Unmarshal

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

func (*ContractBalances) XXX_DiscardUnknown

func (m *ContractBalances) XXX_DiscardUnknown()

func (*ContractBalances) XXX_Marshal

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

func (*ContractBalances) XXX_Merge

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

func (*ContractBalances) XXX_Size

func (m *ContractBalances) XXX_Size() int

func (*ContractBalances) XXX_Unmarshal

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

type ContractClasses

type ContractClasses struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// classes
	Classes []types.Any `protobuf:"bytes,2,rep,name=classes,proto3" json:"classes"`
}

ContractClasses defines token classes belong to a contract.

func (*ContractClasses) Descriptor

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

func (*ContractClasses) GetClasses

func (m *ContractClasses) GetClasses() []types.Any

func (*ContractClasses) GetContractId

func (m *ContractClasses) GetContractId() string

func (*ContractClasses) Marshal

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

func (*ContractClasses) MarshalTo

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

func (*ContractClasses) MarshalToSizedBuffer

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

func (*ContractClasses) ProtoMessage

func (*ContractClasses) ProtoMessage()

func (*ContractClasses) Reset

func (m *ContractClasses) Reset()

func (*ContractClasses) Size

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

func (*ContractClasses) String

func (m *ContractClasses) String() string

func (*ContractClasses) Unmarshal

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

func (*ContractClasses) XXX_DiscardUnknown

func (m *ContractClasses) XXX_DiscardUnknown()

func (*ContractClasses) XXX_Marshal

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

func (*ContractClasses) XXX_Merge

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

func (*ContractClasses) XXX_Size

func (m *ContractClasses) XXX_Size() int

func (*ContractClasses) XXX_Unmarshal

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

type ContractGrants

type ContractGrants struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// grants
	Grants []Grant `protobuf:"bytes,2,rep,name=grants,proto3" json:"grants"`
}

ContractGrant defines grants belong to a contract.

func (*ContractGrants) Descriptor

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

func (*ContractGrants) GetContractId

func (m *ContractGrants) GetContractId() string

func (*ContractGrants) GetGrants

func (m *ContractGrants) GetGrants() []Grant

func (*ContractGrants) Marshal

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

func (*ContractGrants) MarshalTo

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

func (*ContractGrants) MarshalToSizedBuffer

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

func (*ContractGrants) ProtoMessage

func (*ContractGrants) ProtoMessage()

func (*ContractGrants) Reset

func (m *ContractGrants) Reset()

func (*ContractGrants) Size

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

func (*ContractGrants) String

func (m *ContractGrants) String() string

func (*ContractGrants) Unmarshal

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

func (*ContractGrants) XXX_DiscardUnknown

func (m *ContractGrants) XXX_DiscardUnknown()

func (*ContractGrants) XXX_Marshal

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

func (*ContractGrants) XXX_Merge

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

func (*ContractGrants) XXX_Size

func (m *ContractGrants) XXX_Size() int

func (*ContractGrants) XXX_Unmarshal

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

type ContractNFTs

type ContractNFTs struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// nfts
	Nfts []NFT `protobuf:"bytes,2,rep,name=nfts,proto3" json:"nfts"`
}

ContractNFTs defines token classes belong to a contract.

func (*ContractNFTs) Descriptor

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

func (*ContractNFTs) GetContractId

func (m *ContractNFTs) GetContractId() string

func (*ContractNFTs) GetNfts

func (m *ContractNFTs) GetNfts() []NFT

func (*ContractNFTs) Marshal

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

func (*ContractNFTs) MarshalTo

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

func (*ContractNFTs) MarshalToSizedBuffer

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

func (*ContractNFTs) ProtoMessage

func (*ContractNFTs) ProtoMessage()

func (*ContractNFTs) Reset

func (m *ContractNFTs) Reset()

func (*ContractNFTs) Size

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

func (*ContractNFTs) String

func (m *ContractNFTs) String() string

func (*ContractNFTs) Unmarshal

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

func (*ContractNFTs) XXX_DiscardUnknown

func (m *ContractNFTs) XXX_DiscardUnknown()

func (*ContractNFTs) XXX_Marshal

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

func (*ContractNFTs) XXX_Merge

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

func (*ContractNFTs) XXX_Size

func (m *ContractNFTs) XXX_Size() int

func (*ContractNFTs) XXX_Unmarshal

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

type ContractNextTokenIDs

type ContractNextTokenIDs struct {
	ContractId string        `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	TokenIds   []NextTokenID `protobuf:"bytes,2,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids"`
}

ContractNextTokenIDs defines the next token ids belong to a contract.

func (*ContractNextTokenIDs) Descriptor

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

func (*ContractNextTokenIDs) GetContractId

func (m *ContractNextTokenIDs) GetContractId() string

func (*ContractNextTokenIDs) GetTokenIds

func (m *ContractNextTokenIDs) GetTokenIds() []NextTokenID

func (*ContractNextTokenIDs) Marshal

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

func (*ContractNextTokenIDs) MarshalTo

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

func (*ContractNextTokenIDs) MarshalToSizedBuffer

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

func (*ContractNextTokenIDs) ProtoMessage

func (*ContractNextTokenIDs) ProtoMessage()

func (*ContractNextTokenIDs) Reset

func (m *ContractNextTokenIDs) Reset()

func (*ContractNextTokenIDs) Size

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

func (*ContractNextTokenIDs) String

func (m *ContractNextTokenIDs) String() string

func (*ContractNextTokenIDs) Unmarshal

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

func (*ContractNextTokenIDs) XXX_DiscardUnknown

func (m *ContractNextTokenIDs) XXX_DiscardUnknown()

func (*ContractNextTokenIDs) XXX_Marshal

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

func (*ContractNextTokenIDs) XXX_Merge

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

func (*ContractNextTokenIDs) XXX_Size

func (m *ContractNextTokenIDs) XXX_Size() int

func (*ContractNextTokenIDs) XXX_Unmarshal

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

type ContractStatistics

type ContractStatistics struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// statistics
	Statistics []ClassStatistics `protobuf:"bytes,2,rep,name=statistics,proto3" json:"statistics"`
}

ContractStatistics defines statistics belong to a contract.

func (*ContractStatistics) Descriptor

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

func (*ContractStatistics) GetContractId

func (m *ContractStatistics) GetContractId() string

func (*ContractStatistics) GetStatistics

func (m *ContractStatistics) GetStatistics() []ClassStatistics

func (*ContractStatistics) Marshal

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

func (*ContractStatistics) MarshalTo

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

func (*ContractStatistics) MarshalToSizedBuffer

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

func (*ContractStatistics) ProtoMessage

func (*ContractStatistics) ProtoMessage()

func (*ContractStatistics) Reset

func (m *ContractStatistics) Reset()

func (*ContractStatistics) Size

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

func (*ContractStatistics) String

func (m *ContractStatistics) String() string

func (*ContractStatistics) Unmarshal

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

func (*ContractStatistics) XXX_DiscardUnknown

func (m *ContractStatistics) XXX_DiscardUnknown()

func (*ContractStatistics) XXX_Marshal

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

func (*ContractStatistics) XXX_Merge

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

func (*ContractStatistics) XXX_Size

func (m *ContractStatistics) XXX_Size() int

func (*ContractStatistics) XXX_Unmarshal

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

type ContractTokenRelations

type ContractTokenRelations struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// relations
	Relations []TokenRelation `protobuf:"bytes,2,rep,name=relations,proto3" json:"relations"`
}

ContractTokenRelations defines token relations belong to a contract.

func (*ContractTokenRelations) Descriptor

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

func (*ContractTokenRelations) GetContractId

func (m *ContractTokenRelations) GetContractId() string

func (*ContractTokenRelations) GetRelations

func (m *ContractTokenRelations) GetRelations() []TokenRelation

func (*ContractTokenRelations) Marshal

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

func (*ContractTokenRelations) MarshalTo

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

func (*ContractTokenRelations) MarshalToSizedBuffer

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

func (*ContractTokenRelations) ProtoMessage

func (*ContractTokenRelations) ProtoMessage()

func (*ContractTokenRelations) Reset

func (m *ContractTokenRelations) Reset()

func (*ContractTokenRelations) Size

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

func (*ContractTokenRelations) String

func (m *ContractTokenRelations) String() string

func (*ContractTokenRelations) Unmarshal

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

func (*ContractTokenRelations) XXX_DiscardUnknown

func (m *ContractTokenRelations) XXX_DiscardUnknown()

func (*ContractTokenRelations) XXX_Marshal

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

func (*ContractTokenRelations) XXX_Merge

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

func (*ContractTokenRelations) XXX_Size

func (m *ContractTokenRelations) XXX_Size() int

func (*ContractTokenRelations) XXX_Unmarshal

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

type EventAttached

type EventAttached struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the attach.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// address which holds the tokens.
	Holder string `protobuf:"bytes,3,opt,name=holder,proto3" json:"holder,omitempty"`
	// subject of the attach.
	Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	// target of the attach.
	Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
}

EventAttached is emitted when a token is attached to another.

Since: 0.46.0 (finschia)

func (*EventAttached) Descriptor

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

func (*EventAttached) GetContractId

func (m *EventAttached) GetContractId() string

func (*EventAttached) GetHolder

func (m *EventAttached) GetHolder() string

func (*EventAttached) GetOperator

func (m *EventAttached) GetOperator() string

func (*EventAttached) GetSubject

func (m *EventAttached) GetSubject() string

func (*EventAttached) GetTarget

func (m *EventAttached) GetTarget() string

func (*EventAttached) Marshal

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

func (*EventAttached) MarshalTo

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

func (*EventAttached) MarshalToSizedBuffer

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

func (*EventAttached) ProtoMessage

func (*EventAttached) ProtoMessage()

func (*EventAttached) Reset

func (m *EventAttached) Reset()

func (*EventAttached) Size

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

func (*EventAttached) String

func (m *EventAttached) String() string

func (*EventAttached) Unmarshal

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

func (*EventAttached) XXX_DiscardUnknown

func (m *EventAttached) XXX_DiscardUnknown()

func (*EventAttached) XXX_Marshal

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

func (*EventAttached) XXX_Merge

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

func (*EventAttached) XXX_Size

func (m *EventAttached) XXX_Size() int

func (*EventAttached) XXX_Unmarshal

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

type EventAuthorizedOperator

type EventAuthorizedOperator struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of a holder which authorized the `operator` address as an operator.
	Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
	// address which became an operator of `holder`.
	Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
}

EventAuthorizedOperator is emitted when a holder authorizes an operator to manipulate its tokens.

Since: 0.46.0 (finschia)

func (*EventAuthorizedOperator) Descriptor

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

func (*EventAuthorizedOperator) GetContractId

func (m *EventAuthorizedOperator) GetContractId() string

func (*EventAuthorizedOperator) GetHolder

func (m *EventAuthorizedOperator) GetHolder() string

func (*EventAuthorizedOperator) GetOperator

func (m *EventAuthorizedOperator) GetOperator() string

func (*EventAuthorizedOperator) Marshal

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

func (*EventAuthorizedOperator) MarshalTo

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

func (*EventAuthorizedOperator) MarshalToSizedBuffer

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

func (*EventAuthorizedOperator) ProtoMessage

func (*EventAuthorizedOperator) ProtoMessage()

func (*EventAuthorizedOperator) Reset

func (m *EventAuthorizedOperator) Reset()

func (*EventAuthorizedOperator) Size

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

func (*EventAuthorizedOperator) String

func (m *EventAuthorizedOperator) String() string

func (*EventAuthorizedOperator) Unmarshal

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

func (*EventAuthorizedOperator) XXX_DiscardUnknown

func (m *EventAuthorizedOperator) XXX_DiscardUnknown()

func (*EventAuthorizedOperator) XXX_Marshal

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

func (*EventAuthorizedOperator) XXX_Merge

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

func (*EventAuthorizedOperator) XXX_Size

func (m *EventAuthorizedOperator) XXX_Size() int

func (*EventAuthorizedOperator) XXX_Unmarshal

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

type EventBurned

type EventBurned struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the burn.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// holder whose tokens were burned.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// amount of tokens burned.
	Amount []Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount"`
}

EventBurned is emitted when tokens are burnt.

Since: 0.46.0 (finschia)

func (*EventBurned) Descriptor

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

func (*EventBurned) GetAmount

func (m *EventBurned) GetAmount() []Coin

func (*EventBurned) GetContractId

func (m *EventBurned) GetContractId() string

func (*EventBurned) GetFrom

func (m *EventBurned) GetFrom() string

func (*EventBurned) GetOperator

func (m *EventBurned) GetOperator() string

func (*EventBurned) Marshal

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

func (*EventBurned) MarshalTo

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

func (*EventBurned) MarshalToSizedBuffer

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

func (*EventBurned) ProtoMessage

func (*EventBurned) ProtoMessage()

func (*EventBurned) Reset

func (m *EventBurned) Reset()

func (*EventBurned) Size

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

func (*EventBurned) String

func (m *EventBurned) String() string

func (*EventBurned) Unmarshal

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

func (*EventBurned) XXX_DiscardUnknown

func (m *EventBurned) XXX_DiscardUnknown()

func (*EventBurned) XXX_Marshal

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

func (*EventBurned) XXX_Merge

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

func (*EventBurned) XXX_Size

func (m *EventBurned) XXX_Size() int

func (*EventBurned) XXX_Unmarshal

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

type EventCreatedContract

type EventCreatedContract struct {
	// address which created the contract.
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// name of the contract.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// metadata of the contract.
	Meta string `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
	// uri for the contract image stored off chain.
	Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
}

EventCreatedContract is emitted when a new contract is created.

Since: 0.46.0 (finschia)

func (*EventCreatedContract) Descriptor

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

func (*EventCreatedContract) GetContractId

func (m *EventCreatedContract) GetContractId() string

func (*EventCreatedContract) GetCreator

func (m *EventCreatedContract) GetCreator() string

func (*EventCreatedContract) GetMeta

func (m *EventCreatedContract) GetMeta() string

func (*EventCreatedContract) GetName

func (m *EventCreatedContract) GetName() string

func (*EventCreatedContract) GetUri

func (m *EventCreatedContract) GetUri() string

func (*EventCreatedContract) Marshal

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

func (*EventCreatedContract) MarshalTo

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

func (*EventCreatedContract) MarshalToSizedBuffer

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

func (*EventCreatedContract) ProtoMessage

func (*EventCreatedContract) ProtoMessage()

func (*EventCreatedContract) Reset

func (m *EventCreatedContract) Reset()

func (*EventCreatedContract) Size

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

func (*EventCreatedContract) String

func (m *EventCreatedContract) String() string

func (*EventCreatedContract) Unmarshal

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

func (*EventCreatedContract) XXX_DiscardUnknown

func (m *EventCreatedContract) XXX_DiscardUnknown()

func (*EventCreatedContract) XXX_Marshal

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

func (*EventCreatedContract) XXX_Merge

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

func (*EventCreatedContract) XXX_Size

func (m *EventCreatedContract) XXX_Size() int

func (*EventCreatedContract) XXX_Unmarshal

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

type EventCreatedFTClass

type EventCreatedFTClass struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the create.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// token id associated with the token class.
	TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// name of the token class.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// metadata of the token class.
	Meta string `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
	// decimals of the token class.
	Decimals int32 `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// mintable represents whether the token class is allowed to mint or burn its tokens.
	Mintable bool `protobuf:"varint,7,opt,name=mintable,proto3" json:"mintable,omitempty"`
}

EventCreatedFTClass is emitted when a new fungible token class is created.

Since: 0.46.0 (finschia)

func (*EventCreatedFTClass) Descriptor

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

func (*EventCreatedFTClass) GetContractId

func (m *EventCreatedFTClass) GetContractId() string

func (*EventCreatedFTClass) GetDecimals

func (m *EventCreatedFTClass) GetDecimals() int32

func (*EventCreatedFTClass) GetMeta

func (m *EventCreatedFTClass) GetMeta() string

func (*EventCreatedFTClass) GetMintable

func (m *EventCreatedFTClass) GetMintable() bool

func (*EventCreatedFTClass) GetName

func (m *EventCreatedFTClass) GetName() string

func (*EventCreatedFTClass) GetOperator

func (m *EventCreatedFTClass) GetOperator() string

func (*EventCreatedFTClass) GetTokenId

func (m *EventCreatedFTClass) GetTokenId() string

func (*EventCreatedFTClass) Marshal

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

func (*EventCreatedFTClass) MarshalTo

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

func (*EventCreatedFTClass) MarshalToSizedBuffer

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

func (*EventCreatedFTClass) ProtoMessage

func (*EventCreatedFTClass) ProtoMessage()

func (*EventCreatedFTClass) Reset

func (m *EventCreatedFTClass) Reset()

func (*EventCreatedFTClass) Size

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

func (*EventCreatedFTClass) String

func (m *EventCreatedFTClass) String() string

func (*EventCreatedFTClass) Unmarshal

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

func (*EventCreatedFTClass) XXX_DiscardUnknown

func (m *EventCreatedFTClass) XXX_DiscardUnknown()

func (*EventCreatedFTClass) XXX_Marshal

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

func (*EventCreatedFTClass) XXX_Merge

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

func (*EventCreatedFTClass) XXX_Size

func (m *EventCreatedFTClass) XXX_Size() int

func (*EventCreatedFTClass) XXX_Unmarshal

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

type EventCreatedNFTClass

type EventCreatedNFTClass struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the create.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// token type associated with the token class.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,3,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// name of the token class.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// metadata of the token class.
	Meta string `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
}

EventCreatedNFTClass is emitted when a new non-fungible token class is created.

Since: 0.46.0 (finschia)

func (*EventCreatedNFTClass) Descriptor

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

func (*EventCreatedNFTClass) GetContractId

func (m *EventCreatedNFTClass) GetContractId() string

func (*EventCreatedNFTClass) GetMeta

func (m *EventCreatedNFTClass) GetMeta() string

func (*EventCreatedNFTClass) GetName

func (m *EventCreatedNFTClass) GetName() string

func (*EventCreatedNFTClass) GetOperator

func (m *EventCreatedNFTClass) GetOperator() string

func (*EventCreatedNFTClass) GetTokenType

func (m *EventCreatedNFTClass) GetTokenType() string

func (*EventCreatedNFTClass) Marshal

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

func (*EventCreatedNFTClass) MarshalTo

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

func (*EventCreatedNFTClass) MarshalToSizedBuffer

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

func (*EventCreatedNFTClass) ProtoMessage

func (*EventCreatedNFTClass) ProtoMessage()

func (*EventCreatedNFTClass) Reset

func (m *EventCreatedNFTClass) Reset()

func (*EventCreatedNFTClass) Size

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

func (*EventCreatedNFTClass) String

func (m *EventCreatedNFTClass) String() string

func (*EventCreatedNFTClass) Unmarshal

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

func (*EventCreatedNFTClass) XXX_DiscardUnknown

func (m *EventCreatedNFTClass) XXX_DiscardUnknown()

func (*EventCreatedNFTClass) XXX_Marshal

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

func (*EventCreatedNFTClass) XXX_Merge

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

func (*EventCreatedNFTClass) XXX_Size

func (m *EventCreatedNFTClass) XXX_Size() int

func (*EventCreatedNFTClass) XXX_Unmarshal

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

type EventDetached

type EventDetached struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the detach.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// address which holds the token.
	Holder string `protobuf:"bytes,3,opt,name=holder,proto3" json:"holder,omitempty"`
	// token being detached.
	Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	// parent token before the detach.
	PreviousParent string `protobuf:"bytes,5,opt,name=previous_parent,json=previousParent,proto3" json:"previous_parent,omitempty"`
}

EventDetached is emitted when a token is detached from its parent.

Since: 0.46.0 (finschia)

func (*EventDetached) Descriptor

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

func (*EventDetached) GetContractId

func (m *EventDetached) GetContractId() string

func (*EventDetached) GetHolder

func (m *EventDetached) GetHolder() string

func (*EventDetached) GetOperator

func (m *EventDetached) GetOperator() string

func (*EventDetached) GetPreviousParent

func (m *EventDetached) GetPreviousParent() string

func (*EventDetached) GetSubject

func (m *EventDetached) GetSubject() string

func (*EventDetached) Marshal

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

func (*EventDetached) MarshalTo

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

func (*EventDetached) MarshalToSizedBuffer

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

func (*EventDetached) ProtoMessage

func (*EventDetached) ProtoMessage()

func (*EventDetached) Reset

func (m *EventDetached) Reset()

func (*EventDetached) Size

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

func (*EventDetached) String

func (m *EventDetached) String() string

func (*EventDetached) Unmarshal

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

func (*EventDetached) XXX_DiscardUnknown

func (m *EventDetached) XXX_DiscardUnknown()

func (*EventDetached) XXX_Marshal

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

func (*EventDetached) XXX_Merge

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

func (*EventDetached) XXX_Size

func (m *EventDetached) XXX_Size() int

func (*EventDetached) XXX_Unmarshal

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

type EventGranted

type EventGranted struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the granter which grants the permission.
	Granter string `protobuf:"bytes,2,opt,name=granter,proto3" json:"granter,omitempty"`
	// address of the grantee.
	Grantee string `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// permission on the contract.
	Permission Permission `protobuf:"varint,4,opt,name=permission,proto3,enum=lbm.collection.v1.Permission" json:"permission,omitempty"`
}

EventGranted is emitted when a granter grants its permission to a grantee.

Info: `granter` would be empty if the permission is granted by an issuance.

Since: 0.46.0 (finschia)

func (*EventGranted) Descriptor

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

func (*EventGranted) GetContractId

func (m *EventGranted) GetContractId() string

func (*EventGranted) GetGrantee

func (m *EventGranted) GetGrantee() string

func (*EventGranted) GetGranter

func (m *EventGranted) GetGranter() string

func (*EventGranted) GetPermission

func (m *EventGranted) GetPermission() Permission

func (*EventGranted) Marshal

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

func (*EventGranted) MarshalTo

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

func (*EventGranted) MarshalToSizedBuffer

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

func (*EventGranted) ProtoMessage

func (*EventGranted) ProtoMessage()

func (*EventGranted) Reset

func (m *EventGranted) Reset()

func (*EventGranted) Size

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

func (*EventGranted) String

func (m *EventGranted) String() string

func (*EventGranted) Unmarshal

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

func (*EventGranted) XXX_DiscardUnknown

func (m *EventGranted) XXX_DiscardUnknown()

func (*EventGranted) XXX_Marshal

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

func (*EventGranted) XXX_Merge

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

func (*EventGranted) XXX_Size

func (m *EventGranted) XXX_Size() int

func (*EventGranted) XXX_Unmarshal

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

type EventMintedFT

type EventMintedFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the mint.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// recipient of the tokens.
	To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	// amount of tokens minted.
	Amount []Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount"`
}

EventMintedFT is emitted when fungible tokens are minted.

Since: 0.46.0 (finschia)

func (*EventMintedFT) Descriptor

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

func (*EventMintedFT) GetAmount

func (m *EventMintedFT) GetAmount() []Coin

func (*EventMintedFT) GetContractId

func (m *EventMintedFT) GetContractId() string

func (*EventMintedFT) GetOperator

func (m *EventMintedFT) GetOperator() string

func (*EventMintedFT) GetTo

func (m *EventMintedFT) GetTo() string

func (*EventMintedFT) Marshal

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

func (*EventMintedFT) MarshalTo

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

func (*EventMintedFT) MarshalToSizedBuffer

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

func (*EventMintedFT) ProtoMessage

func (*EventMintedFT) ProtoMessage()

func (*EventMintedFT) Reset

func (m *EventMintedFT) Reset()

func (*EventMintedFT) Size

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

func (*EventMintedFT) String

func (m *EventMintedFT) String() string

func (*EventMintedFT) Unmarshal

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

func (*EventMintedFT) XXX_DiscardUnknown

func (m *EventMintedFT) XXX_DiscardUnknown()

func (*EventMintedFT) XXX_Marshal

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

func (*EventMintedFT) XXX_Merge

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

func (*EventMintedFT) XXX_Size

func (m *EventMintedFT) XXX_Size() int

func (*EventMintedFT) XXX_Unmarshal

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

type EventMintedNFT

type EventMintedNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the mint.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// recipient of the tokens.
	To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	// tokens minted.
	Tokens []NFT `protobuf:"bytes,4,rep,name=tokens,proto3" json:"tokens"`
}

EventMintedNFT is emitted when non-fungible tokens are minted.

Since: 0.46.0 (finschia)

func (*EventMintedNFT) Descriptor

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

func (*EventMintedNFT) GetContractId

func (m *EventMintedNFT) GetContractId() string

func (*EventMintedNFT) GetOperator

func (m *EventMintedNFT) GetOperator() string

func (*EventMintedNFT) GetTo

func (m *EventMintedNFT) GetTo() string

func (*EventMintedNFT) GetTokens

func (m *EventMintedNFT) GetTokens() []NFT

func (*EventMintedNFT) Marshal

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

func (*EventMintedNFT) MarshalTo

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

func (*EventMintedNFT) MarshalToSizedBuffer

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

func (*EventMintedNFT) ProtoMessage

func (*EventMintedNFT) ProtoMessage()

func (*EventMintedNFT) Reset

func (m *EventMintedNFT) Reset()

func (*EventMintedNFT) Size

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

func (*EventMintedNFT) String

func (m *EventMintedNFT) String() string

func (*EventMintedNFT) Unmarshal

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

func (*EventMintedNFT) XXX_DiscardUnknown

func (m *EventMintedNFT) XXX_DiscardUnknown()

func (*EventMintedNFT) XXX_Marshal

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

func (*EventMintedNFT) XXX_Merge

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

func (*EventMintedNFT) XXX_Size

func (m *EventMintedNFT) XXX_Size() int

func (*EventMintedNFT) XXX_Unmarshal

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

type EventModifiedContract

type EventModifiedContract struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the modify.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// changes of the attributes applied.
	// possible attribute keys are same as those of MsgModify.
	// deprecated "base_img_uri" has been replaced by "uri" in the events.
	Changes []Attribute `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes"`
}

EventModifiedContract is emitted when the information of a contract is modified.

Since: 0.46.0 (finschia)

func (*EventModifiedContract) Descriptor

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

func (*EventModifiedContract) GetChanges

func (m *EventModifiedContract) GetChanges() []Attribute

func (*EventModifiedContract) GetContractId

func (m *EventModifiedContract) GetContractId() string

func (*EventModifiedContract) GetOperator

func (m *EventModifiedContract) GetOperator() string

func (*EventModifiedContract) Marshal

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

func (*EventModifiedContract) MarshalTo

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

func (*EventModifiedContract) MarshalToSizedBuffer

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

func (*EventModifiedContract) ProtoMessage

func (*EventModifiedContract) ProtoMessage()

func (*EventModifiedContract) Reset

func (m *EventModifiedContract) Reset()

func (*EventModifiedContract) Size

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

func (*EventModifiedContract) String

func (m *EventModifiedContract) String() string

func (*EventModifiedContract) Unmarshal

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

func (*EventModifiedContract) XXX_DiscardUnknown

func (m *EventModifiedContract) XXX_DiscardUnknown()

func (*EventModifiedContract) XXX_Marshal

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

func (*EventModifiedContract) XXX_Merge

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

func (*EventModifiedContract) XXX_Size

func (m *EventModifiedContract) XXX_Size() int

func (*EventModifiedContract) XXX_Unmarshal

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

type EventModifiedNFT

type EventModifiedNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the modify.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// token id associated with the non-fungible token.
	TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// changes of the attributes applied.
	// possible attribute keys are same as those of MsgModify.
	Changes []Attribute `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes"`
}

EventModifiedNFT is emitted when the information of a non-fungible token is modified.

Since: 0.46.0 (finschia)

func (*EventModifiedNFT) Descriptor

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

func (*EventModifiedNFT) GetChanges

func (m *EventModifiedNFT) GetChanges() []Attribute

func (*EventModifiedNFT) GetContractId

func (m *EventModifiedNFT) GetContractId() string

func (*EventModifiedNFT) GetOperator

func (m *EventModifiedNFT) GetOperator() string

func (*EventModifiedNFT) GetTokenId

func (m *EventModifiedNFT) GetTokenId() string

func (*EventModifiedNFT) Marshal

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

func (*EventModifiedNFT) MarshalTo

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

func (*EventModifiedNFT) MarshalToSizedBuffer

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

func (*EventModifiedNFT) ProtoMessage

func (*EventModifiedNFT) ProtoMessage()

func (*EventModifiedNFT) Reset

func (m *EventModifiedNFT) Reset()

func (*EventModifiedNFT) Size

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

func (*EventModifiedNFT) String

func (m *EventModifiedNFT) String() string

func (*EventModifiedNFT) Unmarshal

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

func (*EventModifiedNFT) XXX_DiscardUnknown

func (m *EventModifiedNFT) XXX_DiscardUnknown()

func (*EventModifiedNFT) XXX_Marshal

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

func (*EventModifiedNFT) XXX_Merge

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

func (*EventModifiedNFT) XXX_Size

func (m *EventModifiedNFT) XXX_Size() int

func (*EventModifiedNFT) XXX_Unmarshal

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

type EventModifiedTokenClass

type EventModifiedTokenClass struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the modify.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// token type associated with the token class.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,3,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// changes of the attributes applied.
	// possible attribute keys are same as those of MsgModify.
	Changes []Attribute `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes"`
	// type name of the token class.
	TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
}

EventModifiedTokenClass is emitted when the information of a token class is modified.

Since: 0.46.0 (finschia)

func (*EventModifiedTokenClass) Descriptor

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

func (*EventModifiedTokenClass) GetChanges

func (m *EventModifiedTokenClass) GetChanges() []Attribute

func (*EventModifiedTokenClass) GetContractId

func (m *EventModifiedTokenClass) GetContractId() string

func (*EventModifiedTokenClass) GetOperator

func (m *EventModifiedTokenClass) GetOperator() string

func (*EventModifiedTokenClass) GetTokenType

func (m *EventModifiedTokenClass) GetTokenType() string

func (*EventModifiedTokenClass) GetTypeName

func (m *EventModifiedTokenClass) GetTypeName() string

func (*EventModifiedTokenClass) Marshal

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

func (*EventModifiedTokenClass) MarshalTo

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

func (*EventModifiedTokenClass) MarshalToSizedBuffer

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

func (*EventModifiedTokenClass) ProtoMessage

func (*EventModifiedTokenClass) ProtoMessage()

func (*EventModifiedTokenClass) Reset

func (m *EventModifiedTokenClass) Reset()

func (*EventModifiedTokenClass) Size

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

func (*EventModifiedTokenClass) String

func (m *EventModifiedTokenClass) String() string

func (*EventModifiedTokenClass) Unmarshal

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

func (*EventModifiedTokenClass) XXX_DiscardUnknown

func (m *EventModifiedTokenClass) XXX_DiscardUnknown()

func (*EventModifiedTokenClass) XXX_Marshal

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

func (*EventModifiedTokenClass) XXX_Merge

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

func (*EventModifiedTokenClass) XXX_Size

func (m *EventModifiedTokenClass) XXX_Size() int

func (*EventModifiedTokenClass) XXX_Unmarshal

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

type EventOwnerChanged

type EventOwnerChanged struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated with the token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// address of the previous owner before the change.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// address of the new owner.
	To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
}

EventOwnerChanged is emitted when the owner of token is changed by operation applied to its ancestor.

Since: 0.46.0 (finschia)

func (*EventOwnerChanged) Descriptor

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

func (*EventOwnerChanged) GetContractId

func (m *EventOwnerChanged) GetContractId() string

func (*EventOwnerChanged) GetFrom

func (m *EventOwnerChanged) GetFrom() string

func (*EventOwnerChanged) GetTo

func (m *EventOwnerChanged) GetTo() string

func (*EventOwnerChanged) GetTokenId

func (m *EventOwnerChanged) GetTokenId() string

func (*EventOwnerChanged) Marshal

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

func (*EventOwnerChanged) MarshalTo

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

func (*EventOwnerChanged) MarshalToSizedBuffer

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

func (*EventOwnerChanged) ProtoMessage

func (*EventOwnerChanged) ProtoMessage()

func (*EventOwnerChanged) Reset

func (m *EventOwnerChanged) Reset()

func (*EventOwnerChanged) Size

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

func (*EventOwnerChanged) String

func (m *EventOwnerChanged) String() string

func (*EventOwnerChanged) Unmarshal

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

func (*EventOwnerChanged) XXX_DiscardUnknown

func (m *EventOwnerChanged) XXX_DiscardUnknown()

func (*EventOwnerChanged) XXX_Marshal

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

func (*EventOwnerChanged) XXX_Merge

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

func (*EventOwnerChanged) XXX_Size

func (m *EventOwnerChanged) XXX_Size() int

func (*EventOwnerChanged) XXX_Unmarshal

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

type EventRenounced

type EventRenounced struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the grantee which abandons its grant.
	Grantee string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// permission on the contract.
	Permission Permission `protobuf:"varint,3,opt,name=permission,proto3,enum=lbm.collection.v1.Permission" json:"permission,omitempty"`
}

EventRenounced is emitted when a grantee renounced its permission.

Since: 0.46.0 (finschia)

func (*EventRenounced) Descriptor

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

func (*EventRenounced) GetContractId

func (m *EventRenounced) GetContractId() string

func (*EventRenounced) GetGrantee

func (m *EventRenounced) GetGrantee() string

func (*EventRenounced) GetPermission

func (m *EventRenounced) GetPermission() Permission

func (*EventRenounced) Marshal

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

func (*EventRenounced) MarshalTo

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

func (*EventRenounced) MarshalToSizedBuffer

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

func (*EventRenounced) ProtoMessage

func (*EventRenounced) ProtoMessage()

func (*EventRenounced) Reset

func (m *EventRenounced) Reset()

func (*EventRenounced) Size

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

func (*EventRenounced) String

func (m *EventRenounced) String() string

func (*EventRenounced) Unmarshal

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

func (*EventRenounced) XXX_DiscardUnknown

func (m *EventRenounced) XXX_DiscardUnknown()

func (*EventRenounced) XXX_Marshal

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

func (*EventRenounced) XXX_Merge

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

func (*EventRenounced) XXX_Size

func (m *EventRenounced) XXX_Size() int

func (*EventRenounced) XXX_Unmarshal

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

type EventRevokedOperator

type EventRevokedOperator struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of a holder which revoked the `operator` address as an operator.
	Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
	// address which was revoked as an operator of `holder`.
	Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
}

EventRevokedOperator is emitted when an authorization is revoked.

Since: 0.46.0 (finschia)

func (*EventRevokedOperator) Descriptor

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

func (*EventRevokedOperator) GetContractId

func (m *EventRevokedOperator) GetContractId() string

func (*EventRevokedOperator) GetHolder

func (m *EventRevokedOperator) GetHolder() string

func (*EventRevokedOperator) GetOperator

func (m *EventRevokedOperator) GetOperator() string

func (*EventRevokedOperator) Marshal

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

func (*EventRevokedOperator) MarshalTo

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

func (*EventRevokedOperator) MarshalToSizedBuffer

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

func (*EventRevokedOperator) ProtoMessage

func (*EventRevokedOperator) ProtoMessage()

func (*EventRevokedOperator) Reset

func (m *EventRevokedOperator) Reset()

func (*EventRevokedOperator) Size

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

func (*EventRevokedOperator) String

func (m *EventRevokedOperator) String() string

func (*EventRevokedOperator) Unmarshal

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

func (*EventRevokedOperator) XXX_DiscardUnknown

func (m *EventRevokedOperator) XXX_DiscardUnknown()

func (*EventRevokedOperator) XXX_Marshal

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

func (*EventRevokedOperator) XXX_Merge

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

func (*EventRevokedOperator) XXX_Size

func (m *EventRevokedOperator) XXX_Size() int

func (*EventRevokedOperator) XXX_Unmarshal

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

type EventRootChanged

type EventRootChanged struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated with the token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// token id of the previous root before the change.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// token id of the new root.
	To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
}

EventRootChanged is emitted when the root of token is changed by operation applied to its ancestor.

Since: 0.46.0 (finschia)

func (*EventRootChanged) Descriptor

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

func (*EventRootChanged) GetContractId

func (m *EventRootChanged) GetContractId() string

func (*EventRootChanged) GetFrom

func (m *EventRootChanged) GetFrom() string

func (*EventRootChanged) GetTo

func (m *EventRootChanged) GetTo() string

func (*EventRootChanged) GetTokenId

func (m *EventRootChanged) GetTokenId() string

func (*EventRootChanged) Marshal

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

func (*EventRootChanged) MarshalTo

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

func (*EventRootChanged) MarshalToSizedBuffer

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

func (*EventRootChanged) ProtoMessage

func (*EventRootChanged) ProtoMessage()

func (*EventRootChanged) Reset

func (m *EventRootChanged) Reset()

func (*EventRootChanged) Size

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

func (*EventRootChanged) String

func (m *EventRootChanged) String() string

func (*EventRootChanged) Unmarshal

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

func (*EventRootChanged) XXX_DiscardUnknown

func (m *EventRootChanged) XXX_DiscardUnknown()

func (*EventRootChanged) XXX_Marshal

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

func (*EventRootChanged) XXX_Merge

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

func (*EventRootChanged) XXX_Size

func (m *EventRootChanged) XXX_Size() int

func (*EventRootChanged) XXX_Unmarshal

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

type EventSent

type EventSent struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggered the send.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// holder whose tokens were sent.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// recipient of the tokens.
	To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	// amount of tokens sent.
	Amount []Coin `protobuf:"bytes,5,rep,name=amount,proto3" json:"amount"`
}

EventSent is emitted when tokens are transferred.

Since: 0.46.0 (finschia)

func (*EventSent) Descriptor

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

func (*EventSent) GetAmount

func (m *EventSent) GetAmount() []Coin

func (*EventSent) GetContractId

func (m *EventSent) GetContractId() string

func (*EventSent) GetFrom

func (m *EventSent) GetFrom() string

func (*EventSent) GetOperator

func (m *EventSent) GetOperator() string

func (*EventSent) GetTo

func (m *EventSent) GetTo() string

func (*EventSent) Marshal

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

func (*EventSent) MarshalTo

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

func (*EventSent) MarshalToSizedBuffer

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

func (*EventSent) ProtoMessage

func (*EventSent) ProtoMessage()

func (*EventSent) Reset

func (m *EventSent) Reset()

func (*EventSent) Size

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

func (*EventSent) String

func (m *EventSent) String() string

func (*EventSent) Unmarshal

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

func (*EventSent) XXX_DiscardUnknown

func (m *EventSent) XXX_DiscardUnknown()

func (*EventSent) XXX_Marshal

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

func (*EventSent) XXX_Merge

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

func (*EventSent) XXX_Size

func (m *EventSent) XXX_Size() int

func (*EventSent) XXX_Unmarshal

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

type FT deprecated

type FT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id defines the unique identifier of the fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// name defines the human-readable name of the fungible token.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the fungible token.
	Meta string `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
	// decimals is the number of decimals which one must divide the amount by to get its user representation.
	Decimals int32 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// mintable represents whether the fungible token is allowed to be minted or burnt.
	Mintable bool `protobuf:"varint,6,opt,name=mintable,proto3" json:"mintable,omitempty"`
}

Deprecated: use FTClass

FT defines the information of fungible token.

func (*FT) Descriptor

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

func (*FT) Marshal

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

func (*FT) MarshalTo

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

func (*FT) MarshalToSizedBuffer

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

func (*FT) ProtoMessage

func (*FT) ProtoMessage()

func (*FT) Reset

func (m *FT) Reset()

func (*FT) Size

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

func (*FT) String

func (m *FT) String() string

func (*FT) Unmarshal

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

func (*FT) XXX_DiscardUnknown

func (m *FT) XXX_DiscardUnknown()

func (*FT) XXX_Marshal

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

func (*FT) XXX_Merge

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

func (*FT) XXX_Size

func (m *FT) XXX_Size() int

func (*FT) XXX_Unmarshal

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

type FTClass

type FTClass struct {
	// id defines the unique identifier of the token class.
	// Note: size of the class id is 8 in length.
	// Note: token id of the fungible token would be `id` + `00000000`.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name defines the human-readable name of the token class.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token class.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// decimals is the number of decimals which one must divide the amount by to get its user representation.
	Decimals int32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// mintable represents whether the token class is allowed to mint or burn its tokens.
	Mintable bool `protobuf:"varint,5,opt,name=mintable,proto3" json:"mintable,omitempty"`
}

FTClass defines the class of fungible token.

Since: 0.46.0 (finschia)

func (*FTClass) Descriptor

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

func (*FTClass) GetDecimals

func (m *FTClass) GetDecimals() int32

func (*FTClass) GetId

func (m *FTClass) GetId() string

func (*FTClass) GetMeta

func (m *FTClass) GetMeta() string

func (*FTClass) GetMintable

func (m *FTClass) GetMintable() bool

func (*FTClass) GetName

func (m *FTClass) GetName() string

func (*FTClass) Marshal

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

func (*FTClass) MarshalTo

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

func (*FTClass) MarshalToSizedBuffer

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

func (*FTClass) ProtoMessage

func (*FTClass) ProtoMessage()

func (*FTClass) Reset

func (m *FTClass) Reset()

func (*FTClass) SetId

func (c *FTClass) SetId(ids *NextClassIDs)

func (*FTClass) SetMeta

func (c *FTClass) SetMeta(meta string)

func (*FTClass) SetName

func (c *FTClass) SetName(name string)

func (*FTClass) Size

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

func (*FTClass) String

func (m *FTClass) String() string

func (*FTClass) Unmarshal

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

func (FTClass) ValidateBasic

func (c FTClass) ValidateBasic() error

func (*FTClass) XXX_DiscardUnknown

func (m *FTClass) XXX_DiscardUnknown()

func (*FTClass) XXX_Marshal

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

func (*FTClass) XXX_Merge

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

func (*FTClass) XXX_Size

func (m *FTClass) XXX_Size() int

func (*FTClass) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// params defines all the paramaters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// contracts defines the metadata of the contracts.
	Contracts []Contract `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts"`
	// next ids for token classes.
	NextClassIds []NextClassIDs `protobuf:"bytes,3,rep,name=next_class_ids,json=nextClassIds,proto3" json:"next_class_ids"`
	// classes defines the metadata of the tokens.
	Classes []ContractClasses `protobuf:"bytes,4,rep,name=classes,proto3" json:"classes"`
	// next ids for (non-fungible) tokens.
	NextTokenIds []ContractNextTokenIDs `protobuf:"bytes,5,rep,name=next_token_ids,json=nextTokenIds,proto3" json:"next_token_ids"`
	// balances is an array containing the balances of all the accounts.
	Balances []ContractBalances `protobuf:"bytes,6,rep,name=balances,proto3" json:"balances"`
	// nfts is an array containing the nfts.
	Nfts []ContractNFTs `protobuf:"bytes,7,rep,name=nfts,proto3" json:"nfts"`
	// parents represents the parents of (non-fungible) tokens.
	Parents []ContractTokenRelations `protobuf:"bytes,8,rep,name=parents,proto3" json:"parents"`
	// grants defines the grant information.
	Grants []ContractGrants `protobuf:"bytes,9,rep,name=grants,proto3" json:"grants"`
	// authorizations defines the approve information.
	Authorizations []ContractAuthorizations `protobuf:"bytes,10,rep,name=authorizations,proto3" json:"authorizations"`
	// supplies represents the total supplies of tokens.
	Supplies []ContractStatistics `protobuf:"bytes,11,rep,name=supplies,proto3" json:"supplies"`
	// burnts represents the total amount of burnt tokens.
	Burnts []ContractStatistics `protobuf:"bytes,12,rep,name=burnts,proto3" json:"burnts"`
}

GenesisState defines the collection module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState - Return a default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAuthorizations

func (m *GenesisState) GetAuthorizations() []ContractAuthorizations

func (*GenesisState) GetBalances

func (m *GenesisState) GetBalances() []ContractBalances

func (*GenesisState) GetBurnts

func (m *GenesisState) GetBurnts() []ContractStatistics

func (*GenesisState) GetClasses

func (m *GenesisState) GetClasses() []ContractClasses

func (*GenesisState) GetContracts

func (m *GenesisState) GetContracts() []Contract

func (*GenesisState) GetGrants

func (m *GenesisState) GetGrants() []ContractGrants

func (*GenesisState) GetNextClassIds

func (m *GenesisState) GetNextClassIds() []NextClassIDs

func (*GenesisState) GetNextTokenIds

func (m *GenesisState) GetNextTokenIds() []ContractNextTokenIDs

func (*GenesisState) GetNfts

func (m *GenesisState) GetNfts() []ContractNFTs

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetParents

func (m *GenesisState) GetParents() []ContractTokenRelations

func (*GenesisState) GetSupplies

func (m *GenesisState) GetSupplies() []ContractStatistics

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

func (data GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) 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 Grant

type Grant struct {
	// address of the grantee.
	Grantee string `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// permission on the contract.
	Permission Permission `protobuf:"varint,2,opt,name=permission,proto3,enum=lbm.collection.v1.Permission" json:"permission,omitempty"`
}

Grant defines permission given to a grantee.

Since: 0.46.0 (finschia)

func (*Grant) Descriptor

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

func (*Grant) Marshal

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

func (*Grant) MarshalTo

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

func (*Grant) MarshalToSizedBuffer

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

func (*Grant) ProtoMessage

func (*Grant) ProtoMessage()

func (*Grant) Reset

func (m *Grant) Reset()

func (*Grant) Size

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

func (*Grant) String

func (m *Grant) String() string

func (*Grant) Unmarshal

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

func (*Grant) XXX_DiscardUnknown

func (m *Grant) XXX_DiscardUnknown()

func (*Grant) XXX_Marshal

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

func (*Grant) XXX_Merge

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

func (*Grant) XXX_Size

func (m *Grant) XXX_Size() int

func (*Grant) XXX_Unmarshal

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

type LegacyPermission deprecated

type LegacyPermission int32

Deprecated: use Permission

LegacyPermission enumerates the valid permissions on a contract.

const (
	// unspecified defines the default permission which is invalid.
	LegacyPermissionUnspecified LegacyPermission = 0
	// issue defines a permission to create a token class.
	LegacyPermissionIssue LegacyPermission = 1
	// modify defines a permission to modify a contract.
	LegacyPermissionModify LegacyPermission = 2
	// mint defines a permission to mint tokens of a contract.
	LegacyPermissionMint LegacyPermission = 3
	// burn defines a permission to burn tokens of a contract.
	LegacyPermissionBurn LegacyPermission = 4
)

func LegacyPermissionFromString deprecated

func LegacyPermissionFromString(name string) LegacyPermission

Deprecated: use Permission.

func (LegacyPermission) EnumDescriptor

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

func (LegacyPermission) String

func (x LegacyPermission) String() string

type MintNFTParam

type MintNFTParam struct {
	// token type or class id of the nft.
	// Note: it cannot start with zero.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// name defines the human-readable name of the nft (mandatory).
	// Note: it has an app-specific limit in length.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the nft.
	// Note: it has an app-specific limit in length.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
}

MintNFTParam defines a parameter for minting nft.

func (*MintNFTParam) Descriptor

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

func (*MintNFTParam) GetMeta

func (m *MintNFTParam) GetMeta() string

func (*MintNFTParam) GetName

func (m *MintNFTParam) GetName() string

func (*MintNFTParam) GetTokenType

func (m *MintNFTParam) GetTokenType() string

func (*MintNFTParam) Marshal

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

func (*MintNFTParam) MarshalTo

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

func (*MintNFTParam) MarshalToSizedBuffer

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

func (*MintNFTParam) ProtoMessage

func (*MintNFTParam) ProtoMessage()

func (*MintNFTParam) Reset

func (m *MintNFTParam) Reset()

func (*MintNFTParam) Size

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

func (*MintNFTParam) String

func (m *MintNFTParam) String() string

func (*MintNFTParam) Unmarshal

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

func (*MintNFTParam) XXX_DiscardUnknown

func (m *MintNFTParam) XXX_DiscardUnknown()

func (*MintNFTParam) XXX_Marshal

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

func (*MintNFTParam) XXX_Merge

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

func (*MintNFTParam) XXX_Size

func (m *MintNFTParam) XXX_Size() int

func (*MintNFTParam) XXX_Unmarshal

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

type MsgAttach

type MsgAttach struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the owner of the token.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// token id of the token to attach.
	TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// to token id which one attachs the token to.
	ToTokenId string `protobuf:"bytes,4,opt,name=to_token_id,json=toTokenId,proto3" json:"to_token_id,omitempty"`
}

MsgAttach is the Msg/Attach request type.

Signer: `from`

func (*MsgAttach) Descriptor

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

func (*MsgAttach) GetContractId

func (m *MsgAttach) GetContractId() string

func (*MsgAttach) GetFrom

func (m *MsgAttach) GetFrom() string

func (MsgAttach) GetSignBytes

func (m MsgAttach) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgAttach) GetSigners

func (m MsgAttach) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgAttach) GetToTokenId

func (m *MsgAttach) GetToTokenId() string

func (*MsgAttach) GetTokenId

func (m *MsgAttach) GetTokenId() string

func (*MsgAttach) Marshal

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

func (*MsgAttach) MarshalTo

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

func (*MsgAttach) MarshalToSizedBuffer

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

func (*MsgAttach) ProtoMessage

func (*MsgAttach) ProtoMessage()

func (*MsgAttach) Reset

func (m *MsgAttach) Reset()

func (MsgAttach) Route

func (m MsgAttach) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgAttach) Size

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

func (*MsgAttach) String

func (m *MsgAttach) String() string

func (MsgAttach) Type

func (m MsgAttach) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgAttach) Unmarshal

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

func (MsgAttach) ValidateBasic

func (m MsgAttach) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgAttach) XXX_DiscardUnknown

func (m *MsgAttach) XXX_DiscardUnknown()

func (*MsgAttach) XXX_Marshal

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

func (*MsgAttach) XXX_Merge

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

func (*MsgAttach) XXX_Size

func (m *MsgAttach) XXX_Size() int

func (*MsgAttach) XXX_Unmarshal

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

type MsgAttachResponse

type MsgAttachResponse struct {
}

MsgAttachResponse is the Msg/Attach response type.

func (*MsgAttachResponse) Descriptor

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

func (*MsgAttachResponse) Marshal

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

func (*MsgAttachResponse) MarshalTo

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

func (*MsgAttachResponse) MarshalToSizedBuffer

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

func (*MsgAttachResponse) ProtoMessage

func (*MsgAttachResponse) ProtoMessage()

func (*MsgAttachResponse) Reset

func (m *MsgAttachResponse) Reset()

func (*MsgAttachResponse) Size

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

func (*MsgAttachResponse) String

func (m *MsgAttachResponse) String() string

func (*MsgAttachResponse) Unmarshal

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

func (*MsgAttachResponse) XXX_DiscardUnknown

func (m *MsgAttachResponse) XXX_DiscardUnknown()

func (*MsgAttachResponse) XXX_Marshal

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

func (*MsgAttachResponse) XXX_Merge

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

func (*MsgAttachResponse) XXX_Size

func (m *MsgAttachResponse) XXX_Size() int

func (*MsgAttachResponse) XXX_Unmarshal

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

type MsgAuthorizeOperator

type MsgAuthorizeOperator struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the holder who allows the manipulation of its token.
	Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
	// address which the manipulation is allowed to.
	Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
}

MsgAuthorizeOperator is the Msg/AuthorizeOperator request type.

func (*MsgAuthorizeOperator) Descriptor

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

func (*MsgAuthorizeOperator) GetContractId

func (m *MsgAuthorizeOperator) GetContractId() string

func (*MsgAuthorizeOperator) GetHolder

func (m *MsgAuthorizeOperator) GetHolder() string

func (*MsgAuthorizeOperator) GetOperator

func (m *MsgAuthorizeOperator) GetOperator() string

func (MsgAuthorizeOperator) GetSignBytes

func (m MsgAuthorizeOperator) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgAuthorizeOperator) GetSigners

func (m MsgAuthorizeOperator) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgAuthorizeOperator) Marshal

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

func (*MsgAuthorizeOperator) MarshalTo

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

func (*MsgAuthorizeOperator) MarshalToSizedBuffer

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

func (*MsgAuthorizeOperator) ProtoMessage

func (*MsgAuthorizeOperator) ProtoMessage()

func (*MsgAuthorizeOperator) Reset

func (m *MsgAuthorizeOperator) Reset()

func (MsgAuthorizeOperator) Route

func (m MsgAuthorizeOperator) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgAuthorizeOperator) Size

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

func (*MsgAuthorizeOperator) String

func (m *MsgAuthorizeOperator) String() string

func (MsgAuthorizeOperator) Type

func (m MsgAuthorizeOperator) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgAuthorizeOperator) Unmarshal

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

func (MsgAuthorizeOperator) ValidateBasic

func (m MsgAuthorizeOperator) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgAuthorizeOperator) XXX_DiscardUnknown

func (m *MsgAuthorizeOperator) XXX_DiscardUnknown()

func (*MsgAuthorizeOperator) XXX_Marshal

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

func (*MsgAuthorizeOperator) XXX_Merge

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

func (*MsgAuthorizeOperator) XXX_Size

func (m *MsgAuthorizeOperator) XXX_Size() int

func (*MsgAuthorizeOperator) XXX_Unmarshal

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

type MsgAuthorizeOperatorResponse

type MsgAuthorizeOperatorResponse struct {
}

MsgAuthorizeOperatorResponse is the Msg/AuthorizeOperator response type.

func (*MsgAuthorizeOperatorResponse) Descriptor

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

func (*MsgAuthorizeOperatorResponse) Marshal

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

func (*MsgAuthorizeOperatorResponse) MarshalTo

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

func (*MsgAuthorizeOperatorResponse) MarshalToSizedBuffer

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

func (*MsgAuthorizeOperatorResponse) ProtoMessage

func (*MsgAuthorizeOperatorResponse) ProtoMessage()

func (*MsgAuthorizeOperatorResponse) Reset

func (m *MsgAuthorizeOperatorResponse) Reset()

func (*MsgAuthorizeOperatorResponse) Size

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

func (*MsgAuthorizeOperatorResponse) String

func (*MsgAuthorizeOperatorResponse) Unmarshal

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

func (*MsgAuthorizeOperatorResponse) XXX_DiscardUnknown

func (m *MsgAuthorizeOperatorResponse) XXX_DiscardUnknown()

func (*MsgAuthorizeOperatorResponse) XXX_Marshal

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

func (*MsgAuthorizeOperatorResponse) XXX_Merge

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

func (*MsgAuthorizeOperatorResponse) XXX_Size

func (m *MsgAuthorizeOperatorResponse) XXX_Size() int

func (*MsgAuthorizeOperatorResponse) XXX_Unmarshal

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

type MsgBurnFT

type MsgBurnFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which the tokens will be burnt from.
	// Note: it must have the permission for the burn.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// the amount of the burn.
	// Note: amount may be empty.
	Amount []Coin `protobuf:"bytes,3,rep,name=amount,proto3" json:"amount"`
}

MsgBurnFT is the Msg/BurnFT request type.

func (*MsgBurnFT) Descriptor

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

func (*MsgBurnFT) GetAmount

func (m *MsgBurnFT) GetAmount() []Coin

func (*MsgBurnFT) GetContractId

func (m *MsgBurnFT) GetContractId() string

func (*MsgBurnFT) GetFrom

func (m *MsgBurnFT) GetFrom() string

func (MsgBurnFT) GetSignBytes

func (m MsgBurnFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgBurnFT) GetSigners

func (m MsgBurnFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgBurnFT) Marshal

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

func (*MsgBurnFT) MarshalTo

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

func (*MsgBurnFT) MarshalToSizedBuffer

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

func (*MsgBurnFT) ProtoMessage

func (*MsgBurnFT) ProtoMessage()

func (*MsgBurnFT) Reset

func (m *MsgBurnFT) Reset()

func (MsgBurnFT) Route

func (m MsgBurnFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgBurnFT) Size

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

func (*MsgBurnFT) String

func (m *MsgBurnFT) String() string

func (MsgBurnFT) Type

func (m MsgBurnFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgBurnFT) Unmarshal

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

func (MsgBurnFT) ValidateBasic

func (m MsgBurnFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgBurnFT) XXX_DiscardUnknown

func (m *MsgBurnFT) XXX_DiscardUnknown()

func (*MsgBurnFT) XXX_Marshal

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

func (*MsgBurnFT) XXX_Merge

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

func (*MsgBurnFT) XXX_Size

func (m *MsgBurnFT) XXX_Size() int

func (*MsgBurnFT) XXX_Unmarshal

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

type MsgBurnFTResponse

type MsgBurnFTResponse struct {
}

MsgBurnFTResponse is the Msg/BurnFT response type.

func (*MsgBurnFTResponse) Descriptor

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

func (*MsgBurnFTResponse) Marshal

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

func (*MsgBurnFTResponse) MarshalTo

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

func (*MsgBurnFTResponse) MarshalToSizedBuffer

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

func (*MsgBurnFTResponse) ProtoMessage

func (*MsgBurnFTResponse) ProtoMessage()

func (*MsgBurnFTResponse) Reset

func (m *MsgBurnFTResponse) Reset()

func (*MsgBurnFTResponse) Size

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

func (*MsgBurnFTResponse) String

func (m *MsgBurnFTResponse) String() string

func (*MsgBurnFTResponse) Unmarshal

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

func (*MsgBurnFTResponse) XXX_DiscardUnknown

func (m *MsgBurnFTResponse) XXX_DiscardUnknown()

func (*MsgBurnFTResponse) XXX_Marshal

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

func (*MsgBurnFTResponse) XXX_Merge

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

func (*MsgBurnFTResponse) XXX_Size

func (m *MsgBurnFTResponse) XXX_Size() int

func (*MsgBurnFTResponse) XXX_Unmarshal

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

type MsgBurnNFT

type MsgBurnNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which the tokens will be burnt from.
	// Note: it must have the permission for the burn.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// the token ids to burn.
	// Note: id cannot start with zero.
	TokenIds []string `protobuf:"bytes,3,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
}

MsgBurnNFT is the Msg/BurnNFT request type.

func (*MsgBurnNFT) Descriptor

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

func (*MsgBurnNFT) GetContractId

func (m *MsgBurnNFT) GetContractId() string

func (*MsgBurnNFT) GetFrom

func (m *MsgBurnNFT) GetFrom() string

func (MsgBurnNFT) GetSignBytes

func (m MsgBurnNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgBurnNFT) GetSigners

func (m MsgBurnNFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgBurnNFT) GetTokenIds

func (m *MsgBurnNFT) GetTokenIds() []string

func (*MsgBurnNFT) Marshal

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

func (*MsgBurnNFT) MarshalTo

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

func (*MsgBurnNFT) MarshalToSizedBuffer

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

func (*MsgBurnNFT) ProtoMessage

func (*MsgBurnNFT) ProtoMessage()

func (*MsgBurnNFT) Reset

func (m *MsgBurnNFT) Reset()

func (MsgBurnNFT) Route

func (m MsgBurnNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgBurnNFT) Size

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

func (*MsgBurnNFT) String

func (m *MsgBurnNFT) String() string

func (MsgBurnNFT) Type

func (m MsgBurnNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgBurnNFT) Unmarshal

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

func (MsgBurnNFT) ValidateBasic

func (m MsgBurnNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgBurnNFT) XXX_DiscardUnknown

func (m *MsgBurnNFT) XXX_DiscardUnknown()

func (*MsgBurnNFT) XXX_Marshal

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

func (*MsgBurnNFT) XXX_Merge

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

func (*MsgBurnNFT) XXX_Size

func (m *MsgBurnNFT) XXX_Size() int

func (*MsgBurnNFT) XXX_Unmarshal

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

type MsgBurnNFTResponse

type MsgBurnNFTResponse struct {
}

MsgBurnNFTResponse is the Msg/BurnNFT response type.

func (*MsgBurnNFTResponse) Descriptor

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

func (*MsgBurnNFTResponse) Marshal

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

func (*MsgBurnNFTResponse) MarshalTo

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

func (*MsgBurnNFTResponse) MarshalToSizedBuffer

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

func (*MsgBurnNFTResponse) ProtoMessage

func (*MsgBurnNFTResponse) ProtoMessage()

func (*MsgBurnNFTResponse) Reset

func (m *MsgBurnNFTResponse) Reset()

func (*MsgBurnNFTResponse) Size

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

func (*MsgBurnNFTResponse) String

func (m *MsgBurnNFTResponse) String() string

func (*MsgBurnNFTResponse) Unmarshal

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

func (*MsgBurnNFTResponse) XXX_DiscardUnknown

func (m *MsgBurnNFTResponse) XXX_DiscardUnknown()

func (*MsgBurnNFTResponse) XXX_Marshal

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

func (*MsgBurnNFTResponse) XXX_Merge

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

func (*MsgBurnNFTResponse) XXX_Size

func (m *MsgBurnNFTResponse) XXX_Size() int

func (*MsgBurnNFTResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// SendFT defines a method to send fungible tokens from one account to another account.
	// Fires:
	// - EventSent
	// - transfer_ft (deprecated, not typed)
	SendFT(ctx context.Context, in *MsgSendFT, opts ...grpc.CallOption) (*MsgSendFTResponse, error)
	// OperatorSendFT defines a method to send fungible tokens from one account to another account by the operator.
	// Fires:
	// - EventSent
	// - transfer_ft_from (deprecated, not typed)
	OperatorSendFT(ctx context.Context, in *MsgOperatorSendFT, opts ...grpc.CallOption) (*MsgOperatorSendFTResponse, error)
	// SendNFT defines a method to send non-fungible tokens from one account to another account.
	// Fires:
	// - EventSent
	// - transfer_nft (deprecated, not typed)
	// - operation_transfer_nft (deprecated, not typed)
	SendNFT(ctx context.Context, in *MsgSendNFT, opts ...grpc.CallOption) (*MsgSendNFTResponse, error)
	// OperatorSendNFT defines a method to send non-fungible tokens from one account to another account by the operator.
	// Fires:
	// - EventSent
	// - transfer_nft_from (deprecated, not typed)
	// - operation_transfer_nft (deprecated, not typed)
	OperatorSendNFT(ctx context.Context, in *MsgOperatorSendNFT, opts ...grpc.CallOption) (*MsgOperatorSendNFTResponse, error)
	// AuthorizeOperator allows one to send tokens on behalf of the holder.
	// Fires:
	// - EventAuthorizedOperator
	// - approve_collection (deprecated, not typed)
	AuthorizeOperator(ctx context.Context, in *MsgAuthorizeOperator, opts ...grpc.CallOption) (*MsgAuthorizeOperatorResponse, error)
	// RevokeOperator revokes the authorization of the operator to send the holder's token.
	// Fires:
	// - EventRevokedOperator
	// - disapprove_collection (deprecated, not typed)
	RevokeOperator(ctx context.Context, in *MsgRevokeOperator, opts ...grpc.CallOption) (*MsgRevokeOperatorResponse, error)
	// CreateContract defines a method to create a contract for collection.
	// it grants `mint`, `burn`, `modify` and `issue` permissions on the contract to its creator.
	// Fires:
	// - EventCreatedContract
	// - create_collection (deprecated, not typed)
	CreateContract(ctx context.Context, in *MsgCreateContract, opts ...grpc.CallOption) (*MsgCreateContractResponse, error)
	// IssueFT defines a method to create a class of fungible token.
	// Fires:
	// - EventCreatedFTClass
	// - EventMintedFT
	// - issue_ft (deprecated, not typed)
	// Note: it does not grant any permissions to its issuer.
	IssueFT(ctx context.Context, in *MsgIssueFT, opts ...grpc.CallOption) (*MsgIssueFTResponse, error)
	// IssueNFT defines a method to create a class of non-fungible token.
	// Fires:
	// - EventCreatedNFTClass
	// - issue_nft (deprecated, not typed)
	// Note: it DOES grant `mint` and `burn` permissions to its issuer.
	IssueNFT(ctx context.Context, in *MsgIssueNFT, opts ...grpc.CallOption) (*MsgIssueNFTResponse, error)
	// MintFT defines a method to mint fungible tokens.
	// Fires:
	// - EventMintedFT
	// - mint_ft (deprecated, not typed)
	MintFT(ctx context.Context, in *MsgMintFT, opts ...grpc.CallOption) (*MsgMintFTResponse, error)
	// MintNFT defines a method to mint non-fungible tokens.
	// Fires:
	// - EventMintedNFT
	// - mint_nft (deprecated, not typed)
	MintNFT(ctx context.Context, in *MsgMintNFT, opts ...grpc.CallOption) (*MsgMintNFTResponse, error)
	// BurnFT defines a method to burn fungible tokens.
	// Fires:
	// - EventBurned
	// - burn_ft (deprecated, not typed)
	// - burn_nft (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	BurnFT(ctx context.Context, in *MsgBurnFT, opts ...grpc.CallOption) (*MsgBurnFTResponse, error)
	// OperatorBurnFT defines a method to burn fungible tokens of the holder by the operator.
	// Fires:
	// - EventBurned
	// - burn_ft_from (deprecated, not typed)
	// - burn_nft_from (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	OperatorBurnFT(ctx context.Context, in *MsgOperatorBurnFT, opts ...grpc.CallOption) (*MsgOperatorBurnFTResponse, error)
	// BurnNFT defines a method to burn non-fungible tokens.
	// Fires:
	// - EventBurned
	// - burn_ft (deprecated, not typed)
	// - burn_nft (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	BurnNFT(ctx context.Context, in *MsgBurnNFT, opts ...grpc.CallOption) (*MsgBurnNFTResponse, error)
	// OperatorBurnNFT defines a method to burn non-fungible tokens of the holder by the operator.
	// Fires:
	// - EventBurned
	// - burn_ft_from (deprecated, not typed)
	// - burn_nft_from (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	OperatorBurnNFT(ctx context.Context, in *MsgOperatorBurnNFT, opts ...grpc.CallOption) (*MsgOperatorBurnNFTResponse, error)
	// Modify defines a method to modify metadata.
	// Fires:
	// - EventModifiedContract
	// - modify_collection (deprecated, not typed)
	// - EventModifiedTokenClass
	// - modify_token_type (deprecated, not typed)
	// - modify_token (deprecated, not typed)
	// - EventModifiedNFT
	Modify(ctx context.Context, in *MsgModify, opts ...grpc.CallOption) (*MsgModifyResponse, error)
	// GrantPermission allows one to mint or burn tokens or modify metadata.
	// Fires:
	// - EventGranted
	// - grant_perm (deprecated, not typed)
	GrantPermission(ctx context.Context, in *MsgGrantPermission, opts ...grpc.CallOption) (*MsgGrantPermissionResponse, error)
	// RevokePermission abandons a permission.
	// Fires:
	// - EventRenounced
	// - revoke_perm (deprecated, not typed)
	RevokePermission(ctx context.Context, in *MsgRevokePermission, opts ...grpc.CallOption) (*MsgRevokePermissionResponse, error)
	// Attach defines a method to attach a token to another token.
	// Fires:
	// - EventAttach
	// - attach (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	Attach(ctx context.Context, in *MsgAttach, opts ...grpc.CallOption) (*MsgAttachResponse, error)
	// Detach defines a method to detach a token from another token.
	// Fires:
	// - EventDetach
	// - detach (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	Detach(ctx context.Context, in *MsgDetach, opts ...grpc.CallOption) (*MsgDetachResponse, error)
	// OperatorAttach defines a method to attach a token to another token by operator.
	// Fires:
	// - EventAttach
	// - attach_from (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	OperatorAttach(ctx context.Context, in *MsgOperatorAttach, opts ...grpc.CallOption) (*MsgOperatorAttachResponse, error)
	// OperatorDetach defines a method to detach a token from another token by operator.
	// Fires:
	// - EventDetach
	// - detach_from (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	OperatorDetach(ctx context.Context, in *MsgOperatorDetach, opts ...grpc.CallOption) (*MsgOperatorDetachResponse, 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 MsgCreateContract

type MsgCreateContract struct {
	// address which all the permissions on the contract will be granted to (not a permanent property).
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// name defines the human-readable name of the contract.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// uri for the contract image stored off chain.
	Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
	// meta is a brief description of the contract.
	Meta string `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
}

MsgCreateContract is the Msg/CreateContract request type.

Signer: `owner`

func (*MsgCreateContract) Descriptor

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

func (*MsgCreateContract) GetMeta

func (m *MsgCreateContract) GetMeta() string

func (*MsgCreateContract) GetName

func (m *MsgCreateContract) GetName() string

func (*MsgCreateContract) GetOwner

func (m *MsgCreateContract) GetOwner() string

func (MsgCreateContract) GetSignBytes

func (m MsgCreateContract) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgCreateContract) GetSigners

func (m MsgCreateContract) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgCreateContract) GetUri

func (m *MsgCreateContract) GetUri() string

func (*MsgCreateContract) Marshal

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

func (*MsgCreateContract) MarshalTo

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

func (*MsgCreateContract) MarshalToSizedBuffer

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

func (*MsgCreateContract) ProtoMessage

func (*MsgCreateContract) ProtoMessage()

func (*MsgCreateContract) Reset

func (m *MsgCreateContract) Reset()

func (MsgCreateContract) Route

func (m MsgCreateContract) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgCreateContract) Size

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

func (*MsgCreateContract) String

func (m *MsgCreateContract) String() string

func (MsgCreateContract) Type

func (m MsgCreateContract) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgCreateContract) Unmarshal

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

func (MsgCreateContract) ValidateBasic

func (m MsgCreateContract) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgCreateContract) XXX_DiscardUnknown

func (m *MsgCreateContract) XXX_DiscardUnknown()

func (*MsgCreateContract) XXX_Marshal

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

func (*MsgCreateContract) XXX_Merge

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

func (*MsgCreateContract) XXX_Size

func (m *MsgCreateContract) XXX_Size() int

func (*MsgCreateContract) XXX_Unmarshal

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

type MsgCreateContractResponse

type MsgCreateContractResponse struct {
	// id of the new contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
}

MsgCreateContractResponse is the Msg/CreateContract response type.

func (*MsgCreateContractResponse) Descriptor

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

func (*MsgCreateContractResponse) GetContractId

func (m *MsgCreateContractResponse) GetContractId() string

func (*MsgCreateContractResponse) Marshal

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

func (*MsgCreateContractResponse) MarshalTo

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

func (*MsgCreateContractResponse) MarshalToSizedBuffer

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

func (*MsgCreateContractResponse) ProtoMessage

func (*MsgCreateContractResponse) ProtoMessage()

func (*MsgCreateContractResponse) Reset

func (m *MsgCreateContractResponse) Reset()

func (*MsgCreateContractResponse) Size

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

func (*MsgCreateContractResponse) String

func (m *MsgCreateContractResponse) String() string

func (*MsgCreateContractResponse) Unmarshal

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

func (*MsgCreateContractResponse) XXX_DiscardUnknown

func (m *MsgCreateContractResponse) XXX_DiscardUnknown()

func (*MsgCreateContractResponse) XXX_Marshal

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

func (*MsgCreateContractResponse) XXX_Merge

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

func (*MsgCreateContractResponse) XXX_Size

func (m *MsgCreateContractResponse) XXX_Size() int

func (*MsgCreateContractResponse) XXX_Unmarshal

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

type MsgDetach

type MsgDetach struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the owner of the token.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// token id of the token to detach.
	TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

MsgDetach is the Msg/Detach request type.

Signer: `from`

func (*MsgDetach) Descriptor

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

func (*MsgDetach) GetContractId

func (m *MsgDetach) GetContractId() string

func (*MsgDetach) GetFrom

func (m *MsgDetach) GetFrom() string

func (MsgDetach) GetSignBytes

func (m MsgDetach) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgDetach) GetSigners

func (m MsgDetach) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgDetach) GetTokenId

func (m *MsgDetach) GetTokenId() string

func (*MsgDetach) Marshal

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

func (*MsgDetach) MarshalTo

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

func (*MsgDetach) MarshalToSizedBuffer

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

func (*MsgDetach) ProtoMessage

func (*MsgDetach) ProtoMessage()

func (*MsgDetach) Reset

func (m *MsgDetach) Reset()

func (MsgDetach) Route

func (m MsgDetach) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgDetach) Size

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

func (*MsgDetach) String

func (m *MsgDetach) String() string

func (MsgDetach) Type

func (m MsgDetach) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgDetach) Unmarshal

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

func (MsgDetach) ValidateBasic

func (m MsgDetach) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgDetach) XXX_DiscardUnknown

func (m *MsgDetach) XXX_DiscardUnknown()

func (*MsgDetach) XXX_Marshal

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

func (*MsgDetach) XXX_Merge

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

func (*MsgDetach) XXX_Size

func (m *MsgDetach) XXX_Size() int

func (*MsgDetach) XXX_Unmarshal

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

type MsgDetachResponse

type MsgDetachResponse struct {
}

MsgDetachResponse is the Msg/Detach response type.

func (*MsgDetachResponse) Descriptor

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

func (*MsgDetachResponse) Marshal

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

func (*MsgDetachResponse) MarshalTo

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

func (*MsgDetachResponse) MarshalToSizedBuffer

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

func (*MsgDetachResponse) ProtoMessage

func (*MsgDetachResponse) ProtoMessage()

func (*MsgDetachResponse) Reset

func (m *MsgDetachResponse) Reset()

func (*MsgDetachResponse) Size

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

func (*MsgDetachResponse) String

func (m *MsgDetachResponse) String() string

func (*MsgDetachResponse) Unmarshal

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

func (*MsgDetachResponse) XXX_DiscardUnknown

func (m *MsgDetachResponse) XXX_DiscardUnknown()

func (*MsgDetachResponse) XXX_Marshal

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

func (*MsgDetachResponse) XXX_Merge

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

func (*MsgDetachResponse) XXX_Size

func (m *MsgDetachResponse) XXX_Size() int

func (*MsgDetachResponse) XXX_Unmarshal

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

type MsgGrantPermission

type MsgGrantPermission struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the granter which must have the permission to give.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// address of the grantee.
	To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	// permission on the contract.
	Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
}

MsgGrantPermission is the Msg/GrantPermission request type.

func (*MsgGrantPermission) Descriptor

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

func (*MsgGrantPermission) GetContractId

func (m *MsgGrantPermission) GetContractId() string

func (*MsgGrantPermission) GetFrom

func (m *MsgGrantPermission) GetFrom() string

func (*MsgGrantPermission) GetPermission

func (m *MsgGrantPermission) GetPermission() string

func (MsgGrantPermission) GetSignBytes

func (m MsgGrantPermission) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgGrantPermission) GetSigners

func (m MsgGrantPermission) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgGrantPermission) GetTo

func (m *MsgGrantPermission) GetTo() string

func (*MsgGrantPermission) Marshal

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

func (*MsgGrantPermission) MarshalTo

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

func (*MsgGrantPermission) MarshalToSizedBuffer

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

func (*MsgGrantPermission) ProtoMessage

func (*MsgGrantPermission) ProtoMessage()

func (*MsgGrantPermission) Reset

func (m *MsgGrantPermission) Reset()

func (MsgGrantPermission) Route

func (m MsgGrantPermission) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgGrantPermission) Size

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

func (*MsgGrantPermission) String

func (m *MsgGrantPermission) String() string

func (MsgGrantPermission) Type

func (m MsgGrantPermission) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgGrantPermission) Unmarshal

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

func (MsgGrantPermission) ValidateBasic

func (m MsgGrantPermission) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgGrantPermission) XXX_DiscardUnknown

func (m *MsgGrantPermission) XXX_DiscardUnknown()

func (*MsgGrantPermission) XXX_Marshal

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

func (*MsgGrantPermission) XXX_Merge

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

func (*MsgGrantPermission) XXX_Size

func (m *MsgGrantPermission) XXX_Size() int

func (*MsgGrantPermission) XXX_Unmarshal

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

type MsgGrantPermissionResponse

type MsgGrantPermissionResponse struct {
}

MsgGrantPermissionResponse is the Msg/GrantPermission response type.

func (*MsgGrantPermissionResponse) Descriptor

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

func (*MsgGrantPermissionResponse) Marshal

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

func (*MsgGrantPermissionResponse) MarshalTo

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

func (*MsgGrantPermissionResponse) MarshalToSizedBuffer

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

func (*MsgGrantPermissionResponse) ProtoMessage

func (*MsgGrantPermissionResponse) ProtoMessage()

func (*MsgGrantPermissionResponse) Reset

func (m *MsgGrantPermissionResponse) Reset()

func (*MsgGrantPermissionResponse) Size

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

func (*MsgGrantPermissionResponse) String

func (m *MsgGrantPermissionResponse) String() string

func (*MsgGrantPermissionResponse) Unmarshal

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

func (*MsgGrantPermissionResponse) XXX_DiscardUnknown

func (m *MsgGrantPermissionResponse) XXX_DiscardUnknown()

func (*MsgGrantPermissionResponse) XXX_Marshal

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

func (*MsgGrantPermissionResponse) XXX_Merge

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

func (*MsgGrantPermissionResponse) XXX_Size

func (m *MsgGrantPermissionResponse) XXX_Size() int

func (*MsgGrantPermissionResponse) XXX_Unmarshal

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

type MsgIssueFT

type MsgIssueFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// name defines the human-readable name of the token type.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token type.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// decimals is the number of decimals which one must divide the amount by to get its user representation.
	Decimals int32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// mintable represents whether the token is allowed to be minted or burnt.
	Mintable bool `protobuf:"varint,5,opt,name=mintable,proto3" json:"mintable,omitempty"`
	// the address of the grantee which must have the permission to issue a token.
	Owner string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
	// the address to send the minted tokens to. mandatory.
	To string `protobuf:"bytes,7,opt,name=to,proto3" json:"to,omitempty"`
	// the amount of tokens to mint on the issuance.
	// Note: if you provide negative amount, a panic may result.
	// Note: amount may be zero.
	Amount github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,8,opt,name=amount,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"amount"`
}

MsgIssueFT is the Msg/IssueFT request type.

Signer: `owner`

func (*MsgIssueFT) Descriptor

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

func (*MsgIssueFT) GetContractId

func (m *MsgIssueFT) GetContractId() string

func (*MsgIssueFT) GetDecimals

func (m *MsgIssueFT) GetDecimals() int32

func (*MsgIssueFT) GetMeta

func (m *MsgIssueFT) GetMeta() string

func (*MsgIssueFT) GetMintable

func (m *MsgIssueFT) GetMintable() bool

func (*MsgIssueFT) GetName

func (m *MsgIssueFT) GetName() string

func (*MsgIssueFT) GetOwner

func (m *MsgIssueFT) GetOwner() string

func (MsgIssueFT) GetSignBytes

func (m MsgIssueFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgIssueFT) GetSigners

func (m MsgIssueFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgIssueFT) GetTo

func (m *MsgIssueFT) GetTo() string

func (*MsgIssueFT) Marshal

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

func (*MsgIssueFT) MarshalTo

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

func (*MsgIssueFT) MarshalToSizedBuffer

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

func (*MsgIssueFT) ProtoMessage

func (*MsgIssueFT) ProtoMessage()

func (*MsgIssueFT) Reset

func (m *MsgIssueFT) Reset()

func (MsgIssueFT) Route

func (m MsgIssueFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgIssueFT) Size

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

func (*MsgIssueFT) String

func (m *MsgIssueFT) String() string

func (MsgIssueFT) Type

func (m MsgIssueFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgIssueFT) Unmarshal

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

func (MsgIssueFT) ValidateBasic

func (m MsgIssueFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgIssueFT) XXX_DiscardUnknown

func (m *MsgIssueFT) XXX_DiscardUnknown()

func (*MsgIssueFT) XXX_Marshal

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

func (*MsgIssueFT) XXX_Merge

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

func (*MsgIssueFT) XXX_Size

func (m *MsgIssueFT) XXX_Size() int

func (*MsgIssueFT) XXX_Unmarshal

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

type MsgIssueFTResponse

type MsgIssueFTResponse struct {
	// id of the token.
	TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

MsgIssueFTResponse is the Msg/IssueFT response type.

func (*MsgIssueFTResponse) Descriptor

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

func (*MsgIssueFTResponse) GetTokenId

func (m *MsgIssueFTResponse) GetTokenId() string

func (*MsgIssueFTResponse) Marshal

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

func (*MsgIssueFTResponse) MarshalTo

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

func (*MsgIssueFTResponse) MarshalToSizedBuffer

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

func (*MsgIssueFTResponse) ProtoMessage

func (*MsgIssueFTResponse) ProtoMessage()

func (*MsgIssueFTResponse) Reset

func (m *MsgIssueFTResponse) Reset()

func (*MsgIssueFTResponse) Size

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

func (*MsgIssueFTResponse) String

func (m *MsgIssueFTResponse) String() string

func (*MsgIssueFTResponse) Unmarshal

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

func (*MsgIssueFTResponse) XXX_DiscardUnknown

func (m *MsgIssueFTResponse) XXX_DiscardUnknown()

func (*MsgIssueFTResponse) XXX_Marshal

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

func (*MsgIssueFTResponse) XXX_Merge

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

func (*MsgIssueFTResponse) XXX_Size

func (m *MsgIssueFTResponse) XXX_Size() int

func (*MsgIssueFTResponse) XXX_Unmarshal

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

type MsgIssueNFT

type MsgIssueNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// name defines the human-readable name of the token type.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token type.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// the address of the grantee which must have the permission to issue a token.
	Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
}

MsgIssueNFT is the Msg/IssueNFT request type.

Signer: `owner`

func (*MsgIssueNFT) Descriptor

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

func (*MsgIssueNFT) GetContractId

func (m *MsgIssueNFT) GetContractId() string

func (*MsgIssueNFT) GetMeta

func (m *MsgIssueNFT) GetMeta() string

func (*MsgIssueNFT) GetName

func (m *MsgIssueNFT) GetName() string

func (*MsgIssueNFT) GetOwner

func (m *MsgIssueNFT) GetOwner() string

func (MsgIssueNFT) GetSignBytes

func (m MsgIssueNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgIssueNFT) GetSigners

func (m MsgIssueNFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgIssueNFT) Marshal

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

func (*MsgIssueNFT) MarshalTo

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

func (*MsgIssueNFT) MarshalToSizedBuffer

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

func (*MsgIssueNFT) ProtoMessage

func (*MsgIssueNFT) ProtoMessage()

func (*MsgIssueNFT) Reset

func (m *MsgIssueNFT) Reset()

func (MsgIssueNFT) Route

func (m MsgIssueNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgIssueNFT) Size

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

func (*MsgIssueNFT) String

func (m *MsgIssueNFT) String() string

func (MsgIssueNFT) Type

func (m MsgIssueNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgIssueNFT) Unmarshal

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

func (MsgIssueNFT) ValidateBasic

func (m MsgIssueNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgIssueNFT) XXX_DiscardUnknown

func (m *MsgIssueNFT) XXX_DiscardUnknown()

func (*MsgIssueNFT) XXX_Marshal

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

func (*MsgIssueNFT) XXX_Merge

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

func (*MsgIssueNFT) XXX_Size

func (m *MsgIssueNFT) XXX_Size() int

func (*MsgIssueNFT) XXX_Unmarshal

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

type MsgIssueNFTResponse

type MsgIssueNFTResponse struct {
	// id of the new token type.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

MsgIssueNFTResponse is the Msg/IssueNFT response type.

func (*MsgIssueNFTResponse) Descriptor

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

func (*MsgIssueNFTResponse) GetTokenType

func (m *MsgIssueNFTResponse) GetTokenType() string

func (*MsgIssueNFTResponse) Marshal

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

func (*MsgIssueNFTResponse) MarshalTo

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

func (*MsgIssueNFTResponse) MarshalToSizedBuffer

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

func (*MsgIssueNFTResponse) ProtoMessage

func (*MsgIssueNFTResponse) ProtoMessage()

func (*MsgIssueNFTResponse) Reset

func (m *MsgIssueNFTResponse) Reset()

func (*MsgIssueNFTResponse) Size

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

func (*MsgIssueNFTResponse) String

func (m *MsgIssueNFTResponse) String() string

func (*MsgIssueNFTResponse) Unmarshal

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

func (*MsgIssueNFTResponse) XXX_DiscardUnknown

func (m *MsgIssueNFTResponse) XXX_DiscardUnknown()

func (*MsgIssueNFTResponse) XXX_Marshal

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

func (*MsgIssueNFTResponse) XXX_Merge

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

func (*MsgIssueNFTResponse) XXX_Size

func (m *MsgIssueNFTResponse) XXX_Size() int

func (*MsgIssueNFTResponse) XXX_Unmarshal

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

type MsgMintFT

type MsgMintFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the grantee which has the permission for the mint.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// address which the minted tokens will be sent to.
	To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	// the amount of the mint.
	// Note: amount may be empty.
	Amount Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=Coins" json:"amount"`
}

MsgMintFT is the Msg/MintFT request type.

Signer: `from`

func (*MsgMintFT) Descriptor

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

func (*MsgMintFT) GetAmount

func (m *MsgMintFT) GetAmount() Coins

func (*MsgMintFT) GetContractId

func (m *MsgMintFT) GetContractId() string

func (*MsgMintFT) GetFrom

func (m *MsgMintFT) GetFrom() string

func (MsgMintFT) GetSignBytes

func (m MsgMintFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgMintFT) GetSigners

func (m MsgMintFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgMintFT) GetTo

func (m *MsgMintFT) GetTo() string

func (*MsgMintFT) Marshal

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

func (*MsgMintFT) MarshalTo

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

func (*MsgMintFT) MarshalToSizedBuffer

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

func (*MsgMintFT) ProtoMessage

func (*MsgMintFT) ProtoMessage()

func (*MsgMintFT) Reset

func (m *MsgMintFT) Reset()

func (MsgMintFT) Route

func (m MsgMintFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgMintFT) Size

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

func (*MsgMintFT) String

func (m *MsgMintFT) String() string

func (MsgMintFT) Type

func (m MsgMintFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgMintFT) Unmarshal

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

func (MsgMintFT) ValidateBasic

func (m MsgMintFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgMintFT) XXX_DiscardUnknown

func (m *MsgMintFT) XXX_DiscardUnknown()

func (*MsgMintFT) XXX_Marshal

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

func (*MsgMintFT) XXX_Merge

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

func (*MsgMintFT) XXX_Size

func (m *MsgMintFT) XXX_Size() int

func (*MsgMintFT) XXX_Unmarshal

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

type MsgMintFTResponse

type MsgMintFTResponse struct {
}

MsgMintFTResponse is the Msg/MintFT response type.

func (*MsgMintFTResponse) Descriptor

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

func (*MsgMintFTResponse) Marshal

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

func (*MsgMintFTResponse) MarshalTo

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

func (*MsgMintFTResponse) MarshalToSizedBuffer

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

func (*MsgMintFTResponse) ProtoMessage

func (*MsgMintFTResponse) ProtoMessage()

func (*MsgMintFTResponse) Reset

func (m *MsgMintFTResponse) Reset()

func (*MsgMintFTResponse) Size

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

func (*MsgMintFTResponse) String

func (m *MsgMintFTResponse) String() string

func (*MsgMintFTResponse) Unmarshal

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

func (*MsgMintFTResponse) XXX_DiscardUnknown

func (m *MsgMintFTResponse) XXX_DiscardUnknown()

func (*MsgMintFTResponse) XXX_Marshal

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

func (*MsgMintFTResponse) XXX_Merge

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

func (*MsgMintFTResponse) XXX_Size

func (m *MsgMintFTResponse) XXX_Size() int

func (*MsgMintFTResponse) XXX_Unmarshal

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

type MsgMintNFT

type MsgMintNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the grantee which has the permission for the mint.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// address which the minted token will be sent to.
	To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	// parameters for the minted tokens.
	Params []MintNFTParam `protobuf:"bytes,4,rep,name=params,proto3" json:"params"`
}

MsgMintNFT is the Msg/MintNFT request type.

Signer: `from`

func (*MsgMintNFT) Descriptor

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

func (*MsgMintNFT) GetContractId

func (m *MsgMintNFT) GetContractId() string

func (*MsgMintNFT) GetFrom

func (m *MsgMintNFT) GetFrom() string

func (*MsgMintNFT) GetParams

func (m *MsgMintNFT) GetParams() []MintNFTParam

func (MsgMintNFT) GetSignBytes

func (m MsgMintNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgMintNFT) GetSigners

func (m MsgMintNFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgMintNFT) GetTo

func (m *MsgMintNFT) GetTo() string

func (*MsgMintNFT) Marshal

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

func (*MsgMintNFT) MarshalTo

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

func (*MsgMintNFT) MarshalToSizedBuffer

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

func (*MsgMintNFT) ProtoMessage

func (*MsgMintNFT) ProtoMessage()

func (*MsgMintNFT) Reset

func (m *MsgMintNFT) Reset()

func (MsgMintNFT) Route

func (m MsgMintNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgMintNFT) Size

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

func (*MsgMintNFT) String

func (m *MsgMintNFT) String() string

func (MsgMintNFT) Type

func (m MsgMintNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgMintNFT) Unmarshal

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

func (MsgMintNFT) ValidateBasic

func (m MsgMintNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgMintNFT) XXX_DiscardUnknown

func (m *MsgMintNFT) XXX_DiscardUnknown()

func (*MsgMintNFT) XXX_Marshal

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

func (*MsgMintNFT) XXX_Merge

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

func (*MsgMintNFT) XXX_Size

func (m *MsgMintNFT) XXX_Size() int

func (*MsgMintNFT) XXX_Unmarshal

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

type MsgMintNFTResponse

type MsgMintNFTResponse struct {
	// ids of the new non-fungible tokens.
	TokenIds []string `protobuf:"bytes,1,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
}

MsgMintNFTResponse is the Msg/MintNFT response type.

func (*MsgMintNFTResponse) Descriptor

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

func (*MsgMintNFTResponse) GetTokenIds

func (m *MsgMintNFTResponse) GetTokenIds() []string

func (*MsgMintNFTResponse) Marshal

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

func (*MsgMintNFTResponse) MarshalTo

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

func (*MsgMintNFTResponse) MarshalToSizedBuffer

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

func (*MsgMintNFTResponse) ProtoMessage

func (*MsgMintNFTResponse) ProtoMessage()

func (*MsgMintNFTResponse) Reset

func (m *MsgMintNFTResponse) Reset()

func (*MsgMintNFTResponse) Size

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

func (*MsgMintNFTResponse) String

func (m *MsgMintNFTResponse) String() string

func (*MsgMintNFTResponse) Unmarshal

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

func (*MsgMintNFTResponse) XXX_DiscardUnknown

func (m *MsgMintNFTResponse) XXX_DiscardUnknown()

func (*MsgMintNFTResponse) XXX_Marshal

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

func (*MsgMintNFTResponse) XXX_Merge

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

func (*MsgMintNFTResponse) XXX_Size

func (m *MsgMintNFTResponse) XXX_Size() int

func (*MsgMintNFTResponse) XXX_Unmarshal

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

type MsgModify

type MsgModify struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// the address of the grantee which must have modify permission.
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// token type of the token.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,3,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// token index of the token.
	// if index is empty, it would modify the corresponding token type.
	// if index is not empty, it would modify the corresponding nft.
	// Note: if token type is of FTs, the index cannot be empty.
	TokenIndex string `protobuf:"bytes,4,opt,name=token_index,json=tokenIndex,proto3" json:"token_index,omitempty"`
	// changes to apply.
	// possible attribute keys on modifying collection: name, uri, base_img_uri (deprecated), meta.
	// possible attribute keys on modifying token type and token: name, meta.
	Changes []Attribute `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes"`
}

MsgModify is the Msg/Modify request type.

func (*MsgModify) Descriptor

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

func (*MsgModify) GetChanges

func (m *MsgModify) GetChanges() []Attribute

func (*MsgModify) GetContractId

func (m *MsgModify) GetContractId() string

func (*MsgModify) GetOwner

func (m *MsgModify) GetOwner() string

func (MsgModify) GetSignBytes

func (m MsgModify) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgModify) GetSigners

func (m MsgModify) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgModify) GetTokenIndex

func (m *MsgModify) GetTokenIndex() string

func (*MsgModify) GetTokenType

func (m *MsgModify) GetTokenType() string

func (*MsgModify) Marshal

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

func (*MsgModify) MarshalTo

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

func (*MsgModify) MarshalToSizedBuffer

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

func (*MsgModify) ProtoMessage

func (*MsgModify) ProtoMessage()

func (*MsgModify) Reset

func (m *MsgModify) Reset()

func (MsgModify) Route

func (m MsgModify) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgModify) Size

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

func (*MsgModify) String

func (m *MsgModify) String() string

func (MsgModify) Type

func (m MsgModify) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgModify) Unmarshal

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

func (MsgModify) ValidateBasic

func (m MsgModify) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgModify) XXX_DiscardUnknown

func (m *MsgModify) XXX_DiscardUnknown()

func (*MsgModify) XXX_Marshal

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

func (*MsgModify) XXX_Merge

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

func (*MsgModify) XXX_Size

func (m *MsgModify) XXX_Size() int

func (*MsgModify) XXX_Unmarshal

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

type MsgModifyResponse

type MsgModifyResponse struct {
}

MsgModifyResponse is the Msg/Modify response type.

func (*MsgModifyResponse) Descriptor

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

func (*MsgModifyResponse) Marshal

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

func (*MsgModifyResponse) MarshalTo

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

func (*MsgModifyResponse) MarshalToSizedBuffer

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

func (*MsgModifyResponse) ProtoMessage

func (*MsgModifyResponse) ProtoMessage()

func (*MsgModifyResponse) Reset

func (m *MsgModifyResponse) Reset()

func (*MsgModifyResponse) Size

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

func (*MsgModifyResponse) String

func (m *MsgModifyResponse) String() string

func (*MsgModifyResponse) Unmarshal

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

func (*MsgModifyResponse) XXX_DiscardUnknown

func (m *MsgModifyResponse) XXX_DiscardUnknown()

func (*MsgModifyResponse) XXX_Marshal

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

func (*MsgModifyResponse) XXX_Merge

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

func (*MsgModifyResponse) XXX_Size

func (m *MsgModifyResponse) XXX_Size() int

func (*MsgModifyResponse) XXX_Unmarshal

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

type MsgOperatorAttach

type MsgOperatorAttach struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the operator.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// address of the owner of the token.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// token id of the token to attach.
	TokenId string `protobuf:"bytes,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// to token id which one attachs the token to.
	ToTokenId string `protobuf:"bytes,5,opt,name=to_token_id,json=toTokenId,proto3" json:"to_token_id,omitempty"`
}

MsgOperatorAttach is the Msg/OperatorAttach request type.

func (*MsgOperatorAttach) Descriptor

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

func (*MsgOperatorAttach) GetContractId

func (m *MsgOperatorAttach) GetContractId() string

func (*MsgOperatorAttach) GetFrom

func (m *MsgOperatorAttach) GetFrom() string

func (*MsgOperatorAttach) GetOperator

func (m *MsgOperatorAttach) GetOperator() string

func (MsgOperatorAttach) GetSignBytes

func (m MsgOperatorAttach) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorAttach) GetSigners

func (m MsgOperatorAttach) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgOperatorAttach) GetToTokenId

func (m *MsgOperatorAttach) GetToTokenId() string

func (*MsgOperatorAttach) GetTokenId

func (m *MsgOperatorAttach) GetTokenId() string

func (*MsgOperatorAttach) Marshal

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

func (*MsgOperatorAttach) MarshalTo

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

func (*MsgOperatorAttach) MarshalToSizedBuffer

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

func (*MsgOperatorAttach) ProtoMessage

func (*MsgOperatorAttach) ProtoMessage()

func (*MsgOperatorAttach) Reset

func (m *MsgOperatorAttach) Reset()

func (MsgOperatorAttach) Route

func (m MsgOperatorAttach) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorAttach) Size

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

func (*MsgOperatorAttach) String

func (m *MsgOperatorAttach) String() string

func (MsgOperatorAttach) Type

func (m MsgOperatorAttach) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorAttach) Unmarshal

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

func (MsgOperatorAttach) ValidateBasic

func (m MsgOperatorAttach) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorAttach) XXX_DiscardUnknown

func (m *MsgOperatorAttach) XXX_DiscardUnknown()

func (*MsgOperatorAttach) XXX_Marshal

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

func (*MsgOperatorAttach) XXX_Merge

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

func (*MsgOperatorAttach) XXX_Size

func (m *MsgOperatorAttach) XXX_Size() int

func (*MsgOperatorAttach) XXX_Unmarshal

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

type MsgOperatorAttachResponse

type MsgOperatorAttachResponse struct {
}

MsgOperatorAttachResponse is the Msg/OperatorAttach response type.

func (*MsgOperatorAttachResponse) Descriptor

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

func (*MsgOperatorAttachResponse) Marshal

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

func (*MsgOperatorAttachResponse) MarshalTo

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

func (*MsgOperatorAttachResponse) MarshalToSizedBuffer

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

func (*MsgOperatorAttachResponse) ProtoMessage

func (*MsgOperatorAttachResponse) ProtoMessage()

func (*MsgOperatorAttachResponse) Reset

func (m *MsgOperatorAttachResponse) Reset()

func (*MsgOperatorAttachResponse) Size

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

func (*MsgOperatorAttachResponse) String

func (m *MsgOperatorAttachResponse) String() string

func (*MsgOperatorAttachResponse) Unmarshal

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

func (*MsgOperatorAttachResponse) XXX_DiscardUnknown

func (m *MsgOperatorAttachResponse) XXX_DiscardUnknown()

func (*MsgOperatorAttachResponse) XXX_Marshal

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

func (*MsgOperatorAttachResponse) XXX_Merge

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

func (*MsgOperatorAttachResponse) XXX_Size

func (m *MsgOperatorAttachResponse) XXX_Size() int

func (*MsgOperatorAttachResponse) XXX_Unmarshal

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

type MsgOperatorBurnFT

type MsgOperatorBurnFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggers the burn.
	// Note: it must have the permission for the burn.
	// Note: it must have been authorized by from.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// address which the tokens will be burnt from.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// the amount of the burn.
	// Note: amount may be empty.
	Amount []Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount"`
}

MsgOperatorBurnFT is the Msg/OperatorBurnFT request type.

func (*MsgOperatorBurnFT) Descriptor

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

func (*MsgOperatorBurnFT) GetAmount

func (m *MsgOperatorBurnFT) GetAmount() []Coin

func (*MsgOperatorBurnFT) GetContractId

func (m *MsgOperatorBurnFT) GetContractId() string

func (*MsgOperatorBurnFT) GetFrom

func (m *MsgOperatorBurnFT) GetFrom() string

func (*MsgOperatorBurnFT) GetOperator

func (m *MsgOperatorBurnFT) GetOperator() string

func (MsgOperatorBurnFT) GetSignBytes

func (m MsgOperatorBurnFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorBurnFT) GetSigners

func (m MsgOperatorBurnFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgOperatorBurnFT) Marshal

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

func (*MsgOperatorBurnFT) MarshalTo

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

func (*MsgOperatorBurnFT) MarshalToSizedBuffer

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

func (*MsgOperatorBurnFT) ProtoMessage

func (*MsgOperatorBurnFT) ProtoMessage()

func (*MsgOperatorBurnFT) Reset

func (m *MsgOperatorBurnFT) Reset()

func (MsgOperatorBurnFT) Route

func (m MsgOperatorBurnFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorBurnFT) Size

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

func (*MsgOperatorBurnFT) String

func (m *MsgOperatorBurnFT) String() string

func (MsgOperatorBurnFT) Type

func (m MsgOperatorBurnFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorBurnFT) Unmarshal

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

func (MsgOperatorBurnFT) ValidateBasic

func (m MsgOperatorBurnFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorBurnFT) XXX_DiscardUnknown

func (m *MsgOperatorBurnFT) XXX_DiscardUnknown()

func (*MsgOperatorBurnFT) XXX_Marshal

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

func (*MsgOperatorBurnFT) XXX_Merge

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

func (*MsgOperatorBurnFT) XXX_Size

func (m *MsgOperatorBurnFT) XXX_Size() int

func (*MsgOperatorBurnFT) XXX_Unmarshal

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

type MsgOperatorBurnFTResponse

type MsgOperatorBurnFTResponse struct {
}

MsgOperatorBurnFTResponse is the Msg/OperatorBurnFT response type.

func (*MsgOperatorBurnFTResponse) Descriptor

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

func (*MsgOperatorBurnFTResponse) Marshal

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

func (*MsgOperatorBurnFTResponse) MarshalTo

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

func (*MsgOperatorBurnFTResponse) MarshalToSizedBuffer

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

func (*MsgOperatorBurnFTResponse) ProtoMessage

func (*MsgOperatorBurnFTResponse) ProtoMessage()

func (*MsgOperatorBurnFTResponse) Reset

func (m *MsgOperatorBurnFTResponse) Reset()

func (*MsgOperatorBurnFTResponse) Size

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

func (*MsgOperatorBurnFTResponse) String

func (m *MsgOperatorBurnFTResponse) String() string

func (*MsgOperatorBurnFTResponse) Unmarshal

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

func (*MsgOperatorBurnFTResponse) XXX_DiscardUnknown

func (m *MsgOperatorBurnFTResponse) XXX_DiscardUnknown()

func (*MsgOperatorBurnFTResponse) XXX_Marshal

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

func (*MsgOperatorBurnFTResponse) XXX_Merge

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

func (*MsgOperatorBurnFTResponse) XXX_Size

func (m *MsgOperatorBurnFTResponse) XXX_Size() int

func (*MsgOperatorBurnFTResponse) XXX_Unmarshal

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

type MsgOperatorBurnNFT

type MsgOperatorBurnNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address which triggers the burn.
	// Note: it must have the permission for the burn.
	// Note: it must have been authorized by from.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// address which the tokens will be burnt from.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// the token ids to burn.
	// Note: id cannot start with zero.
	TokenIds []string `protobuf:"bytes,4,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
}

MsgOperatorBurnNFT is the Msg/OperatorBurnNFT request type.

func (*MsgOperatorBurnNFT) Descriptor

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

func (*MsgOperatorBurnNFT) GetContractId

func (m *MsgOperatorBurnNFT) GetContractId() string

func (*MsgOperatorBurnNFT) GetFrom

func (m *MsgOperatorBurnNFT) GetFrom() string

func (*MsgOperatorBurnNFT) GetOperator

func (m *MsgOperatorBurnNFT) GetOperator() string

func (MsgOperatorBurnNFT) GetSignBytes

func (m MsgOperatorBurnNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorBurnNFT) GetSigners

func (m MsgOperatorBurnNFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgOperatorBurnNFT) GetTokenIds

func (m *MsgOperatorBurnNFT) GetTokenIds() []string

func (*MsgOperatorBurnNFT) Marshal

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

func (*MsgOperatorBurnNFT) MarshalTo

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

func (*MsgOperatorBurnNFT) MarshalToSizedBuffer

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

func (*MsgOperatorBurnNFT) ProtoMessage

func (*MsgOperatorBurnNFT) ProtoMessage()

func (*MsgOperatorBurnNFT) Reset

func (m *MsgOperatorBurnNFT) Reset()

func (MsgOperatorBurnNFT) Route

func (m MsgOperatorBurnNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorBurnNFT) Size

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

func (*MsgOperatorBurnNFT) String

func (m *MsgOperatorBurnNFT) String() string

func (MsgOperatorBurnNFT) Type

func (m MsgOperatorBurnNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorBurnNFT) Unmarshal

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

func (MsgOperatorBurnNFT) ValidateBasic

func (m MsgOperatorBurnNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorBurnNFT) XXX_DiscardUnknown

func (m *MsgOperatorBurnNFT) XXX_DiscardUnknown()

func (*MsgOperatorBurnNFT) XXX_Marshal

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

func (*MsgOperatorBurnNFT) XXX_Merge

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

func (*MsgOperatorBurnNFT) XXX_Size

func (m *MsgOperatorBurnNFT) XXX_Size() int

func (*MsgOperatorBurnNFT) XXX_Unmarshal

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

type MsgOperatorBurnNFTResponse

type MsgOperatorBurnNFTResponse struct {
}

MsgOperatorBurnNFTResponse is the Msg/OperatorBurnNFT response type.

func (*MsgOperatorBurnNFTResponse) Descriptor

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

func (*MsgOperatorBurnNFTResponse) Marshal

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

func (*MsgOperatorBurnNFTResponse) MarshalTo

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

func (*MsgOperatorBurnNFTResponse) MarshalToSizedBuffer

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

func (*MsgOperatorBurnNFTResponse) ProtoMessage

func (*MsgOperatorBurnNFTResponse) ProtoMessage()

func (*MsgOperatorBurnNFTResponse) Reset

func (m *MsgOperatorBurnNFTResponse) Reset()

func (*MsgOperatorBurnNFTResponse) Size

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

func (*MsgOperatorBurnNFTResponse) String

func (m *MsgOperatorBurnNFTResponse) String() string

func (*MsgOperatorBurnNFTResponse) Unmarshal

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

func (*MsgOperatorBurnNFTResponse) XXX_DiscardUnknown

func (m *MsgOperatorBurnNFTResponse) XXX_DiscardUnknown()

func (*MsgOperatorBurnNFTResponse) XXX_Marshal

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

func (*MsgOperatorBurnNFTResponse) XXX_Merge

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

func (*MsgOperatorBurnNFTResponse) XXX_Size

func (m *MsgOperatorBurnNFTResponse) XXX_Size() int

func (*MsgOperatorBurnNFTResponse) XXX_Unmarshal

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

type MsgOperatorDetach

type MsgOperatorDetach struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the operator.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// address of the owner of the token.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// token id of the token to detach.
	TokenId string `protobuf:"bytes,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

MsgOperatorDetach is the Msg/OperatorDetach request type.

func (*MsgOperatorDetach) Descriptor

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

func (*MsgOperatorDetach) GetContractId

func (m *MsgOperatorDetach) GetContractId() string

func (*MsgOperatorDetach) GetFrom

func (m *MsgOperatorDetach) GetFrom() string

func (*MsgOperatorDetach) GetOperator

func (m *MsgOperatorDetach) GetOperator() string

func (MsgOperatorDetach) GetSignBytes

func (m MsgOperatorDetach) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorDetach) GetSigners

func (m MsgOperatorDetach) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgOperatorDetach) GetTokenId

func (m *MsgOperatorDetach) GetTokenId() string

func (*MsgOperatorDetach) Marshal

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

func (*MsgOperatorDetach) MarshalTo

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

func (*MsgOperatorDetach) MarshalToSizedBuffer

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

func (*MsgOperatorDetach) ProtoMessage

func (*MsgOperatorDetach) ProtoMessage()

func (*MsgOperatorDetach) Reset

func (m *MsgOperatorDetach) Reset()

func (MsgOperatorDetach) Route

func (m MsgOperatorDetach) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorDetach) Size

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

func (*MsgOperatorDetach) String

func (m *MsgOperatorDetach) String() string

func (MsgOperatorDetach) Type

func (m MsgOperatorDetach) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorDetach) Unmarshal

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

func (MsgOperatorDetach) ValidateBasic

func (m MsgOperatorDetach) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorDetach) XXX_DiscardUnknown

func (m *MsgOperatorDetach) XXX_DiscardUnknown()

func (*MsgOperatorDetach) XXX_Marshal

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

func (*MsgOperatorDetach) XXX_Merge

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

func (*MsgOperatorDetach) XXX_Size

func (m *MsgOperatorDetach) XXX_Size() int

func (*MsgOperatorDetach) XXX_Unmarshal

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

type MsgOperatorDetachResponse

type MsgOperatorDetachResponse struct {
}

MsgOperatorDetachResponse is the Msg/OperatorDetach response type.

func (*MsgOperatorDetachResponse) Descriptor

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

func (*MsgOperatorDetachResponse) Marshal

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

func (*MsgOperatorDetachResponse) MarshalTo

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

func (*MsgOperatorDetachResponse) MarshalToSizedBuffer

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

func (*MsgOperatorDetachResponse) ProtoMessage

func (*MsgOperatorDetachResponse) ProtoMessage()

func (*MsgOperatorDetachResponse) Reset

func (m *MsgOperatorDetachResponse) Reset()

func (*MsgOperatorDetachResponse) Size

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

func (*MsgOperatorDetachResponse) String

func (m *MsgOperatorDetachResponse) String() string

func (*MsgOperatorDetachResponse) Unmarshal

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

func (*MsgOperatorDetachResponse) XXX_DiscardUnknown

func (m *MsgOperatorDetachResponse) XXX_DiscardUnknown()

func (*MsgOperatorDetachResponse) XXX_Marshal

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

func (*MsgOperatorDetachResponse) XXX_Merge

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

func (*MsgOperatorDetachResponse) XXX_Size

func (m *MsgOperatorDetachResponse) XXX_Size() int

func (*MsgOperatorDetachResponse) XXX_Unmarshal

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

type MsgOperatorSendFT

type MsgOperatorSendFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// the address of the operator.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// the address which the transfer is from.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// the address which the transfer is to.
	To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	// the amount of the transfer.
	// Note: amount may be empty.
	Amount []Coin `protobuf:"bytes,5,rep,name=amount,proto3" json:"amount"`
}

MsgOperatorSendFT is the Msg/OperatorSendFT request type.

func (*MsgOperatorSendFT) Descriptor

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

func (*MsgOperatorSendFT) GetAmount

func (m *MsgOperatorSendFT) GetAmount() []Coin

func (*MsgOperatorSendFT) GetContractId

func (m *MsgOperatorSendFT) GetContractId() string

func (*MsgOperatorSendFT) GetFrom

func (m *MsgOperatorSendFT) GetFrom() string

func (*MsgOperatorSendFT) GetOperator

func (m *MsgOperatorSendFT) GetOperator() string

func (MsgOperatorSendFT) GetSignBytes

func (m MsgOperatorSendFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorSendFT) GetSigners

func (m MsgOperatorSendFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgOperatorSendFT) GetTo

func (m *MsgOperatorSendFT) GetTo() string

func (*MsgOperatorSendFT) Marshal

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

func (*MsgOperatorSendFT) MarshalTo

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

func (*MsgOperatorSendFT) MarshalToSizedBuffer

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

func (*MsgOperatorSendFT) ProtoMessage

func (*MsgOperatorSendFT) ProtoMessage()

func (*MsgOperatorSendFT) Reset

func (m *MsgOperatorSendFT) Reset()

func (MsgOperatorSendFT) Route

func (m MsgOperatorSendFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorSendFT) Size

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

func (*MsgOperatorSendFT) String

func (m *MsgOperatorSendFT) String() string

func (MsgOperatorSendFT) Type

func (m MsgOperatorSendFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorSendFT) Unmarshal

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

func (MsgOperatorSendFT) ValidateBasic

func (m MsgOperatorSendFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorSendFT) XXX_DiscardUnknown

func (m *MsgOperatorSendFT) XXX_DiscardUnknown()

func (*MsgOperatorSendFT) XXX_Marshal

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

func (*MsgOperatorSendFT) XXX_Merge

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

func (*MsgOperatorSendFT) XXX_Size

func (m *MsgOperatorSendFT) XXX_Size() int

func (*MsgOperatorSendFT) XXX_Unmarshal

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

type MsgOperatorSendFTResponse

type MsgOperatorSendFTResponse struct {
}

MsgOperatorSendFTResponse is the Msg/OperatorSendFT response type.

func (*MsgOperatorSendFTResponse) Descriptor

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

func (*MsgOperatorSendFTResponse) Marshal

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

func (*MsgOperatorSendFTResponse) MarshalTo

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

func (*MsgOperatorSendFTResponse) MarshalToSizedBuffer

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

func (*MsgOperatorSendFTResponse) ProtoMessage

func (*MsgOperatorSendFTResponse) ProtoMessage()

func (*MsgOperatorSendFTResponse) Reset

func (m *MsgOperatorSendFTResponse) Reset()

func (*MsgOperatorSendFTResponse) Size

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

func (*MsgOperatorSendFTResponse) String

func (m *MsgOperatorSendFTResponse) String() string

func (*MsgOperatorSendFTResponse) Unmarshal

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

func (*MsgOperatorSendFTResponse) XXX_DiscardUnknown

func (m *MsgOperatorSendFTResponse) XXX_DiscardUnknown()

func (*MsgOperatorSendFTResponse) XXX_Marshal

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

func (*MsgOperatorSendFTResponse) XXX_Merge

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

func (*MsgOperatorSendFTResponse) XXX_Size

func (m *MsgOperatorSendFTResponse) XXX_Size() int

func (*MsgOperatorSendFTResponse) XXX_Unmarshal

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

type MsgOperatorSendNFT

type MsgOperatorSendNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// the address of the operator.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// the address which the transfer is from.
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// the address which the transfer is to.
	To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	// the token ids to transfer.
	TokenIds []string `protobuf:"bytes,5,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
}

MsgOperatorSendNFT is the Msg/OperatorSendNFT request type.

func (*MsgOperatorSendNFT) Descriptor

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

func (*MsgOperatorSendNFT) GetContractId

func (m *MsgOperatorSendNFT) GetContractId() string

func (*MsgOperatorSendNFT) GetFrom

func (m *MsgOperatorSendNFT) GetFrom() string

func (*MsgOperatorSendNFT) GetOperator

func (m *MsgOperatorSendNFT) GetOperator() string

func (MsgOperatorSendNFT) GetSignBytes

func (m MsgOperatorSendNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorSendNFT) GetSigners

func (m MsgOperatorSendNFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgOperatorSendNFT) GetTo

func (m *MsgOperatorSendNFT) GetTo() string

func (*MsgOperatorSendNFT) GetTokenIds

func (m *MsgOperatorSendNFT) GetTokenIds() []string

func (*MsgOperatorSendNFT) Marshal

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

func (*MsgOperatorSendNFT) MarshalTo

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

func (*MsgOperatorSendNFT) MarshalToSizedBuffer

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

func (*MsgOperatorSendNFT) ProtoMessage

func (*MsgOperatorSendNFT) ProtoMessage()

func (*MsgOperatorSendNFT) Reset

func (m *MsgOperatorSendNFT) Reset()

func (MsgOperatorSendNFT) Route

func (m MsgOperatorSendNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorSendNFT) Size

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

func (*MsgOperatorSendNFT) String

func (m *MsgOperatorSendNFT) String() string

func (MsgOperatorSendNFT) Type

func (m MsgOperatorSendNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorSendNFT) Unmarshal

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

func (MsgOperatorSendNFT) ValidateBasic

func (m MsgOperatorSendNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorSendNFT) XXX_DiscardUnknown

func (m *MsgOperatorSendNFT) XXX_DiscardUnknown()

func (*MsgOperatorSendNFT) XXX_Marshal

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

func (*MsgOperatorSendNFT) XXX_Merge

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

func (*MsgOperatorSendNFT) XXX_Size

func (m *MsgOperatorSendNFT) XXX_Size() int

func (*MsgOperatorSendNFT) XXX_Unmarshal

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

type MsgOperatorSendNFTResponse

type MsgOperatorSendNFTResponse struct {
}

MsgOperatorSendNFTResponse is the Msg/OperatorSendNFT response type.

func (*MsgOperatorSendNFTResponse) Descriptor

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

func (*MsgOperatorSendNFTResponse) Marshal

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

func (*MsgOperatorSendNFTResponse) MarshalTo

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

func (*MsgOperatorSendNFTResponse) MarshalToSizedBuffer

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

func (*MsgOperatorSendNFTResponse) ProtoMessage

func (*MsgOperatorSendNFTResponse) ProtoMessage()

func (*MsgOperatorSendNFTResponse) Reset

func (m *MsgOperatorSendNFTResponse) Reset()

func (*MsgOperatorSendNFTResponse) Size

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

func (*MsgOperatorSendNFTResponse) String

func (m *MsgOperatorSendNFTResponse) String() string

func (*MsgOperatorSendNFTResponse) Unmarshal

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

func (*MsgOperatorSendNFTResponse) XXX_DiscardUnknown

func (m *MsgOperatorSendNFTResponse) XXX_DiscardUnknown()

func (*MsgOperatorSendNFTResponse) XXX_Marshal

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

func (*MsgOperatorSendNFTResponse) XXX_Merge

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

func (*MsgOperatorSendNFTResponse) XXX_Size

func (m *MsgOperatorSendNFTResponse) XXX_Size() int

func (*MsgOperatorSendNFTResponse) XXX_Unmarshal

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

type MsgRevokeOperator

type MsgRevokeOperator struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the holder who allows the manipulation of its token.
	Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
	// address which the manipulation is allowed to.
	Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
}

MsgRevokeOperator is the Msg/RevokeOperator request type.

func (*MsgRevokeOperator) Descriptor

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

func (*MsgRevokeOperator) GetContractId

func (m *MsgRevokeOperator) GetContractId() string

func (*MsgRevokeOperator) GetHolder

func (m *MsgRevokeOperator) GetHolder() string

func (*MsgRevokeOperator) GetOperator

func (m *MsgRevokeOperator) GetOperator() string

func (MsgRevokeOperator) GetSignBytes

func (m MsgRevokeOperator) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgRevokeOperator) GetSigners

func (m MsgRevokeOperator) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgRevokeOperator) Marshal

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

func (*MsgRevokeOperator) MarshalTo

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

func (*MsgRevokeOperator) MarshalToSizedBuffer

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

func (*MsgRevokeOperator) ProtoMessage

func (*MsgRevokeOperator) ProtoMessage()

func (*MsgRevokeOperator) Reset

func (m *MsgRevokeOperator) Reset()

func (MsgRevokeOperator) Route

func (m MsgRevokeOperator) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgRevokeOperator) Size

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

func (*MsgRevokeOperator) String

func (m *MsgRevokeOperator) String() string

func (MsgRevokeOperator) Type

func (m MsgRevokeOperator) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgRevokeOperator) Unmarshal

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

func (MsgRevokeOperator) ValidateBasic

func (m MsgRevokeOperator) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgRevokeOperator) XXX_DiscardUnknown

func (m *MsgRevokeOperator) XXX_DiscardUnknown()

func (*MsgRevokeOperator) XXX_Marshal

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

func (*MsgRevokeOperator) XXX_Merge

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

func (*MsgRevokeOperator) XXX_Size

func (m *MsgRevokeOperator) XXX_Size() int

func (*MsgRevokeOperator) XXX_Unmarshal

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

type MsgRevokeOperatorResponse

type MsgRevokeOperatorResponse struct {
}

MsgRevokeOperatorResponse is the Msg/RevokeOperator response type.

func (*MsgRevokeOperatorResponse) Descriptor

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

func (*MsgRevokeOperatorResponse) Marshal

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

func (*MsgRevokeOperatorResponse) MarshalTo

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

func (*MsgRevokeOperatorResponse) MarshalToSizedBuffer

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

func (*MsgRevokeOperatorResponse) ProtoMessage

func (*MsgRevokeOperatorResponse) ProtoMessage()

func (*MsgRevokeOperatorResponse) Reset

func (m *MsgRevokeOperatorResponse) Reset()

func (*MsgRevokeOperatorResponse) Size

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

func (*MsgRevokeOperatorResponse) String

func (m *MsgRevokeOperatorResponse) String() string

func (*MsgRevokeOperatorResponse) Unmarshal

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

func (*MsgRevokeOperatorResponse) XXX_DiscardUnknown

func (m *MsgRevokeOperatorResponse) XXX_DiscardUnknown()

func (*MsgRevokeOperatorResponse) XXX_Marshal

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

func (*MsgRevokeOperatorResponse) XXX_Merge

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

func (*MsgRevokeOperatorResponse) XXX_Size

func (m *MsgRevokeOperatorResponse) XXX_Size() int

func (*MsgRevokeOperatorResponse) XXX_Unmarshal

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

type MsgRevokePermission

type MsgRevokePermission struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the grantee which abandons the permission.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// permission on the contract.
	Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
}

MsgRevokePermission is the Msg/RevokePermission request type.

func (*MsgRevokePermission) Descriptor

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

func (*MsgRevokePermission) GetContractId

func (m *MsgRevokePermission) GetContractId() string

func (*MsgRevokePermission) GetFrom

func (m *MsgRevokePermission) GetFrom() string

func (*MsgRevokePermission) GetPermission

func (m *MsgRevokePermission) GetPermission() string

func (MsgRevokePermission) GetSignBytes

func (m MsgRevokePermission) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgRevokePermission) GetSigners

func (m MsgRevokePermission) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgRevokePermission) Marshal

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

func (*MsgRevokePermission) MarshalTo

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

func (*MsgRevokePermission) MarshalToSizedBuffer

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

func (*MsgRevokePermission) ProtoMessage

func (*MsgRevokePermission) ProtoMessage()

func (*MsgRevokePermission) Reset

func (m *MsgRevokePermission) Reset()

func (MsgRevokePermission) Route

func (m MsgRevokePermission) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgRevokePermission) Size

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

func (*MsgRevokePermission) String

func (m *MsgRevokePermission) String() string

func (MsgRevokePermission) Type

func (m MsgRevokePermission) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgRevokePermission) Unmarshal

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

func (MsgRevokePermission) ValidateBasic

func (m MsgRevokePermission) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgRevokePermission) XXX_DiscardUnknown

func (m *MsgRevokePermission) XXX_DiscardUnknown()

func (*MsgRevokePermission) XXX_Marshal

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

func (*MsgRevokePermission) XXX_Merge

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

func (*MsgRevokePermission) XXX_Size

func (m *MsgRevokePermission) XXX_Size() int

func (*MsgRevokePermission) XXX_Unmarshal

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

type MsgRevokePermissionResponse

type MsgRevokePermissionResponse struct {
}

MsgRevokePermissionResponse is the Msg/RevokePermission response type.

func (*MsgRevokePermissionResponse) Descriptor

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

func (*MsgRevokePermissionResponse) Marshal

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

func (*MsgRevokePermissionResponse) MarshalTo

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

func (*MsgRevokePermissionResponse) MarshalToSizedBuffer

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

func (*MsgRevokePermissionResponse) ProtoMessage

func (*MsgRevokePermissionResponse) ProtoMessage()

func (*MsgRevokePermissionResponse) Reset

func (m *MsgRevokePermissionResponse) Reset()

func (*MsgRevokePermissionResponse) Size

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

func (*MsgRevokePermissionResponse) String

func (m *MsgRevokePermissionResponse) String() string

func (*MsgRevokePermissionResponse) Unmarshal

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

func (*MsgRevokePermissionResponse) XXX_DiscardUnknown

func (m *MsgRevokePermissionResponse) XXX_DiscardUnknown()

func (*MsgRevokePermissionResponse) XXX_Marshal

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

func (*MsgRevokePermissionResponse) XXX_Merge

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

func (*MsgRevokePermissionResponse) XXX_Size

func (m *MsgRevokePermissionResponse) XXX_Size() int

func (*MsgRevokePermissionResponse) XXX_Unmarshal

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

type MsgSendFT

type MsgSendFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// the address which the transfer is from.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// the address which the transfer is to.
	To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	// the amount of the transfer.
	// Note: amount may be empty.
	Amount []Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount"`
}

MsgSendFT is the Msg/SendFT request type.

func (*MsgSendFT) Descriptor

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

func (*MsgSendFT) GetAmount

func (m *MsgSendFT) GetAmount() []Coin

func (*MsgSendFT) GetContractId

func (m *MsgSendFT) GetContractId() string

func (*MsgSendFT) GetFrom

func (m *MsgSendFT) GetFrom() string

func (MsgSendFT) GetSignBytes

func (m MsgSendFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgSendFT) GetSigners

func (m MsgSendFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgSendFT) GetTo

func (m *MsgSendFT) GetTo() string

func (*MsgSendFT) Marshal

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

func (*MsgSendFT) MarshalTo

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

func (*MsgSendFT) MarshalToSizedBuffer

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

func (*MsgSendFT) ProtoMessage

func (*MsgSendFT) ProtoMessage()

func (*MsgSendFT) Reset

func (m *MsgSendFT) Reset()

func (MsgSendFT) Route

func (m MsgSendFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgSendFT) Size

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

func (*MsgSendFT) String

func (m *MsgSendFT) String() string

func (MsgSendFT) Type

func (m MsgSendFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgSendFT) Unmarshal

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

func (MsgSendFT) ValidateBasic

func (m MsgSendFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgSendFT) XXX_DiscardUnknown

func (m *MsgSendFT) XXX_DiscardUnknown()

func (*MsgSendFT) XXX_Marshal

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

func (*MsgSendFT) XXX_Merge

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

func (*MsgSendFT) XXX_Size

func (m *MsgSendFT) XXX_Size() int

func (*MsgSendFT) XXX_Unmarshal

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

type MsgSendFTResponse

type MsgSendFTResponse struct {
}

MsgSendFTResponse is the Msg/SendFT response type.

func (*MsgSendFTResponse) Descriptor

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

func (*MsgSendFTResponse) Marshal

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

func (*MsgSendFTResponse) MarshalTo

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

func (*MsgSendFTResponse) MarshalToSizedBuffer

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

func (*MsgSendFTResponse) ProtoMessage

func (*MsgSendFTResponse) ProtoMessage()

func (*MsgSendFTResponse) Reset

func (m *MsgSendFTResponse) Reset()

func (*MsgSendFTResponse) Size

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

func (*MsgSendFTResponse) String

func (m *MsgSendFTResponse) String() string

func (*MsgSendFTResponse) Unmarshal

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

func (*MsgSendFTResponse) XXX_DiscardUnknown

func (m *MsgSendFTResponse) XXX_DiscardUnknown()

func (*MsgSendFTResponse) XXX_Marshal

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

func (*MsgSendFTResponse) XXX_Merge

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

func (*MsgSendFTResponse) XXX_Size

func (m *MsgSendFTResponse) XXX_Size() int

func (*MsgSendFTResponse) XXX_Unmarshal

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

type MsgSendNFT

type MsgSendNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// the address which the transfer is from.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// the address which the transfer is to.
	To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	// the token ids to transfer.
	TokenIds []string `protobuf:"bytes,4,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
}

MsgSendNFT is the Msg/SendNFT request type.

func (*MsgSendNFT) Descriptor

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

func (*MsgSendNFT) GetContractId

func (m *MsgSendNFT) GetContractId() string

func (*MsgSendNFT) GetFrom

func (m *MsgSendNFT) GetFrom() string

func (MsgSendNFT) GetSignBytes

func (m MsgSendNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgSendNFT) GetSigners

func (m MsgSendNFT) GetSigners() []sdk.AccAddress

GetSigners implements Msg

func (*MsgSendNFT) GetTo

func (m *MsgSendNFT) GetTo() string

func (*MsgSendNFT) GetTokenIds

func (m *MsgSendNFT) GetTokenIds() []string

func (*MsgSendNFT) Marshal

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

func (*MsgSendNFT) MarshalTo

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

func (*MsgSendNFT) MarshalToSizedBuffer

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

func (*MsgSendNFT) ProtoMessage

func (*MsgSendNFT) ProtoMessage()

func (*MsgSendNFT) Reset

func (m *MsgSendNFT) Reset()

func (MsgSendNFT) Route

func (m MsgSendNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgSendNFT) Size

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

func (*MsgSendNFT) String

func (m *MsgSendNFT) String() string

func (MsgSendNFT) Type

func (m MsgSendNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgSendNFT) Unmarshal

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

func (MsgSendNFT) ValidateBasic

func (m MsgSendNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgSendNFT) XXX_DiscardUnknown

func (m *MsgSendNFT) XXX_DiscardUnknown()

func (*MsgSendNFT) XXX_Marshal

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

func (*MsgSendNFT) XXX_Merge

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

func (*MsgSendNFT) XXX_Size

func (m *MsgSendNFT) XXX_Size() int

func (*MsgSendNFT) XXX_Unmarshal

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

type MsgSendNFTResponse

type MsgSendNFTResponse struct {
}

MsgSendNFTResponse is the Msg/SendNFT response type.

func (*MsgSendNFTResponse) Descriptor

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

func (*MsgSendNFTResponse) Marshal

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

func (*MsgSendNFTResponse) MarshalTo

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

func (*MsgSendNFTResponse) MarshalToSizedBuffer

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

func (*MsgSendNFTResponse) ProtoMessage

func (*MsgSendNFTResponse) ProtoMessage()

func (*MsgSendNFTResponse) Reset

func (m *MsgSendNFTResponse) Reset()

func (*MsgSendNFTResponse) Size

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

func (*MsgSendNFTResponse) String

func (m *MsgSendNFTResponse) String() string

func (*MsgSendNFTResponse) Unmarshal

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

func (*MsgSendNFTResponse) XXX_DiscardUnknown

func (m *MsgSendNFTResponse) XXX_DiscardUnknown()

func (*MsgSendNFTResponse) XXX_Marshal

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

func (*MsgSendNFTResponse) XXX_Merge

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

func (*MsgSendNFTResponse) XXX_Size

func (m *MsgSendNFTResponse) XXX_Size() int

func (*MsgSendNFTResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// SendFT defines a method to send fungible tokens from one account to another account.
	// Fires:
	// - EventSent
	// - transfer_ft (deprecated, not typed)
	SendFT(context.Context, *MsgSendFT) (*MsgSendFTResponse, error)
	// OperatorSendFT defines a method to send fungible tokens from one account to another account by the operator.
	// Fires:
	// - EventSent
	// - transfer_ft_from (deprecated, not typed)
	OperatorSendFT(context.Context, *MsgOperatorSendFT) (*MsgOperatorSendFTResponse, error)
	// SendNFT defines a method to send non-fungible tokens from one account to another account.
	// Fires:
	// - EventSent
	// - transfer_nft (deprecated, not typed)
	// - operation_transfer_nft (deprecated, not typed)
	SendNFT(context.Context, *MsgSendNFT) (*MsgSendNFTResponse, error)
	// OperatorSendNFT defines a method to send non-fungible tokens from one account to another account by the operator.
	// Fires:
	// - EventSent
	// - transfer_nft_from (deprecated, not typed)
	// - operation_transfer_nft (deprecated, not typed)
	OperatorSendNFT(context.Context, *MsgOperatorSendNFT) (*MsgOperatorSendNFTResponse, error)
	// AuthorizeOperator allows one to send tokens on behalf of the holder.
	// Fires:
	// - EventAuthorizedOperator
	// - approve_collection (deprecated, not typed)
	AuthorizeOperator(context.Context, *MsgAuthorizeOperator) (*MsgAuthorizeOperatorResponse, error)
	// RevokeOperator revokes the authorization of the operator to send the holder's token.
	// Fires:
	// - EventRevokedOperator
	// - disapprove_collection (deprecated, not typed)
	RevokeOperator(context.Context, *MsgRevokeOperator) (*MsgRevokeOperatorResponse, error)
	// CreateContract defines a method to create a contract for collection.
	// it grants `mint`, `burn`, `modify` and `issue` permissions on the contract to its creator.
	// Fires:
	// - EventCreatedContract
	// - create_collection (deprecated, not typed)
	CreateContract(context.Context, *MsgCreateContract) (*MsgCreateContractResponse, error)
	// IssueFT defines a method to create a class of fungible token.
	// Fires:
	// - EventCreatedFTClass
	// - EventMintedFT
	// - issue_ft (deprecated, not typed)
	// Note: it does not grant any permissions to its issuer.
	IssueFT(context.Context, *MsgIssueFT) (*MsgIssueFTResponse, error)
	// IssueNFT defines a method to create a class of non-fungible token.
	// Fires:
	// - EventCreatedNFTClass
	// - issue_nft (deprecated, not typed)
	// Note: it DOES grant `mint` and `burn` permissions to its issuer.
	IssueNFT(context.Context, *MsgIssueNFT) (*MsgIssueNFTResponse, error)
	// MintFT defines a method to mint fungible tokens.
	// Fires:
	// - EventMintedFT
	// - mint_ft (deprecated, not typed)
	MintFT(context.Context, *MsgMintFT) (*MsgMintFTResponse, error)
	// MintNFT defines a method to mint non-fungible tokens.
	// Fires:
	// - EventMintedNFT
	// - mint_nft (deprecated, not typed)
	MintNFT(context.Context, *MsgMintNFT) (*MsgMintNFTResponse, error)
	// BurnFT defines a method to burn fungible tokens.
	// Fires:
	// - EventBurned
	// - burn_ft (deprecated, not typed)
	// - burn_nft (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	BurnFT(context.Context, *MsgBurnFT) (*MsgBurnFTResponse, error)
	// OperatorBurnFT defines a method to burn fungible tokens of the holder by the operator.
	// Fires:
	// - EventBurned
	// - burn_ft_from (deprecated, not typed)
	// - burn_nft_from (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	OperatorBurnFT(context.Context, *MsgOperatorBurnFT) (*MsgOperatorBurnFTResponse, error)
	// BurnNFT defines a method to burn non-fungible tokens.
	// Fires:
	// - EventBurned
	// - burn_ft (deprecated, not typed)
	// - burn_nft (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error)
	// OperatorBurnNFT defines a method to burn non-fungible tokens of the holder by the operator.
	// Fires:
	// - EventBurned
	// - burn_ft_from (deprecated, not typed)
	// - burn_nft_from (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	OperatorBurnNFT(context.Context, *MsgOperatorBurnNFT) (*MsgOperatorBurnNFTResponse, error)
	// Modify defines a method to modify metadata.
	// Fires:
	// - EventModifiedContract
	// - modify_collection (deprecated, not typed)
	// - EventModifiedTokenClass
	// - modify_token_type (deprecated, not typed)
	// - modify_token (deprecated, not typed)
	// - EventModifiedNFT
	Modify(context.Context, *MsgModify) (*MsgModifyResponse, error)
	// GrantPermission allows one to mint or burn tokens or modify metadata.
	// Fires:
	// - EventGranted
	// - grant_perm (deprecated, not typed)
	GrantPermission(context.Context, *MsgGrantPermission) (*MsgGrantPermissionResponse, error)
	// RevokePermission abandons a permission.
	// Fires:
	// - EventRenounced
	// - revoke_perm (deprecated, not typed)
	RevokePermission(context.Context, *MsgRevokePermission) (*MsgRevokePermissionResponse, error)
	// Attach defines a method to attach a token to another token.
	// Fires:
	// - EventAttach
	// - attach (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	Attach(context.Context, *MsgAttach) (*MsgAttachResponse, error)
	// Detach defines a method to detach a token from another token.
	// Fires:
	// - EventDetach
	// - detach (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	Detach(context.Context, *MsgDetach) (*MsgDetachResponse, error)
	// OperatorAttach defines a method to attach a token to another token by operator.
	// Fires:
	// - EventAttach
	// - attach_from (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	OperatorAttach(context.Context, *MsgOperatorAttach) (*MsgOperatorAttachResponse, error)
	// OperatorDetach defines a method to detach a token from another token by operator.
	// Fires:
	// - EventDetach
	// - detach_from (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	OperatorDetach(context.Context, *MsgOperatorDetach) (*MsgOperatorDetachResponse, error)
}

MsgServer is the server API for Msg service.

type NFT

type NFT struct {
	// token id defines the unique identifier of the token.
	TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// name defines the human-readable name of the token.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
}

NFT defines the information of non-fungible token.

Since: 0.46.0 (finschia)

func (*NFT) Descriptor

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

func (*NFT) Marshal

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

func (*NFT) MarshalTo

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

func (*NFT) MarshalToSizedBuffer

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

func (*NFT) ProtoMessage

func (*NFT) ProtoMessage()

func (*NFT) Reset

func (m *NFT) Reset()

func (*NFT) Size

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

func (*NFT) String

func (m *NFT) String() string

func (*NFT) Unmarshal

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

func (*NFT) XXX_DiscardUnknown

func (m *NFT) XXX_DiscardUnknown()

func (*NFT) XXX_Marshal

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

func (*NFT) XXX_Merge

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

func (*NFT) XXX_Size

func (m *NFT) XXX_Size() int

func (*NFT) XXX_Unmarshal

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

type NFTClass

type NFTClass struct {
	// id defines the unique identifier of the token class.
	// Note: size of the class id is 8 in length.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name defines the human-readable name of the token class.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token class.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
}

NFTClass defines the class of non-fungible token.

Since: 0.46.0 (finschia)

func (*NFTClass) Descriptor

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

func (*NFTClass) GetId

func (m *NFTClass) GetId() string

func (*NFTClass) GetMeta

func (m *NFTClass) GetMeta() string

func (*NFTClass) GetName

func (m *NFTClass) GetName() string

func (*NFTClass) Marshal

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

func (*NFTClass) MarshalTo

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

func (*NFTClass) MarshalToSizedBuffer

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

func (*NFTClass) ProtoMessage

func (*NFTClass) ProtoMessage()

func (*NFTClass) Reset

func (m *NFTClass) Reset()

func (*NFTClass) SetId

func (c *NFTClass) SetId(ids *NextClassIDs)

func (*NFTClass) SetMeta

func (c *NFTClass) SetMeta(meta string)

func (*NFTClass) SetName

func (c *NFTClass) SetName(name string)

func (*NFTClass) Size

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

func (*NFTClass) String

func (m *NFTClass) String() string

func (*NFTClass) Unmarshal

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

func (NFTClass) ValidateBasic

func (c NFTClass) ValidateBasic() error

func (*NFTClass) XXX_DiscardUnknown

func (m *NFTClass) XXX_DiscardUnknown()

func (*NFTClass) XXX_Marshal

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

func (*NFTClass) XXX_Merge

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

func (*NFTClass) XXX_Size

func (m *NFTClass) XXX_Size() int

func (*NFTClass) XXX_Unmarshal

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

type NextClassIDs

type NextClassIDs struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// id for the fungible tokens.
	Fungible github_com_Finschia_finschia_sdk_types.Uint `protobuf:"bytes,2,opt,name=fungible,proto3,customtype=github.com/Finschia/finschia-sdk/types.Uint" json:"fungible"`
	// id for the non-fungible tokens.
	NonFungible github_com_Finschia_finschia_sdk_types.Uint `` /* 139-byte string literal not displayed */
}

NextClassIDs defines the next class ids of the contract.

func DefaultNextClassIDs

func DefaultNextClassIDs(contractID string) NextClassIDs

func (*NextClassIDs) Descriptor

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

func (*NextClassIDs) GetContractId

func (m *NextClassIDs) GetContractId() string

func (*NextClassIDs) Marshal

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

func (*NextClassIDs) MarshalTo

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

func (*NextClassIDs) MarshalToSizedBuffer

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

func (*NextClassIDs) ProtoMessage

func (*NextClassIDs) ProtoMessage()

func (*NextClassIDs) Reset

func (m *NextClassIDs) Reset()

func (*NextClassIDs) Size

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

func (*NextClassIDs) String

func (m *NextClassIDs) String() string

func (*NextClassIDs) Unmarshal

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

func (*NextClassIDs) XXX_DiscardUnknown

func (m *NextClassIDs) XXX_DiscardUnknown()

func (*NextClassIDs) XXX_Marshal

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

func (*NextClassIDs) XXX_Merge

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

func (*NextClassIDs) XXX_Size

func (m *NextClassIDs) XXX_Size() int

func (*NextClassIDs) XXX_Unmarshal

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

type NextTokenID

type NextTokenID struct {
	// class id associated with the token class.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// id for the token.
	Id github_com_Finschia_finschia_sdk_types.Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=github.com/Finschia/finschia-sdk/types.Uint" json:"id"`
}

NextTokenID defines the next (non-fungible) token id of the token class.

func (*NextTokenID) Descriptor

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

func (*NextTokenID) GetClassId

func (m *NextTokenID) GetClassId() string

func (*NextTokenID) Marshal

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

func (*NextTokenID) MarshalTo

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

func (*NextTokenID) MarshalToSizedBuffer

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

func (*NextTokenID) ProtoMessage

func (*NextTokenID) ProtoMessage()

func (*NextTokenID) Reset

func (m *NextTokenID) Reset()

func (*NextTokenID) Size

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

func (*NextTokenID) String

func (m *NextTokenID) String() string

func (*NextTokenID) Unmarshal

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

func (*NextTokenID) XXX_DiscardUnknown

func (m *NextTokenID) XXX_DiscardUnknown()

func (*NextTokenID) XXX_Marshal

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

func (*NextTokenID) XXX_Merge

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

func (*NextTokenID) XXX_Size

func (m *NextTokenID) XXX_Size() int

func (*NextTokenID) XXX_Unmarshal

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

type OwnerNFT deprecated

type OwnerNFT struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// id defines the unique identifier of the token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// name defines the human-readable name of the token.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token.
	Meta string `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
	// owner of the token.
	Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
}

Deprecated: use NFT

OwnerNFT defines the information of non-fungible token.

func (*OwnerNFT) Descriptor

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

func (*OwnerNFT) Marshal

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

func (*OwnerNFT) MarshalTo

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

func (*OwnerNFT) MarshalToSizedBuffer

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

func (*OwnerNFT) ProtoMessage

func (*OwnerNFT) ProtoMessage()

func (*OwnerNFT) Reset

func (m *OwnerNFT) Reset()

func (*OwnerNFT) Size

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

func (*OwnerNFT) String

func (m *OwnerNFT) String() string

func (*OwnerNFT) Unmarshal

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

func (*OwnerNFT) XXX_DiscardUnknown

func (m *OwnerNFT) XXX_DiscardUnknown()

func (*OwnerNFT) XXX_Marshal

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

func (*OwnerNFT) XXX_Merge

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

func (*OwnerNFT) XXX_Size

func (m *OwnerNFT) XXX_Size() int

func (*OwnerNFT) XXX_Unmarshal

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

type Params

type Params struct {
	DepthLimit uint32 `protobuf:"varint,1,opt,name=depth_limit,json=depthLimit,proto3" json:"depth_limit,omitempty"`
	WidthLimit uint32 `protobuf:"varint,2,opt,name=width_limit,json=widthLimit,proto3" json:"width_limit,omitempty"`
}

Params defines the parameters for the collection module.

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

type Permission int32

Permission enumerates the valid permissions on a contract.

const (
	// unspecified defines the default permission which is invalid.
	PermissionUnspecified Permission = 0
	// PERMISSION_ISSUE defines a permission to create a token class.
	PermissionIssue Permission = 1
	// PERMISSION_MODIFY defines a permission to modify a contract.
	PermissionModify Permission = 2
	// PERMISSION_MINT defines a permission to mint tokens of a contract.
	PermissionMint Permission = 3
	// PERMISSION_BURN defines a permission to burn tokens of a contract.
	PermissionBurn Permission = 4
)

func (Permission) EnumDescriptor

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

func (Permission) String

func (x Permission) String() string

type QueryAllBalancesRequest

type QueryAllBalancesRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address is the address to query the balances for.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllBalancesRequest is the request type for the Query/AllBalances RPC method.

func (*QueryAllBalancesRequest) Descriptor

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

func (*QueryAllBalancesRequest) GetAddress

func (m *QueryAllBalancesRequest) GetAddress() string

func (*QueryAllBalancesRequest) GetContractId

func (m *QueryAllBalancesRequest) GetContractId() string

func (*QueryAllBalancesRequest) GetPagination

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

func (*QueryAllBalancesRequest) Marshal

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

func (*QueryAllBalancesRequest) MarshalTo

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

func (*QueryAllBalancesRequest) MarshalToSizedBuffer

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

func (*QueryAllBalancesRequest) ProtoMessage

func (*QueryAllBalancesRequest) ProtoMessage()

func (*QueryAllBalancesRequest) Reset

func (m *QueryAllBalancesRequest) Reset()

func (*QueryAllBalancesRequest) Size

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

func (*QueryAllBalancesRequest) String

func (m *QueryAllBalancesRequest) String() string

func (*QueryAllBalancesRequest) Unmarshal

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

func (*QueryAllBalancesRequest) XXX_DiscardUnknown

func (m *QueryAllBalancesRequest) XXX_DiscardUnknown()

func (*QueryAllBalancesRequest) XXX_Marshal

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

func (*QueryAllBalancesRequest) XXX_Merge

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

func (*QueryAllBalancesRequest) XXX_Size

func (m *QueryAllBalancesRequest) XXX_Size() int

func (*QueryAllBalancesRequest) XXX_Unmarshal

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

type QueryAllBalancesResponse

type QueryAllBalancesResponse struct {
	// balances is the balalces of all the tokens.
	Balances []Coin `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.

func (*QueryAllBalancesResponse) Descriptor

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

func (*QueryAllBalancesResponse) GetBalances

func (m *QueryAllBalancesResponse) GetBalances() []Coin

func (*QueryAllBalancesResponse) GetPagination

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

func (*QueryAllBalancesResponse) Marshal

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

func (*QueryAllBalancesResponse) MarshalTo

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

func (*QueryAllBalancesResponse) MarshalToSizedBuffer

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

func (*QueryAllBalancesResponse) ProtoMessage

func (*QueryAllBalancesResponse) ProtoMessage()

func (*QueryAllBalancesResponse) Reset

func (m *QueryAllBalancesResponse) Reset()

func (*QueryAllBalancesResponse) Size

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

func (*QueryAllBalancesResponse) String

func (m *QueryAllBalancesResponse) String() string

func (*QueryAllBalancesResponse) Unmarshal

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

func (*QueryAllBalancesResponse) XXX_DiscardUnknown

func (m *QueryAllBalancesResponse) XXX_DiscardUnknown()

func (*QueryAllBalancesResponse) XXX_Marshal

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

func (*QueryAllBalancesResponse) XXX_Merge

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

func (*QueryAllBalancesResponse) XXX_Size

func (m *QueryAllBalancesResponse) XXX_Size() int

func (*QueryAllBalancesResponse) XXX_Unmarshal

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

type QueryBalanceRequest

type QueryBalanceRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address is the address to query the balance for.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// token id associated with the token.
	TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

QueryBalanceRequest is the request type for the Query/Balance RPC method.

func (*QueryBalanceRequest) Descriptor

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

func (*QueryBalanceRequest) GetAddress

func (m *QueryBalanceRequest) GetAddress() string

func (*QueryBalanceRequest) GetContractId

func (m *QueryBalanceRequest) GetContractId() string

func (*QueryBalanceRequest) GetTokenId

func (m *QueryBalanceRequest) GetTokenId() string

func (*QueryBalanceRequest) Marshal

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

func (*QueryBalanceRequest) MarshalTo

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

func (*QueryBalanceRequest) MarshalToSizedBuffer

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

func (*QueryBalanceRequest) ProtoMessage

func (*QueryBalanceRequest) ProtoMessage()

func (*QueryBalanceRequest) Reset

func (m *QueryBalanceRequest) Reset()

func (*QueryBalanceRequest) Size

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

func (*QueryBalanceRequest) String

func (m *QueryBalanceRequest) String() string

func (*QueryBalanceRequest) Unmarshal

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

func (*QueryBalanceRequest) XXX_DiscardUnknown

func (m *QueryBalanceRequest) XXX_DiscardUnknown()

func (*QueryBalanceRequest) XXX_Marshal

func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceRequest) XXX_Merge

func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)

func (*QueryBalanceRequest) XXX_Size

func (m *QueryBalanceRequest) XXX_Size() int

func (*QueryBalanceRequest) XXX_Unmarshal

func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error

type QueryBalanceResponse

type QueryBalanceResponse struct {
	// balance is the balance of the token.
	Balance Coin `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance"`
}

QueryBalanceResponse is the response type for the Query/Balance RPC method.

func (*QueryBalanceResponse) Descriptor

func (*QueryBalanceResponse) Descriptor() ([]byte, []int)

func (*QueryBalanceResponse) GetBalance

func (m *QueryBalanceResponse) GetBalance() Coin

func (*QueryBalanceResponse) Marshal

func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)

func (*QueryBalanceResponse) MarshalTo

func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceResponse) MarshalToSizedBuffer

func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceResponse) ProtoMessage

func (*QueryBalanceResponse) ProtoMessage()

func (*QueryBalanceResponse) Reset

func (m *QueryBalanceResponse) Reset()

func (*QueryBalanceResponse) Size

func (m *QueryBalanceResponse) Size() (n int)

func (*QueryBalanceResponse) String

func (m *QueryBalanceResponse) String() string

func (*QueryBalanceResponse) Unmarshal

func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error

func (*QueryBalanceResponse) XXX_DiscardUnknown

func (m *QueryBalanceResponse) XXX_DiscardUnknown()

func (*QueryBalanceResponse) XXX_Marshal

func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceResponse) XXX_Merge

func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)

func (*QueryBalanceResponse) XXX_Size

func (m *QueryBalanceResponse) XXX_Size() int

func (*QueryBalanceResponse) XXX_Unmarshal

func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error

type QueryChildrenRequest

type QueryChildrenRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated with the non-fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryChildrenRequest is the request type for the Query/Children RPC method.

func (*QueryChildrenRequest) Descriptor

func (*QueryChildrenRequest) Descriptor() ([]byte, []int)

func (*QueryChildrenRequest) GetContractId

func (m *QueryChildrenRequest) GetContractId() string

func (*QueryChildrenRequest) GetPagination

func (m *QueryChildrenRequest) GetPagination() *query.PageRequest

func (*QueryChildrenRequest) GetTokenId

func (m *QueryChildrenRequest) GetTokenId() string

func (*QueryChildrenRequest) Marshal

func (m *QueryChildrenRequest) Marshal() (dAtA []byte, err error)

func (*QueryChildrenRequest) MarshalTo

func (m *QueryChildrenRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryChildrenRequest) MarshalToSizedBuffer

func (m *QueryChildrenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChildrenRequest) ProtoMessage

func (*QueryChildrenRequest) ProtoMessage()

func (*QueryChildrenRequest) Reset

func (m *QueryChildrenRequest) Reset()

func (*QueryChildrenRequest) Size

func (m *QueryChildrenRequest) Size() (n int)

func (*QueryChildrenRequest) String

func (m *QueryChildrenRequest) String() string

func (*QueryChildrenRequest) Unmarshal

func (m *QueryChildrenRequest) Unmarshal(dAtA []byte) error

func (*QueryChildrenRequest) XXX_DiscardUnknown

func (m *QueryChildrenRequest) XXX_DiscardUnknown()

func (*QueryChildrenRequest) XXX_Marshal

func (m *QueryChildrenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChildrenRequest) XXX_Merge

func (m *QueryChildrenRequest) XXX_Merge(src proto.Message)

func (*QueryChildrenRequest) XXX_Size

func (m *QueryChildrenRequest) XXX_Size() int

func (*QueryChildrenRequest) XXX_Unmarshal

func (m *QueryChildrenRequest) XXX_Unmarshal(b []byte) error

type QueryChildrenResponse

type QueryChildrenResponse struct {
	// children is the information of the child tokens.
	Children []NFT `protobuf:"bytes,1,rep,name=children,proto3" json:"children"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryChildrenResponse is the response type for the Query/Children RPC method.

func (*QueryChildrenResponse) Descriptor

func (*QueryChildrenResponse) Descriptor() ([]byte, []int)

func (*QueryChildrenResponse) GetChildren

func (m *QueryChildrenResponse) GetChildren() []NFT

func (*QueryChildrenResponse) GetPagination

func (m *QueryChildrenResponse) GetPagination() *query.PageResponse

func (*QueryChildrenResponse) Marshal

func (m *QueryChildrenResponse) Marshal() (dAtA []byte, err error)

func (*QueryChildrenResponse) MarshalTo

func (m *QueryChildrenResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryChildrenResponse) MarshalToSizedBuffer

func (m *QueryChildrenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChildrenResponse) ProtoMessage

func (*QueryChildrenResponse) ProtoMessage()

func (*QueryChildrenResponse) Reset

func (m *QueryChildrenResponse) Reset()

func (*QueryChildrenResponse) Size

func (m *QueryChildrenResponse) Size() (n int)

func (*QueryChildrenResponse) String

func (m *QueryChildrenResponse) String() string

func (*QueryChildrenResponse) Unmarshal

func (m *QueryChildrenResponse) Unmarshal(dAtA []byte) error

func (*QueryChildrenResponse) XXX_DiscardUnknown

func (m *QueryChildrenResponse) XXX_DiscardUnknown()

func (*QueryChildrenResponse) XXX_Marshal

func (m *QueryChildrenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChildrenResponse) XXX_Merge

func (m *QueryChildrenResponse) XXX_Merge(src proto.Message)

func (*QueryChildrenResponse) XXX_Size

func (m *QueryChildrenResponse) XXX_Size() int

func (*QueryChildrenResponse) XXX_Unmarshal

func (m *QueryChildrenResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Balance queries the balance of a single token class for a single account.
	Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
	// AllBalances queries the balance of all token classes for a single account.
	AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error)
	// FTSupply queries the number of tokens from a given contract id and token id.
	FTSupply(ctx context.Context, in *QueryFTSupplyRequest, opts ...grpc.CallOption) (*QueryFTSupplyResponse, error)
	// FTMinted queries the number of minted tokens from a given contract id and token id.
	FTMinted(ctx context.Context, in *QueryFTMintedRequest, opts ...grpc.CallOption) (*QueryFTMintedResponse, error)
	// FTBurnt queries the number of burnt tokens from a given contract id and token id.
	FTBurnt(ctx context.Context, in *QueryFTBurntRequest, opts ...grpc.CallOption) (*QueryFTBurntResponse, error)
	// NFTSupply queries the number of tokens from a given contract id and token type.
	NFTSupply(ctx context.Context, in *QueryNFTSupplyRequest, opts ...grpc.CallOption) (*QueryNFTSupplyResponse, error)
	// NFTMinted queries the number of minted tokens from a given contract id and token type.
	NFTMinted(ctx context.Context, in *QueryNFTMintedRequest, opts ...grpc.CallOption) (*QueryNFTMintedResponse, error)
	// NFTBurnt queries the number of burnt tokens from a given contract id and token type.
	NFTBurnt(ctx context.Context, in *QueryNFTBurntRequest, opts ...grpc.CallOption) (*QueryNFTBurntResponse, error)
	// Contract queries a contract metadata based on its contract id.
	Contract(ctx context.Context, in *QueryContractRequest, opts ...grpc.CallOption) (*QueryContractResponse, error)
	// TokenClassTypeName queries the fully qualified message type name of a token class from its class id.
	//
	// Since: 0.46.0 (finschia)
	TokenClassTypeName(ctx context.Context, in *QueryTokenClassTypeNameRequest, opts ...grpc.CallOption) (*QueryTokenClassTypeNameResponse, error)
	// TokenType queries metadata of a token type.
	TokenType(ctx context.Context, in *QueryTokenTypeRequest, opts ...grpc.CallOption) (*QueryTokenTypeResponse, error)
	// Token queries a metadata of a token from its token id.
	Token(ctx context.Context, in *QueryTokenRequest, opts ...grpc.CallOption) (*QueryTokenResponse, error)
	// Root queries the root of a given nft.
	Root(ctx context.Context, in *QueryRootRequest, opts ...grpc.CallOption) (*QueryRootResponse, error)
	// HasParent queries whether a given nft has its parent.
	HasParent(ctx context.Context, in *QueryHasParentRequest, opts ...grpc.CallOption) (*QueryHasParentResponse, error)
	// Parent queries the parent of a given nft.
	Parent(ctx context.Context, in *QueryParentRequest, opts ...grpc.CallOption) (*QueryParentResponse, error)
	// Children queries the children of a given nft.
	Children(ctx context.Context, in *QueryChildrenRequest, opts ...grpc.CallOption) (*QueryChildrenResponse, error)
	// GranteeGrants queries all permissions on a given grantee.
	GranteeGrants(ctx context.Context, in *QueryGranteeGrantsRequest, opts ...grpc.CallOption) (*QueryGranteeGrantsResponse, error)
	// IsOperatorFor queries whether the operator is authorized by the holder.
	IsOperatorFor(ctx context.Context, in *QueryIsOperatorForRequest, opts ...grpc.CallOption) (*QueryIsOperatorForResponse, error)
	// HoldersByOperator queries holders of a given operator.
	HoldersByOperator(ctx context.Context, in *QueryHoldersByOperatorRequest, opts ...grpc.CallOption) (*QueryHoldersByOperatorResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryContractRequest

type QueryContractRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
}

QueryContractRequest is the request type for the Query/Contract RPC method.

func (*QueryContractRequest) Descriptor

func (*QueryContractRequest) Descriptor() ([]byte, []int)

func (*QueryContractRequest) GetContractId

func (m *QueryContractRequest) GetContractId() string

func (*QueryContractRequest) Marshal

func (m *QueryContractRequest) Marshal() (dAtA []byte, err error)

func (*QueryContractRequest) MarshalTo

func (m *QueryContractRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryContractRequest) MarshalToSizedBuffer

func (m *QueryContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryContractRequest) ProtoMessage

func (*QueryContractRequest) ProtoMessage()

func (*QueryContractRequest) Reset

func (m *QueryContractRequest) Reset()

func (*QueryContractRequest) Size

func (m *QueryContractRequest) Size() (n int)

func (*QueryContractRequest) String

func (m *QueryContractRequest) String() string

func (*QueryContractRequest) Unmarshal

func (m *QueryContractRequest) Unmarshal(dAtA []byte) error

func (*QueryContractRequest) XXX_DiscardUnknown

func (m *QueryContractRequest) XXX_DiscardUnknown()

func (*QueryContractRequest) XXX_Marshal

func (m *QueryContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryContractRequest) XXX_Merge

func (m *QueryContractRequest) XXX_Merge(src proto.Message)

func (*QueryContractRequest) XXX_Size

func (m *QueryContractRequest) XXX_Size() int

func (*QueryContractRequest) XXX_Unmarshal

func (m *QueryContractRequest) XXX_Unmarshal(b []byte) error

type QueryContractResponse

type QueryContractResponse struct {
	// contract is the information of the contract.
	Contract Contract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract"`
}

QueryContractResponse is the response type for the Query/Contract RPC method.

func (*QueryContractResponse) Descriptor

func (*QueryContractResponse) Descriptor() ([]byte, []int)

func (*QueryContractResponse) GetContract

func (m *QueryContractResponse) GetContract() Contract

func (*QueryContractResponse) Marshal

func (m *QueryContractResponse) Marshal() (dAtA []byte, err error)

func (*QueryContractResponse) MarshalTo

func (m *QueryContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryContractResponse) MarshalToSizedBuffer

func (m *QueryContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryContractResponse) ProtoMessage

func (*QueryContractResponse) ProtoMessage()

func (*QueryContractResponse) Reset

func (m *QueryContractResponse) Reset()

func (*QueryContractResponse) Size

func (m *QueryContractResponse) Size() (n int)

func (*QueryContractResponse) String

func (m *QueryContractResponse) String() string

func (*QueryContractResponse) Unmarshal

func (m *QueryContractResponse) Unmarshal(dAtA []byte) error

func (*QueryContractResponse) XXX_DiscardUnknown

func (m *QueryContractResponse) XXX_DiscardUnknown()

func (*QueryContractResponse) XXX_Marshal

func (m *QueryContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryContractResponse) XXX_Merge

func (m *QueryContractResponse) XXX_Merge(src proto.Message)

func (*QueryContractResponse) XXX_Size

func (m *QueryContractResponse) XXX_Size() int

func (*QueryContractResponse) XXX_Unmarshal

func (m *QueryContractResponse) XXX_Unmarshal(b []byte) error

type QueryFTBurntRequest

type QueryFTBurntRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated with the fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

QueryFTBurntRequest is the request type for the Query/FTBurnt RPC method.

func (*QueryFTBurntRequest) Descriptor

func (*QueryFTBurntRequest) Descriptor() ([]byte, []int)

func (*QueryFTBurntRequest) GetContractId

func (m *QueryFTBurntRequest) GetContractId() string

func (*QueryFTBurntRequest) GetTokenId

func (m *QueryFTBurntRequest) GetTokenId() string

func (*QueryFTBurntRequest) Marshal

func (m *QueryFTBurntRequest) Marshal() (dAtA []byte, err error)

func (*QueryFTBurntRequest) MarshalTo

func (m *QueryFTBurntRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTBurntRequest) MarshalToSizedBuffer

func (m *QueryFTBurntRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTBurntRequest) ProtoMessage

func (*QueryFTBurntRequest) ProtoMessage()

func (*QueryFTBurntRequest) Reset

func (m *QueryFTBurntRequest) Reset()

func (*QueryFTBurntRequest) Size

func (m *QueryFTBurntRequest) Size() (n int)

func (*QueryFTBurntRequest) String

func (m *QueryFTBurntRequest) String() string

func (*QueryFTBurntRequest) Unmarshal

func (m *QueryFTBurntRequest) Unmarshal(dAtA []byte) error

func (*QueryFTBurntRequest) XXX_DiscardUnknown

func (m *QueryFTBurntRequest) XXX_DiscardUnknown()

func (*QueryFTBurntRequest) XXX_Marshal

func (m *QueryFTBurntRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTBurntRequest) XXX_Merge

func (m *QueryFTBurntRequest) XXX_Merge(src proto.Message)

func (*QueryFTBurntRequest) XXX_Size

func (m *QueryFTBurntRequest) XXX_Size() int

func (*QueryFTBurntRequest) XXX_Unmarshal

func (m *QueryFTBurntRequest) XXX_Unmarshal(b []byte) error

type QueryFTBurntResponse

type QueryFTBurntResponse struct {
	// burnt is the amount of the burnt tokens.
	Burnt github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,1,opt,name=burnt,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"burnt"`
}

QueryFTBurntResponse is the response type for the Query/FTBurnt RPC method.

func (*QueryFTBurntResponse) Descriptor

func (*QueryFTBurntResponse) Descriptor() ([]byte, []int)

func (*QueryFTBurntResponse) Marshal

func (m *QueryFTBurntResponse) Marshal() (dAtA []byte, err error)

func (*QueryFTBurntResponse) MarshalTo

func (m *QueryFTBurntResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTBurntResponse) MarshalToSizedBuffer

func (m *QueryFTBurntResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTBurntResponse) ProtoMessage

func (*QueryFTBurntResponse) ProtoMessage()

func (*QueryFTBurntResponse) Reset

func (m *QueryFTBurntResponse) Reset()

func (*QueryFTBurntResponse) Size

func (m *QueryFTBurntResponse) Size() (n int)

func (*QueryFTBurntResponse) String

func (m *QueryFTBurntResponse) String() string

func (*QueryFTBurntResponse) Unmarshal

func (m *QueryFTBurntResponse) Unmarshal(dAtA []byte) error

func (*QueryFTBurntResponse) XXX_DiscardUnknown

func (m *QueryFTBurntResponse) XXX_DiscardUnknown()

func (*QueryFTBurntResponse) XXX_Marshal

func (m *QueryFTBurntResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTBurntResponse) XXX_Merge

func (m *QueryFTBurntResponse) XXX_Merge(src proto.Message)

func (*QueryFTBurntResponse) XXX_Size

func (m *QueryFTBurntResponse) XXX_Size() int

func (*QueryFTBurntResponse) XXX_Unmarshal

func (m *QueryFTBurntResponse) XXX_Unmarshal(b []byte) error

type QueryFTMintedRequest

type QueryFTMintedRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated with the fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

QueryFTMintedRequest is the request type for the Query/FTMinted RPC method.

func (*QueryFTMintedRequest) Descriptor

func (*QueryFTMintedRequest) Descriptor() ([]byte, []int)

func (*QueryFTMintedRequest) GetContractId

func (m *QueryFTMintedRequest) GetContractId() string

func (*QueryFTMintedRequest) GetTokenId

func (m *QueryFTMintedRequest) GetTokenId() string

func (*QueryFTMintedRequest) Marshal

func (m *QueryFTMintedRequest) Marshal() (dAtA []byte, err error)

func (*QueryFTMintedRequest) MarshalTo

func (m *QueryFTMintedRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTMintedRequest) MarshalToSizedBuffer

func (m *QueryFTMintedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTMintedRequest) ProtoMessage

func (*QueryFTMintedRequest) ProtoMessage()

func (*QueryFTMintedRequest) Reset

func (m *QueryFTMintedRequest) Reset()

func (*QueryFTMintedRequest) Size

func (m *QueryFTMintedRequest) Size() (n int)

func (*QueryFTMintedRequest) String

func (m *QueryFTMintedRequest) String() string

func (*QueryFTMintedRequest) Unmarshal

func (m *QueryFTMintedRequest) Unmarshal(dAtA []byte) error

func (*QueryFTMintedRequest) XXX_DiscardUnknown

func (m *QueryFTMintedRequest) XXX_DiscardUnknown()

func (*QueryFTMintedRequest) XXX_Marshal

func (m *QueryFTMintedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTMintedRequest) XXX_Merge

func (m *QueryFTMintedRequest) XXX_Merge(src proto.Message)

func (*QueryFTMintedRequest) XXX_Size

func (m *QueryFTMintedRequest) XXX_Size() int

func (*QueryFTMintedRequest) XXX_Unmarshal

func (m *QueryFTMintedRequest) XXX_Unmarshal(b []byte) error

type QueryFTMintedResponse

type QueryFTMintedResponse struct {
	// minted is the amount of the minted tokens.
	Minted github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,1,opt,name=minted,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"minted"`
}

QueryFTMintedResponse is the response type for the Query/FTMinted RPC method.

func (*QueryFTMintedResponse) Descriptor

func (*QueryFTMintedResponse) Descriptor() ([]byte, []int)

func (*QueryFTMintedResponse) Marshal

func (m *QueryFTMintedResponse) Marshal() (dAtA []byte, err error)

func (*QueryFTMintedResponse) MarshalTo

func (m *QueryFTMintedResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTMintedResponse) MarshalToSizedBuffer

func (m *QueryFTMintedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTMintedResponse) ProtoMessage

func (*QueryFTMintedResponse) ProtoMessage()

func (*QueryFTMintedResponse) Reset

func (m *QueryFTMintedResponse) Reset()

func (*QueryFTMintedResponse) Size

func (m *QueryFTMintedResponse) Size() (n int)

func (*QueryFTMintedResponse) String

func (m *QueryFTMintedResponse) String() string

func (*QueryFTMintedResponse) Unmarshal

func (m *QueryFTMintedResponse) Unmarshal(dAtA []byte) error

func (*QueryFTMintedResponse) XXX_DiscardUnknown

func (m *QueryFTMintedResponse) XXX_DiscardUnknown()

func (*QueryFTMintedResponse) XXX_Marshal

func (m *QueryFTMintedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTMintedResponse) XXX_Merge

func (m *QueryFTMintedResponse) XXX_Merge(src proto.Message)

func (*QueryFTMintedResponse) XXX_Size

func (m *QueryFTMintedResponse) XXX_Size() int

func (*QueryFTMintedResponse) XXX_Unmarshal

func (m *QueryFTMintedResponse) XXX_Unmarshal(b []byte) error

type QueryFTSupplyRequest

type QueryFTSupplyRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated with the fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

QueryFTSupplyRequest is the request type for the Query/FTSupply RPC method.

func (*QueryFTSupplyRequest) Descriptor

func (*QueryFTSupplyRequest) Descriptor() ([]byte, []int)

func (*QueryFTSupplyRequest) GetContractId

func (m *QueryFTSupplyRequest) GetContractId() string

func (*QueryFTSupplyRequest) GetTokenId

func (m *QueryFTSupplyRequest) GetTokenId() string

func (*QueryFTSupplyRequest) Marshal

func (m *QueryFTSupplyRequest) Marshal() (dAtA []byte, err error)

func (*QueryFTSupplyRequest) MarshalTo

func (m *QueryFTSupplyRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTSupplyRequest) MarshalToSizedBuffer

func (m *QueryFTSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTSupplyRequest) ProtoMessage

func (*QueryFTSupplyRequest) ProtoMessage()

func (*QueryFTSupplyRequest) Reset

func (m *QueryFTSupplyRequest) Reset()

func (*QueryFTSupplyRequest) Size

func (m *QueryFTSupplyRequest) Size() (n int)

func (*QueryFTSupplyRequest) String

func (m *QueryFTSupplyRequest) String() string

func (*QueryFTSupplyRequest) Unmarshal

func (m *QueryFTSupplyRequest) Unmarshal(dAtA []byte) error

func (*QueryFTSupplyRequest) XXX_DiscardUnknown

func (m *QueryFTSupplyRequest) XXX_DiscardUnknown()

func (*QueryFTSupplyRequest) XXX_Marshal

func (m *QueryFTSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTSupplyRequest) XXX_Merge

func (m *QueryFTSupplyRequest) XXX_Merge(src proto.Message)

func (*QueryFTSupplyRequest) XXX_Size

func (m *QueryFTSupplyRequest) XXX_Size() int

func (*QueryFTSupplyRequest) XXX_Unmarshal

func (m *QueryFTSupplyRequest) XXX_Unmarshal(b []byte) error

type QueryFTSupplyResponse

type QueryFTSupplyResponse struct {
	// supply is the supply of the tokens.
	Supply github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,1,opt,name=supply,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"supply"`
}

QueryFTSupplyResponse is the response type for the Query/FTSupply RPC method.

func (*QueryFTSupplyResponse) Descriptor

func (*QueryFTSupplyResponse) Descriptor() ([]byte, []int)

func (*QueryFTSupplyResponse) Marshal

func (m *QueryFTSupplyResponse) Marshal() (dAtA []byte, err error)

func (*QueryFTSupplyResponse) MarshalTo

func (m *QueryFTSupplyResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTSupplyResponse) MarshalToSizedBuffer

func (m *QueryFTSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTSupplyResponse) ProtoMessage

func (*QueryFTSupplyResponse) ProtoMessage()

func (*QueryFTSupplyResponse) Reset

func (m *QueryFTSupplyResponse) Reset()

func (*QueryFTSupplyResponse) Size

func (m *QueryFTSupplyResponse) Size() (n int)

func (*QueryFTSupplyResponse) String

func (m *QueryFTSupplyResponse) String() string

func (*QueryFTSupplyResponse) Unmarshal

func (m *QueryFTSupplyResponse) Unmarshal(dAtA []byte) error

func (*QueryFTSupplyResponse) XXX_DiscardUnknown

func (m *QueryFTSupplyResponse) XXX_DiscardUnknown()

func (*QueryFTSupplyResponse) XXX_Marshal

func (m *QueryFTSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTSupplyResponse) XXX_Merge

func (m *QueryFTSupplyResponse) XXX_Merge(src proto.Message)

func (*QueryFTSupplyResponse) XXX_Size

func (m *QueryFTSupplyResponse) XXX_Size() int

func (*QueryFTSupplyResponse) XXX_Unmarshal

func (m *QueryFTSupplyResponse) XXX_Unmarshal(b []byte) error

type QueryGranteeGrantsRequest

type QueryGranteeGrantsRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// the address of the grantee.
	Grantee string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method.

func (*QueryGranteeGrantsRequest) Descriptor

func (*QueryGranteeGrantsRequest) Descriptor() ([]byte, []int)

func (*QueryGranteeGrantsRequest) GetContractId

func (m *QueryGranteeGrantsRequest) GetContractId() string

func (*QueryGranteeGrantsRequest) GetGrantee

func (m *QueryGranteeGrantsRequest) GetGrantee() string

func (*QueryGranteeGrantsRequest) GetPagination

func (m *QueryGranteeGrantsRequest) GetPagination() *query.PageRequest

func (*QueryGranteeGrantsRequest) Marshal

func (m *QueryGranteeGrantsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGranteeGrantsRequest) MarshalTo

func (m *QueryGranteeGrantsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGranteeGrantsRequest) MarshalToSizedBuffer

func (m *QueryGranteeGrantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGranteeGrantsRequest) ProtoMessage

func (*QueryGranteeGrantsRequest) ProtoMessage()

func (*QueryGranteeGrantsRequest) Reset

func (m *QueryGranteeGrantsRequest) Reset()

func (*QueryGranteeGrantsRequest) Size

func (m *QueryGranteeGrantsRequest) Size() (n int)

func (*QueryGranteeGrantsRequest) String

func (m *QueryGranteeGrantsRequest) String() string

func (*QueryGranteeGrantsRequest) Unmarshal

func (m *QueryGranteeGrantsRequest) Unmarshal(dAtA []byte) error

func (*QueryGranteeGrantsRequest) XXX_DiscardUnknown

func (m *QueryGranteeGrantsRequest) XXX_DiscardUnknown()

func (*QueryGranteeGrantsRequest) XXX_Marshal

func (m *QueryGranteeGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGranteeGrantsRequest) XXX_Merge

func (m *QueryGranteeGrantsRequest) XXX_Merge(src proto.Message)

func (*QueryGranteeGrantsRequest) XXX_Size

func (m *QueryGranteeGrantsRequest) XXX_Size() int

func (*QueryGranteeGrantsRequest) XXX_Unmarshal

func (m *QueryGranteeGrantsRequest) XXX_Unmarshal(b []byte) error

type QueryGranteeGrantsResponse

type QueryGranteeGrantsResponse struct {
	Grants []Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method.

func (*QueryGranteeGrantsResponse) Descriptor

func (*QueryGranteeGrantsResponse) Descriptor() ([]byte, []int)

func (*QueryGranteeGrantsResponse) GetGrants

func (m *QueryGranteeGrantsResponse) GetGrants() []Grant

func (*QueryGranteeGrantsResponse) GetPagination

func (m *QueryGranteeGrantsResponse) GetPagination() *query.PageResponse

func (*QueryGranteeGrantsResponse) Marshal

func (m *QueryGranteeGrantsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGranteeGrantsResponse) MarshalTo

func (m *QueryGranteeGrantsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGranteeGrantsResponse) MarshalToSizedBuffer

func (m *QueryGranteeGrantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGranteeGrantsResponse) ProtoMessage

func (*QueryGranteeGrantsResponse) ProtoMessage()

func (*QueryGranteeGrantsResponse) Reset

func (m *QueryGranteeGrantsResponse) Reset()

func (*QueryGranteeGrantsResponse) Size

func (m *QueryGranteeGrantsResponse) Size() (n int)

func (*QueryGranteeGrantsResponse) String

func (m *QueryGranteeGrantsResponse) String() string

func (*QueryGranteeGrantsResponse) Unmarshal

func (m *QueryGranteeGrantsResponse) Unmarshal(dAtA []byte) error

func (*QueryGranteeGrantsResponse) XXX_DiscardUnknown

func (m *QueryGranteeGrantsResponse) XXX_DiscardUnknown()

func (*QueryGranteeGrantsResponse) XXX_Marshal

func (m *QueryGranteeGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGranteeGrantsResponse) XXX_Merge

func (m *QueryGranteeGrantsResponse) XXX_Merge(src proto.Message)

func (*QueryGranteeGrantsResponse) XXX_Size

func (m *QueryGranteeGrantsResponse) XXX_Size() int

func (*QueryGranteeGrantsResponse) XXX_Unmarshal

func (m *QueryGranteeGrantsResponse) XXX_Unmarshal(b []byte) error

type QueryHasParentRequest

type QueryHasParentRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated wit the non-fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

QueryHasParentRequest is the request type for the Query/HasParent RPC method.

func (*QueryHasParentRequest) Descriptor

func (*QueryHasParentRequest) Descriptor() ([]byte, []int)

func (*QueryHasParentRequest) GetContractId

func (m *QueryHasParentRequest) GetContractId() string

func (*QueryHasParentRequest) GetTokenId

func (m *QueryHasParentRequest) GetTokenId() string

func (*QueryHasParentRequest) Marshal

func (m *QueryHasParentRequest) Marshal() (dAtA []byte, err error)

func (*QueryHasParentRequest) MarshalTo

func (m *QueryHasParentRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryHasParentRequest) MarshalToSizedBuffer

func (m *QueryHasParentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHasParentRequest) ProtoMessage

func (*QueryHasParentRequest) ProtoMessage()

func (*QueryHasParentRequest) Reset

func (m *QueryHasParentRequest) Reset()

func (*QueryHasParentRequest) Size

func (m *QueryHasParentRequest) Size() (n int)

func (*QueryHasParentRequest) String

func (m *QueryHasParentRequest) String() string

func (*QueryHasParentRequest) Unmarshal

func (m *QueryHasParentRequest) Unmarshal(dAtA []byte) error

func (*QueryHasParentRequest) XXX_DiscardUnknown

func (m *QueryHasParentRequest) XXX_DiscardUnknown()

func (*QueryHasParentRequest) XXX_Marshal

func (m *QueryHasParentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHasParentRequest) XXX_Merge

func (m *QueryHasParentRequest) XXX_Merge(src proto.Message)

func (*QueryHasParentRequest) XXX_Size

func (m *QueryHasParentRequest) XXX_Size() int

func (*QueryHasParentRequest) XXX_Unmarshal

func (m *QueryHasParentRequest) XXX_Unmarshal(b []byte) error

type QueryHasParentResponse

type QueryHasParentResponse struct {
	// whether the token has its parent.
	HasParent bool `protobuf:"varint,1,opt,name=has_parent,json=hasParent,proto3" json:"has_parent,omitempty"`
}

QueryHasParentResponse is the response type for the Query/HasParent RPC method.

func (*QueryHasParentResponse) Descriptor

func (*QueryHasParentResponse) Descriptor() ([]byte, []int)

func (*QueryHasParentResponse) GetHasParent

func (m *QueryHasParentResponse) GetHasParent() bool

func (*QueryHasParentResponse) Marshal

func (m *QueryHasParentResponse) Marshal() (dAtA []byte, err error)

func (*QueryHasParentResponse) MarshalTo

func (m *QueryHasParentResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryHasParentResponse) MarshalToSizedBuffer

func (m *QueryHasParentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHasParentResponse) ProtoMessage

func (*QueryHasParentResponse) ProtoMessage()

func (*QueryHasParentResponse) Reset

func (m *QueryHasParentResponse) Reset()

func (*QueryHasParentResponse) Size

func (m *QueryHasParentResponse) Size() (n int)

func (*QueryHasParentResponse) String

func (m *QueryHasParentResponse) String() string

func (*QueryHasParentResponse) Unmarshal

func (m *QueryHasParentResponse) Unmarshal(dAtA []byte) error

func (*QueryHasParentResponse) XXX_DiscardUnknown

func (m *QueryHasParentResponse) XXX_DiscardUnknown()

func (*QueryHasParentResponse) XXX_Marshal

func (m *QueryHasParentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHasParentResponse) XXX_Merge

func (m *QueryHasParentResponse) XXX_Merge(src proto.Message)

func (*QueryHasParentResponse) XXX_Size

func (m *QueryHasParentResponse) XXX_Size() int

func (*QueryHasParentResponse) XXX_Unmarshal

func (m *QueryHasParentResponse) XXX_Unmarshal(b []byte) error

type QueryHoldersByOperatorRequest

type QueryHoldersByOperatorRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the operator.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryHoldersByOperatorRequest is the request type for the Query/HoldersByOperator RPC method.

func (*QueryHoldersByOperatorRequest) Descriptor

func (*QueryHoldersByOperatorRequest) Descriptor() ([]byte, []int)

func (*QueryHoldersByOperatorRequest) GetContractId

func (m *QueryHoldersByOperatorRequest) GetContractId() string

func (*QueryHoldersByOperatorRequest) GetOperator

func (m *QueryHoldersByOperatorRequest) GetOperator() string

func (*QueryHoldersByOperatorRequest) GetPagination

func (m *QueryHoldersByOperatorRequest) GetPagination() *query.PageRequest

func (*QueryHoldersByOperatorRequest) Marshal

func (m *QueryHoldersByOperatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryHoldersByOperatorRequest) MarshalTo

func (m *QueryHoldersByOperatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryHoldersByOperatorRequest) MarshalToSizedBuffer

func (m *QueryHoldersByOperatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHoldersByOperatorRequest) ProtoMessage

func (*QueryHoldersByOperatorRequest) ProtoMessage()

func (*QueryHoldersByOperatorRequest) Reset

func (m *QueryHoldersByOperatorRequest) Reset()

func (*QueryHoldersByOperatorRequest) Size

func (m *QueryHoldersByOperatorRequest) Size() (n int)

func (*QueryHoldersByOperatorRequest) String

func (*QueryHoldersByOperatorRequest) Unmarshal

func (m *QueryHoldersByOperatorRequest) Unmarshal(dAtA []byte) error

func (*QueryHoldersByOperatorRequest) XXX_DiscardUnknown

func (m *QueryHoldersByOperatorRequest) XXX_DiscardUnknown()

func (*QueryHoldersByOperatorRequest) XXX_Marshal

func (m *QueryHoldersByOperatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHoldersByOperatorRequest) XXX_Merge

func (m *QueryHoldersByOperatorRequest) XXX_Merge(src proto.Message)

func (*QueryHoldersByOperatorRequest) XXX_Size

func (m *QueryHoldersByOperatorRequest) XXX_Size() int

func (*QueryHoldersByOperatorRequest) XXX_Unmarshal

func (m *QueryHoldersByOperatorRequest) XXX_Unmarshal(b []byte) error

type QueryHoldersByOperatorResponse

type QueryHoldersByOperatorResponse struct {
	Holders []string `protobuf:"bytes,1,rep,name=holders,proto3" json:"holders,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryHoldersByOperatorResponse is the response type for the Query/HoldersByOperator RPC method.

func (*QueryHoldersByOperatorResponse) Descriptor

func (*QueryHoldersByOperatorResponse) Descriptor() ([]byte, []int)

func (*QueryHoldersByOperatorResponse) GetHolders

func (m *QueryHoldersByOperatorResponse) GetHolders() []string

func (*QueryHoldersByOperatorResponse) GetPagination

func (*QueryHoldersByOperatorResponse) Marshal

func (m *QueryHoldersByOperatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryHoldersByOperatorResponse) MarshalTo

func (m *QueryHoldersByOperatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryHoldersByOperatorResponse) MarshalToSizedBuffer

func (m *QueryHoldersByOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHoldersByOperatorResponse) ProtoMessage

func (*QueryHoldersByOperatorResponse) ProtoMessage()

func (*QueryHoldersByOperatorResponse) Reset

func (m *QueryHoldersByOperatorResponse) Reset()

func (*QueryHoldersByOperatorResponse) Size

func (m *QueryHoldersByOperatorResponse) Size() (n int)

func (*QueryHoldersByOperatorResponse) String

func (*QueryHoldersByOperatorResponse) Unmarshal

func (m *QueryHoldersByOperatorResponse) Unmarshal(dAtA []byte) error

func (*QueryHoldersByOperatorResponse) XXX_DiscardUnknown

func (m *QueryHoldersByOperatorResponse) XXX_DiscardUnknown()

func (*QueryHoldersByOperatorResponse) XXX_Marshal

func (m *QueryHoldersByOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHoldersByOperatorResponse) XXX_Merge

func (m *QueryHoldersByOperatorResponse) XXX_Merge(src proto.Message)

func (*QueryHoldersByOperatorResponse) XXX_Size

func (m *QueryHoldersByOperatorResponse) XXX_Size() int

func (*QueryHoldersByOperatorResponse) XXX_Unmarshal

func (m *QueryHoldersByOperatorResponse) XXX_Unmarshal(b []byte) error

type QueryIsOperatorForRequest

type QueryIsOperatorForRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// the address of the operator.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// the address of the token holder.
	Holder string `protobuf:"bytes,3,opt,name=holder,proto3" json:"holder,omitempty"`
}

QueryIsOperatorForRequest is the request type for the Query/IsOperatorFor RPC method.

func (*QueryIsOperatorForRequest) Descriptor

func (*QueryIsOperatorForRequest) Descriptor() ([]byte, []int)

func (*QueryIsOperatorForRequest) GetContractId

func (m *QueryIsOperatorForRequest) GetContractId() string

func (*QueryIsOperatorForRequest) GetHolder

func (m *QueryIsOperatorForRequest) GetHolder() string

func (*QueryIsOperatorForRequest) GetOperator

func (m *QueryIsOperatorForRequest) GetOperator() string

func (*QueryIsOperatorForRequest) Marshal

func (m *QueryIsOperatorForRequest) Marshal() (dAtA []byte, err error)

func (*QueryIsOperatorForRequest) MarshalTo

func (m *QueryIsOperatorForRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryIsOperatorForRequest) MarshalToSizedBuffer

func (m *QueryIsOperatorForRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryIsOperatorForRequest) ProtoMessage

func (*QueryIsOperatorForRequest) ProtoMessage()

func (*QueryIsOperatorForRequest) Reset

func (m *QueryIsOperatorForRequest) Reset()

func (*QueryIsOperatorForRequest) Size

func (m *QueryIsOperatorForRequest) Size() (n int)

func (*QueryIsOperatorForRequest) String

func (m *QueryIsOperatorForRequest) String() string

func (*QueryIsOperatorForRequest) Unmarshal

func (m *QueryIsOperatorForRequest) Unmarshal(dAtA []byte) error

func (*QueryIsOperatorForRequest) XXX_DiscardUnknown

func (m *QueryIsOperatorForRequest) XXX_DiscardUnknown()

func (*QueryIsOperatorForRequest) XXX_Marshal

func (m *QueryIsOperatorForRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryIsOperatorForRequest) XXX_Merge

func (m *QueryIsOperatorForRequest) XXX_Merge(src proto.Message)

func (*QueryIsOperatorForRequest) XXX_Size

func (m *QueryIsOperatorForRequest) XXX_Size() int

func (*QueryIsOperatorForRequest) XXX_Unmarshal

func (m *QueryIsOperatorForRequest) XXX_Unmarshal(b []byte) error

type QueryIsOperatorForResponse

type QueryIsOperatorForResponse struct {
	Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
}

QueryIsOperatorForResponse is the response type for the Query/IsOperatorFor RPC method.

func (*QueryIsOperatorForResponse) Descriptor

func (*QueryIsOperatorForResponse) Descriptor() ([]byte, []int)

func (*QueryIsOperatorForResponse) GetAuthorized

func (m *QueryIsOperatorForResponse) GetAuthorized() bool

func (*QueryIsOperatorForResponse) Marshal

func (m *QueryIsOperatorForResponse) Marshal() (dAtA []byte, err error)

func (*QueryIsOperatorForResponse) MarshalTo

func (m *QueryIsOperatorForResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryIsOperatorForResponse) MarshalToSizedBuffer

func (m *QueryIsOperatorForResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryIsOperatorForResponse) ProtoMessage

func (*QueryIsOperatorForResponse) ProtoMessage()

func (*QueryIsOperatorForResponse) Reset

func (m *QueryIsOperatorForResponse) Reset()

func (*QueryIsOperatorForResponse) Size

func (m *QueryIsOperatorForResponse) Size() (n int)

func (*QueryIsOperatorForResponse) String

func (m *QueryIsOperatorForResponse) String() string

func (*QueryIsOperatorForResponse) Unmarshal

func (m *QueryIsOperatorForResponse) Unmarshal(dAtA []byte) error

func (*QueryIsOperatorForResponse) XXX_DiscardUnknown

func (m *QueryIsOperatorForResponse) XXX_DiscardUnknown()

func (*QueryIsOperatorForResponse) XXX_Marshal

func (m *QueryIsOperatorForResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryIsOperatorForResponse) XXX_Merge

func (m *QueryIsOperatorForResponse) XXX_Merge(src proto.Message)

func (*QueryIsOperatorForResponse) XXX_Size

func (m *QueryIsOperatorForResponse) XXX_Size() int

func (*QueryIsOperatorForResponse) XXX_Unmarshal

func (m *QueryIsOperatorForResponse) XXX_Unmarshal(b []byte) error

type QueryNFTBurntRequest

type QueryNFTBurntRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token type associated with the token type.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

QueryNFTBurntRequest is the request type for the Query/NFTBurnt RPC method.

func (*QueryNFTBurntRequest) Descriptor

func (*QueryNFTBurntRequest) Descriptor() ([]byte, []int)

func (*QueryNFTBurntRequest) GetContractId

func (m *QueryNFTBurntRequest) GetContractId() string

func (*QueryNFTBurntRequest) GetTokenType

func (m *QueryNFTBurntRequest) GetTokenType() string

func (*QueryNFTBurntRequest) Marshal

func (m *QueryNFTBurntRequest) Marshal() (dAtA []byte, err error)

func (*QueryNFTBurntRequest) MarshalTo

func (m *QueryNFTBurntRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTBurntRequest) MarshalToSizedBuffer

func (m *QueryNFTBurntRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTBurntRequest) ProtoMessage

func (*QueryNFTBurntRequest) ProtoMessage()

func (*QueryNFTBurntRequest) Reset

func (m *QueryNFTBurntRequest) Reset()

func (*QueryNFTBurntRequest) Size

func (m *QueryNFTBurntRequest) Size() (n int)

func (*QueryNFTBurntRequest) String

func (m *QueryNFTBurntRequest) String() string

func (*QueryNFTBurntRequest) Unmarshal

func (m *QueryNFTBurntRequest) Unmarshal(dAtA []byte) error

func (*QueryNFTBurntRequest) XXX_DiscardUnknown

func (m *QueryNFTBurntRequest) XXX_DiscardUnknown()

func (*QueryNFTBurntRequest) XXX_Marshal

func (m *QueryNFTBurntRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTBurntRequest) XXX_Merge

func (m *QueryNFTBurntRequest) XXX_Merge(src proto.Message)

func (*QueryNFTBurntRequest) XXX_Size

func (m *QueryNFTBurntRequest) XXX_Size() int

func (*QueryNFTBurntRequest) XXX_Unmarshal

func (m *QueryNFTBurntRequest) XXX_Unmarshal(b []byte) error

type QueryNFTBurntResponse

type QueryNFTBurntResponse struct {
	// burnt is the amount of the burnt tokens.
	Burnt github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,1,opt,name=burnt,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"burnt"`
}

QueryNFTBurntResponse is the response type for the Query/NFTBurnt RPC method.

func (*QueryNFTBurntResponse) Descriptor

func (*QueryNFTBurntResponse) Descriptor() ([]byte, []int)

func (*QueryNFTBurntResponse) Marshal

func (m *QueryNFTBurntResponse) Marshal() (dAtA []byte, err error)

func (*QueryNFTBurntResponse) MarshalTo

func (m *QueryNFTBurntResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTBurntResponse) MarshalToSizedBuffer

func (m *QueryNFTBurntResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTBurntResponse) ProtoMessage

func (*QueryNFTBurntResponse) ProtoMessage()

func (*QueryNFTBurntResponse) Reset

func (m *QueryNFTBurntResponse) Reset()

func (*QueryNFTBurntResponse) Size

func (m *QueryNFTBurntResponse) Size() (n int)

func (*QueryNFTBurntResponse) String

func (m *QueryNFTBurntResponse) String() string

func (*QueryNFTBurntResponse) Unmarshal

func (m *QueryNFTBurntResponse) Unmarshal(dAtA []byte) error

func (*QueryNFTBurntResponse) XXX_DiscardUnknown

func (m *QueryNFTBurntResponse) XXX_DiscardUnknown()

func (*QueryNFTBurntResponse) XXX_Marshal

func (m *QueryNFTBurntResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTBurntResponse) XXX_Merge

func (m *QueryNFTBurntResponse) XXX_Merge(src proto.Message)

func (*QueryNFTBurntResponse) XXX_Size

func (m *QueryNFTBurntResponse) XXX_Size() int

func (*QueryNFTBurntResponse) XXX_Unmarshal

func (m *QueryNFTBurntResponse) XXX_Unmarshal(b []byte) error

type QueryNFTMintedRequest

type QueryNFTMintedRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token type associated with the token type.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

QueryNFTMintedRequest is the request type for the Query/NFTMinted RPC method.

func (*QueryNFTMintedRequest) Descriptor

func (*QueryNFTMintedRequest) Descriptor() ([]byte, []int)

func (*QueryNFTMintedRequest) GetContractId

func (m *QueryNFTMintedRequest) GetContractId() string

func (*QueryNFTMintedRequest) GetTokenType

func (m *QueryNFTMintedRequest) GetTokenType() string

func (*QueryNFTMintedRequest) Marshal

func (m *QueryNFTMintedRequest) Marshal() (dAtA []byte, err error)

func (*QueryNFTMintedRequest) MarshalTo

func (m *QueryNFTMintedRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTMintedRequest) MarshalToSizedBuffer

func (m *QueryNFTMintedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTMintedRequest) ProtoMessage

func (*QueryNFTMintedRequest) ProtoMessage()

func (*QueryNFTMintedRequest) Reset

func (m *QueryNFTMintedRequest) Reset()

func (*QueryNFTMintedRequest) Size

func (m *QueryNFTMintedRequest) Size() (n int)

func (*QueryNFTMintedRequest) String

func (m *QueryNFTMintedRequest) String() string

func (*QueryNFTMintedRequest) Unmarshal

func (m *QueryNFTMintedRequest) Unmarshal(dAtA []byte) error

func (*QueryNFTMintedRequest) XXX_DiscardUnknown

func (m *QueryNFTMintedRequest) XXX_DiscardUnknown()

func (*QueryNFTMintedRequest) XXX_Marshal

func (m *QueryNFTMintedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTMintedRequest) XXX_Merge

func (m *QueryNFTMintedRequest) XXX_Merge(src proto.Message)

func (*QueryNFTMintedRequest) XXX_Size

func (m *QueryNFTMintedRequest) XXX_Size() int

func (*QueryNFTMintedRequest) XXX_Unmarshal

func (m *QueryNFTMintedRequest) XXX_Unmarshal(b []byte) error

type QueryNFTMintedResponse

type QueryNFTMintedResponse struct {
	// minted is the amount of minted tokens.
	Minted github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,1,opt,name=minted,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"minted"`
}

QueryNFTMintedResponse is the response type for the Query/NFTMinted RPC method.

func (*QueryNFTMintedResponse) Descriptor

func (*QueryNFTMintedResponse) Descriptor() ([]byte, []int)

func (*QueryNFTMintedResponse) Marshal

func (m *QueryNFTMintedResponse) Marshal() (dAtA []byte, err error)

func (*QueryNFTMintedResponse) MarshalTo

func (m *QueryNFTMintedResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTMintedResponse) MarshalToSizedBuffer

func (m *QueryNFTMintedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTMintedResponse) ProtoMessage

func (*QueryNFTMintedResponse) ProtoMessage()

func (*QueryNFTMintedResponse) Reset

func (m *QueryNFTMintedResponse) Reset()

func (*QueryNFTMintedResponse) Size

func (m *QueryNFTMintedResponse) Size() (n int)

func (*QueryNFTMintedResponse) String

func (m *QueryNFTMintedResponse) String() string

func (*QueryNFTMintedResponse) Unmarshal

func (m *QueryNFTMintedResponse) Unmarshal(dAtA []byte) error

func (*QueryNFTMintedResponse) XXX_DiscardUnknown

func (m *QueryNFTMintedResponse) XXX_DiscardUnknown()

func (*QueryNFTMintedResponse) XXX_Marshal

func (m *QueryNFTMintedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTMintedResponse) XXX_Merge

func (m *QueryNFTMintedResponse) XXX_Merge(src proto.Message)

func (*QueryNFTMintedResponse) XXX_Size

func (m *QueryNFTMintedResponse) XXX_Size() int

func (*QueryNFTMintedResponse) XXX_Unmarshal

func (m *QueryNFTMintedResponse) XXX_Unmarshal(b []byte) error

type QueryNFTSupplyRequest

type QueryNFTSupplyRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token type associated with the token type.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

QueryNFTSupplyRequest is the request type for the Query/NFTSupply RPC method.

func (*QueryNFTSupplyRequest) Descriptor

func (*QueryNFTSupplyRequest) Descriptor() ([]byte, []int)

func (*QueryNFTSupplyRequest) GetContractId

func (m *QueryNFTSupplyRequest) GetContractId() string

func (*QueryNFTSupplyRequest) GetTokenType

func (m *QueryNFTSupplyRequest) GetTokenType() string

func (*QueryNFTSupplyRequest) Marshal

func (m *QueryNFTSupplyRequest) Marshal() (dAtA []byte, err error)

func (*QueryNFTSupplyRequest) MarshalTo

func (m *QueryNFTSupplyRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTSupplyRequest) MarshalToSizedBuffer

func (m *QueryNFTSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTSupplyRequest) ProtoMessage

func (*QueryNFTSupplyRequest) ProtoMessage()

func (*QueryNFTSupplyRequest) Reset

func (m *QueryNFTSupplyRequest) Reset()

func (*QueryNFTSupplyRequest) Size

func (m *QueryNFTSupplyRequest) Size() (n int)

func (*QueryNFTSupplyRequest) String

func (m *QueryNFTSupplyRequest) String() string

func (*QueryNFTSupplyRequest) Unmarshal

func (m *QueryNFTSupplyRequest) Unmarshal(dAtA []byte) error

func (*QueryNFTSupplyRequest) XXX_DiscardUnknown

func (m *QueryNFTSupplyRequest) XXX_DiscardUnknown()

func (*QueryNFTSupplyRequest) XXX_Marshal

func (m *QueryNFTSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTSupplyRequest) XXX_Merge

func (m *QueryNFTSupplyRequest) XXX_Merge(src proto.Message)

func (*QueryNFTSupplyRequest) XXX_Size

func (m *QueryNFTSupplyRequest) XXX_Size() int

func (*QueryNFTSupplyRequest) XXX_Unmarshal

func (m *QueryNFTSupplyRequest) XXX_Unmarshal(b []byte) error

type QueryNFTSupplyResponse

type QueryNFTSupplyResponse struct {
	// supply is the supply of the non-fungible token.
	Supply github_com_Finschia_finschia_sdk_types.Int `protobuf:"bytes,1,opt,name=supply,proto3,customtype=github.com/Finschia/finschia-sdk/types.Int" json:"supply"`
}

QueryNFTSupplyResponse is the response type for the Query/NFTSupply RPC method.

func (*QueryNFTSupplyResponse) Descriptor

func (*QueryNFTSupplyResponse) Descriptor() ([]byte, []int)

func (*QueryNFTSupplyResponse) Marshal

func (m *QueryNFTSupplyResponse) Marshal() (dAtA []byte, err error)

func (*QueryNFTSupplyResponse) MarshalTo

func (m *QueryNFTSupplyResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTSupplyResponse) MarshalToSizedBuffer

func (m *QueryNFTSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTSupplyResponse) ProtoMessage

func (*QueryNFTSupplyResponse) ProtoMessage()

func (*QueryNFTSupplyResponse) Reset

func (m *QueryNFTSupplyResponse) Reset()

func (*QueryNFTSupplyResponse) Size

func (m *QueryNFTSupplyResponse) Size() (n int)

func (*QueryNFTSupplyResponse) String

func (m *QueryNFTSupplyResponse) String() string

func (*QueryNFTSupplyResponse) Unmarshal

func (m *QueryNFTSupplyResponse) Unmarshal(dAtA []byte) error

func (*QueryNFTSupplyResponse) XXX_DiscardUnknown

func (m *QueryNFTSupplyResponse) XXX_DiscardUnknown()

func (*QueryNFTSupplyResponse) XXX_Marshal

func (m *QueryNFTSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTSupplyResponse) XXX_Merge

func (m *QueryNFTSupplyResponse) XXX_Merge(src proto.Message)

func (*QueryNFTSupplyResponse) XXX_Size

func (m *QueryNFTSupplyResponse) XXX_Size() int

func (*QueryNFTSupplyResponse) XXX_Unmarshal

func (m *QueryNFTSupplyResponse) XXX_Unmarshal(b []byte) error

type QueryParentRequest

type QueryParentRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated wit the non-fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

QueryParentRequest is the request type for the Query/Parent RPC method.

func (*QueryParentRequest) Descriptor

func (*QueryParentRequest) Descriptor() ([]byte, []int)

func (*QueryParentRequest) GetContractId

func (m *QueryParentRequest) GetContractId() string

func (*QueryParentRequest) GetTokenId

func (m *QueryParentRequest) GetTokenId() string

func (*QueryParentRequest) Marshal

func (m *QueryParentRequest) Marshal() (dAtA []byte, err error)

func (*QueryParentRequest) MarshalTo

func (m *QueryParentRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParentRequest) MarshalToSizedBuffer

func (m *QueryParentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParentRequest) ProtoMessage

func (*QueryParentRequest) ProtoMessage()

func (*QueryParentRequest) Reset

func (m *QueryParentRequest) Reset()

func (*QueryParentRequest) Size

func (m *QueryParentRequest) Size() (n int)

func (*QueryParentRequest) String

func (m *QueryParentRequest) String() string

func (*QueryParentRequest) Unmarshal

func (m *QueryParentRequest) Unmarshal(dAtA []byte) error

func (*QueryParentRequest) XXX_DiscardUnknown

func (m *QueryParentRequest) XXX_DiscardUnknown()

func (*QueryParentRequest) XXX_Marshal

func (m *QueryParentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParentRequest) XXX_Merge

func (m *QueryParentRequest) XXX_Merge(src proto.Message)

func (*QueryParentRequest) XXX_Size

func (m *QueryParentRequest) XXX_Size() int

func (*QueryParentRequest) XXX_Unmarshal

func (m *QueryParentRequest) XXX_Unmarshal(b []byte) error

type QueryParentResponse

type QueryParentResponse struct {
	// parent is the information of the parent token.
	Parent NFT `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent"`
}

QueryParentResponse is the response type for the Query/Parent RPC method.

func (*QueryParentResponse) Descriptor

func (*QueryParentResponse) Descriptor() ([]byte, []int)

func (*QueryParentResponse) GetParent

func (m *QueryParentResponse) GetParent() NFT

func (*QueryParentResponse) Marshal

func (m *QueryParentResponse) Marshal() (dAtA []byte, err error)

func (*QueryParentResponse) MarshalTo

func (m *QueryParentResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParentResponse) MarshalToSizedBuffer

func (m *QueryParentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParentResponse) ProtoMessage

func (*QueryParentResponse) ProtoMessage()

func (*QueryParentResponse) Reset

func (m *QueryParentResponse) Reset()

func (*QueryParentResponse) Size

func (m *QueryParentResponse) Size() (n int)

func (*QueryParentResponse) String

func (m *QueryParentResponse) String() string

func (*QueryParentResponse) Unmarshal

func (m *QueryParentResponse) Unmarshal(dAtA []byte) error

func (*QueryParentResponse) XXX_DiscardUnknown

func (m *QueryParentResponse) XXX_DiscardUnknown()

func (*QueryParentResponse) XXX_Marshal

func (m *QueryParentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParentResponse) XXX_Merge

func (m *QueryParentResponse) XXX_Merge(src proto.Message)

func (*QueryParentResponse) XXX_Size

func (m *QueryParentResponse) XXX_Size() int

func (*QueryParentResponse) XXX_Unmarshal

func (m *QueryParentResponse) XXX_Unmarshal(b []byte) error

type QueryRootRequest

type QueryRootRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated with the non-fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

QueryRootRequest is the request type for the Query/Root RPC method.

func (*QueryRootRequest) Descriptor

func (*QueryRootRequest) Descriptor() ([]byte, []int)

func (*QueryRootRequest) GetContractId

func (m *QueryRootRequest) GetContractId() string

func (*QueryRootRequest) GetTokenId

func (m *QueryRootRequest) GetTokenId() string

func (*QueryRootRequest) Marshal

func (m *QueryRootRequest) Marshal() (dAtA []byte, err error)

func (*QueryRootRequest) MarshalTo

func (m *QueryRootRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryRootRequest) MarshalToSizedBuffer

func (m *QueryRootRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryRootRequest) ProtoMessage

func (*QueryRootRequest) ProtoMessage()

func (*QueryRootRequest) Reset

func (m *QueryRootRequest) Reset()

func (*QueryRootRequest) Size

func (m *QueryRootRequest) Size() (n int)

func (*QueryRootRequest) String

func (m *QueryRootRequest) String() string

func (*QueryRootRequest) Unmarshal

func (m *QueryRootRequest) Unmarshal(dAtA []byte) error

func (*QueryRootRequest) XXX_DiscardUnknown

func (m *QueryRootRequest) XXX_DiscardUnknown()

func (*QueryRootRequest) XXX_Marshal

func (m *QueryRootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRootRequest) XXX_Merge

func (m *QueryRootRequest) XXX_Merge(src proto.Message)

func (*QueryRootRequest) XXX_Size

func (m *QueryRootRequest) XXX_Size() int

func (*QueryRootRequest) XXX_Unmarshal

func (m *QueryRootRequest) XXX_Unmarshal(b []byte) error

type QueryRootResponse

type QueryRootResponse struct {
	// root is the information of the root token.
	// it would return itself if it's the root token.
	Root NFT `protobuf:"bytes,1,opt,name=root,proto3" json:"root"`
}

QueryRootResponse is the response type for the Query/Root RPC method.

func (*QueryRootResponse) Descriptor

func (*QueryRootResponse) Descriptor() ([]byte, []int)

func (*QueryRootResponse) GetRoot

func (m *QueryRootResponse) GetRoot() NFT

func (*QueryRootResponse) Marshal

func (m *QueryRootResponse) Marshal() (dAtA []byte, err error)

func (*QueryRootResponse) MarshalTo

func (m *QueryRootResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryRootResponse) MarshalToSizedBuffer

func (m *QueryRootResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryRootResponse) ProtoMessage

func (*QueryRootResponse) ProtoMessage()

func (*QueryRootResponse) Reset

func (m *QueryRootResponse) Reset()

func (*QueryRootResponse) Size

func (m *QueryRootResponse) Size() (n int)

func (*QueryRootResponse) String

func (m *QueryRootResponse) String() string

func (*QueryRootResponse) Unmarshal

func (m *QueryRootResponse) Unmarshal(dAtA []byte) error

func (*QueryRootResponse) XXX_DiscardUnknown

func (m *QueryRootResponse) XXX_DiscardUnknown()

func (*QueryRootResponse) XXX_Marshal

func (m *QueryRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRootResponse) XXX_Merge

func (m *QueryRootResponse) XXX_Merge(src proto.Message)

func (*QueryRootResponse) XXX_Size

func (m *QueryRootResponse) XXX_Size() int

func (*QueryRootResponse) XXX_Unmarshal

func (m *QueryRootResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Balance queries the balance of a single token class for a single account.
	Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
	// AllBalances queries the balance of all token classes for a single account.
	AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
	// FTSupply queries the number of tokens from a given contract id and token id.
	FTSupply(context.Context, *QueryFTSupplyRequest) (*QueryFTSupplyResponse, error)
	// FTMinted queries the number of minted tokens from a given contract id and token id.
	FTMinted(context.Context, *QueryFTMintedRequest) (*QueryFTMintedResponse, error)
	// FTBurnt queries the number of burnt tokens from a given contract id and token id.
	FTBurnt(context.Context, *QueryFTBurntRequest) (*QueryFTBurntResponse, error)
	// NFTSupply queries the number of tokens from a given contract id and token type.
	NFTSupply(context.Context, *QueryNFTSupplyRequest) (*QueryNFTSupplyResponse, error)
	// NFTMinted queries the number of minted tokens from a given contract id and token type.
	NFTMinted(context.Context, *QueryNFTMintedRequest) (*QueryNFTMintedResponse, error)
	// NFTBurnt queries the number of burnt tokens from a given contract id and token type.
	NFTBurnt(context.Context, *QueryNFTBurntRequest) (*QueryNFTBurntResponse, error)
	// Contract queries a contract metadata based on its contract id.
	Contract(context.Context, *QueryContractRequest) (*QueryContractResponse, error)
	// TokenClassTypeName queries the fully qualified message type name of a token class from its class id.
	//
	// Since: 0.46.0 (finschia)
	TokenClassTypeName(context.Context, *QueryTokenClassTypeNameRequest) (*QueryTokenClassTypeNameResponse, error)
	// TokenType queries metadata of a token type.
	TokenType(context.Context, *QueryTokenTypeRequest) (*QueryTokenTypeResponse, error)
	// Token queries a metadata of a token from its token id.
	Token(context.Context, *QueryTokenRequest) (*QueryTokenResponse, error)
	// Root queries the root of a given nft.
	Root(context.Context, *QueryRootRequest) (*QueryRootResponse, error)
	// HasParent queries whether a given nft has its parent.
	HasParent(context.Context, *QueryHasParentRequest) (*QueryHasParentResponse, error)
	// Parent queries the parent of a given nft.
	Parent(context.Context, *QueryParentRequest) (*QueryParentResponse, error)
	// Children queries the children of a given nft.
	Children(context.Context, *QueryChildrenRequest) (*QueryChildrenResponse, error)
	// GranteeGrants queries all permissions on a given grantee.
	GranteeGrants(context.Context, *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error)
	// IsOperatorFor queries whether the operator is authorized by the holder.
	IsOperatorFor(context.Context, *QueryIsOperatorForRequest) (*QueryIsOperatorForResponse, error)
	// HoldersByOperator queries holders of a given operator.
	HoldersByOperator(context.Context, *QueryHoldersByOperatorRequest) (*QueryHoldersByOperatorResponse, error)
}

QueryServer is the server API for Query service.

type QueryTokenClassTypeNameRequest

type QueryTokenClassTypeNameRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// class id associated with the token class.
	ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
}

QueryTokenClassTypeNameRequest is the request type for the Query/TokenClassTypeName RPC method.

Since: 0.46.0 (finschia)

func (*QueryTokenClassTypeNameRequest) Descriptor

func (*QueryTokenClassTypeNameRequest) Descriptor() ([]byte, []int)

func (*QueryTokenClassTypeNameRequest) GetClassId

func (m *QueryTokenClassTypeNameRequest) GetClassId() string

func (*QueryTokenClassTypeNameRequest) GetContractId

func (m *QueryTokenClassTypeNameRequest) GetContractId() string

func (*QueryTokenClassTypeNameRequest) Marshal

func (m *QueryTokenClassTypeNameRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenClassTypeNameRequest) MarshalTo

func (m *QueryTokenClassTypeNameRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenClassTypeNameRequest) MarshalToSizedBuffer

func (m *QueryTokenClassTypeNameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenClassTypeNameRequest) ProtoMessage

func (*QueryTokenClassTypeNameRequest) ProtoMessage()

func (*QueryTokenClassTypeNameRequest) Reset

func (m *QueryTokenClassTypeNameRequest) Reset()

func (*QueryTokenClassTypeNameRequest) Size

func (m *QueryTokenClassTypeNameRequest) Size() (n int)

func (*QueryTokenClassTypeNameRequest) String

func (*QueryTokenClassTypeNameRequest) Unmarshal

func (m *QueryTokenClassTypeNameRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenClassTypeNameRequest) XXX_DiscardUnknown

func (m *QueryTokenClassTypeNameRequest) XXX_DiscardUnknown()

func (*QueryTokenClassTypeNameRequest) XXX_Marshal

func (m *QueryTokenClassTypeNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenClassTypeNameRequest) XXX_Merge

func (m *QueryTokenClassTypeNameRequest) XXX_Merge(src proto.Message)

func (*QueryTokenClassTypeNameRequest) XXX_Size

func (m *QueryTokenClassTypeNameRequest) XXX_Size() int

func (*QueryTokenClassTypeNameRequest) XXX_Unmarshal

func (m *QueryTokenClassTypeNameRequest) XXX_Unmarshal(b []byte) error

type QueryTokenClassTypeNameResponse

type QueryTokenClassTypeNameResponse struct {
	// type name of the token class.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

QueryTokenClassTypeNameResponse is the response type for the Query/TokenClassTypeName RPC method.

Since: 0.46.0 (finschia)

func (*QueryTokenClassTypeNameResponse) Descriptor

func (*QueryTokenClassTypeNameResponse) Descriptor() ([]byte, []int)

func (*QueryTokenClassTypeNameResponse) GetName

func (*QueryTokenClassTypeNameResponse) Marshal

func (m *QueryTokenClassTypeNameResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenClassTypeNameResponse) MarshalTo

func (m *QueryTokenClassTypeNameResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenClassTypeNameResponse) MarshalToSizedBuffer

func (m *QueryTokenClassTypeNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenClassTypeNameResponse) ProtoMessage

func (*QueryTokenClassTypeNameResponse) ProtoMessage()

func (*QueryTokenClassTypeNameResponse) Reset

func (*QueryTokenClassTypeNameResponse) Size

func (m *QueryTokenClassTypeNameResponse) Size() (n int)

func (*QueryTokenClassTypeNameResponse) String

func (*QueryTokenClassTypeNameResponse) Unmarshal

func (m *QueryTokenClassTypeNameResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenClassTypeNameResponse) XXX_DiscardUnknown

func (m *QueryTokenClassTypeNameResponse) XXX_DiscardUnknown()

func (*QueryTokenClassTypeNameResponse) XXX_Marshal

func (m *QueryTokenClassTypeNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenClassTypeNameResponse) XXX_Merge

func (m *QueryTokenClassTypeNameResponse) XXX_Merge(src proto.Message)

func (*QueryTokenClassTypeNameResponse) XXX_Size

func (m *QueryTokenClassTypeNameResponse) XXX_Size() int

func (*QueryTokenClassTypeNameResponse) XXX_Unmarshal

func (m *QueryTokenClassTypeNameResponse) XXX_Unmarshal(b []byte) error

type QueryTokenRequest

type QueryTokenRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token id associated with the fungible token.
	TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

QueryTokenRequest is the request type for the Query/Token RPC method.

func (*QueryTokenRequest) Descriptor

func (*QueryTokenRequest) Descriptor() ([]byte, []int)

func (*QueryTokenRequest) GetContractId

func (m *QueryTokenRequest) GetContractId() string

func (*QueryTokenRequest) GetTokenId

func (m *QueryTokenRequest) GetTokenId() string

func (*QueryTokenRequest) Marshal

func (m *QueryTokenRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenRequest) MarshalTo

func (m *QueryTokenRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenRequest) MarshalToSizedBuffer

func (m *QueryTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenRequest) ProtoMessage

func (*QueryTokenRequest) ProtoMessage()

func (*QueryTokenRequest) Reset

func (m *QueryTokenRequest) Reset()

func (*QueryTokenRequest) Size

func (m *QueryTokenRequest) Size() (n int)

func (*QueryTokenRequest) String

func (m *QueryTokenRequest) String() string

func (*QueryTokenRequest) Unmarshal

func (m *QueryTokenRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenRequest) XXX_DiscardUnknown

func (m *QueryTokenRequest) XXX_DiscardUnknown()

func (*QueryTokenRequest) XXX_Marshal

func (m *QueryTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenRequest) XXX_Merge

func (m *QueryTokenRequest) XXX_Merge(src proto.Message)

func (*QueryTokenRequest) XXX_Size

func (m *QueryTokenRequest) XXX_Size() int

func (*QueryTokenRequest) XXX_Unmarshal

func (m *QueryTokenRequest) XXX_Unmarshal(b []byte) error

type QueryTokenResponse

type QueryTokenResponse struct {
	// information of the token.
	Token types.Any `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
}

QueryTokenResponse is the response type for the Query/Token RPC method.

func (*QueryTokenResponse) Descriptor

func (*QueryTokenResponse) Descriptor() ([]byte, []int)

func (*QueryTokenResponse) GetToken

func (m *QueryTokenResponse) GetToken() types.Any

func (*QueryTokenResponse) Marshal

func (m *QueryTokenResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenResponse) MarshalTo

func (m *QueryTokenResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenResponse) MarshalToSizedBuffer

func (m *QueryTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenResponse) ProtoMessage

func (*QueryTokenResponse) ProtoMessage()

func (*QueryTokenResponse) Reset

func (m *QueryTokenResponse) Reset()

func (*QueryTokenResponse) Size

func (m *QueryTokenResponse) Size() (n int)

func (*QueryTokenResponse) String

func (m *QueryTokenResponse) String() string

func (*QueryTokenResponse) Unmarshal

func (m *QueryTokenResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenResponse) XXX_DiscardUnknown

func (m *QueryTokenResponse) XXX_DiscardUnknown()

func (*QueryTokenResponse) XXX_Marshal

func (m *QueryTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenResponse) XXX_Merge

func (m *QueryTokenResponse) XXX_Merge(src proto.Message)

func (*QueryTokenResponse) XXX_Size

func (m *QueryTokenResponse) XXX_Size() int

func (*QueryTokenResponse) XXX_Unmarshal

func (m *QueryTokenResponse) XXX_Unmarshal(b []byte) error

type QueryTokenTypeRequest

type QueryTokenTypeRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token type associated with the token type.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

QueryTokenTypeRequest is the request type for the Query/TokenType RPC method.

func (*QueryTokenTypeRequest) Descriptor

func (*QueryTokenTypeRequest) Descriptor() ([]byte, []int)

func (*QueryTokenTypeRequest) GetContractId

func (m *QueryTokenTypeRequest) GetContractId() string

func (*QueryTokenTypeRequest) GetTokenType

func (m *QueryTokenTypeRequest) GetTokenType() string

func (*QueryTokenTypeRequest) Marshal

func (m *QueryTokenTypeRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenTypeRequest) MarshalTo

func (m *QueryTokenTypeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenTypeRequest) MarshalToSizedBuffer

func (m *QueryTokenTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenTypeRequest) ProtoMessage

func (*QueryTokenTypeRequest) ProtoMessage()

func (*QueryTokenTypeRequest) Reset

func (m *QueryTokenTypeRequest) Reset()

func (*QueryTokenTypeRequest) Size

func (m *QueryTokenTypeRequest) Size() (n int)

func (*QueryTokenTypeRequest) String

func (m *QueryTokenTypeRequest) String() string

func (*QueryTokenTypeRequest) Unmarshal

func (m *QueryTokenTypeRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenTypeRequest) XXX_DiscardUnknown

func (m *QueryTokenTypeRequest) XXX_DiscardUnknown()

func (*QueryTokenTypeRequest) XXX_Marshal

func (m *QueryTokenTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenTypeRequest) XXX_Merge

func (m *QueryTokenTypeRequest) XXX_Merge(src proto.Message)

func (*QueryTokenTypeRequest) XXX_Size

func (m *QueryTokenTypeRequest) XXX_Size() int

func (*QueryTokenTypeRequest) XXX_Unmarshal

func (m *QueryTokenTypeRequest) XXX_Unmarshal(b []byte) error

type QueryTokenTypeResponse

type QueryTokenTypeResponse struct {
	// token type is the information of the token type.
	TokenType TokenType `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type"`
}

QueryTokenTypeResponse is the response type for the Query/TokenType RPC method.

func (*QueryTokenTypeResponse) Descriptor

func (*QueryTokenTypeResponse) Descriptor() ([]byte, []int)

func (*QueryTokenTypeResponse) GetTokenType

func (m *QueryTokenTypeResponse) GetTokenType() TokenType

func (*QueryTokenTypeResponse) Marshal

func (m *QueryTokenTypeResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenTypeResponse) MarshalTo

func (m *QueryTokenTypeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenTypeResponse) MarshalToSizedBuffer

func (m *QueryTokenTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenTypeResponse) ProtoMessage

func (*QueryTokenTypeResponse) ProtoMessage()

func (*QueryTokenTypeResponse) Reset

func (m *QueryTokenTypeResponse) Reset()

func (*QueryTokenTypeResponse) Size

func (m *QueryTokenTypeResponse) Size() (n int)

func (*QueryTokenTypeResponse) String

func (m *QueryTokenTypeResponse) String() string

func (*QueryTokenTypeResponse) Unmarshal

func (m *QueryTokenTypeResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenTypeResponse) XXX_DiscardUnknown

func (m *QueryTokenTypeResponse) XXX_DiscardUnknown()

func (*QueryTokenTypeResponse) XXX_Marshal

func (m *QueryTokenTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenTypeResponse) XXX_Merge

func (m *QueryTokenTypeResponse) XXX_Merge(src proto.Message)

func (*QueryTokenTypeResponse) XXX_Size

func (m *QueryTokenTypeResponse) XXX_Size() int

func (*QueryTokenTypeResponse) XXX_Unmarshal

func (m *QueryTokenTypeResponse) XXX_Unmarshal(b []byte) error

type Token

type Token interface {
	proto.Message
}

func TokenFromAny

func TokenFromAny(any *codectypes.Any) Token

type TokenClass

type TokenClass interface {
	proto.Message

	GetId() string
	SetId(ids *NextClassIDs)

	SetName(name string)

	SetMeta(meta string)

	ValidateBasic() error
}

func TokenClassFromAny

func TokenClassFromAny(any *codectypes.Any) TokenClass

type TokenRelation

type TokenRelation struct {
	// self
	Self string `protobuf:"bytes,1,opt,name=self,proto3" json:"self,omitempty"`
	// other
	Other string `protobuf:"bytes,2,opt,name=other,proto3" json:"other,omitempty"`
}

TokenRelation defines relations between two tokens.

func (*TokenRelation) Descriptor

func (*TokenRelation) Descriptor() ([]byte, []int)

func (*TokenRelation) GetOther

func (m *TokenRelation) GetOther() string

func (*TokenRelation) GetSelf

func (m *TokenRelation) GetSelf() string

func (*TokenRelation) Marshal

func (m *TokenRelation) Marshal() (dAtA []byte, err error)

func (*TokenRelation) MarshalTo

func (m *TokenRelation) MarshalTo(dAtA []byte) (int, error)

func (*TokenRelation) MarshalToSizedBuffer

func (m *TokenRelation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenRelation) ProtoMessage

func (*TokenRelation) ProtoMessage()

func (*TokenRelation) Reset

func (m *TokenRelation) Reset()

func (*TokenRelation) Size

func (m *TokenRelation) Size() (n int)

func (*TokenRelation) String

func (m *TokenRelation) String() string

func (*TokenRelation) Unmarshal

func (m *TokenRelation) Unmarshal(dAtA []byte) error

func (*TokenRelation) XXX_DiscardUnknown

func (m *TokenRelation) XXX_DiscardUnknown()

func (*TokenRelation) XXX_Marshal

func (m *TokenRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenRelation) XXX_Merge

func (m *TokenRelation) XXX_Merge(src proto.Message)

func (*TokenRelation) XXX_Size

func (m *TokenRelation) XXX_Size() int

func (*TokenRelation) XXX_Unmarshal

func (m *TokenRelation) XXX_Unmarshal(b []byte) error

type TokenType deprecated

type TokenType struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// token type defines the unique identifier of the token type.
	// the format of the value is identical to that of class_id.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// name defines the human-readable name of the token type.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token type.
	Meta string `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
}

Deprecated: use TokenClass

TokenType defines the information of token type. It represents a NFTClass whose class_id is token_type.

Note: There is no TokenType instance for FTClass.

func (*TokenType) Descriptor

func (*TokenType) Descriptor() ([]byte, []int)

func (*TokenType) Marshal

func (m *TokenType) Marshal() (dAtA []byte, err error)

func (*TokenType) MarshalTo

func (m *TokenType) MarshalTo(dAtA []byte) (int, error)

func (*TokenType) MarshalToSizedBuffer

func (m *TokenType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenType) ProtoMessage

func (*TokenType) ProtoMessage()

func (*TokenType) Reset

func (m *TokenType) Reset()

func (*TokenType) Size

func (m *TokenType) Size() (n int)

func (*TokenType) String

func (m *TokenType) String() string

func (*TokenType) Unmarshal

func (m *TokenType) Unmarshal(dAtA []byte) error

func (*TokenType) XXX_DiscardUnknown

func (m *TokenType) XXX_DiscardUnknown()

func (*TokenType) XXX_Marshal

func (m *TokenType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenType) XXX_Merge

func (m *TokenType) XXX_Merge(src proto.Message)

func (*TokenType) XXX_Size

func (m *TokenType) XXX_Size() int

func (*TokenType) XXX_Unmarshal

func (m *TokenType) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) Attach

func (*UnimplementedMsgServer) AuthorizeOperator

func (*UnimplementedMsgServer) BurnFT

func (*UnimplementedMsgServer) BurnNFT

func (*UnimplementedMsgServer) CreateContract

func (*UnimplementedMsgServer) Detach

func (*UnimplementedMsgServer) GrantPermission

func (*UnimplementedMsgServer) IssueFT

func (*UnimplementedMsgServer) IssueNFT

func (*UnimplementedMsgServer) MintFT

func (*UnimplementedMsgServer) MintNFT

func (*UnimplementedMsgServer) Modify

func (*UnimplementedMsgServer) OperatorAttach

func (*UnimplementedMsgServer) OperatorBurnFT

func (*UnimplementedMsgServer) OperatorBurnNFT

func (*UnimplementedMsgServer) OperatorDetach

func (*UnimplementedMsgServer) OperatorSendFT

func (*UnimplementedMsgServer) OperatorSendNFT

func (*UnimplementedMsgServer) RevokeOperator

func (*UnimplementedMsgServer) RevokePermission

func (*UnimplementedMsgServer) SendFT

func (*UnimplementedMsgServer) SendNFT

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllBalances

func (*UnimplementedQueryServer) Balance

func (*UnimplementedQueryServer) Children

func (*UnimplementedQueryServer) Contract

func (*UnimplementedQueryServer) FTBurnt

func (*UnimplementedQueryServer) FTMinted

func (*UnimplementedQueryServer) FTSupply

func (*UnimplementedQueryServer) GranteeGrants

func (*UnimplementedQueryServer) HasParent

func (*UnimplementedQueryServer) HoldersByOperator

func (*UnimplementedQueryServer) IsOperatorFor

func (*UnimplementedQueryServer) NFTBurnt

func (*UnimplementedQueryServer) NFTMinted

func (*UnimplementedQueryServer) NFTSupply

func (*UnimplementedQueryServer) Parent

func (*UnimplementedQueryServer) Root

func (*UnimplementedQueryServer) Token

func (*UnimplementedQueryServer) TokenClassTypeName

func (*UnimplementedQueryServer) TokenType

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL