collection

package
v0.46.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Overview

Package collection is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	DefaultDepthLimit = 3
	DefaultWidthLimit = 8
)
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 (
	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",
	3:  "ATTRIBUTE_KEY_CONTRACT_ID",
	4:  "ATTRIBUTE_KEY_TOKEN_ID",
	5:  "ATTRIBUTE_KEY_OWNER",
	6:  "ATTRIBUTE_KEY_AMOUNT",
	7:  "ATTRIBUTE_KEY_DECIMALS",
	8:  "ATTRIBUTE_KEY_BASE_IMG_URI",
	9:  "ATTRIBUTE_KEY_MINTABLE",
	10: "ATTRIBUTE_KEY_TOKEN_TYPE",
	11: "ATTRIBUTE_KEY_FROM",
	12: "ATTRIBUTE_KEY_TO",
	13: "ATTRIBUTE_KEY_PERM",
	14: "ATTRIBUTE_KEY_TO_TOKEN_ID",
	15: "ATTRIBUTE_KEY_FROM_TOKEN_ID",
	16: "ATTRIBUTE_KEY_APPROVER",
	17: "ATTRIBUTE_KEY_PROXY",
	18: "ATTRIBUTE_KEY_OLD_ROOT_TOKEN_ID",
	19: "ATTRIBUTE_KEY_NEW_ROOT_TOKEN_ID",
}
View Source
var AttributeKey_value = map[string]int32{
	"ATTRIBUTE_KEY_UNSPECIFIED":       0,
	"ATTRIBUTE_KEY_NAME":              1,
	"ATTRIBUTE_KEY_META":              2,
	"ATTRIBUTE_KEY_CONTRACT_ID":       3,
	"ATTRIBUTE_KEY_TOKEN_ID":          4,
	"ATTRIBUTE_KEY_OWNER":             5,
	"ATTRIBUTE_KEY_AMOUNT":            6,
	"ATTRIBUTE_KEY_DECIMALS":          7,
	"ATTRIBUTE_KEY_BASE_IMG_URI":      8,
	"ATTRIBUTE_KEY_MINTABLE":          9,
	"ATTRIBUTE_KEY_TOKEN_TYPE":        10,
	"ATTRIBUTE_KEY_FROM":              11,
	"ATTRIBUTE_KEY_TO":                12,
	"ATTRIBUTE_KEY_PERM":              13,
	"ATTRIBUTE_KEY_TO_TOKEN_ID":       14,
	"ATTRIBUTE_KEY_FROM_TOKEN_ID":     15,
	"ATTRIBUTE_KEY_APPROVER":          16,
	"ATTRIBUTE_KEY_PROXY":             17,
	"ATTRIBUTE_KEY_OLD_ROOT_TOKEN_ID": 18,
	"ATTRIBUTE_KEY_NEW_ROOT_TOKEN_ID": 19,
}
View Source
var EventType_name = map[int32]string{
	0:  "EVENT_TYPE_UNSPECIFIED",
	1:  "EVENT_TYPE_CREATE_COLLECTION",
	2:  "EVENT_TYPE_ISSUE_FT",
	3:  "EVENT_TYPE_ISSUE_NFT",
	4:  "EVENT_TYPE_MINT_FT",
	5:  "EVENT_TYPE_BURN_FT",
	6:  "EVENT_TYPE_MINT_NFT",
	7:  "EVENT_TYPE_BURN_NFT",
	8:  "EVENT_TYPE_BURN_FT_FROM",
	9:  "EVENT_TYPE_BURN_NFT_FROM",
	10: "EVENT_TYPE_MODIFY_COLLECTION",
	11: "EVENT_TYPE_MODIFY_TOKEN_TYPE",
	12: "EVENT_TYPE_MODIFY_TOKEN",
	13: "EVENT_TYPE_TRANSFER",
	14: "EVENT_TYPE_TRANSFER_FT",
	15: "EVENT_TYPE_TRANSFER_NFT",
	16: "EVENT_TYPE_TRANSFER_FT_FROM",
	17: "EVENT_TYPE_TRANSFER_NFT_FROM",
	18: "EVENT_TYPE_GRANT_PERM",
	19: "EVENT_TYPE_REVOKE_PERM",
	20: "EVENT_TYPE_ATTACH",
	21: "EVENT_TYPE_DETACH",
	22: "EVENT_TYPE_ATTACH_FROM",
	23: "EVENT_TYPE_DETACH_FROM",
	24: "EVENT_TYPE_APPROVE_COLLECTION",
	25: "EVENT_TYPE_DISAPPROVE_COLLECTION",
	26: "EVENT_TYPE_OPERATION_TRANSFER_NFT",
	27: "EVENT_TYPE_OPERATION_BURN_NFT",
	28: "EVENT_TYPE_OPERATION_ROOT_CHANGED",
}
View Source
var EventType_value = map[string]int32{
	"EVENT_TYPE_UNSPECIFIED":            0,
	"EVENT_TYPE_CREATE_COLLECTION":      1,
	"EVENT_TYPE_ISSUE_FT":               2,
	"EVENT_TYPE_ISSUE_NFT":              3,
	"EVENT_TYPE_MINT_FT":                4,
	"EVENT_TYPE_BURN_FT":                5,
	"EVENT_TYPE_MINT_NFT":               6,
	"EVENT_TYPE_BURN_NFT":               7,
	"EVENT_TYPE_BURN_FT_FROM":           8,
	"EVENT_TYPE_BURN_NFT_FROM":          9,
	"EVENT_TYPE_MODIFY_COLLECTION":      10,
	"EVENT_TYPE_MODIFY_TOKEN_TYPE":      11,
	"EVENT_TYPE_MODIFY_TOKEN":           12,
	"EVENT_TYPE_TRANSFER":               13,
	"EVENT_TYPE_TRANSFER_FT":            14,
	"EVENT_TYPE_TRANSFER_NFT":           15,
	"EVENT_TYPE_TRANSFER_FT_FROM":       16,
	"EVENT_TYPE_TRANSFER_NFT_FROM":      17,
	"EVENT_TYPE_GRANT_PERM":             18,
	"EVENT_TYPE_REVOKE_PERM":            19,
	"EVENT_TYPE_ATTACH":                 20,
	"EVENT_TYPE_DETACH":                 21,
	"EVENT_TYPE_ATTACH_FROM":            22,
	"EVENT_TYPE_DETACH_FROM":            23,
	"EVENT_TYPE_APPROVE_COLLECTION":     24,
	"EVENT_TYPE_DISAPPROVE_COLLECTION":  25,
	"EVENT_TYPE_OPERATION_TRANSFER_NFT": 26,
	"EVENT_TYPE_OPERATION_BURN_NFT":     27,
	"EVENT_TYPE_OPERATION_ROOT_CHANGED": 28,
}
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 NewEventApproveCollection deprecated added in v0.46.0

func NewEventApproveCollection(event EventAuthorizedOperator) sdk.Event

Deprecated: use EventAuthorizedOperator.

func NewEventAttachFrom deprecated added in v0.46.0

func NewEventAttachFrom(event EventAttached, newRoot string) sdk.Event

Deprecated: use EventAttached.

func NewEventAttachToken deprecated added in v0.46.0

func NewEventAttachToken(event EventAttached, newRoot string) sdk.Event

Deprecated: use EventAttached.

func NewEventBurnFT deprecated added in v0.46.0

func NewEventBurnFT(event EventBurned) *sdk.Event

Deprecated: use EventBurned.

func NewEventBurnFTFrom deprecated added in v0.46.0

func NewEventBurnFTFrom(event EventBurned) *sdk.Event

Deprecated: use EventBurned.

func NewEventBurnNFT deprecated added in v0.46.0

func NewEventBurnNFT(event EventBurned) sdk.Events

Deprecated: use EventBurned.

func NewEventBurnNFTFrom deprecated added in v0.46.0

func NewEventBurnNFTFrom(event EventBurned) sdk.Events

Deprecated: use EventBurned.

func NewEventCreateCollection deprecated added in v0.46.0

func NewEventCreateCollection(event EventCreatedContract) sdk.Event

Deprecated: use EventCreatedContract.

func NewEventDetachFrom deprecated added in v0.46.0

func NewEventDetachFrom(event EventDetached, oldRoot string) sdk.Event

Deprecated: use EventDetached.

func NewEventDetachToken deprecated added in v0.46.0

func NewEventDetachToken(event EventDetached, oldRoot string) sdk.Event

Deprecated: use EventDetached.

func NewEventDisapproveCollection deprecated added in v0.46.0

func NewEventDisapproveCollection(event EventRevokedOperator) sdk.Event

Deprecated: use EventRevokedOperator.

func NewEventGrantPermToken deprecated added in v0.46.0

func NewEventGrantPermToken(event EventGranted) sdk.Event

Deprecated: use EventGranted.

func NewEventGrantPermTokenBody deprecated added in v0.46.0

func NewEventGrantPermTokenBody(event EventGranted) sdk.Event

Deprecated: use EventGranted.

func NewEventGrantPermTokenHead deprecated added in v0.46.0

func NewEventGrantPermTokenHead(event EventGranted) sdk.Event

Deprecated: use EventGranted.

func NewEventIssueFT deprecated added in v0.46.0

func NewEventIssueFT(event EventCreatedFTClass, to sdk.AccAddress, amount sdk.Int) sdk.Event

Deprecated: use EventCreatedFTClass.

func NewEventIssueNFT deprecated added in v0.46.0

func NewEventIssueNFT(event EventCreatedNFTClass) sdk.Event

Deprecated: use EventCreatedNFTClass.

func NewEventMintFT deprecated added in v0.46.0

func NewEventMintFT(event EventMintedFT) sdk.Event

Deprecated: use EventMintedFT.

func NewEventMintNFT deprecated added in v0.46.0

func NewEventMintNFT(event EventMintedNFT) sdk.Events

Deprecated: use EventMintedNFT.

func NewEventModifyCollection deprecated added in v0.46.0

func NewEventModifyCollection(event EventModifiedContract) sdk.Events

Deprecated: use EventModifiedContract

func NewEventModifyTokenOfFTClass deprecated added in v0.46.0

func NewEventModifyTokenOfFTClass(event EventModifiedTokenClass) sdk.Events

Deprecated: use EventModifiedTokenClass

func NewEventModifyTokenOfNFT deprecated added in v0.46.0

func NewEventModifyTokenOfNFT(event EventModifiedNFT) sdk.Events

Deprecated: use EventModifiedNFT

func NewEventModifyTokenType deprecated added in v0.46.0

func NewEventModifyTokenType(event EventModifiedTokenClass) sdk.Events

Deprecated: use EventModifiedTokenClass

func NewEventOperationBurnNFT deprecated added in v0.46.0

func NewEventOperationBurnNFT(contractID string, tokenID string) sdk.Event

Deprecated: use EventBurned.

func NewEventOperationRootChanged deprecated added in v0.46.0

func NewEventOperationRootChanged(event EventRootChanged) sdk.Event

Deprecated: do not use.

func NewEventOperationTransferNFT deprecated added in v0.46.0

func NewEventOperationTransferNFT(event EventOwnerChanged) sdk.Event

Deprecated: do not use.

func NewEventRevokePermToken deprecated added in v0.46.0

func NewEventRevokePermToken(event EventRenounced) sdk.Event

Deprecated: use EventRenounced.

func NewEventTransferFT deprecated added in v0.46.0

func NewEventTransferFT(event EventSent) *sdk.Event

Deprecated: use EventSent.

func NewEventTransferFTFrom deprecated added in v0.46.0

func NewEventTransferFTFrom(event EventSent) *sdk.Event

Deprecated: use EventSent.

func NewEventTransferNFT deprecated added in v0.46.0

func NewEventTransferNFT(event EventSent) sdk.Events

Deprecated: use EventSent.

func NewEventTransferNFTFrom deprecated added in v0.46.0

func NewEventTransferNFTFrom(event EventSent) sdk.Events

Deprecated: use EventSent.

func NewFTID added in v0.46.0

func NewFTID(classID string) string

func NewNFTID added in v0.46.0

func NewNFTID(classID string, number int) string

func RegisterInterfaces added in v0.46.0

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec added in v0.46.0

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec

func RegisterMsgServer added in v0.46.0

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler added in v0.46.0

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 added in v0.46.0

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 added in v0.46.0

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 added in v0.46.0

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 added in v0.46.0

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SplitTokenID added in v0.46.0

func SplitTokenID(tokenID string) (classID string)

func TokenClassToAny added in v0.46.0

func TokenClassToAny(class TokenClass) *codectypes.Any

func TokenClassUnpackInterfaces added in v0.46.0

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

func TokenUnpackInterfaces added in v0.46.0

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

func ValidateClassID added in v0.46.0

func ValidateClassID(id string) error

func ValidateContractID added in v0.46.0

func ValidateContractID(id string) error

func ValidateFTID added in v0.46.0

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 added in v0.46.0

func ValidateLegacyFTClassID(id string) error

Deprecated: do not use (no successor).

func ValidateLegacyNFTClassID deprecated added in v0.46.0

func ValidateLegacyNFTClassID(id string) error

Deprecated: do not use (no successor).

func ValidateLegacyNFTID deprecated added in v0.46.0

func ValidateLegacyNFTID(id string) error

Deprecated: do not use (no successor).

func ValidateNFTID added in v0.46.0

func ValidateNFTID(id string) error

func ValidatePermission added in v0.46.0

func ValidatePermission(permission Permission) error

func ValidateTokenID added in v0.46.0

func ValidateTokenID(id string) error

Types

type AccountKeeper added in v0.46.0

type AccountKeeper interface {
	HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool
	SetAccount(ctx sdk.Context, account authtypes.AccountI)

	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
}

AccountKeeper defines the contract required for account APIs.

type Attribute added in v0.46.0

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 added in v0.46.0

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

func (*Attribute) Marshal added in v0.46.0

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

func (*Attribute) MarshalTo added in v0.46.0

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

func (*Attribute) MarshalToSizedBuffer added in v0.46.0

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

func (*Attribute) ProtoMessage added in v0.46.0

func (*Attribute) ProtoMessage()

func (*Attribute) Reset added in v0.46.0

func (m *Attribute) Reset()

func (*Attribute) Size added in v0.46.0

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

func (*Attribute) String added in v0.46.0

func (m *Attribute) String() string

func (*Attribute) Unmarshal added in v0.46.0

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

func (*Attribute) XXX_DiscardUnknown added in v0.46.0

func (m *Attribute) XXX_DiscardUnknown()

func (*Attribute) XXX_Marshal added in v0.46.0

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

func (*Attribute) XXX_Merge added in v0.46.0

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

func (*Attribute) XXX_Size added in v0.46.0

func (m *Attribute) XXX_Size() int

func (*Attribute) XXX_Unmarshal added in v0.46.0

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

type AttributeKey deprecated added in v0.46.0

type AttributeKey int32

Deprecated: use typed events.

AttributeKey enumerates the valid attribute keys on x/collection.

const (
	AttributeKeyUnspecified AttributeKey = 0
	AttributeKeyName        AttributeKey = 1
	AttributeKeyMeta        AttributeKey = 2
	AttributeKeyContractID  AttributeKey = 3
	AttributeKeyTokenID     AttributeKey = 4
	AttributeKeyOwner       AttributeKey = 5
	AttributeKeyAmount      AttributeKey = 6
	AttributeKeyDecimals    AttributeKey = 7
	AttributeKeyBaseImgURI  AttributeKey = 8
	AttributeKeyMintable    AttributeKey = 9
	AttributeKeyTokenType   AttributeKey = 10
	AttributeKeyFrom        AttributeKey = 11
	AttributeKeyTo          AttributeKey = 12
	AttributeKeyPerm        AttributeKey = 13
	AttributeKeyToTokenID   AttributeKey = 14
	AttributeKeyFromTokenID AttributeKey = 15
	AttributeKeyApprover    AttributeKey = 16
	AttributeKeyProxy       AttributeKey = 17
	AttributeKeyOldRoot     AttributeKey = 18
	AttributeKeyNewRoot     AttributeKey = 19
)

func AttributeKeyFromString added in v0.46.0

func AttributeKeyFromString(name string) AttributeKey

func (AttributeKey) EnumDescriptor added in v0.46.0

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

func (AttributeKey) String added in v0.46.0

func (x AttributeKey) String() string

type Authorization added in v0.46.0

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 added in v0.46.0

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

func (*Authorization) Marshal added in v0.46.0

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

func (*Authorization) MarshalTo added in v0.46.0

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

func (*Authorization) MarshalToSizedBuffer added in v0.46.0

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

func (*Authorization) ProtoMessage added in v0.46.0

func (*Authorization) ProtoMessage()

func (*Authorization) Reset added in v0.46.0

func (m *Authorization) Reset()

func (*Authorization) Size added in v0.46.0

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

func (*Authorization) String added in v0.46.0

func (m *Authorization) String() string

func (*Authorization) Unmarshal added in v0.46.0

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

func (*Authorization) XXX_DiscardUnknown added in v0.46.0

func (m *Authorization) XXX_DiscardUnknown()

func (*Authorization) XXX_Marshal added in v0.46.0

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

func (*Authorization) XXX_Merge added in v0.46.0

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

func (*Authorization) XXX_Size added in v0.46.0

func (m *Authorization) XXX_Size() int

func (*Authorization) XXX_Unmarshal added in v0.46.0

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

type Balance added in v0.46.0

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 added in v0.46.0

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

func (*Balance) Equal added in v0.46.0

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

func (*Balance) GetAddress added in v0.46.0

func (m *Balance) GetAddress() string

func (*Balance) GetAmount added in v0.46.0

func (m *Balance) GetAmount() Coins

func (*Balance) Marshal added in v0.46.0

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

func (*Balance) MarshalTo added in v0.46.0

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

func (*Balance) MarshalToSizedBuffer added in v0.46.0

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

func (*Balance) ProtoMessage added in v0.46.0

func (*Balance) ProtoMessage()

func (*Balance) Reset added in v0.46.0

func (m *Balance) Reset()

func (*Balance) Size added in v0.46.0

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

func (*Balance) String added in v0.46.0

func (m *Balance) String() string

func (*Balance) Unmarshal added in v0.46.0

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

func (*Balance) XXX_DiscardUnknown added in v0.46.0

func (m *Balance) XXX_DiscardUnknown()

func (*Balance) XXX_Marshal added in v0.46.0

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

func (*Balance) XXX_Merge added in v0.46.0

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

func (*Balance) XXX_Size added in v0.46.0

func (m *Balance) XXX_Size() int

func (*Balance) XXX_Unmarshal added in v0.46.0

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

type Change deprecated added in v0.46.0

type Change struct {
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

Deprecated: use Attribute

Change defines a field-value pair.

func (*Change) Descriptor added in v0.46.0

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

func (*Change) Marshal added in v0.46.0

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

func (*Change) MarshalTo added in v0.46.0

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

func (*Change) MarshalToSizedBuffer added in v0.46.0

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

func (*Change) ProtoMessage added in v0.46.0

func (*Change) ProtoMessage()

func (*Change) Reset added in v0.46.0

func (m *Change) Reset()

func (*Change) Size added in v0.46.0

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

func (*Change) String added in v0.46.0

func (m *Change) String() string

func (*Change) Unmarshal added in v0.46.0

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

func (*Change) XXX_DiscardUnknown added in v0.46.0

func (m *Change) XXX_DiscardUnknown()

func (*Change) XXX_Marshal added in v0.46.0

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

func (*Change) XXX_Merge added in v0.46.0

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

func (*Change) XXX_Size added in v0.46.0

func (m *Change) XXX_Size() int

func (*Change) XXX_Unmarshal added in v0.46.0

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

type ClassKeeper added in v0.46.0

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 added in v0.46.0

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_line_lbm_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/line/lbm-sdk/types.Int" json:"amount"`
}

ClassStatistics defines statistics belong to a token class.

func (*ClassStatistics) Descriptor added in v0.46.0

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

func (*ClassStatistics) GetClassId added in v0.46.0

func (m *ClassStatistics) GetClassId() string

func (*ClassStatistics) Marshal added in v0.46.0

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

func (*ClassStatistics) MarshalTo added in v0.46.0

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

func (*ClassStatistics) MarshalToSizedBuffer added in v0.46.0

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

func (*ClassStatistics) ProtoMessage added in v0.46.0

func (*ClassStatistics) ProtoMessage()

func (*ClassStatistics) Reset added in v0.46.0

func (m *ClassStatistics) Reset()

func (*ClassStatistics) Size added in v0.46.0

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

func (*ClassStatistics) String added in v0.46.0

func (m *ClassStatistics) String() string

func (*ClassStatistics) Unmarshal added in v0.46.0

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

func (*ClassStatistics) XXX_DiscardUnknown added in v0.46.0

func (m *ClassStatistics) XXX_DiscardUnknown()

func (*ClassStatistics) XXX_Marshal added in v0.46.0

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

func (*ClassStatistics) XXX_Merge added in v0.46.0

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

func (*ClassStatistics) XXX_Size added in v0.46.0

func (m *ClassStatistics) XXX_Size() int

func (*ClassStatistics) XXX_Unmarshal added in v0.46.0

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

type Coin added in v0.46.0

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_line_lbm_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/line/lbm-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 added in v0.46.0

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

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

func NewNFTCoin added in v0.46.0

func NewNFTCoin(classID string, number int) Coin

func ParseCoin added in v0.46.0

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

func (*Coin) Descriptor added in v0.46.0

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

func (*Coin) Equal added in v0.46.0

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

func (*Coin) Marshal added in v0.46.0

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

func (*Coin) MarshalTo added in v0.46.0

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

func (*Coin) MarshalToSizedBuffer added in v0.46.0

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

func (*Coin) ProtoMessage added in v0.46.0

func (*Coin) ProtoMessage()

func (*Coin) Reset added in v0.46.0

func (m *Coin) Reset()

func (*Coin) Size added in v0.46.0

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

func (Coin) String added in v0.46.0

func (c Coin) String() string

func (*Coin) Unmarshal added in v0.46.0

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

func (Coin) ValidateBasic added in v0.46.0

func (c Coin) ValidateBasic() error

func (*Coin) XXX_DiscardUnknown added in v0.46.0

func (m *Coin) XXX_DiscardUnknown()

func (*Coin) XXX_Marshal added in v0.46.0

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

func (*Coin) XXX_Merge added in v0.46.0

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

func (*Coin) XXX_Size added in v0.46.0

func (m *Coin) XXX_Size() int

func (*Coin) XXX_Unmarshal added in v0.46.0

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

type Coins

type Coins []Coin

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

func NewCoins added in v0.46.0

func NewCoins(coins ...Coin) Coins

func ParseCoins added in v0.46.0

func ParseCoins(coinsStr string) (Coins, error)

func (Coins) String added in v0.46.0

func (coins Coins) String() string

func (Coins) ValidateBasic added in v0.46.0

func (coins Coins) ValidateBasic() error

type Contract added in v0.46.0

type Contract struct {
	// contract_id defines the unique identifier of 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 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"`
	// base img uri is an uri for the contract image stored off chain.
	BaseImgUri string `protobuf:"bytes,4,opt,name=base_img_uri,json=baseImgUri,proto3" json:"base_img_uri,omitempty"`
}

Contract defines the information of the contract for the collection.

func (*Contract) Descriptor added in v0.46.0

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

func (*Contract) Marshal added in v0.46.0

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

func (*Contract) MarshalTo added in v0.46.0

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

func (*Contract) MarshalToSizedBuffer added in v0.46.0

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

func (*Contract) ProtoMessage added in v0.46.0

func (*Contract) ProtoMessage()

func (*Contract) Reset added in v0.46.0

func (m *Contract) Reset()

func (*Contract) Size added in v0.46.0

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

func (*Contract) String added in v0.46.0

func (m *Contract) String() string

func (*Contract) Unmarshal added in v0.46.0

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

func (*Contract) XXX_DiscardUnknown added in v0.46.0

func (m *Contract) XXX_DiscardUnknown()

func (*Contract) XXX_Marshal added in v0.46.0

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

func (*Contract) XXX_Merge added in v0.46.0

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

func (*Contract) XXX_Size added in v0.46.0

func (m *Contract) XXX_Size() int

func (*Contract) XXX_Unmarshal added in v0.46.0

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

type ContractAuthorizations added in v0.46.0

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 added in v0.46.0

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

func (*ContractAuthorizations) GetAuthorizations added in v0.46.0

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

func (*ContractAuthorizations) GetContractId added in v0.46.0

func (m *ContractAuthorizations) GetContractId() string

func (*ContractAuthorizations) Marshal added in v0.46.0

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

func (*ContractAuthorizations) MarshalTo added in v0.46.0

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

func (*ContractAuthorizations) MarshalToSizedBuffer added in v0.46.0

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

func (*ContractAuthorizations) ProtoMessage added in v0.46.0

func (*ContractAuthorizations) ProtoMessage()

func (*ContractAuthorizations) Reset added in v0.46.0

func (m *ContractAuthorizations) Reset()

func (*ContractAuthorizations) Size added in v0.46.0

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

func (*ContractAuthorizations) String added in v0.46.0

func (m *ContractAuthorizations) String() string

func (*ContractAuthorizations) Unmarshal added in v0.46.0

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

func (*ContractAuthorizations) XXX_DiscardUnknown added in v0.46.0

func (m *ContractAuthorizations) XXX_DiscardUnknown()

func (*ContractAuthorizations) XXX_Marshal added in v0.46.0

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

func (*ContractAuthorizations) XXX_Merge added in v0.46.0

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

func (*ContractAuthorizations) XXX_Size added in v0.46.0

func (m *ContractAuthorizations) XXX_Size() int

func (*ContractAuthorizations) XXX_Unmarshal added in v0.46.0

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

type ContractBalances added in v0.46.0

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 added in v0.46.0

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

func (*ContractBalances) GetBalances added in v0.46.0

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

func (*ContractBalances) GetContractId added in v0.46.0

func (m *ContractBalances) GetContractId() string

func (*ContractBalances) Marshal added in v0.46.0

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

func (*ContractBalances) MarshalTo added in v0.46.0

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

func (*ContractBalances) MarshalToSizedBuffer added in v0.46.0

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

func (*ContractBalances) ProtoMessage added in v0.46.0

func (*ContractBalances) ProtoMessage()

func (*ContractBalances) Reset added in v0.46.0

func (m *ContractBalances) Reset()

func (*ContractBalances) Size added in v0.46.0

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

func (*ContractBalances) String added in v0.46.0

func (m *ContractBalances) String() string

func (*ContractBalances) Unmarshal added in v0.46.0

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

func (*ContractBalances) XXX_DiscardUnknown added in v0.46.0

func (m *ContractBalances) XXX_DiscardUnknown()

func (*ContractBalances) XXX_Marshal added in v0.46.0

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

func (*ContractBalances) XXX_Merge added in v0.46.0

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

func (*ContractBalances) XXX_Size added in v0.46.0

func (m *ContractBalances) XXX_Size() int

func (*ContractBalances) XXX_Unmarshal added in v0.46.0

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

type ContractClasses added in v0.46.0

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 added in v0.46.0

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

func (*ContractClasses) GetClasses added in v0.46.0

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

func (*ContractClasses) GetContractId added in v0.46.0

func (m *ContractClasses) GetContractId() string

func (*ContractClasses) Marshal added in v0.46.0

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

func (*ContractClasses) MarshalTo added in v0.46.0

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

func (*ContractClasses) MarshalToSizedBuffer added in v0.46.0

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

func (*ContractClasses) ProtoMessage added in v0.46.0

func (*ContractClasses) ProtoMessage()

func (*ContractClasses) Reset added in v0.46.0

func (m *ContractClasses) Reset()

func (*ContractClasses) Size added in v0.46.0

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

func (*ContractClasses) String added in v0.46.0

func (m *ContractClasses) String() string

func (*ContractClasses) Unmarshal added in v0.46.0

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

func (*ContractClasses) XXX_DiscardUnknown added in v0.46.0

func (m *ContractClasses) XXX_DiscardUnknown()

func (*ContractClasses) XXX_Marshal added in v0.46.0

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

func (*ContractClasses) XXX_Merge added in v0.46.0

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

func (*ContractClasses) XXX_Size added in v0.46.0

func (m *ContractClasses) XXX_Size() int

func (*ContractClasses) XXX_Unmarshal added in v0.46.0

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

type ContractGrants added in v0.46.0

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 added in v0.46.0

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

func (*ContractGrants) GetContractId added in v0.46.0

func (m *ContractGrants) GetContractId() string

func (*ContractGrants) GetGrants added in v0.46.0

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

func (*ContractGrants) Marshal added in v0.46.0

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

func (*ContractGrants) MarshalTo added in v0.46.0

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

func (*ContractGrants) MarshalToSizedBuffer added in v0.46.0

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

func (*ContractGrants) ProtoMessage added in v0.46.0

func (*ContractGrants) ProtoMessage()

func (*ContractGrants) Reset added in v0.46.0

func (m *ContractGrants) Reset()

func (*ContractGrants) Size added in v0.46.0

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

func (*ContractGrants) String added in v0.46.0

func (m *ContractGrants) String() string

func (*ContractGrants) Unmarshal added in v0.46.0

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

func (*ContractGrants) XXX_DiscardUnknown added in v0.46.0

func (m *ContractGrants) XXX_DiscardUnknown()

func (*ContractGrants) XXX_Marshal added in v0.46.0

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

func (*ContractGrants) XXX_Merge added in v0.46.0

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

func (*ContractGrants) XXX_Size added in v0.46.0

func (m *ContractGrants) XXX_Size() int

func (*ContractGrants) XXX_Unmarshal added in v0.46.0

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

type ContractNFTs added in v0.46.0

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 added in v0.46.0

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

func (*ContractNFTs) GetContractId added in v0.46.0

func (m *ContractNFTs) GetContractId() string

func (*ContractNFTs) GetNfts added in v0.46.0

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

func (*ContractNFTs) Marshal added in v0.46.0

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

func (*ContractNFTs) MarshalTo added in v0.46.0

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

func (*ContractNFTs) MarshalToSizedBuffer added in v0.46.0

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

func (*ContractNFTs) ProtoMessage added in v0.46.0

func (*ContractNFTs) ProtoMessage()

func (*ContractNFTs) Reset added in v0.46.0

func (m *ContractNFTs) Reset()

func (*ContractNFTs) Size added in v0.46.0

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

func (*ContractNFTs) String added in v0.46.0

func (m *ContractNFTs) String() string

func (*ContractNFTs) Unmarshal added in v0.46.0

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

func (*ContractNFTs) XXX_DiscardUnknown added in v0.46.0

func (m *ContractNFTs) XXX_DiscardUnknown()

func (*ContractNFTs) XXX_Marshal added in v0.46.0

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

func (*ContractNFTs) XXX_Merge added in v0.46.0

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

func (*ContractNFTs) XXX_Size added in v0.46.0

func (m *ContractNFTs) XXX_Size() int

func (*ContractNFTs) XXX_Unmarshal added in v0.46.0

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

type ContractNextTokenIDs added in v0.46.0

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 added in v0.46.0

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

func (*ContractNextTokenIDs) GetContractId added in v0.46.0

func (m *ContractNextTokenIDs) GetContractId() string

func (*ContractNextTokenIDs) GetTokenIds added in v0.46.0

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

func (*ContractNextTokenIDs) Marshal added in v0.46.0

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

func (*ContractNextTokenIDs) MarshalTo added in v0.46.0

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

func (*ContractNextTokenIDs) MarshalToSizedBuffer added in v0.46.0

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

func (*ContractNextTokenIDs) ProtoMessage added in v0.46.0

func (*ContractNextTokenIDs) ProtoMessage()

func (*ContractNextTokenIDs) Reset added in v0.46.0

func (m *ContractNextTokenIDs) Reset()

func (*ContractNextTokenIDs) Size added in v0.46.0

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

func (*ContractNextTokenIDs) String added in v0.46.0

func (m *ContractNextTokenIDs) String() string

func (*ContractNextTokenIDs) Unmarshal added in v0.46.0

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

func (*ContractNextTokenIDs) XXX_DiscardUnknown added in v0.46.0

func (m *ContractNextTokenIDs) XXX_DiscardUnknown()

func (*ContractNextTokenIDs) XXX_Marshal added in v0.46.0

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

func (*ContractNextTokenIDs) XXX_Merge added in v0.46.0

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

func (*ContractNextTokenIDs) XXX_Size added in v0.46.0

func (m *ContractNextTokenIDs) XXX_Size() int

func (*ContractNextTokenIDs) XXX_Unmarshal added in v0.46.0

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

type ContractStatistics added in v0.46.0

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 added in v0.46.0

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

func (*ContractStatistics) GetContractId added in v0.46.0

func (m *ContractStatistics) GetContractId() string

func (*ContractStatistics) GetStatistics added in v0.46.0

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

func (*ContractStatistics) Marshal added in v0.46.0

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

func (*ContractStatistics) MarshalTo added in v0.46.0

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

func (*ContractStatistics) MarshalToSizedBuffer added in v0.46.0

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

func (*ContractStatistics) ProtoMessage added in v0.46.0

func (*ContractStatistics) ProtoMessage()

func (*ContractStatistics) Reset added in v0.46.0

func (m *ContractStatistics) Reset()

func (*ContractStatistics) Size added in v0.46.0

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

func (*ContractStatistics) String added in v0.46.0

func (m *ContractStatistics) String() string

func (*ContractStatistics) Unmarshal added in v0.46.0

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

func (*ContractStatistics) XXX_DiscardUnknown added in v0.46.0

func (m *ContractStatistics) XXX_DiscardUnknown()

func (*ContractStatistics) XXX_Marshal added in v0.46.0

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

func (*ContractStatistics) XXX_Merge added in v0.46.0

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

func (*ContractStatistics) XXX_Size added in v0.46.0

func (m *ContractStatistics) XXX_Size() int

func (*ContractStatistics) XXX_Unmarshal added in v0.46.0

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

type ContractTokenRelations added in v0.46.0

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 added in v0.46.0

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

func (*ContractTokenRelations) GetContractId added in v0.46.0

func (m *ContractTokenRelations) GetContractId() string

func (*ContractTokenRelations) GetRelations added in v0.46.0

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

func (*ContractTokenRelations) Marshal added in v0.46.0

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

func (*ContractTokenRelations) MarshalTo added in v0.46.0

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

func (*ContractTokenRelations) MarshalToSizedBuffer added in v0.46.0

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

func (*ContractTokenRelations) ProtoMessage added in v0.46.0

func (*ContractTokenRelations) ProtoMessage()

func (*ContractTokenRelations) Reset added in v0.46.0

func (m *ContractTokenRelations) Reset()

func (*ContractTokenRelations) Size added in v0.46.0

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

func (*ContractTokenRelations) String added in v0.46.0

func (m *ContractTokenRelations) String() string

func (*ContractTokenRelations) Unmarshal added in v0.46.0

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

func (*ContractTokenRelations) XXX_DiscardUnknown added in v0.46.0

func (m *ContractTokenRelations) XXX_DiscardUnknown()

func (*ContractTokenRelations) XXX_Marshal added in v0.46.0

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

func (*ContractTokenRelations) XXX_Merge added in v0.46.0

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

func (*ContractTokenRelations) XXX_Size added in v0.46.0

func (m *ContractTokenRelations) XXX_Size() int

func (*ContractTokenRelations) XXX_Unmarshal added in v0.46.0

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

type EventAttached added in v0.46.0

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 added in v0.46.0

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

func (*EventAttached) GetContractId added in v0.46.0

func (m *EventAttached) GetContractId() string

func (*EventAttached) GetHolder added in v0.46.0

func (m *EventAttached) GetHolder() string

func (*EventAttached) GetOperator added in v0.46.0

func (m *EventAttached) GetOperator() string

func (*EventAttached) GetSubject added in v0.46.0

func (m *EventAttached) GetSubject() string

func (*EventAttached) GetTarget added in v0.46.0

func (m *EventAttached) GetTarget() string

func (*EventAttached) Marshal added in v0.46.0

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

func (*EventAttached) MarshalTo added in v0.46.0

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

func (*EventAttached) MarshalToSizedBuffer added in v0.46.0

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

func (*EventAttached) ProtoMessage added in v0.46.0

func (*EventAttached) ProtoMessage()

func (*EventAttached) Reset added in v0.46.0

func (m *EventAttached) Reset()

func (*EventAttached) Size added in v0.46.0

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

func (*EventAttached) String added in v0.46.0

func (m *EventAttached) String() string

func (*EventAttached) Unmarshal added in v0.46.0

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

func (*EventAttached) XXX_DiscardUnknown added in v0.46.0

func (m *EventAttached) XXX_DiscardUnknown()

func (*EventAttached) XXX_Marshal added in v0.46.0

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

func (*EventAttached) XXX_Merge added in v0.46.0

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

func (*EventAttached) XXX_Size added in v0.46.0

func (m *EventAttached) XXX_Size() int

func (*EventAttached) XXX_Unmarshal added in v0.46.0

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

type EventAuthorizedOperator added in v0.46.0

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 added in v0.46.0

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

func (*EventAuthorizedOperator) GetContractId added in v0.46.0

func (m *EventAuthorizedOperator) GetContractId() string

func (*EventAuthorizedOperator) GetHolder added in v0.46.0

func (m *EventAuthorizedOperator) GetHolder() string

func (*EventAuthorizedOperator) GetOperator added in v0.46.0

func (m *EventAuthorizedOperator) GetOperator() string

func (*EventAuthorizedOperator) Marshal added in v0.46.0

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

func (*EventAuthorizedOperator) MarshalTo added in v0.46.0

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

func (*EventAuthorizedOperator) MarshalToSizedBuffer added in v0.46.0

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

func (*EventAuthorizedOperator) ProtoMessage added in v0.46.0

func (*EventAuthorizedOperator) ProtoMessage()

func (*EventAuthorizedOperator) Reset added in v0.46.0

func (m *EventAuthorizedOperator) Reset()

func (*EventAuthorizedOperator) Size added in v0.46.0

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

func (*EventAuthorizedOperator) String added in v0.46.0

func (m *EventAuthorizedOperator) String() string

func (*EventAuthorizedOperator) Unmarshal added in v0.46.0

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

func (*EventAuthorizedOperator) XXX_DiscardUnknown added in v0.46.0

func (m *EventAuthorizedOperator) XXX_DiscardUnknown()

func (*EventAuthorizedOperator) XXX_Marshal added in v0.46.0

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

func (*EventAuthorizedOperator) XXX_Merge added in v0.46.0

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

func (*EventAuthorizedOperator) XXX_Size added in v0.46.0

func (m *EventAuthorizedOperator) XXX_Size() int

func (*EventAuthorizedOperator) XXX_Unmarshal added in v0.46.0

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

type EventBurned added in v0.46.0

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 added in v0.46.0

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

func (*EventBurned) GetAmount added in v0.46.0

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

func (*EventBurned) GetContractId added in v0.46.0

func (m *EventBurned) GetContractId() string

func (*EventBurned) GetFrom added in v0.46.0

func (m *EventBurned) GetFrom() string

func (*EventBurned) GetOperator added in v0.46.0

func (m *EventBurned) GetOperator() string

func (*EventBurned) Marshal added in v0.46.0

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

func (*EventBurned) MarshalTo added in v0.46.0

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

func (*EventBurned) MarshalToSizedBuffer added in v0.46.0

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

func (*EventBurned) ProtoMessage added in v0.46.0

func (*EventBurned) ProtoMessage()

func (*EventBurned) Reset added in v0.46.0

func (m *EventBurned) Reset()

func (*EventBurned) Size added in v0.46.0

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

func (*EventBurned) String added in v0.46.0

func (m *EventBurned) String() string

func (*EventBurned) Unmarshal added in v0.46.0

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

func (*EventBurned) XXX_DiscardUnknown added in v0.46.0

func (m *EventBurned) XXX_DiscardUnknown()

func (*EventBurned) XXX_Marshal added in v0.46.0

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

func (*EventBurned) XXX_Merge added in v0.46.0

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

func (*EventBurned) XXX_Size added in v0.46.0

func (m *EventBurned) XXX_Size() int

func (*EventBurned) XXX_Unmarshal added in v0.46.0

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

type EventCreatedContract added in v0.46.0

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.
	BaseImgUri string `protobuf:"bytes,5,opt,name=base_img_uri,json=baseImgUri,proto3" json:"base_img_uri,omitempty"`
}

EventCreatedContract is emitted when a new contract is created.

Since: 0.46.0 (finschia)

func (*EventCreatedContract) Descriptor added in v0.46.0

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

func (*EventCreatedContract) GetBaseImgUri added in v0.46.0

func (m *EventCreatedContract) GetBaseImgUri() string

func (*EventCreatedContract) GetContractId added in v0.46.0

func (m *EventCreatedContract) GetContractId() string

func (*EventCreatedContract) GetCreator added in v0.46.0

func (m *EventCreatedContract) GetCreator() string

func (*EventCreatedContract) GetMeta added in v0.46.0

func (m *EventCreatedContract) GetMeta() string

func (*EventCreatedContract) GetName added in v0.46.0

func (m *EventCreatedContract) GetName() string

func (*EventCreatedContract) Marshal added in v0.46.0

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

func (*EventCreatedContract) MarshalTo added in v0.46.0

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

func (*EventCreatedContract) MarshalToSizedBuffer added in v0.46.0

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

func (*EventCreatedContract) ProtoMessage added in v0.46.0

func (*EventCreatedContract) ProtoMessage()

func (*EventCreatedContract) Reset added in v0.46.0

func (m *EventCreatedContract) Reset()

func (*EventCreatedContract) Size added in v0.46.0

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

func (*EventCreatedContract) String added in v0.46.0

func (m *EventCreatedContract) String() string

func (*EventCreatedContract) Unmarshal added in v0.46.0

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

func (*EventCreatedContract) XXX_DiscardUnknown added in v0.46.0

func (m *EventCreatedContract) XXX_DiscardUnknown()

func (*EventCreatedContract) XXX_Marshal added in v0.46.0

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

func (*EventCreatedContract) XXX_Merge added in v0.46.0

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

func (*EventCreatedContract) XXX_Size added in v0.46.0

func (m *EventCreatedContract) XXX_Size() int

func (*EventCreatedContract) XXX_Unmarshal added in v0.46.0

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

type EventCreatedFTClass added in v0.46.0

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"`
	// class id associated with the token class.
	ClassId string `protobuf:"bytes,3,opt,name=class_id,json=classId,proto3" json:"class_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 added in v0.46.0

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

func (*EventCreatedFTClass) GetClassId added in v0.46.0

func (m *EventCreatedFTClass) GetClassId() string

func (*EventCreatedFTClass) GetContractId added in v0.46.0

func (m *EventCreatedFTClass) GetContractId() string

func (*EventCreatedFTClass) GetDecimals added in v0.46.0

func (m *EventCreatedFTClass) GetDecimals() int32

func (*EventCreatedFTClass) GetMeta added in v0.46.0

func (m *EventCreatedFTClass) GetMeta() string

func (*EventCreatedFTClass) GetMintable added in v0.46.0

func (m *EventCreatedFTClass) GetMintable() bool

func (*EventCreatedFTClass) GetName added in v0.46.0

func (m *EventCreatedFTClass) GetName() string

func (*EventCreatedFTClass) GetOperator added in v0.46.0

func (m *EventCreatedFTClass) GetOperator() string

func (*EventCreatedFTClass) Marshal added in v0.46.0

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

func (*EventCreatedFTClass) MarshalTo added in v0.46.0

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

func (*EventCreatedFTClass) MarshalToSizedBuffer added in v0.46.0

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

func (*EventCreatedFTClass) ProtoMessage added in v0.46.0

func (*EventCreatedFTClass) ProtoMessage()

func (*EventCreatedFTClass) Reset added in v0.46.0

func (m *EventCreatedFTClass) Reset()

func (*EventCreatedFTClass) Size added in v0.46.0

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

func (*EventCreatedFTClass) String added in v0.46.0

func (m *EventCreatedFTClass) String() string

func (*EventCreatedFTClass) Unmarshal added in v0.46.0

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

func (*EventCreatedFTClass) XXX_DiscardUnknown added in v0.46.0

func (m *EventCreatedFTClass) XXX_DiscardUnknown()

func (*EventCreatedFTClass) XXX_Marshal added in v0.46.0

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

func (*EventCreatedFTClass) XXX_Merge added in v0.46.0

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

func (*EventCreatedFTClass) XXX_Size added in v0.46.0

func (m *EventCreatedFTClass) XXX_Size() int

func (*EventCreatedFTClass) XXX_Unmarshal added in v0.46.0

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

type EventCreatedNFTClass added in v0.46.0

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"`
	// class id associated with the token class.
	ClassId string `protobuf:"bytes,3,opt,name=class_id,json=classId,proto3" json:"class_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"`
}

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

Since: 0.46.0 (finschia)

func (*EventCreatedNFTClass) Descriptor added in v0.46.0

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

func (*EventCreatedNFTClass) GetClassId added in v0.46.0

func (m *EventCreatedNFTClass) GetClassId() string

func (*EventCreatedNFTClass) GetContractId added in v0.46.0

func (m *EventCreatedNFTClass) GetContractId() string

func (*EventCreatedNFTClass) GetMeta added in v0.46.0

func (m *EventCreatedNFTClass) GetMeta() string

func (*EventCreatedNFTClass) GetName added in v0.46.0

func (m *EventCreatedNFTClass) GetName() string

func (*EventCreatedNFTClass) GetOperator added in v0.46.0

func (m *EventCreatedNFTClass) GetOperator() string

func (*EventCreatedNFTClass) Marshal added in v0.46.0

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

func (*EventCreatedNFTClass) MarshalTo added in v0.46.0

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

func (*EventCreatedNFTClass) MarshalToSizedBuffer added in v0.46.0

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

func (*EventCreatedNFTClass) ProtoMessage added in v0.46.0

func (*EventCreatedNFTClass) ProtoMessage()

func (*EventCreatedNFTClass) Reset added in v0.46.0

func (m *EventCreatedNFTClass) Reset()

func (*EventCreatedNFTClass) Size added in v0.46.0

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

func (*EventCreatedNFTClass) String added in v0.46.0

func (m *EventCreatedNFTClass) String() string

func (*EventCreatedNFTClass) Unmarshal added in v0.46.0

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

func (*EventCreatedNFTClass) XXX_DiscardUnknown added in v0.46.0

func (m *EventCreatedNFTClass) XXX_DiscardUnknown()

func (*EventCreatedNFTClass) XXX_Marshal added in v0.46.0

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

func (*EventCreatedNFTClass) XXX_Merge added in v0.46.0

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

func (*EventCreatedNFTClass) XXX_Size added in v0.46.0

func (m *EventCreatedNFTClass) XXX_Size() int

func (*EventCreatedNFTClass) XXX_Unmarshal added in v0.46.0

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

type EventDetached added in v0.46.0

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 added in v0.46.0

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

func (*EventDetached) GetContractId added in v0.46.0

func (m *EventDetached) GetContractId() string

func (*EventDetached) GetHolder added in v0.46.0

func (m *EventDetached) GetHolder() string

func (*EventDetached) GetOperator added in v0.46.0

func (m *EventDetached) GetOperator() string

func (*EventDetached) GetPreviousParent added in v0.46.0

func (m *EventDetached) GetPreviousParent() string

func (*EventDetached) GetSubject added in v0.46.0

func (m *EventDetached) GetSubject() string

func (*EventDetached) Marshal added in v0.46.0

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

func (*EventDetached) MarshalTo added in v0.46.0

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

func (*EventDetached) MarshalToSizedBuffer added in v0.46.0

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

func (*EventDetached) ProtoMessage added in v0.46.0

func (*EventDetached) ProtoMessage()

func (*EventDetached) Reset added in v0.46.0

func (m *EventDetached) Reset()

func (*EventDetached) Size added in v0.46.0

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

func (*EventDetached) String added in v0.46.0

func (m *EventDetached) String() string

func (*EventDetached) Unmarshal added in v0.46.0

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

func (*EventDetached) XXX_DiscardUnknown added in v0.46.0

func (m *EventDetached) XXX_DiscardUnknown()

func (*EventDetached) XXX_Marshal added in v0.46.0

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

func (*EventDetached) XXX_Merge added in v0.46.0

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

func (*EventDetached) XXX_Size added in v0.46.0

func (m *EventDetached) XXX_Size() int

func (*EventDetached) XXX_Unmarshal added in v0.46.0

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

type EventGranted added in v0.46.0

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 added in v0.46.0

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

func (*EventGranted) GetContractId added in v0.46.0

func (m *EventGranted) GetContractId() string

func (*EventGranted) GetGrantee added in v0.46.0

func (m *EventGranted) GetGrantee() string

func (*EventGranted) GetGranter added in v0.46.0

func (m *EventGranted) GetGranter() string

func (*EventGranted) GetPermission added in v0.46.0

func (m *EventGranted) GetPermission() Permission

func (*EventGranted) Marshal added in v0.46.0

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

func (*EventGranted) MarshalTo added in v0.46.0

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

func (*EventGranted) MarshalToSizedBuffer added in v0.46.0

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

func (*EventGranted) ProtoMessage added in v0.46.0

func (*EventGranted) ProtoMessage()

func (*EventGranted) Reset added in v0.46.0

func (m *EventGranted) Reset()

func (*EventGranted) Size added in v0.46.0

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

func (*EventGranted) String added in v0.46.0

func (m *EventGranted) String() string

func (*EventGranted) Unmarshal added in v0.46.0

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

func (*EventGranted) XXX_DiscardUnknown added in v0.46.0

func (m *EventGranted) XXX_DiscardUnknown()

func (*EventGranted) XXX_Marshal added in v0.46.0

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

func (*EventGranted) XXX_Merge added in v0.46.0

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

func (*EventGranted) XXX_Size added in v0.46.0

func (m *EventGranted) XXX_Size() int

func (*EventGranted) XXX_Unmarshal added in v0.46.0

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

type EventMintedFT added in v0.46.0

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 added in v0.46.0

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

func (*EventMintedFT) GetAmount added in v0.46.0

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

func (*EventMintedFT) GetContractId added in v0.46.0

func (m *EventMintedFT) GetContractId() string

func (*EventMintedFT) GetOperator added in v0.46.0

func (m *EventMintedFT) GetOperator() string

func (*EventMintedFT) GetTo added in v0.46.0

func (m *EventMintedFT) GetTo() string

func (*EventMintedFT) Marshal added in v0.46.0

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

func (*EventMintedFT) MarshalTo added in v0.46.0

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

func (*EventMintedFT) MarshalToSizedBuffer added in v0.46.0

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

func (*EventMintedFT) ProtoMessage added in v0.46.0

func (*EventMintedFT) ProtoMessage()

func (*EventMintedFT) Reset added in v0.46.0

func (m *EventMintedFT) Reset()

func (*EventMintedFT) Size added in v0.46.0

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

func (*EventMintedFT) String added in v0.46.0

func (m *EventMintedFT) String() string

func (*EventMintedFT) Unmarshal added in v0.46.0

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

func (*EventMintedFT) XXX_DiscardUnknown added in v0.46.0

func (m *EventMintedFT) XXX_DiscardUnknown()

func (*EventMintedFT) XXX_Marshal added in v0.46.0

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

func (*EventMintedFT) XXX_Merge added in v0.46.0

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

func (*EventMintedFT) XXX_Size added in v0.46.0

func (m *EventMintedFT) XXX_Size() int

func (*EventMintedFT) XXX_Unmarshal added in v0.46.0

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

type EventMintedNFT added in v0.46.0

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 added in v0.46.0

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

func (*EventMintedNFT) GetContractId added in v0.46.0

func (m *EventMintedNFT) GetContractId() string

func (*EventMintedNFT) GetOperator added in v0.46.0

func (m *EventMintedNFT) GetOperator() string

func (*EventMintedNFT) GetTo added in v0.46.0

func (m *EventMintedNFT) GetTo() string

func (*EventMintedNFT) GetTokens added in v0.46.0

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

func (*EventMintedNFT) Marshal added in v0.46.0

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

func (*EventMintedNFT) MarshalTo added in v0.46.0

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

func (*EventMintedNFT) MarshalToSizedBuffer added in v0.46.0

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

func (*EventMintedNFT) ProtoMessage added in v0.46.0

func (*EventMintedNFT) ProtoMessage()

func (*EventMintedNFT) Reset added in v0.46.0

func (m *EventMintedNFT) Reset()

func (*EventMintedNFT) Size added in v0.46.0

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

func (*EventMintedNFT) String added in v0.46.0

func (m *EventMintedNFT) String() string

func (*EventMintedNFT) Unmarshal added in v0.46.0

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

func (*EventMintedNFT) XXX_DiscardUnknown added in v0.46.0

func (m *EventMintedNFT) XXX_DiscardUnknown()

func (*EventMintedNFT) XXX_Marshal added in v0.46.0

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

func (*EventMintedNFT) XXX_Merge added in v0.46.0

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

func (*EventMintedNFT) XXX_Size added in v0.46.0

func (m *EventMintedNFT) XXX_Size() int

func (*EventMintedNFT) XXX_Unmarshal added in v0.46.0

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

type EventModifiedContract added in v0.46.0

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.
	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 added in v0.46.0

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

func (*EventModifiedContract) GetChanges added in v0.46.0

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

func (*EventModifiedContract) GetContractId added in v0.46.0

func (m *EventModifiedContract) GetContractId() string

func (*EventModifiedContract) GetOperator added in v0.46.0

func (m *EventModifiedContract) GetOperator() string

func (*EventModifiedContract) Marshal added in v0.46.0

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

func (*EventModifiedContract) MarshalTo added in v0.46.0

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

func (*EventModifiedContract) MarshalToSizedBuffer added in v0.46.0

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

func (*EventModifiedContract) ProtoMessage added in v0.46.0

func (*EventModifiedContract) ProtoMessage()

func (*EventModifiedContract) Reset added in v0.46.0

func (m *EventModifiedContract) Reset()

func (*EventModifiedContract) Size added in v0.46.0

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

func (*EventModifiedContract) String added in v0.46.0

func (m *EventModifiedContract) String() string

func (*EventModifiedContract) Unmarshal added in v0.46.0

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

func (*EventModifiedContract) XXX_DiscardUnknown added in v0.46.0

func (m *EventModifiedContract) XXX_DiscardUnknown()

func (*EventModifiedContract) XXX_Marshal added in v0.46.0

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

func (*EventModifiedContract) XXX_Merge added in v0.46.0

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

func (*EventModifiedContract) XXX_Size added in v0.46.0

func (m *EventModifiedContract) XXX_Size() int

func (*EventModifiedContract) XXX_Unmarshal added in v0.46.0

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

type EventModifiedNFT added in v0.46.0

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.
	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 added in v0.46.0

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

func (*EventModifiedNFT) GetChanges added in v0.46.0

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

func (*EventModifiedNFT) GetContractId added in v0.46.0

func (m *EventModifiedNFT) GetContractId() string

func (*EventModifiedNFT) GetOperator added in v0.46.0

func (m *EventModifiedNFT) GetOperator() string

func (*EventModifiedNFT) GetTokenId added in v0.46.0

func (m *EventModifiedNFT) GetTokenId() string

func (*EventModifiedNFT) Marshal added in v0.46.0

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

func (*EventModifiedNFT) MarshalTo added in v0.46.0

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

func (*EventModifiedNFT) MarshalToSizedBuffer added in v0.46.0

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

func (*EventModifiedNFT) ProtoMessage added in v0.46.0

func (*EventModifiedNFT) ProtoMessage()

func (*EventModifiedNFT) Reset added in v0.46.0

func (m *EventModifiedNFT) Reset()

func (*EventModifiedNFT) Size added in v0.46.0

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

func (*EventModifiedNFT) String added in v0.46.0

func (m *EventModifiedNFT) String() string

func (*EventModifiedNFT) Unmarshal added in v0.46.0

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

func (*EventModifiedNFT) XXX_DiscardUnknown added in v0.46.0

func (m *EventModifiedNFT) XXX_DiscardUnknown()

func (*EventModifiedNFT) XXX_Marshal added in v0.46.0

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

func (*EventModifiedNFT) XXX_Merge added in v0.46.0

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

func (*EventModifiedNFT) XXX_Size added in v0.46.0

func (m *EventModifiedNFT) XXX_Size() int

func (*EventModifiedNFT) XXX_Unmarshal added in v0.46.0

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

type EventModifiedTokenClass added in v0.46.0

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"`
	// class id associated with the token class.
	ClassId string `protobuf:"bytes,3,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// changes of the attributes applied.
	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 added in v0.46.0

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

func (*EventModifiedTokenClass) GetChanges added in v0.46.0

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

func (*EventModifiedTokenClass) GetClassId added in v0.46.0

func (m *EventModifiedTokenClass) GetClassId() string

func (*EventModifiedTokenClass) GetContractId added in v0.46.0

func (m *EventModifiedTokenClass) GetContractId() string

func (*EventModifiedTokenClass) GetOperator added in v0.46.0

func (m *EventModifiedTokenClass) GetOperator() string

func (*EventModifiedTokenClass) GetTypeName added in v0.46.0

func (m *EventModifiedTokenClass) GetTypeName() string

func (*EventModifiedTokenClass) Marshal added in v0.46.0

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

func (*EventModifiedTokenClass) MarshalTo added in v0.46.0

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

func (*EventModifiedTokenClass) MarshalToSizedBuffer added in v0.46.0

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

func (*EventModifiedTokenClass) ProtoMessage added in v0.46.0

func (*EventModifiedTokenClass) ProtoMessage()

func (*EventModifiedTokenClass) Reset added in v0.46.0

func (m *EventModifiedTokenClass) Reset()

func (*EventModifiedTokenClass) Size added in v0.46.0

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

func (*EventModifiedTokenClass) String added in v0.46.0

func (m *EventModifiedTokenClass) String() string

func (*EventModifiedTokenClass) Unmarshal added in v0.46.0

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

func (*EventModifiedTokenClass) XXX_DiscardUnknown added in v0.46.0

func (m *EventModifiedTokenClass) XXX_DiscardUnknown()

func (*EventModifiedTokenClass) XXX_Marshal added in v0.46.0

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

func (*EventModifiedTokenClass) XXX_Merge added in v0.46.0

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

func (*EventModifiedTokenClass) XXX_Size added in v0.46.0

func (m *EventModifiedTokenClass) XXX_Size() int

func (*EventModifiedTokenClass) XXX_Unmarshal added in v0.46.0

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

type EventOwnerChanged added in v0.46.0

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 added in v0.46.0

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

func (*EventOwnerChanged) GetContractId added in v0.46.0

func (m *EventOwnerChanged) GetContractId() string

func (*EventOwnerChanged) GetFrom added in v0.46.0

func (m *EventOwnerChanged) GetFrom() string

func (*EventOwnerChanged) GetTo added in v0.46.0

func (m *EventOwnerChanged) GetTo() string

func (*EventOwnerChanged) GetTokenId added in v0.46.0

func (m *EventOwnerChanged) GetTokenId() string

func (*EventOwnerChanged) Marshal added in v0.46.0

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

func (*EventOwnerChanged) MarshalTo added in v0.46.0

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

func (*EventOwnerChanged) MarshalToSizedBuffer added in v0.46.0

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

func (*EventOwnerChanged) ProtoMessage added in v0.46.0

func (*EventOwnerChanged) ProtoMessage()

func (*EventOwnerChanged) Reset added in v0.46.0

func (m *EventOwnerChanged) Reset()

func (*EventOwnerChanged) Size added in v0.46.0

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

func (*EventOwnerChanged) String added in v0.46.0

func (m *EventOwnerChanged) String() string

func (*EventOwnerChanged) Unmarshal added in v0.46.0

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

func (*EventOwnerChanged) XXX_DiscardUnknown added in v0.46.0

func (m *EventOwnerChanged) XXX_DiscardUnknown()

func (*EventOwnerChanged) XXX_Marshal added in v0.46.0

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

func (*EventOwnerChanged) XXX_Merge added in v0.46.0

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

func (*EventOwnerChanged) XXX_Size added in v0.46.0

func (m *EventOwnerChanged) XXX_Size() int

func (*EventOwnerChanged) XXX_Unmarshal added in v0.46.0

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

type EventRenounced added in v0.46.0

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 added in v0.46.0

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

func (*EventRenounced) GetContractId added in v0.46.0

func (m *EventRenounced) GetContractId() string

func (*EventRenounced) GetGrantee added in v0.46.0

func (m *EventRenounced) GetGrantee() string

func (*EventRenounced) GetPermission added in v0.46.0

func (m *EventRenounced) GetPermission() Permission

func (*EventRenounced) Marshal added in v0.46.0

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

func (*EventRenounced) MarshalTo added in v0.46.0

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

func (*EventRenounced) MarshalToSizedBuffer added in v0.46.0

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

func (*EventRenounced) ProtoMessage added in v0.46.0

func (*EventRenounced) ProtoMessage()

func (*EventRenounced) Reset added in v0.46.0

func (m *EventRenounced) Reset()

func (*EventRenounced) Size added in v0.46.0

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

func (*EventRenounced) String added in v0.46.0

func (m *EventRenounced) String() string

func (*EventRenounced) Unmarshal added in v0.46.0

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

func (*EventRenounced) XXX_DiscardUnknown added in v0.46.0

func (m *EventRenounced) XXX_DiscardUnknown()

func (*EventRenounced) XXX_Marshal added in v0.46.0

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

func (*EventRenounced) XXX_Merge added in v0.46.0

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

func (*EventRenounced) XXX_Size added in v0.46.0

func (m *EventRenounced) XXX_Size() int

func (*EventRenounced) XXX_Unmarshal added in v0.46.0

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

type EventRevokedOperator added in v0.46.0

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 added in v0.46.0

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

func (*EventRevokedOperator) GetContractId added in v0.46.0

func (m *EventRevokedOperator) GetContractId() string

func (*EventRevokedOperator) GetHolder added in v0.46.0

func (m *EventRevokedOperator) GetHolder() string

func (*EventRevokedOperator) GetOperator added in v0.46.0

func (m *EventRevokedOperator) GetOperator() string

func (*EventRevokedOperator) Marshal added in v0.46.0

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

func (*EventRevokedOperator) MarshalTo added in v0.46.0

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

func (*EventRevokedOperator) MarshalToSizedBuffer added in v0.46.0

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

func (*EventRevokedOperator) ProtoMessage added in v0.46.0

func (*EventRevokedOperator) ProtoMessage()

func (*EventRevokedOperator) Reset added in v0.46.0

func (m *EventRevokedOperator) Reset()

func (*EventRevokedOperator) Size added in v0.46.0

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

func (*EventRevokedOperator) String added in v0.46.0

func (m *EventRevokedOperator) String() string

func (*EventRevokedOperator) Unmarshal added in v0.46.0

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

func (*EventRevokedOperator) XXX_DiscardUnknown added in v0.46.0

func (m *EventRevokedOperator) XXX_DiscardUnknown()

func (*EventRevokedOperator) XXX_Marshal added in v0.46.0

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

func (*EventRevokedOperator) XXX_Merge added in v0.46.0

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

func (*EventRevokedOperator) XXX_Size added in v0.46.0

func (m *EventRevokedOperator) XXX_Size() int

func (*EventRevokedOperator) XXX_Unmarshal added in v0.46.0

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

type EventRootChanged added in v0.46.0

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 added in v0.46.0

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

func (*EventRootChanged) GetContractId added in v0.46.0

func (m *EventRootChanged) GetContractId() string

func (*EventRootChanged) GetFrom added in v0.46.0

func (m *EventRootChanged) GetFrom() string

func (*EventRootChanged) GetTo added in v0.46.0

func (m *EventRootChanged) GetTo() string

func (*EventRootChanged) GetTokenId added in v0.46.0

func (m *EventRootChanged) GetTokenId() string

func (*EventRootChanged) Marshal added in v0.46.0

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

func (*EventRootChanged) MarshalTo added in v0.46.0

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

func (*EventRootChanged) MarshalToSizedBuffer added in v0.46.0

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

func (*EventRootChanged) ProtoMessage added in v0.46.0

func (*EventRootChanged) ProtoMessage()

func (*EventRootChanged) Reset added in v0.46.0

func (m *EventRootChanged) Reset()

func (*EventRootChanged) Size added in v0.46.0

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

func (*EventRootChanged) String added in v0.46.0

func (m *EventRootChanged) String() string

func (*EventRootChanged) Unmarshal added in v0.46.0

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

func (*EventRootChanged) XXX_DiscardUnknown added in v0.46.0

func (m *EventRootChanged) XXX_DiscardUnknown()

func (*EventRootChanged) XXX_Marshal added in v0.46.0

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

func (*EventRootChanged) XXX_Merge added in v0.46.0

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

func (*EventRootChanged) XXX_Size added in v0.46.0

func (m *EventRootChanged) XXX_Size() int

func (*EventRootChanged) XXX_Unmarshal added in v0.46.0

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

type EventSent added in v0.46.0

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 added in v0.46.0

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

func (*EventSent) GetAmount added in v0.46.0

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

func (*EventSent) GetContractId added in v0.46.0

func (m *EventSent) GetContractId() string

func (*EventSent) GetFrom added in v0.46.0

func (m *EventSent) GetFrom() string

func (*EventSent) GetOperator added in v0.46.0

func (m *EventSent) GetOperator() string

func (*EventSent) GetTo added in v0.46.0

func (m *EventSent) GetTo() string

func (*EventSent) Marshal added in v0.46.0

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

func (*EventSent) MarshalTo added in v0.46.0

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

func (*EventSent) MarshalToSizedBuffer added in v0.46.0

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

func (*EventSent) ProtoMessage added in v0.46.0

func (*EventSent) ProtoMessage()

func (*EventSent) Reset added in v0.46.0

func (m *EventSent) Reset()

func (*EventSent) Size added in v0.46.0

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

func (*EventSent) String added in v0.46.0

func (m *EventSent) String() string

func (*EventSent) Unmarshal added in v0.46.0

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

func (*EventSent) XXX_DiscardUnknown added in v0.46.0

func (m *EventSent) XXX_DiscardUnknown()

func (*EventSent) XXX_Marshal added in v0.46.0

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

func (*EventSent) XXX_Merge added in v0.46.0

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

func (*EventSent) XXX_Size added in v0.46.0

func (m *EventSent) XXX_Size() int

func (*EventSent) XXX_Unmarshal added in v0.46.0

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

type EventType deprecated added in v0.46.0

type EventType int32

Deprecated: use typed events.

EventType enumerates the valid event types on x/collection.

const (
	EventTypeUnspecified          EventType = 0
	EventTypeCreateCollection     EventType = 1
	EventTypeIssueFT              EventType = 2
	EventTypeIssueNFT             EventType = 3
	EventTypeMintFT               EventType = 4
	EventTypeBurnFT               EventType = 5
	EventTypeMintNFT              EventType = 6
	EventTypeBurnNFT              EventType = 7
	EventTypeBurnFTFrom           EventType = 8
	EventTypeBurnNFTFrom          EventType = 9
	EventTypeModifyCollection     EventType = 10
	EventTypeModifyTokenType      EventType = 11
	EventTypeModifyToken          EventType = 12
	EventTypeTransfer             EventType = 13
	EventTypeTransferFT           EventType = 14
	EventTypeTransferNFT          EventType = 15
	EventTypeTransferFTFrom       EventType = 16
	EventTypeTransferNFTFrom      EventType = 17
	EventTypeGrantPermToken       EventType = 18
	EventTypeRevokePermToken      EventType = 19
	EventTypeAttachToken          EventType = 20
	EventTypeDetachToken          EventType = 21
	EventTypeAttachFrom           EventType = 22
	EventTypeDetachFrom           EventType = 23
	EventTypeApproveCollection    EventType = 24
	EventTypeDisapproveCollection EventType = 25
	EventTypeOperationTransferNFT EventType = 26
	EventTypeOperationBurnNFT     EventType = 27
	EventTypeOperationRootChanged EventType = 28
)

func EventTypeFromString deprecated added in v0.46.0

func EventTypeFromString(name string) EventType

Deprecated: use typed events.

func (EventType) EnumDescriptor added in v0.46.0

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

func (EventType) String added in v0.46.0

func (x EventType) String() string

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 added in v0.46.0

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

func (*FT) Marshal added in v0.46.0

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

func (*FT) MarshalTo added in v0.46.0

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

func (*FT) MarshalToSizedBuffer added in v0.46.0

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

func (*FT) ProtoMessage added in v0.46.0

func (*FT) ProtoMessage()

func (*FT) Reset added in v0.46.0

func (m *FT) Reset()

func (*FT) Size added in v0.46.0

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

func (*FT) String added in v0.46.0

func (m *FT) String() string

func (*FT) Unmarshal added in v0.46.0

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

func (*FT) XXX_DiscardUnknown added in v0.46.0

func (m *FT) XXX_DiscardUnknown()

func (*FT) XXX_Marshal added in v0.46.0

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

func (*FT) XXX_Merge added in v0.46.0

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

func (*FT) XXX_Size added in v0.46.0

func (m *FT) XXX_Size() int

func (*FT) XXX_Unmarshal added in v0.46.0

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

type FTClass added in v0.46.0

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 added in v0.46.0

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

func (*FTClass) GetDecimals added in v0.46.0

func (m *FTClass) GetDecimals() int32

func (*FTClass) GetId added in v0.46.0

func (m *FTClass) GetId() string

func (*FTClass) GetMeta added in v0.46.0

func (m *FTClass) GetMeta() string

func (*FTClass) GetMintable added in v0.46.0

func (m *FTClass) GetMintable() bool

func (*FTClass) GetName added in v0.46.0

func (m *FTClass) GetName() string

func (*FTClass) Marshal added in v0.46.0

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

func (*FTClass) MarshalTo added in v0.46.0

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

func (*FTClass) MarshalToSizedBuffer added in v0.46.0

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

func (*FTClass) ProtoMessage added in v0.46.0

func (*FTClass) ProtoMessage()

func (*FTClass) Reset added in v0.46.0

func (m *FTClass) Reset()

func (*FTClass) SetId added in v0.46.0

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

func (*FTClass) SetMeta added in v0.46.0

func (c *FTClass) SetMeta(meta string)

func (*FTClass) SetName added in v0.46.0

func (c *FTClass) SetName(name string)

func (*FTClass) Size added in v0.46.0

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

func (*FTClass) String added in v0.46.0

func (m *FTClass) String() string

func (*FTClass) Unmarshal added in v0.46.0

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

func (FTClass) ValidateBasic added in v0.46.0

func (c FTClass) ValidateBasic() error

func (*FTClass) XXX_DiscardUnknown added in v0.46.0

func (m *FTClass) XXX_DiscardUnknown()

func (*FTClass) XXX_Marshal added in v0.46.0

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

func (*FTClass) XXX_Merge added in v0.46.0

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

func (*FTClass) XXX_Size added in v0.46.0

func (m *FTClass) XXX_Size() int

func (*FTClass) XXX_Unmarshal added in v0.46.0

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 added in v0.46.0

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

func (*GenesisState) GetAuthorizations added in v0.46.0

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

func (*GenesisState) GetBalances added in v0.46.0

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

func (*GenesisState) GetBurnts added in v0.46.0

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

func (*GenesisState) GetClasses added in v0.46.0

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

func (*GenesisState) GetContracts added in v0.46.0

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

func (*GenesisState) GetGrants added in v0.46.0

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

func (*GenesisState) GetNextClassIds added in v0.46.0

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

func (*GenesisState) GetNextTokenIds added in v0.46.0

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

func (*GenesisState) GetNfts added in v0.46.0

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

func (*GenesisState) GetParams added in v0.46.0

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetParents added in v0.46.0

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

func (*GenesisState) GetSupplies added in v0.46.0

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

func (*GenesisState) Marshal added in v0.46.0

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

func (*GenesisState) MarshalTo added in v0.46.0

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

func (*GenesisState) MarshalToSizedBuffer added in v0.46.0

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

func (*GenesisState) ProtoMessage added in v0.46.0

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset added in v0.46.0

func (m *GenesisState) Reset()

func (*GenesisState) Size added in v0.46.0

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

func (*GenesisState) String added in v0.46.0

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal added in v0.46.0

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

func (GenesisState) UnpackInterfaces added in v0.46.0

func (data GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

func (*GenesisState) XXX_DiscardUnknown added in v0.46.0

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal added in v0.46.0

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

func (*GenesisState) XXX_Merge added in v0.46.0

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

func (*GenesisState) XXX_Size added in v0.46.0

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal added in v0.46.0

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

type Grant added in v0.46.0

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 added in v0.46.0

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

func (*Grant) Marshal added in v0.46.0

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

func (*Grant) MarshalTo added in v0.46.0

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

func (*Grant) MarshalToSizedBuffer added in v0.46.0

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

func (*Grant) ProtoMessage added in v0.46.0

func (*Grant) ProtoMessage()

func (*Grant) Reset added in v0.46.0

func (m *Grant) Reset()

func (*Grant) Size added in v0.46.0

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

func (*Grant) String added in v0.46.0

func (m *Grant) String() string

func (*Grant) Unmarshal added in v0.46.0

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

func (*Grant) XXX_DiscardUnknown added in v0.46.0

func (m *Grant) XXX_DiscardUnknown()

func (*Grant) XXX_Marshal added in v0.46.0

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

func (*Grant) XXX_Merge added in v0.46.0

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

func (*Grant) XXX_Size added in v0.46.0

func (m *Grant) XXX_Size() int

func (*Grant) XXX_Unmarshal added in v0.46.0

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

type LegacyPermission deprecated added in v0.46.0

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 added in v0.46.0

func LegacyPermissionFromString(name string) LegacyPermission

Deprecated: use Permission.

func (LegacyPermission) EnumDescriptor added in v0.46.0

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

func (LegacyPermission) String added in v0.46.0

func (x LegacyPermission) String() string

type MintNFTParam

type MintNFTParam struct {
	// token type or class id of the nft.
	// Note: it cannot start with zero.
	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 added in v0.46.0

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

func (*MintNFTParam) GetMeta added in v0.46.0

func (m *MintNFTParam) GetMeta() string

func (*MintNFTParam) GetName added in v0.46.0

func (m *MintNFTParam) GetName() string

func (*MintNFTParam) GetTokenType added in v0.46.0

func (m *MintNFTParam) GetTokenType() string

func (*MintNFTParam) Marshal added in v0.46.0

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

func (*MintNFTParam) MarshalTo added in v0.46.0

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

func (*MintNFTParam) MarshalToSizedBuffer added in v0.46.0

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

func (*MintNFTParam) ProtoMessage added in v0.46.0

func (*MintNFTParam) ProtoMessage()

func (*MintNFTParam) Reset added in v0.46.0

func (m *MintNFTParam) Reset()

func (*MintNFTParam) Size added in v0.46.0

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

func (*MintNFTParam) String added in v0.46.0

func (m *MintNFTParam) String() string

func (*MintNFTParam) Unmarshal added in v0.46.0

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

func (*MintNFTParam) XXX_DiscardUnknown added in v0.46.0

func (m *MintNFTParam) XXX_DiscardUnknown()

func (*MintNFTParam) XXX_Marshal added in v0.46.0

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

func (*MintNFTParam) XXX_Merge added in v0.46.0

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

func (*MintNFTParam) XXX_Size added in v0.46.0

func (m *MintNFTParam) XXX_Size() int

func (*MintNFTParam) XXX_Unmarshal added in v0.46.0

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

type MsgApprove added in v0.46.0

type MsgApprove 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 approver who allows the manipulation of its token.
	Approver string `protobuf:"bytes,2,opt,name=approver,proto3" json:"approver,omitempty"`
	// address which the manipulation is allowed to.
	Proxy string `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"`
}

MsgApprove is the Msg/Approve request type.

func (*MsgApprove) Descriptor added in v0.46.0

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

func (*MsgApprove) GetApprover added in v0.46.0

func (m *MsgApprove) GetApprover() string

func (*MsgApprove) GetContractId added in v0.46.0

func (m *MsgApprove) GetContractId() string

func (*MsgApprove) GetProxy added in v0.46.0

func (m *MsgApprove) GetProxy() string

func (MsgApprove) GetSignBytes added in v0.46.0

func (m MsgApprove) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgApprove) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgApprove) Marshal added in v0.46.0

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

func (*MsgApprove) MarshalTo added in v0.46.0

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

func (*MsgApprove) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgApprove) ProtoMessage added in v0.46.0

func (*MsgApprove) ProtoMessage()

func (*MsgApprove) Reset added in v0.46.0

func (m *MsgApprove) Reset()

func (MsgApprove) Route added in v0.46.0

func (m MsgApprove) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgApprove) Size added in v0.46.0

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

func (*MsgApprove) String added in v0.46.0

func (m *MsgApprove) String() string

func (MsgApprove) Type added in v0.46.0

func (m MsgApprove) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgApprove) Unmarshal added in v0.46.0

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

func (MsgApprove) ValidateBasic added in v0.46.0

func (m MsgApprove) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgApprove) XXX_DiscardUnknown added in v0.46.0

func (m *MsgApprove) XXX_DiscardUnknown()

func (*MsgApprove) XXX_Marshal added in v0.46.0

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

func (*MsgApprove) XXX_Merge added in v0.46.0

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

func (*MsgApprove) XXX_Size added in v0.46.0

func (m *MsgApprove) XXX_Size() int

func (*MsgApprove) XXX_Unmarshal added in v0.46.0

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

type MsgApproveResponse added in v0.46.0

type MsgApproveResponse struct {
}

MsgApproveResponse is the Msg/Approve response type.

func (*MsgApproveResponse) Descriptor added in v0.46.0

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

func (*MsgApproveResponse) Marshal added in v0.46.0

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

func (*MsgApproveResponse) MarshalTo added in v0.46.0

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

func (*MsgApproveResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgApproveResponse) ProtoMessage added in v0.46.0

func (*MsgApproveResponse) ProtoMessage()

func (*MsgApproveResponse) Reset added in v0.46.0

func (m *MsgApproveResponse) Reset()

func (*MsgApproveResponse) Size added in v0.46.0

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

func (*MsgApproveResponse) String added in v0.46.0

func (m *MsgApproveResponse) String() string

func (*MsgApproveResponse) Unmarshal added in v0.46.0

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

func (*MsgApproveResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgApproveResponse) XXX_DiscardUnknown()

func (*MsgApproveResponse) XXX_Marshal added in v0.46.0

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

func (*MsgApproveResponse) XXX_Merge added in v0.46.0

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

func (*MsgApproveResponse) XXX_Size added in v0.46.0

func (m *MsgApproveResponse) XXX_Size() int

func (*MsgApproveResponse) XXX_Unmarshal added in v0.46.0

func (m *MsgApproveResponse) 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.

Throws: - ErrInvalidAddress

  • `from` is of invalid format.

- ErrInvalidRequest

  • `contract_id` is of invalid format.
  • `token_id` is of invalid format.
  • `to_token_id` is of invalid format.
  • `token_id` is equal to `to_token_id`.

Signer: `from`

func (*MsgAttach) Descriptor added in v0.46.0

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

func (*MsgAttach) GetContractId added in v0.46.0

func (m *MsgAttach) GetContractId() string

func (*MsgAttach) GetFrom added in v0.46.0

func (m *MsgAttach) GetFrom() string

func (MsgAttach) GetSignBytes added in v0.46.0

func (m MsgAttach) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgAttach) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgAttach) GetToTokenId added in v0.46.0

func (m *MsgAttach) GetToTokenId() string

func (*MsgAttach) GetTokenId added in v0.46.0

func (m *MsgAttach) GetTokenId() string

func (*MsgAttach) Marshal added in v0.46.0

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

func (*MsgAttach) MarshalTo added in v0.46.0

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

func (*MsgAttach) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgAttach) ProtoMessage added in v0.46.0

func (*MsgAttach) ProtoMessage()

func (*MsgAttach) Reset added in v0.46.0

func (m *MsgAttach) Reset()

func (MsgAttach) Route added in v0.46.0

func (m MsgAttach) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgAttach) Size added in v0.46.0

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

func (*MsgAttach) String added in v0.46.0

func (m *MsgAttach) String() string

func (MsgAttach) Type added in v0.46.0

func (m MsgAttach) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgAttach) Unmarshal added in v0.46.0

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

func (MsgAttach) ValidateBasic added in v0.46.0

func (m MsgAttach) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgAttach) XXX_DiscardUnknown added in v0.46.0

func (m *MsgAttach) XXX_DiscardUnknown()

func (*MsgAttach) XXX_Marshal added in v0.46.0

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

func (*MsgAttach) XXX_Merge added in v0.46.0

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

func (*MsgAttach) XXX_Size added in v0.46.0

func (m *MsgAttach) XXX_Size() int

func (*MsgAttach) XXX_Unmarshal added in v0.46.0

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

type MsgAttachFrom

type MsgAttachFrom 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 proxy.
	Proxy string `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,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"`
}

MsgAttachFrom is the Msg/AttachFrom request type.

func (*MsgAttachFrom) Descriptor added in v0.46.0

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

func (*MsgAttachFrom) GetContractId added in v0.46.0

func (m *MsgAttachFrom) GetContractId() string

func (*MsgAttachFrom) GetFrom added in v0.46.0

func (m *MsgAttachFrom) GetFrom() string

func (*MsgAttachFrom) GetProxy added in v0.46.0

func (m *MsgAttachFrom) GetProxy() string

func (MsgAttachFrom) GetSignBytes added in v0.46.0

func (m MsgAttachFrom) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgAttachFrom) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgAttachFrom) GetToTokenId added in v0.46.0

func (m *MsgAttachFrom) GetToTokenId() string

func (*MsgAttachFrom) GetTokenId added in v0.46.0

func (m *MsgAttachFrom) GetTokenId() string

func (*MsgAttachFrom) Marshal added in v0.46.0

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

func (*MsgAttachFrom) MarshalTo added in v0.46.0

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

func (*MsgAttachFrom) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgAttachFrom) ProtoMessage added in v0.46.0

func (*MsgAttachFrom) ProtoMessage()

func (*MsgAttachFrom) Reset added in v0.46.0

func (m *MsgAttachFrom) Reset()

func (MsgAttachFrom) Route added in v0.46.0

func (m MsgAttachFrom) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgAttachFrom) Size added in v0.46.0

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

func (*MsgAttachFrom) String added in v0.46.0

func (m *MsgAttachFrom) String() string

func (MsgAttachFrom) Type added in v0.46.0

func (m MsgAttachFrom) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgAttachFrom) Unmarshal added in v0.46.0

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

func (MsgAttachFrom) ValidateBasic added in v0.46.0

func (m MsgAttachFrom) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgAttachFrom) XXX_DiscardUnknown added in v0.46.0

func (m *MsgAttachFrom) XXX_DiscardUnknown()

func (*MsgAttachFrom) XXX_Marshal added in v0.46.0

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

func (*MsgAttachFrom) XXX_Merge added in v0.46.0

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

func (*MsgAttachFrom) XXX_Size added in v0.46.0

func (m *MsgAttachFrom) XXX_Size() int

func (*MsgAttachFrom) XXX_Unmarshal added in v0.46.0

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

type MsgAttachFromResponse added in v0.46.0

type MsgAttachFromResponse struct {
}

MsgAttachFromResponse is the Msg/AttachFrom response type.

func (*MsgAttachFromResponse) Descriptor added in v0.46.0

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

func (*MsgAttachFromResponse) Marshal added in v0.46.0

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

func (*MsgAttachFromResponse) MarshalTo added in v0.46.0

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

func (*MsgAttachFromResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgAttachFromResponse) ProtoMessage added in v0.46.0

func (*MsgAttachFromResponse) ProtoMessage()

func (*MsgAttachFromResponse) Reset added in v0.46.0

func (m *MsgAttachFromResponse) Reset()

func (*MsgAttachFromResponse) Size added in v0.46.0

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

func (*MsgAttachFromResponse) String added in v0.46.0

func (m *MsgAttachFromResponse) String() string

func (*MsgAttachFromResponse) Unmarshal added in v0.46.0

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

func (*MsgAttachFromResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgAttachFromResponse) XXX_DiscardUnknown()

func (*MsgAttachFromResponse) XXX_Marshal added in v0.46.0

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

func (*MsgAttachFromResponse) XXX_Merge added in v0.46.0

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

func (*MsgAttachFromResponse) XXX_Size added in v0.46.0

func (m *MsgAttachFromResponse) XXX_Size() int

func (*MsgAttachFromResponse) XXX_Unmarshal added in v0.46.0

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

type MsgAttachResponse added in v0.46.0

type MsgAttachResponse struct {
}

MsgAttachResponse is the Msg/Attach response type.

func (*MsgAttachResponse) Descriptor added in v0.46.0

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

func (*MsgAttachResponse) Marshal added in v0.46.0

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

func (*MsgAttachResponse) MarshalTo added in v0.46.0

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

func (*MsgAttachResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgAttachResponse) ProtoMessage added in v0.46.0

func (*MsgAttachResponse) ProtoMessage()

func (*MsgAttachResponse) Reset added in v0.46.0

func (m *MsgAttachResponse) Reset()

func (*MsgAttachResponse) Size added in v0.46.0

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

func (*MsgAttachResponse) String added in v0.46.0

func (m *MsgAttachResponse) String() string

func (*MsgAttachResponse) Unmarshal added in v0.46.0

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

func (*MsgAttachResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgAttachResponse) XXX_DiscardUnknown()

func (*MsgAttachResponse) XXX_Marshal added in v0.46.0

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

func (*MsgAttachResponse) XXX_Merge added in v0.46.0

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

func (*MsgAttachResponse) XXX_Size added in v0.46.0

func (m *MsgAttachResponse) XXX_Size() int

func (*MsgAttachResponse) XXX_Unmarshal added in v0.46.0

func (m *MsgAttachResponse) 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 added in v0.46.0

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

func (*MsgBurnFT) GetAmount added in v0.46.0

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

func (*MsgBurnFT) GetContractId added in v0.46.0

func (m *MsgBurnFT) GetContractId() string

func (*MsgBurnFT) GetFrom added in v0.46.0

func (m *MsgBurnFT) GetFrom() string

func (MsgBurnFT) GetSignBytes added in v0.46.0

func (m MsgBurnFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgBurnFT) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgBurnFT) Marshal added in v0.46.0

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

func (*MsgBurnFT) MarshalTo added in v0.46.0

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

func (*MsgBurnFT) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgBurnFT) ProtoMessage added in v0.46.0

func (*MsgBurnFT) ProtoMessage()

func (*MsgBurnFT) Reset added in v0.46.0

func (m *MsgBurnFT) Reset()

func (MsgBurnFT) Route added in v0.46.0

func (m MsgBurnFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgBurnFT) Size added in v0.46.0

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

func (*MsgBurnFT) String added in v0.46.0

func (m *MsgBurnFT) String() string

func (MsgBurnFT) Type added in v0.46.0

func (m MsgBurnFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgBurnFT) Unmarshal added in v0.46.0

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

func (MsgBurnFT) ValidateBasic added in v0.46.0

func (m MsgBurnFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgBurnFT) XXX_DiscardUnknown added in v0.46.0

func (m *MsgBurnFT) XXX_DiscardUnknown()

func (*MsgBurnFT) XXX_Marshal added in v0.46.0

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

func (*MsgBurnFT) XXX_Merge added in v0.46.0

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

func (*MsgBurnFT) XXX_Size added in v0.46.0

func (m *MsgBurnFT) XXX_Size() int

func (*MsgBurnFT) XXX_Unmarshal added in v0.46.0

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

type MsgBurnFTFrom

type MsgBurnFTFrom 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.
	Proxy string `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,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"`
}

MsgBurnFTFrom is the Msg/BurnFTFrom request type.

func (*MsgBurnFTFrom) Descriptor added in v0.46.0

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

func (*MsgBurnFTFrom) GetAmount added in v0.46.0

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

func (*MsgBurnFTFrom) GetContractId added in v0.46.0

func (m *MsgBurnFTFrom) GetContractId() string

func (*MsgBurnFTFrom) GetFrom added in v0.46.0

func (m *MsgBurnFTFrom) GetFrom() string

func (*MsgBurnFTFrom) GetProxy added in v0.46.0

func (m *MsgBurnFTFrom) GetProxy() string

func (MsgBurnFTFrom) GetSignBytes added in v0.46.0

func (m MsgBurnFTFrom) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgBurnFTFrom) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgBurnFTFrom) Marshal added in v0.46.0

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

func (*MsgBurnFTFrom) MarshalTo added in v0.46.0

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

func (*MsgBurnFTFrom) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgBurnFTFrom) ProtoMessage added in v0.46.0

func (*MsgBurnFTFrom) ProtoMessage()

func (*MsgBurnFTFrom) Reset added in v0.46.0

func (m *MsgBurnFTFrom) Reset()

func (MsgBurnFTFrom) Route added in v0.46.0

func (m MsgBurnFTFrom) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgBurnFTFrom) Size added in v0.46.0

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

func (*MsgBurnFTFrom) String added in v0.46.0

func (m *MsgBurnFTFrom) String() string

func (MsgBurnFTFrom) Type added in v0.46.0

func (m MsgBurnFTFrom) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgBurnFTFrom) Unmarshal added in v0.46.0

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

func (MsgBurnFTFrom) ValidateBasic added in v0.46.0

func (m MsgBurnFTFrom) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgBurnFTFrom) XXX_DiscardUnknown added in v0.46.0

func (m *MsgBurnFTFrom) XXX_DiscardUnknown()

func (*MsgBurnFTFrom) XXX_Marshal added in v0.46.0

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

func (*MsgBurnFTFrom) XXX_Merge added in v0.46.0

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

func (*MsgBurnFTFrom) XXX_Size added in v0.46.0

func (m *MsgBurnFTFrom) XXX_Size() int

func (*MsgBurnFTFrom) XXX_Unmarshal added in v0.46.0

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

type MsgBurnFTFromResponse added in v0.46.0

type MsgBurnFTFromResponse struct {
}

MsgBurnFTFromResponse is the Msg/BurnFTFrom response type.

func (*MsgBurnFTFromResponse) Descriptor added in v0.46.0

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

func (*MsgBurnFTFromResponse) Marshal added in v0.46.0

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

func (*MsgBurnFTFromResponse) MarshalTo added in v0.46.0

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

func (*MsgBurnFTFromResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgBurnFTFromResponse) ProtoMessage added in v0.46.0

func (*MsgBurnFTFromResponse) ProtoMessage()

func (*MsgBurnFTFromResponse) Reset added in v0.46.0

func (m *MsgBurnFTFromResponse) Reset()

func (*MsgBurnFTFromResponse) Size added in v0.46.0

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

func (*MsgBurnFTFromResponse) String added in v0.46.0

func (m *MsgBurnFTFromResponse) String() string

func (*MsgBurnFTFromResponse) Unmarshal added in v0.46.0

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

func (*MsgBurnFTFromResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgBurnFTFromResponse) XXX_DiscardUnknown()

func (*MsgBurnFTFromResponse) XXX_Marshal added in v0.46.0

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

func (*MsgBurnFTFromResponse) XXX_Merge added in v0.46.0

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

func (*MsgBurnFTFromResponse) XXX_Size added in v0.46.0

func (m *MsgBurnFTFromResponse) XXX_Size() int

func (*MsgBurnFTFromResponse) XXX_Unmarshal added in v0.46.0

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

type MsgBurnFTResponse added in v0.46.0

type MsgBurnFTResponse struct {
}

MsgBurnFTResponse is the Msg/BurnFT response type.

func (*MsgBurnFTResponse) Descriptor added in v0.46.0

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

func (*MsgBurnFTResponse) Marshal added in v0.46.0

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

func (*MsgBurnFTResponse) MarshalTo added in v0.46.0

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

func (*MsgBurnFTResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgBurnFTResponse) ProtoMessage added in v0.46.0

func (*MsgBurnFTResponse) ProtoMessage()

func (*MsgBurnFTResponse) Reset added in v0.46.0

func (m *MsgBurnFTResponse) Reset()

func (*MsgBurnFTResponse) Size added in v0.46.0

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

func (*MsgBurnFTResponse) String added in v0.46.0

func (m *MsgBurnFTResponse) String() string

func (*MsgBurnFTResponse) Unmarshal added in v0.46.0

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

func (*MsgBurnFTResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgBurnFTResponse) XXX_DiscardUnknown()

func (*MsgBurnFTResponse) XXX_Marshal added in v0.46.0

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

func (*MsgBurnFTResponse) XXX_Merge added in v0.46.0

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

func (*MsgBurnFTResponse) XXX_Size added in v0.46.0

func (m *MsgBurnFTResponse) XXX_Size() int

func (*MsgBurnFTResponse) XXX_Unmarshal added in v0.46.0

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 added in v0.46.0

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

func (*MsgBurnNFT) GetContractId added in v0.46.0

func (m *MsgBurnNFT) GetContractId() string

func (*MsgBurnNFT) GetFrom added in v0.46.0

func (m *MsgBurnNFT) GetFrom() string

func (MsgBurnNFT) GetSignBytes added in v0.46.0

func (m MsgBurnNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgBurnNFT) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgBurnNFT) GetTokenIds added in v0.46.0

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

func (*MsgBurnNFT) Marshal added in v0.46.0

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

func (*MsgBurnNFT) MarshalTo added in v0.46.0

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

func (*MsgBurnNFT) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgBurnNFT) ProtoMessage added in v0.46.0

func (*MsgBurnNFT) ProtoMessage()

func (*MsgBurnNFT) Reset added in v0.46.0

func (m *MsgBurnNFT) Reset()

func (MsgBurnNFT) Route added in v0.46.0

func (m MsgBurnNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgBurnNFT) Size added in v0.46.0

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

func (*MsgBurnNFT) String added in v0.46.0

func (m *MsgBurnNFT) String() string

func (MsgBurnNFT) Type added in v0.46.0

func (m MsgBurnNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgBurnNFT) Unmarshal added in v0.46.0

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

func (MsgBurnNFT) ValidateBasic added in v0.46.0

func (m MsgBurnNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgBurnNFT) XXX_DiscardUnknown added in v0.46.0

func (m *MsgBurnNFT) XXX_DiscardUnknown()

func (*MsgBurnNFT) XXX_Marshal added in v0.46.0

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

func (*MsgBurnNFT) XXX_Merge added in v0.46.0

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

func (*MsgBurnNFT) XXX_Size added in v0.46.0

func (m *MsgBurnNFT) XXX_Size() int

func (*MsgBurnNFT) XXX_Unmarshal added in v0.46.0

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

type MsgBurnNFTFrom

type MsgBurnNFTFrom 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.
	Proxy string `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,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"`
}

MsgBurnNFTFrom is the Msg/BurnNFTFrom request type.

func (*MsgBurnNFTFrom) Descriptor added in v0.46.0

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

func (*MsgBurnNFTFrom) GetContractId added in v0.46.0

func (m *MsgBurnNFTFrom) GetContractId() string

func (*MsgBurnNFTFrom) GetFrom added in v0.46.0

func (m *MsgBurnNFTFrom) GetFrom() string

func (*MsgBurnNFTFrom) GetProxy added in v0.46.0

func (m *MsgBurnNFTFrom) GetProxy() string

func (MsgBurnNFTFrom) GetSignBytes added in v0.46.0

func (m MsgBurnNFTFrom) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgBurnNFTFrom) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgBurnNFTFrom) GetTokenIds added in v0.46.0

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

func (*MsgBurnNFTFrom) Marshal added in v0.46.0

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

func (*MsgBurnNFTFrom) MarshalTo added in v0.46.0

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

func (*MsgBurnNFTFrom) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgBurnNFTFrom) ProtoMessage added in v0.46.0

func (*MsgBurnNFTFrom) ProtoMessage()

func (*MsgBurnNFTFrom) Reset added in v0.46.0

func (m *MsgBurnNFTFrom) Reset()

func (MsgBurnNFTFrom) Route added in v0.46.0

func (m MsgBurnNFTFrom) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgBurnNFTFrom) Size added in v0.46.0

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

func (*MsgBurnNFTFrom) String added in v0.46.0

func (m *MsgBurnNFTFrom) String() string

func (MsgBurnNFTFrom) Type added in v0.46.0

func (m MsgBurnNFTFrom) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgBurnNFTFrom) Unmarshal added in v0.46.0

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

func (MsgBurnNFTFrom) ValidateBasic added in v0.46.0

func (m MsgBurnNFTFrom) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgBurnNFTFrom) XXX_DiscardUnknown added in v0.46.0

func (m *MsgBurnNFTFrom) XXX_DiscardUnknown()

func (*MsgBurnNFTFrom) XXX_Marshal added in v0.46.0

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

func (*MsgBurnNFTFrom) XXX_Merge added in v0.46.0

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

func (*MsgBurnNFTFrom) XXX_Size added in v0.46.0

func (m *MsgBurnNFTFrom) XXX_Size() int

func (*MsgBurnNFTFrom) XXX_Unmarshal added in v0.46.0

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

type MsgBurnNFTFromResponse added in v0.46.0

type MsgBurnNFTFromResponse struct {
}

MsgBurnNFTFromResponse is the Msg/BurnNFTFrom response type.

func (*MsgBurnNFTFromResponse) Descriptor added in v0.46.0

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

func (*MsgBurnNFTFromResponse) Marshal added in v0.46.0

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

func (*MsgBurnNFTFromResponse) MarshalTo added in v0.46.0

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

func (*MsgBurnNFTFromResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgBurnNFTFromResponse) ProtoMessage added in v0.46.0

func (*MsgBurnNFTFromResponse) ProtoMessage()

func (*MsgBurnNFTFromResponse) Reset added in v0.46.0

func (m *MsgBurnNFTFromResponse) Reset()

func (*MsgBurnNFTFromResponse) Size added in v0.46.0

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

func (*MsgBurnNFTFromResponse) String added in v0.46.0

func (m *MsgBurnNFTFromResponse) String() string

func (*MsgBurnNFTFromResponse) Unmarshal added in v0.46.0

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

func (*MsgBurnNFTFromResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgBurnNFTFromResponse) XXX_DiscardUnknown()

func (*MsgBurnNFTFromResponse) XXX_Marshal added in v0.46.0

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

func (*MsgBurnNFTFromResponse) XXX_Merge added in v0.46.0

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

func (*MsgBurnNFTFromResponse) XXX_Size added in v0.46.0

func (m *MsgBurnNFTFromResponse) XXX_Size() int

func (*MsgBurnNFTFromResponse) XXX_Unmarshal added in v0.46.0

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

type MsgBurnNFTResponse added in v0.46.0

type MsgBurnNFTResponse struct {
}

MsgBurnNFTResponse is the Msg/BurnNFT response type.

func (*MsgBurnNFTResponse) Descriptor added in v0.46.0

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

func (*MsgBurnNFTResponse) Marshal added in v0.46.0

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

func (*MsgBurnNFTResponse) MarshalTo added in v0.46.0

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

func (*MsgBurnNFTResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgBurnNFTResponse) ProtoMessage added in v0.46.0

func (*MsgBurnNFTResponse) ProtoMessage()

func (*MsgBurnNFTResponse) Reset added in v0.46.0

func (m *MsgBurnNFTResponse) Reset()

func (*MsgBurnNFTResponse) Size added in v0.46.0

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

func (*MsgBurnNFTResponse) String added in v0.46.0

func (m *MsgBurnNFTResponse) String() string

func (*MsgBurnNFTResponse) Unmarshal added in v0.46.0

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

func (*MsgBurnNFTResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgBurnNFTResponse) XXX_DiscardUnknown()

func (*MsgBurnNFTResponse) XXX_Marshal added in v0.46.0

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

func (*MsgBurnNFTResponse) XXX_Merge added in v0.46.0

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

func (*MsgBurnNFTResponse) XXX_Size added in v0.46.0

func (m *MsgBurnNFTResponse) XXX_Size() int

func (*MsgBurnNFTResponse) XXX_Unmarshal added in v0.46.0

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

type MsgClient added in v0.46.0

type MsgClient interface {
	// TransferFT defines a method to send fungible tokens from one account to another account.
	// Fires:
	// - EventSent
	// - transfer_ft (deprecated, not typed)
	// Throws:
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to spend.
	TransferFT(ctx context.Context, in *MsgTransferFT, opts ...grpc.CallOption) (*MsgTransferFTResponse, error)
	// TransferFTFrom defines a method to send fungible tokens from one account to another account by the proxy.
	// Fires:
	// - EventSent
	// - transfer_ft_from (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized:
	//   - the approver has not authorized the proxy.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to spend.
	TransferFTFrom(ctx context.Context, in *MsgTransferFTFrom, opts ...grpc.CallOption) (*MsgTransferFTFromResponse, error)
	// TransferNFT 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)
	// Throws:
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to spend.
	TransferNFT(ctx context.Context, in *MsgTransferNFT, opts ...grpc.CallOption) (*MsgTransferNFTResponse, error)
	// TransferNFTFrom defines a method to send non-fungible tokens from one account to another account by the proxy.
	// Fires:
	// - EventSent
	// - transfer_nft_from (deprecated, not typed)
	// - operation_transfer_nft (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized:
	//   - the approver has not authorized the proxy.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to spend.
	TransferNFTFrom(ctx context.Context, in *MsgTransferNFTFrom, opts ...grpc.CallOption) (*MsgTransferNFTFromResponse, error)
	// Approve allows one to send tokens on behalf of the approver.
	// Fires:
	// - EventAuthorizedOperator
	// - approve_collection (deprecated, not typed)
	// Throws:
	// - ErrNotFound:
	//   - there is no contract of `contract_id`.
	// - ErrInvalidRequest:
	//   - `approver` has already authorized `proxy`.
	Approve(ctx context.Context, in *MsgApprove, opts ...grpc.CallOption) (*MsgApproveResponse, error)
	// Disapprove revokes the authorization of the proxy to send the approver's token.
	// Fires:
	// - EventRevokedOperator
	// - disapprove_collection (deprecated, not typed)
	// Throws:
	// - ErrNotFound:
	//   - there is no contract of `contract_id`.
	//   - there is no authorization by `approver` to `proxy`.
	Disapprove(ctx context.Context, in *MsgDisapprove, opts ...grpc.CallOption) (*MsgDisapproveResponse, 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)
	// Throws:
	// - ErrUnauthorized
	//   - `from` does not have `mint` permission.
	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)
	// Throws:
	// - ErrUnauthorized
	//   - `from` does not have `mint` permission.
	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)
	// Throws:
	// - ErrUnauthorized
	//   - `from` does not have `burn` permission.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to burn.
	BurnFT(ctx context.Context, in *MsgBurnFT, opts ...grpc.CallOption) (*MsgBurnFTResponse, error)
	// BurnFTFrom defines a method to burn fungible tokens of the approver by the proxy.
	// Fires:
	// - EventBurned
	// - burn_ft_from (deprecated, not typed)
	// - burn_nft_from (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - `proxy` does not have `burn` permission.
	//   - the approver has not authorized `proxy`.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to burn.
	BurnFTFrom(ctx context.Context, in *MsgBurnFTFrom, opts ...grpc.CallOption) (*MsgBurnFTFromResponse, 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)
	// Throws:
	// - ErrUnauthorized
	//   - `from` does not have `burn` permission.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to burn.
	BurnNFT(ctx context.Context, in *MsgBurnNFT, opts ...grpc.CallOption) (*MsgBurnNFTResponse, error)
	// BurnNFTFrom defines a method to burn non-fungible tokens of the approver by the proxy.
	// Fires:
	// - EventBurned
	// - burn_ft_from (deprecated, not typed)
	// - burn_nft_from (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - `proxy` does not have `burn` permission.
	//   - the approver has not authorized `proxy`.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to burn.
	BurnNFTFrom(ctx context.Context, in *MsgBurnNFTFrom, opts ...grpc.CallOption) (*MsgBurnNFTFromResponse, 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
	// Throws:
	// - ErrUnauthorized
	//   - the proxy does not have `modify` permission.
	// - ErrNotFound
	//   - there is no contract of `contract_id`.
	//   - there is no token type of `token_type`.
	//   - there is no token of `token_id`.
	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)
	// Throws:
	// - ErrUnauthorized
	//   - `granter` does not have `permission`.
	// - ErrInvalidRequest
	//   - `grantee` already has `permission`.
	GrantPermission(ctx context.Context, in *MsgGrantPermission, opts ...grpc.CallOption) (*MsgGrantPermissionResponse, error)
	// RevokePermission abandons a permission.
	// Fires:
	// - EventRenounced
	// - revoke_perm (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - `grantee` does not have `permission`.
	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)
	// Throws:
	// - ErrInvalidRequest
	//   - `owner` does not owns `id`.
	//   - `owner` does not owns `to`.
	//   - `token_id` is not root.
	//   - `token_id` is an ancestor of `to_token_id`, which creates a cycle as a result.
	//   - depth of `to_token_id` exceeds an app-specific limit.
	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)
	// Throws:
	// - ErrInvalidRequest
	//   - `owner` does not owns `token_id`.
	Detach(ctx context.Context, in *MsgDetach, opts ...grpc.CallOption) (*MsgDetachResponse, error)
	// AttachFrom defines a method to attach a token to another token by proxy.
	// Fires:
	// - EventAttach
	// - attach_from (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - the approver has not authorized `proxy`.
	// - ErrInvalidRequest
	//   - `owner` does not owns `subject`.
	//   - `owner` does not owns `target`.
	//   - `subject` is not root.
	//   - `subject` is an ancestor of `target`, which creates a cycle as a result.
	//   - depth of `to` exceeds an app-specific limit.
	AttachFrom(ctx context.Context, in *MsgAttachFrom, opts ...grpc.CallOption) (*MsgAttachFromResponse, error)
	// DetachFrom defines a method to detach a token from another token by proxy.
	// Fires:
	// - EventDetach
	// - detach_from (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - the approver has not authorized `proxy`.
	// - ErrInvalidRequest
	//   - `owner` does not owns `subject`.
	DetachFrom(ctx context.Context, in *MsgDetachFrom, opts ...grpc.CallOption) (*MsgDetachFromResponse, 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 added in v0.46.0

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateContract added in v0.46.0

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"`
	// base img uri is an uri for the contract image stored off chain.
	BaseImgUri string `protobuf:"bytes,3,opt,name=base_img_uri,json=baseImgUri,proto3" json:"base_img_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.

Throws: - ErrInvalidAddress

  • `owner` is of invalid format.

- ErrInvalidRequest

  • `name` exceeds the app-specific limit in length.
  • `base_img_uri` exceeds the app-specific limit in length.
  • `meta` exceeds the app-specific limit in length.

Signer: `owner`

func (*MsgCreateContract) Descriptor added in v0.46.0

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

func (*MsgCreateContract) GetBaseImgUri added in v0.46.0

func (m *MsgCreateContract) GetBaseImgUri() string

func (*MsgCreateContract) GetMeta added in v0.46.0

func (m *MsgCreateContract) GetMeta() string

func (*MsgCreateContract) GetName added in v0.46.0

func (m *MsgCreateContract) GetName() string

func (*MsgCreateContract) GetOwner added in v0.46.0

func (m *MsgCreateContract) GetOwner() string

func (MsgCreateContract) GetSignBytes added in v0.46.0

func (m MsgCreateContract) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgCreateContract) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgCreateContract) Marshal added in v0.46.0

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

func (*MsgCreateContract) MarshalTo added in v0.46.0

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

func (*MsgCreateContract) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgCreateContract) ProtoMessage added in v0.46.0

func (*MsgCreateContract) ProtoMessage()

func (*MsgCreateContract) Reset added in v0.46.0

func (m *MsgCreateContract) Reset()

func (MsgCreateContract) Route added in v0.46.0

func (m MsgCreateContract) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgCreateContract) Size added in v0.46.0

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

func (*MsgCreateContract) String added in v0.46.0

func (m *MsgCreateContract) String() string

func (MsgCreateContract) Type added in v0.46.0

func (m MsgCreateContract) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgCreateContract) Unmarshal added in v0.46.0

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

func (MsgCreateContract) ValidateBasic added in v0.46.0

func (m MsgCreateContract) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgCreateContract) XXX_DiscardUnknown added in v0.46.0

func (m *MsgCreateContract) XXX_DiscardUnknown()

func (*MsgCreateContract) XXX_Marshal added in v0.46.0

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

func (*MsgCreateContract) XXX_Merge added in v0.46.0

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

func (*MsgCreateContract) XXX_Size added in v0.46.0

func (m *MsgCreateContract) XXX_Size() int

func (*MsgCreateContract) XXX_Unmarshal added in v0.46.0

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

type MsgCreateContractResponse added in v0.46.0

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

MsgCreateContractResponse is the Msg/CreateContract response type.

func (*MsgCreateContractResponse) Descriptor added in v0.46.0

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

func (*MsgCreateContractResponse) GetId added in v0.46.0

func (m *MsgCreateContractResponse) GetId() string

func (*MsgCreateContractResponse) Marshal added in v0.46.0

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

func (*MsgCreateContractResponse) MarshalTo added in v0.46.0

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

func (*MsgCreateContractResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgCreateContractResponse) ProtoMessage added in v0.46.0

func (*MsgCreateContractResponse) ProtoMessage()

func (*MsgCreateContractResponse) Reset added in v0.46.0

func (m *MsgCreateContractResponse) Reset()

func (*MsgCreateContractResponse) Size added in v0.46.0

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

func (*MsgCreateContractResponse) String added in v0.46.0

func (m *MsgCreateContractResponse) String() string

func (*MsgCreateContractResponse) Unmarshal added in v0.46.0

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

func (*MsgCreateContractResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgCreateContractResponse) XXX_DiscardUnknown()

func (*MsgCreateContractResponse) XXX_Marshal added in v0.46.0

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

func (*MsgCreateContractResponse) XXX_Merge added in v0.46.0

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

func (*MsgCreateContractResponse) XXX_Size added in v0.46.0

func (m *MsgCreateContractResponse) XXX_Size() int

func (*MsgCreateContractResponse) XXX_Unmarshal added in v0.46.0

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.

Throws: - ErrInvalidAddress

  • `from` is of invalid format.

- ErrInvalidRequest

  • `contract_id` is of invalid format.
  • `token_id` is of invalid format.

Signer: `from`

func (*MsgDetach) Descriptor added in v0.46.0

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

func (*MsgDetach) GetContractId added in v0.46.0

func (m *MsgDetach) GetContractId() string

func (*MsgDetach) GetFrom added in v0.46.0

func (m *MsgDetach) GetFrom() string

func (MsgDetach) GetSignBytes added in v0.46.0

func (m MsgDetach) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgDetach) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgDetach) GetTokenId added in v0.46.0

func (m *MsgDetach) GetTokenId() string

func (*MsgDetach) Marshal added in v0.46.0

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

func (*MsgDetach) MarshalTo added in v0.46.0

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

func (*MsgDetach) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgDetach) ProtoMessage added in v0.46.0

func (*MsgDetach) ProtoMessage()

func (*MsgDetach) Reset added in v0.46.0

func (m *MsgDetach) Reset()

func (MsgDetach) Route added in v0.46.0

func (m MsgDetach) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgDetach) Size added in v0.46.0

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

func (*MsgDetach) String added in v0.46.0

func (m *MsgDetach) String() string

func (MsgDetach) Type added in v0.46.0

func (m MsgDetach) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgDetach) Unmarshal added in v0.46.0

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

func (MsgDetach) ValidateBasic added in v0.46.0

func (m MsgDetach) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgDetach) XXX_DiscardUnknown added in v0.46.0

func (m *MsgDetach) XXX_DiscardUnknown()

func (*MsgDetach) XXX_Marshal added in v0.46.0

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

func (*MsgDetach) XXX_Merge added in v0.46.0

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

func (*MsgDetach) XXX_Size added in v0.46.0

func (m *MsgDetach) XXX_Size() int

func (*MsgDetach) XXX_Unmarshal added in v0.46.0

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

type MsgDetachFrom

type MsgDetachFrom 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 proxy.
	Proxy string `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,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"`
}

MsgDetachFrom is the Msg/DetachFrom request type.

func (*MsgDetachFrom) Descriptor added in v0.46.0

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

func (*MsgDetachFrom) GetContractId added in v0.46.0

func (m *MsgDetachFrom) GetContractId() string

func (*MsgDetachFrom) GetFrom added in v0.46.0

func (m *MsgDetachFrom) GetFrom() string

func (*MsgDetachFrom) GetProxy added in v0.46.0

func (m *MsgDetachFrom) GetProxy() string

func (MsgDetachFrom) GetSignBytes added in v0.46.0

func (m MsgDetachFrom) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgDetachFrom) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgDetachFrom) GetTokenId added in v0.46.0

func (m *MsgDetachFrom) GetTokenId() string

func (*MsgDetachFrom) Marshal added in v0.46.0

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

func (*MsgDetachFrom) MarshalTo added in v0.46.0

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

func (*MsgDetachFrom) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgDetachFrom) ProtoMessage added in v0.46.0

func (*MsgDetachFrom) ProtoMessage()

func (*MsgDetachFrom) Reset added in v0.46.0

func (m *MsgDetachFrom) Reset()

func (MsgDetachFrom) Route added in v0.46.0

func (m MsgDetachFrom) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgDetachFrom) Size added in v0.46.0

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

func (*MsgDetachFrom) String added in v0.46.0

func (m *MsgDetachFrom) String() string

func (MsgDetachFrom) Type added in v0.46.0

func (m MsgDetachFrom) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgDetachFrom) Unmarshal added in v0.46.0

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

func (MsgDetachFrom) ValidateBasic added in v0.46.0

func (m MsgDetachFrom) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgDetachFrom) XXX_DiscardUnknown added in v0.46.0

func (m *MsgDetachFrom) XXX_DiscardUnknown()

func (*MsgDetachFrom) XXX_Marshal added in v0.46.0

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

func (*MsgDetachFrom) XXX_Merge added in v0.46.0

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

func (*MsgDetachFrom) XXX_Size added in v0.46.0

func (m *MsgDetachFrom) XXX_Size() int

func (*MsgDetachFrom) XXX_Unmarshal added in v0.46.0

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

type MsgDetachFromResponse added in v0.46.0

type MsgDetachFromResponse struct {
}

MsgDetachFromResponse is the Msg/DetachFrom response type.

func (*MsgDetachFromResponse) Descriptor added in v0.46.0

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

func (*MsgDetachFromResponse) Marshal added in v0.46.0

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

func (*MsgDetachFromResponse) MarshalTo added in v0.46.0

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

func (*MsgDetachFromResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgDetachFromResponse) ProtoMessage added in v0.46.0

func (*MsgDetachFromResponse) ProtoMessage()

func (*MsgDetachFromResponse) Reset added in v0.46.0

func (m *MsgDetachFromResponse) Reset()

func (*MsgDetachFromResponse) Size added in v0.46.0

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

func (*MsgDetachFromResponse) String added in v0.46.0

func (m *MsgDetachFromResponse) String() string

func (*MsgDetachFromResponse) Unmarshal added in v0.46.0

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

func (*MsgDetachFromResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgDetachFromResponse) XXX_DiscardUnknown()

func (*MsgDetachFromResponse) XXX_Marshal added in v0.46.0

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

func (*MsgDetachFromResponse) XXX_Merge added in v0.46.0

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

func (*MsgDetachFromResponse) XXX_Size added in v0.46.0

func (m *MsgDetachFromResponse) XXX_Size() int

func (*MsgDetachFromResponse) XXX_Unmarshal added in v0.46.0

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

type MsgDetachResponse added in v0.46.0

type MsgDetachResponse struct {
}

MsgDetachResponse is the Msg/Detach response type.

func (*MsgDetachResponse) Descriptor added in v0.46.0

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

func (*MsgDetachResponse) Marshal added in v0.46.0

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

func (*MsgDetachResponse) MarshalTo added in v0.46.0

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

func (*MsgDetachResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgDetachResponse) ProtoMessage added in v0.46.0

func (*MsgDetachResponse) ProtoMessage()

func (*MsgDetachResponse) Reset added in v0.46.0

func (m *MsgDetachResponse) Reset()

func (*MsgDetachResponse) Size added in v0.46.0

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

func (*MsgDetachResponse) String added in v0.46.0

func (m *MsgDetachResponse) String() string

func (*MsgDetachResponse) Unmarshal added in v0.46.0

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

func (*MsgDetachResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgDetachResponse) XXX_DiscardUnknown()

func (*MsgDetachResponse) XXX_Marshal added in v0.46.0

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

func (*MsgDetachResponse) XXX_Merge added in v0.46.0

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

func (*MsgDetachResponse) XXX_Size added in v0.46.0

func (m *MsgDetachResponse) XXX_Size() int

func (*MsgDetachResponse) XXX_Unmarshal added in v0.46.0

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

type MsgDisapprove added in v0.46.0

type MsgDisapprove 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 approver who allows the manipulation of its token.
	Approver string `protobuf:"bytes,2,opt,name=approver,proto3" json:"approver,omitempty"`
	// address which the manipulation is allowed to.
	Proxy string `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"`
}

MsgDisapprove is the Msg/Disapprove request type.

func (*MsgDisapprove) Descriptor added in v0.46.0

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

func (*MsgDisapprove) GetApprover added in v0.46.0

func (m *MsgDisapprove) GetApprover() string

func (*MsgDisapprove) GetContractId added in v0.46.0

func (m *MsgDisapprove) GetContractId() string

func (*MsgDisapprove) GetProxy added in v0.46.0

func (m *MsgDisapprove) GetProxy() string

func (MsgDisapprove) GetSignBytes added in v0.46.0

func (m MsgDisapprove) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgDisapprove) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgDisapprove) Marshal added in v0.46.0

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

func (*MsgDisapprove) MarshalTo added in v0.46.0

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

func (*MsgDisapprove) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgDisapprove) ProtoMessage added in v0.46.0

func (*MsgDisapprove) ProtoMessage()

func (*MsgDisapprove) Reset added in v0.46.0

func (m *MsgDisapprove) Reset()

func (MsgDisapprove) Route added in v0.46.0

func (m MsgDisapprove) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgDisapprove) Size added in v0.46.0

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

func (*MsgDisapprove) String added in v0.46.0

func (m *MsgDisapprove) String() string

func (MsgDisapprove) Type added in v0.46.0

func (m MsgDisapprove) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgDisapprove) Unmarshal added in v0.46.0

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

func (MsgDisapprove) ValidateBasic added in v0.46.0

func (m MsgDisapprove) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgDisapprove) XXX_DiscardUnknown added in v0.46.0

func (m *MsgDisapprove) XXX_DiscardUnknown()

func (*MsgDisapprove) XXX_Marshal added in v0.46.0

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

func (*MsgDisapprove) XXX_Merge added in v0.46.0

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

func (*MsgDisapprove) XXX_Size added in v0.46.0

func (m *MsgDisapprove) XXX_Size() int

func (*MsgDisapprove) XXX_Unmarshal added in v0.46.0

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

type MsgDisapproveResponse added in v0.46.0

type MsgDisapproveResponse struct {
}

MsgDisapproveResponse is the Msg/Disapprove response type.

func (*MsgDisapproveResponse) Descriptor added in v0.46.0

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

func (*MsgDisapproveResponse) Marshal added in v0.46.0

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

func (*MsgDisapproveResponse) MarshalTo added in v0.46.0

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

func (*MsgDisapproveResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgDisapproveResponse) ProtoMessage added in v0.46.0

func (*MsgDisapproveResponse) ProtoMessage()

func (*MsgDisapproveResponse) Reset added in v0.46.0

func (m *MsgDisapproveResponse) Reset()

func (*MsgDisapproveResponse) Size added in v0.46.0

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

func (*MsgDisapproveResponse) String added in v0.46.0

func (m *MsgDisapproveResponse) String() string

func (*MsgDisapproveResponse) Unmarshal added in v0.46.0

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

func (*MsgDisapproveResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgDisapproveResponse) XXX_DiscardUnknown()

func (*MsgDisapproveResponse) XXX_Marshal added in v0.46.0

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

func (*MsgDisapproveResponse) XXX_Merge added in v0.46.0

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

func (*MsgDisapproveResponse) XXX_Size added in v0.46.0

func (m *MsgDisapproveResponse) XXX_Size() int

func (*MsgDisapproveResponse) XXX_Unmarshal added in v0.46.0

func (m *MsgDisapproveResponse) 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 added in v0.46.0

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

func (*MsgGrantPermission) GetContractId added in v0.46.0

func (m *MsgGrantPermission) GetContractId() string

func (*MsgGrantPermission) GetFrom added in v0.46.0

func (m *MsgGrantPermission) GetFrom() string

func (*MsgGrantPermission) GetPermission added in v0.46.0

func (m *MsgGrantPermission) GetPermission() string

func (MsgGrantPermission) GetSignBytes added in v0.46.0

func (m MsgGrantPermission) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgGrantPermission) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgGrantPermission) GetTo added in v0.46.0

func (m *MsgGrantPermission) GetTo() string

func (*MsgGrantPermission) Marshal added in v0.46.0

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

func (*MsgGrantPermission) MarshalTo added in v0.46.0

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

func (*MsgGrantPermission) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgGrantPermission) ProtoMessage added in v0.46.0

func (*MsgGrantPermission) ProtoMessage()

func (*MsgGrantPermission) Reset added in v0.46.0

func (m *MsgGrantPermission) Reset()

func (MsgGrantPermission) Route added in v0.46.0

func (m MsgGrantPermission) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgGrantPermission) Size added in v0.46.0

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

func (*MsgGrantPermission) String added in v0.46.0

func (m *MsgGrantPermission) String() string

func (MsgGrantPermission) Type added in v0.46.0

func (m MsgGrantPermission) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgGrantPermission) Unmarshal added in v0.46.0

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

func (MsgGrantPermission) ValidateBasic added in v0.46.0

func (m MsgGrantPermission) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgGrantPermission) XXX_DiscardUnknown added in v0.46.0

func (m *MsgGrantPermission) XXX_DiscardUnknown()

func (*MsgGrantPermission) XXX_Marshal added in v0.46.0

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

func (*MsgGrantPermission) XXX_Merge added in v0.46.0

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

func (*MsgGrantPermission) XXX_Size added in v0.46.0

func (m *MsgGrantPermission) XXX_Size() int

func (*MsgGrantPermission) XXX_Unmarshal added in v0.46.0

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

type MsgGrantPermissionResponse added in v0.46.0

type MsgGrantPermissionResponse struct {
}

MsgGrantPermissionResponse is the Msg/GrantPermission response type.

func (*MsgGrantPermissionResponse) Descriptor added in v0.46.0

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

func (*MsgGrantPermissionResponse) Marshal added in v0.46.0

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

func (*MsgGrantPermissionResponse) MarshalTo added in v0.46.0

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

func (*MsgGrantPermissionResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgGrantPermissionResponse) ProtoMessage added in v0.46.0

func (*MsgGrantPermissionResponse) ProtoMessage()

func (*MsgGrantPermissionResponse) Reset added in v0.46.0

func (m *MsgGrantPermissionResponse) Reset()

func (*MsgGrantPermissionResponse) Size added in v0.46.0

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

func (*MsgGrantPermissionResponse) String added in v0.46.0

func (m *MsgGrantPermissionResponse) String() string

func (*MsgGrantPermissionResponse) Unmarshal added in v0.46.0

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

func (*MsgGrantPermissionResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgGrantPermissionResponse) XXX_DiscardUnknown()

func (*MsgGrantPermissionResponse) XXX_Marshal added in v0.46.0

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

func (*MsgGrantPermissionResponse) XXX_Merge added in v0.46.0

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

func (*MsgGrantPermissionResponse) XXX_Size added in v0.46.0

func (m *MsgGrantPermissionResponse) XXX_Size() int

func (*MsgGrantPermissionResponse) XXX_Unmarshal added in v0.46.0

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_line_lbm_sdk_types.Int `protobuf:"bytes,8,opt,name=amount,proto3,customtype=github.com/line/lbm-sdk/types.Int" json:"amount"`
}

MsgIssueFT is the Msg/IssueFT request type.

Throws: - ErrInvalidAddress

  • `owner` is of invalid format.
  • `to` is of invalid format.

- ErrInvalidRequest

  • `contract_id` is of invalid format.
  • `name` is empty.
  • `name` exceeds the app-specific limit in length.
  • `meta` exceeds the app-specific limit in length.
  • `decimals` is lesser than 0 or greater than 18.
  • `amount` is not positive.
  • `mintable` == false, amount == 1 and decimals == 0 (weird, but for the backward compatibility).

Signer: `owner`

func (*MsgIssueFT) Descriptor added in v0.46.0

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

func (*MsgIssueFT) GetContractId added in v0.46.0

func (m *MsgIssueFT) GetContractId() string

func (*MsgIssueFT) GetDecimals added in v0.46.0

func (m *MsgIssueFT) GetDecimals() int32

func (*MsgIssueFT) GetMeta added in v0.46.0

func (m *MsgIssueFT) GetMeta() string

func (*MsgIssueFT) GetMintable added in v0.46.0

func (m *MsgIssueFT) GetMintable() bool

func (*MsgIssueFT) GetName added in v0.46.0

func (m *MsgIssueFT) GetName() string

func (*MsgIssueFT) GetOwner added in v0.46.0

func (m *MsgIssueFT) GetOwner() string

func (MsgIssueFT) GetSignBytes added in v0.46.0

func (m MsgIssueFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgIssueFT) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgIssueFT) GetTo added in v0.46.0

func (m *MsgIssueFT) GetTo() string

func (*MsgIssueFT) Marshal added in v0.46.0

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

func (*MsgIssueFT) MarshalTo added in v0.46.0

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

func (*MsgIssueFT) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgIssueFT) ProtoMessage added in v0.46.0

func (*MsgIssueFT) ProtoMessage()

func (*MsgIssueFT) Reset added in v0.46.0

func (m *MsgIssueFT) Reset()

func (MsgIssueFT) Route added in v0.46.0

func (m MsgIssueFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgIssueFT) Size added in v0.46.0

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

func (*MsgIssueFT) String added in v0.46.0

func (m *MsgIssueFT) String() string

func (MsgIssueFT) Type added in v0.46.0

func (m MsgIssueFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgIssueFT) Unmarshal added in v0.46.0

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

func (MsgIssueFT) ValidateBasic added in v0.46.0

func (m MsgIssueFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgIssueFT) XXX_DiscardUnknown added in v0.46.0

func (m *MsgIssueFT) XXX_DiscardUnknown()

func (*MsgIssueFT) XXX_Marshal added in v0.46.0

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

func (*MsgIssueFT) XXX_Merge added in v0.46.0

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

func (*MsgIssueFT) XXX_Size added in v0.46.0

func (m *MsgIssueFT) XXX_Size() int

func (*MsgIssueFT) XXX_Unmarshal added in v0.46.0

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

type MsgIssueFTResponse added in v0.46.0

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

MsgIssueFTResponse is the Msg/IssueFT response type.

func (*MsgIssueFTResponse) Descriptor added in v0.46.0

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

func (*MsgIssueFTResponse) GetId added in v0.46.0

func (m *MsgIssueFTResponse) GetId() string

func (*MsgIssueFTResponse) Marshal added in v0.46.0

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

func (*MsgIssueFTResponse) MarshalTo added in v0.46.0

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

func (*MsgIssueFTResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgIssueFTResponse) ProtoMessage added in v0.46.0

func (*MsgIssueFTResponse) ProtoMessage()

func (*MsgIssueFTResponse) Reset added in v0.46.0

func (m *MsgIssueFTResponse) Reset()

func (*MsgIssueFTResponse) Size added in v0.46.0

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

func (*MsgIssueFTResponse) String added in v0.46.0

func (m *MsgIssueFTResponse) String() string

func (*MsgIssueFTResponse) Unmarshal added in v0.46.0

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

func (*MsgIssueFTResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgIssueFTResponse) XXX_DiscardUnknown()

func (*MsgIssueFTResponse) XXX_Marshal added in v0.46.0

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

func (*MsgIssueFTResponse) XXX_Merge added in v0.46.0

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

func (*MsgIssueFTResponse) XXX_Size added in v0.46.0

func (m *MsgIssueFTResponse) XXX_Size() int

func (*MsgIssueFTResponse) XXX_Unmarshal added in v0.46.0

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.

Throws: - ErrInvalidAddress

  • `owner` is of invalid format.

- ErrInvalidRequest

  • `contract_id` is of invalid format.
  • `name` exceeds the app-specific limit in length.
  • `meta` exceeds the app-specific limit in length.

Signer: `owner`

func (*MsgIssueNFT) Descriptor added in v0.46.0

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

func (*MsgIssueNFT) GetContractId added in v0.46.0

func (m *MsgIssueNFT) GetContractId() string

func (*MsgIssueNFT) GetMeta added in v0.46.0

func (m *MsgIssueNFT) GetMeta() string

func (*MsgIssueNFT) GetName added in v0.46.0

func (m *MsgIssueNFT) GetName() string

func (*MsgIssueNFT) GetOwner added in v0.46.0

func (m *MsgIssueNFT) GetOwner() string

func (MsgIssueNFT) GetSignBytes added in v0.46.0

func (m MsgIssueNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgIssueNFT) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgIssueNFT) Marshal added in v0.46.0

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

func (*MsgIssueNFT) MarshalTo added in v0.46.0

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

func (*MsgIssueNFT) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgIssueNFT) ProtoMessage added in v0.46.0

func (*MsgIssueNFT) ProtoMessage()

func (*MsgIssueNFT) Reset added in v0.46.0

func (m *MsgIssueNFT) Reset()

func (MsgIssueNFT) Route added in v0.46.0

func (m MsgIssueNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgIssueNFT) Size added in v0.46.0

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

func (*MsgIssueNFT) String added in v0.46.0

func (m *MsgIssueNFT) String() string

func (MsgIssueNFT) Type added in v0.46.0

func (m MsgIssueNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgIssueNFT) Unmarshal added in v0.46.0

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

func (MsgIssueNFT) ValidateBasic added in v0.46.0

func (m MsgIssueNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgIssueNFT) XXX_DiscardUnknown added in v0.46.0

func (m *MsgIssueNFT) XXX_DiscardUnknown()

func (*MsgIssueNFT) XXX_Marshal added in v0.46.0

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

func (*MsgIssueNFT) XXX_Merge added in v0.46.0

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

func (*MsgIssueNFT) XXX_Size added in v0.46.0

func (m *MsgIssueNFT) XXX_Size() int

func (*MsgIssueNFT) XXX_Unmarshal added in v0.46.0

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

type MsgIssueNFTResponse added in v0.46.0

type MsgIssueNFTResponse struct {
	// id of the new token type.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

MsgIssueNFTResponse is the Msg/IssueNFT response type.

func (*MsgIssueNFTResponse) Descriptor added in v0.46.0

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

func (*MsgIssueNFTResponse) GetId added in v0.46.0

func (m *MsgIssueNFTResponse) GetId() string

func (*MsgIssueNFTResponse) Marshal added in v0.46.0

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

func (*MsgIssueNFTResponse) MarshalTo added in v0.46.0

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

func (*MsgIssueNFTResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgIssueNFTResponse) ProtoMessage added in v0.46.0

func (*MsgIssueNFTResponse) ProtoMessage()

func (*MsgIssueNFTResponse) Reset added in v0.46.0

func (m *MsgIssueNFTResponse) Reset()

func (*MsgIssueNFTResponse) Size added in v0.46.0

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

func (*MsgIssueNFTResponse) String added in v0.46.0

func (m *MsgIssueNFTResponse) String() string

func (*MsgIssueNFTResponse) Unmarshal added in v0.46.0

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

func (*MsgIssueNFTResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgIssueNFTResponse) XXX_DiscardUnknown()

func (*MsgIssueNFTResponse) XXX_Marshal added in v0.46.0

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

func (*MsgIssueNFTResponse) XXX_Merge added in v0.46.0

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

func (*MsgIssueNFTResponse) XXX_Size added in v0.46.0

func (m *MsgIssueNFTResponse) XXX_Size() int

func (*MsgIssueNFTResponse) XXX_Unmarshal added in v0.46.0

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.

Throws: - ErrInvalidAddress

  • `from` is of invalid format.
  • `to` is of invalid format.

- ErrInvalidRequest

  • `contract_id` is of invalid format.
  • `amount` is not positive.

Signer: `from`

func (*MsgMintFT) Descriptor added in v0.46.0

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

func (*MsgMintFT) GetAmount added in v0.46.0

func (m *MsgMintFT) GetAmount() Coins

func (*MsgMintFT) GetContractId added in v0.46.0

func (m *MsgMintFT) GetContractId() string

func (*MsgMintFT) GetFrom added in v0.46.0

func (m *MsgMintFT) GetFrom() string

func (MsgMintFT) GetSignBytes added in v0.46.0

func (m MsgMintFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgMintFT) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgMintFT) GetTo added in v0.46.0

func (m *MsgMintFT) GetTo() string

func (*MsgMintFT) Marshal added in v0.46.0

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

func (*MsgMintFT) MarshalTo added in v0.46.0

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

func (*MsgMintFT) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgMintFT) ProtoMessage added in v0.46.0

func (*MsgMintFT) ProtoMessage()

func (*MsgMintFT) Reset added in v0.46.0

func (m *MsgMintFT) Reset()

func (MsgMintFT) Route added in v0.46.0

func (m MsgMintFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgMintFT) Size added in v0.46.0

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

func (*MsgMintFT) String added in v0.46.0

func (m *MsgMintFT) String() string

func (MsgMintFT) Type added in v0.46.0

func (m MsgMintFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgMintFT) Unmarshal added in v0.46.0

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

func (MsgMintFT) ValidateBasic added in v0.46.0

func (m MsgMintFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgMintFT) XXX_DiscardUnknown added in v0.46.0

func (m *MsgMintFT) XXX_DiscardUnknown()

func (*MsgMintFT) XXX_Marshal added in v0.46.0

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

func (*MsgMintFT) XXX_Merge added in v0.46.0

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

func (*MsgMintFT) XXX_Size added in v0.46.0

func (m *MsgMintFT) XXX_Size() int

func (*MsgMintFT) XXX_Unmarshal added in v0.46.0

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

type MsgMintFTResponse added in v0.46.0

type MsgMintFTResponse struct {
}

MsgMintFTResponse is the Msg/MintFT response type.

func (*MsgMintFTResponse) Descriptor added in v0.46.0

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

func (*MsgMintFTResponse) Marshal added in v0.46.0

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

func (*MsgMintFTResponse) MarshalTo added in v0.46.0

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

func (*MsgMintFTResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgMintFTResponse) ProtoMessage added in v0.46.0

func (*MsgMintFTResponse) ProtoMessage()

func (*MsgMintFTResponse) Reset added in v0.46.0

func (m *MsgMintFTResponse) Reset()

func (*MsgMintFTResponse) Size added in v0.46.0

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

func (*MsgMintFTResponse) String added in v0.46.0

func (m *MsgMintFTResponse) String() string

func (*MsgMintFTResponse) Unmarshal added in v0.46.0

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

func (*MsgMintFTResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgMintFTResponse) XXX_DiscardUnknown()

func (*MsgMintFTResponse) XXX_Marshal added in v0.46.0

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

func (*MsgMintFTResponse) XXX_Merge added in v0.46.0

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

func (*MsgMintFTResponse) XXX_Size added in v0.46.0

func (m *MsgMintFTResponse) XXX_Size() int

func (*MsgMintFTResponse) XXX_Unmarshal added in v0.46.0

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.

Throws: - ErrInvalidAddress

  • `from` is of invalid format.
  • `to` is of invalid format.

- ErrInvalidRequest

  • `contract_id` is of invalid format.
  • `params` is empty.
  • `params` has an invalid element.

Signer: `from`

func (*MsgMintNFT) Descriptor added in v0.46.0

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

func (*MsgMintNFT) GetContractId added in v0.46.0

func (m *MsgMintNFT) GetContractId() string

func (*MsgMintNFT) GetFrom added in v0.46.0

func (m *MsgMintNFT) GetFrom() string

func (*MsgMintNFT) GetParams added in v0.46.0

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

func (MsgMintNFT) GetSignBytes added in v0.46.0

func (m MsgMintNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgMintNFT) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgMintNFT) GetTo added in v0.46.0

func (m *MsgMintNFT) GetTo() string

func (*MsgMintNFT) Marshal added in v0.46.0

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

func (*MsgMintNFT) MarshalTo added in v0.46.0

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

func (*MsgMintNFT) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgMintNFT) ProtoMessage added in v0.46.0

func (*MsgMintNFT) ProtoMessage()

func (*MsgMintNFT) Reset added in v0.46.0

func (m *MsgMintNFT) Reset()

func (MsgMintNFT) Route added in v0.46.0

func (m MsgMintNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgMintNFT) Size added in v0.46.0

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

func (*MsgMintNFT) String added in v0.46.0

func (m *MsgMintNFT) String() string

func (MsgMintNFT) Type added in v0.46.0

func (m MsgMintNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgMintNFT) Unmarshal added in v0.46.0

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

func (MsgMintNFT) ValidateBasic added in v0.46.0

func (m MsgMintNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgMintNFT) XXX_DiscardUnknown added in v0.46.0

func (m *MsgMintNFT) XXX_DiscardUnknown()

func (*MsgMintNFT) XXX_Marshal added in v0.46.0

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

func (*MsgMintNFT) XXX_Merge added in v0.46.0

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

func (*MsgMintNFT) XXX_Size added in v0.46.0

func (m *MsgMintNFT) XXX_Size() int

func (*MsgMintNFT) XXX_Unmarshal added in v0.46.0

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

type MsgMintNFTResponse added in v0.46.0

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

MsgMintNFTResponse is the Msg/MintNFT response type.

func (*MsgMintNFTResponse) Descriptor added in v0.46.0

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

func (*MsgMintNFTResponse) GetIds added in v0.46.0

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

func (*MsgMintNFTResponse) Marshal added in v0.46.0

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

func (*MsgMintNFTResponse) MarshalTo added in v0.46.0

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

func (*MsgMintNFTResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgMintNFTResponse) ProtoMessage added in v0.46.0

func (*MsgMintNFTResponse) ProtoMessage()

func (*MsgMintNFTResponse) Reset added in v0.46.0

func (m *MsgMintNFTResponse) Reset()

func (*MsgMintNFTResponse) Size added in v0.46.0

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

func (*MsgMintNFTResponse) String added in v0.46.0

func (m *MsgMintNFTResponse) String() string

func (*MsgMintNFTResponse) Unmarshal added in v0.46.0

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

func (*MsgMintNFTResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgMintNFTResponse) XXX_DiscardUnknown()

func (*MsgMintNFTResponse) XXX_Marshal added in v0.46.0

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

func (*MsgMintNFTResponse) XXX_Merge added in v0.46.0

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

func (*MsgMintNFTResponse) XXX_Size added in v0.46.0

func (m *MsgMintNFTResponse) XXX_Size() int

func (*MsgMintNFTResponse) XXX_Unmarshal added in v0.46.0

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.
	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.
	// on modifying collection: name, base_img_uri, meta.
	// on modifying token type and token: name, meta.
	Changes []Change `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes"`
}

MsgModify is the Msg/Modify request type.

func (*MsgModify) Descriptor added in v0.46.0

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

func (*MsgModify) GetChanges added in v0.46.0

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

func (*MsgModify) GetContractId added in v0.46.0

func (m *MsgModify) GetContractId() string

func (*MsgModify) GetOwner added in v0.46.0

func (m *MsgModify) GetOwner() string

func (MsgModify) GetSignBytes added in v0.46.0

func (m MsgModify) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgModify) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgModify) GetTokenIndex added in v0.46.0

func (m *MsgModify) GetTokenIndex() string

func (*MsgModify) GetTokenType added in v0.46.0

func (m *MsgModify) GetTokenType() string

func (*MsgModify) Marshal added in v0.46.0

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

func (*MsgModify) MarshalTo added in v0.46.0

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

func (*MsgModify) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgModify) ProtoMessage added in v0.46.0

func (*MsgModify) ProtoMessage()

func (*MsgModify) Reset added in v0.46.0

func (m *MsgModify) Reset()

func (MsgModify) Route added in v0.46.0

func (m MsgModify) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgModify) Size added in v0.46.0

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

func (*MsgModify) String added in v0.46.0

func (m *MsgModify) String() string

func (MsgModify) Type added in v0.46.0

func (m MsgModify) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgModify) Unmarshal added in v0.46.0

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

func (MsgModify) ValidateBasic added in v0.46.0

func (m MsgModify) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgModify) XXX_DiscardUnknown added in v0.46.0

func (m *MsgModify) XXX_DiscardUnknown()

func (*MsgModify) XXX_Marshal added in v0.46.0

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

func (*MsgModify) XXX_Merge added in v0.46.0

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

func (*MsgModify) XXX_Size added in v0.46.0

func (m *MsgModify) XXX_Size() int

func (*MsgModify) XXX_Unmarshal added in v0.46.0

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

type MsgModifyResponse added in v0.46.0

type MsgModifyResponse struct {
}

MsgModifyResponse is the Msg/Modify response type.

func (*MsgModifyResponse) Descriptor added in v0.46.0

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

func (*MsgModifyResponse) Marshal added in v0.46.0

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

func (*MsgModifyResponse) MarshalTo added in v0.46.0

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

func (*MsgModifyResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgModifyResponse) ProtoMessage added in v0.46.0

func (*MsgModifyResponse) ProtoMessage()

func (*MsgModifyResponse) Reset added in v0.46.0

func (m *MsgModifyResponse) Reset()

func (*MsgModifyResponse) Size added in v0.46.0

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

func (*MsgModifyResponse) String added in v0.46.0

func (m *MsgModifyResponse) String() string

func (*MsgModifyResponse) Unmarshal added in v0.46.0

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

func (*MsgModifyResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgModifyResponse) XXX_DiscardUnknown()

func (*MsgModifyResponse) XXX_Marshal added in v0.46.0

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

func (*MsgModifyResponse) XXX_Merge added in v0.46.0

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

func (*MsgModifyResponse) XXX_Size added in v0.46.0

func (m *MsgModifyResponse) XXX_Size() int

func (*MsgModifyResponse) XXX_Unmarshal added in v0.46.0

func (m *MsgModifyResponse) 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 added in v0.46.0

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

func (*MsgRevokePermission) GetContractId added in v0.46.0

func (m *MsgRevokePermission) GetContractId() string

func (*MsgRevokePermission) GetFrom added in v0.46.0

func (m *MsgRevokePermission) GetFrom() string

func (*MsgRevokePermission) GetPermission added in v0.46.0

func (m *MsgRevokePermission) GetPermission() string

func (MsgRevokePermission) GetSignBytes added in v0.46.0

func (m MsgRevokePermission) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgRevokePermission) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgRevokePermission) Marshal added in v0.46.0

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

func (*MsgRevokePermission) MarshalTo added in v0.46.0

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

func (*MsgRevokePermission) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgRevokePermission) ProtoMessage added in v0.46.0

func (*MsgRevokePermission) ProtoMessage()

func (*MsgRevokePermission) Reset added in v0.46.0

func (m *MsgRevokePermission) Reset()

func (MsgRevokePermission) Route added in v0.46.0

func (m MsgRevokePermission) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgRevokePermission) Size added in v0.46.0

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

func (*MsgRevokePermission) String added in v0.46.0

func (m *MsgRevokePermission) String() string

func (MsgRevokePermission) Type added in v0.46.0

func (m MsgRevokePermission) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgRevokePermission) Unmarshal added in v0.46.0

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

func (MsgRevokePermission) ValidateBasic added in v0.46.0

func (m MsgRevokePermission) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgRevokePermission) XXX_DiscardUnknown added in v0.46.0

func (m *MsgRevokePermission) XXX_DiscardUnknown()

func (*MsgRevokePermission) XXX_Marshal added in v0.46.0

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

func (*MsgRevokePermission) XXX_Merge added in v0.46.0

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

func (*MsgRevokePermission) XXX_Size added in v0.46.0

func (m *MsgRevokePermission) XXX_Size() int

func (*MsgRevokePermission) XXX_Unmarshal added in v0.46.0

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

type MsgRevokePermissionResponse added in v0.46.0

type MsgRevokePermissionResponse struct {
}

MsgRevokePermissionResponse is the Msg/RevokePermission response type.

func (*MsgRevokePermissionResponse) Descriptor added in v0.46.0

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

func (*MsgRevokePermissionResponse) Marshal added in v0.46.0

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

func (*MsgRevokePermissionResponse) MarshalTo added in v0.46.0

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

func (*MsgRevokePermissionResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgRevokePermissionResponse) ProtoMessage added in v0.46.0

func (*MsgRevokePermissionResponse) ProtoMessage()

func (*MsgRevokePermissionResponse) Reset added in v0.46.0

func (m *MsgRevokePermissionResponse) Reset()

func (*MsgRevokePermissionResponse) Size added in v0.46.0

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

func (*MsgRevokePermissionResponse) String added in v0.46.0

func (m *MsgRevokePermissionResponse) String() string

func (*MsgRevokePermissionResponse) Unmarshal added in v0.46.0

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

func (*MsgRevokePermissionResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgRevokePermissionResponse) XXX_DiscardUnknown()

func (*MsgRevokePermissionResponse) XXX_Marshal added in v0.46.0

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

func (*MsgRevokePermissionResponse) XXX_Merge added in v0.46.0

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

func (*MsgRevokePermissionResponse) XXX_Size added in v0.46.0

func (m *MsgRevokePermissionResponse) XXX_Size() int

func (*MsgRevokePermissionResponse) XXX_Unmarshal added in v0.46.0

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

type MsgServer added in v0.46.0

type MsgServer interface {
	// TransferFT defines a method to send fungible tokens from one account to another account.
	// Fires:
	// - EventSent
	// - transfer_ft (deprecated, not typed)
	// Throws:
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to spend.
	TransferFT(context.Context, *MsgTransferFT) (*MsgTransferFTResponse, error)
	// TransferFTFrom defines a method to send fungible tokens from one account to another account by the proxy.
	// Fires:
	// - EventSent
	// - transfer_ft_from (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized:
	//   - the approver has not authorized the proxy.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to spend.
	TransferFTFrom(context.Context, *MsgTransferFTFrom) (*MsgTransferFTFromResponse, error)
	// TransferNFT 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)
	// Throws:
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to spend.
	TransferNFT(context.Context, *MsgTransferNFT) (*MsgTransferNFTResponse, error)
	// TransferNFTFrom defines a method to send non-fungible tokens from one account to another account by the proxy.
	// Fires:
	// - EventSent
	// - transfer_nft_from (deprecated, not typed)
	// - operation_transfer_nft (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized:
	//   - the approver has not authorized the proxy.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to spend.
	TransferNFTFrom(context.Context, *MsgTransferNFTFrom) (*MsgTransferNFTFromResponse, error)
	// Approve allows one to send tokens on behalf of the approver.
	// Fires:
	// - EventAuthorizedOperator
	// - approve_collection (deprecated, not typed)
	// Throws:
	// - ErrNotFound:
	//   - there is no contract of `contract_id`.
	// - ErrInvalidRequest:
	//   - `approver` has already authorized `proxy`.
	Approve(context.Context, *MsgApprove) (*MsgApproveResponse, error)
	// Disapprove revokes the authorization of the proxy to send the approver's token.
	// Fires:
	// - EventRevokedOperator
	// - disapprove_collection (deprecated, not typed)
	// Throws:
	// - ErrNotFound:
	//   - there is no contract of `contract_id`.
	//   - there is no authorization by `approver` to `proxy`.
	Disapprove(context.Context, *MsgDisapprove) (*MsgDisapproveResponse, 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)
	// Throws:
	// - ErrUnauthorized
	//   - `from` does not have `mint` permission.
	MintFT(context.Context, *MsgMintFT) (*MsgMintFTResponse, error)
	// MintNFT defines a method to mint non-fungible tokens.
	// Fires:
	// - EventMintedNFT
	// - mint_nft (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - `from` does not have `mint` permission.
	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)
	// Throws:
	// - ErrUnauthorized
	//   - `from` does not have `burn` permission.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to burn.
	BurnFT(context.Context, *MsgBurnFT) (*MsgBurnFTResponse, error)
	// BurnFTFrom defines a method to burn fungible tokens of the approver by the proxy.
	// Fires:
	// - EventBurned
	// - burn_ft_from (deprecated, not typed)
	// - burn_nft_from (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - `proxy` does not have `burn` permission.
	//   - the approver has not authorized `proxy`.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to burn.
	BurnFTFrom(context.Context, *MsgBurnFTFrom) (*MsgBurnFTFromResponse, 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)
	// Throws:
	// - ErrUnauthorized
	//   - `from` does not have `burn` permission.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to burn.
	BurnNFT(context.Context, *MsgBurnNFT) (*MsgBurnNFTResponse, error)
	// BurnNFTFrom defines a method to burn non-fungible tokens of the approver by the proxy.
	// Fires:
	// - EventBurned
	// - burn_ft_from (deprecated, not typed)
	// - burn_nft_from (deprecated, not typed)
	// - operation_burn_nft (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - `proxy` does not have `burn` permission.
	//   - the approver has not authorized `proxy`.
	// - ErrInvalidRequest:
	//   - the balance of `from` does not have enough tokens to burn.
	BurnNFTFrom(context.Context, *MsgBurnNFTFrom) (*MsgBurnNFTFromResponse, 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
	// Throws:
	// - ErrUnauthorized
	//   - the proxy does not have `modify` permission.
	// - ErrNotFound
	//   - there is no contract of `contract_id`.
	//   - there is no token type of `token_type`.
	//   - there is no token of `token_id`.
	Modify(context.Context, *MsgModify) (*MsgModifyResponse, error)
	// GrantPermission allows one to mint or burn tokens or modify metadata.
	// Fires:
	// - EventGranted
	// - grant_perm (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - `granter` does not have `permission`.
	// - ErrInvalidRequest
	//   - `grantee` already has `permission`.
	GrantPermission(context.Context, *MsgGrantPermission) (*MsgGrantPermissionResponse, error)
	// RevokePermission abandons a permission.
	// Fires:
	// - EventRenounced
	// - revoke_perm (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - `grantee` does not have `permission`.
	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)
	// Throws:
	// - ErrInvalidRequest
	//   - `owner` does not owns `id`.
	//   - `owner` does not owns `to`.
	//   - `token_id` is not root.
	//   - `token_id` is an ancestor of `to_token_id`, which creates a cycle as a result.
	//   - depth of `to_token_id` exceeds an app-specific limit.
	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)
	// Throws:
	// - ErrInvalidRequest
	//   - `owner` does not owns `token_id`.
	Detach(context.Context, *MsgDetach) (*MsgDetachResponse, error)
	// AttachFrom defines a method to attach a token to another token by proxy.
	// Fires:
	// - EventAttach
	// - attach_from (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - the approver has not authorized `proxy`.
	// - ErrInvalidRequest
	//   - `owner` does not owns `subject`.
	//   - `owner` does not owns `target`.
	//   - `subject` is not root.
	//   - `subject` is an ancestor of `target`, which creates a cycle as a result.
	//   - depth of `to` exceeds an app-specific limit.
	AttachFrom(context.Context, *MsgAttachFrom) (*MsgAttachFromResponse, error)
	// DetachFrom defines a method to detach a token from another token by proxy.
	// Fires:
	// - EventDetach
	// - detach_from (deprecated, not typed)
	// - operation_root_changed (deprecated, not typed)
	// Throws:
	// - ErrUnauthorized
	//   - the approver has not authorized `proxy`.
	// - ErrInvalidRequest
	//   - `owner` does not owns `subject`.
	DetachFrom(context.Context, *MsgDetachFrom) (*MsgDetachFromResponse, error)
}

MsgServer is the server API for Msg service.

type MsgTransferFT

type MsgTransferFT 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"`
}

MsgTransferFT is the Msg/TransferFT request type.

func (*MsgTransferFT) Descriptor added in v0.46.0

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

func (*MsgTransferFT) GetAmount added in v0.46.0

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

func (*MsgTransferFT) GetContractId added in v0.46.0

func (m *MsgTransferFT) GetContractId() string

func (*MsgTransferFT) GetFrom added in v0.46.0

func (m *MsgTransferFT) GetFrom() string

func (MsgTransferFT) GetSignBytes added in v0.46.0

func (m MsgTransferFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgTransferFT) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgTransferFT) GetTo added in v0.46.0

func (m *MsgTransferFT) GetTo() string

func (*MsgTransferFT) Marshal added in v0.46.0

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

func (*MsgTransferFT) MarshalTo added in v0.46.0

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

func (*MsgTransferFT) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgTransferFT) ProtoMessage added in v0.46.0

func (*MsgTransferFT) ProtoMessage()

func (*MsgTransferFT) Reset added in v0.46.0

func (m *MsgTransferFT) Reset()

func (MsgTransferFT) Route added in v0.46.0

func (m MsgTransferFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgTransferFT) Size added in v0.46.0

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

func (*MsgTransferFT) String added in v0.46.0

func (m *MsgTransferFT) String() string

func (MsgTransferFT) Type added in v0.46.0

func (m MsgTransferFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgTransferFT) Unmarshal added in v0.46.0

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

func (MsgTransferFT) ValidateBasic added in v0.46.0

func (m MsgTransferFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgTransferFT) XXX_DiscardUnknown added in v0.46.0

func (m *MsgTransferFT) XXX_DiscardUnknown()

func (*MsgTransferFT) XXX_Marshal added in v0.46.0

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

func (*MsgTransferFT) XXX_Merge added in v0.46.0

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

func (*MsgTransferFT) XXX_Size added in v0.46.0

func (m *MsgTransferFT) XXX_Size() int

func (*MsgTransferFT) XXX_Unmarshal added in v0.46.0

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

type MsgTransferFTFrom

type MsgTransferFTFrom 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 proxy.
	Proxy string `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,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"`
}

MsgTransferFTFrom is the Msg/TransferFTFrom request type.

func (*MsgTransferFTFrom) Descriptor added in v0.46.0

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

func (*MsgTransferFTFrom) GetAmount added in v0.46.0

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

func (*MsgTransferFTFrom) GetContractId added in v0.46.0

func (m *MsgTransferFTFrom) GetContractId() string

func (*MsgTransferFTFrom) GetFrom added in v0.46.0

func (m *MsgTransferFTFrom) GetFrom() string

func (*MsgTransferFTFrom) GetProxy added in v0.46.0

func (m *MsgTransferFTFrom) GetProxy() string

func (MsgTransferFTFrom) GetSignBytes added in v0.46.0

func (m MsgTransferFTFrom) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgTransferFTFrom) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgTransferFTFrom) GetTo added in v0.46.0

func (m *MsgTransferFTFrom) GetTo() string

func (*MsgTransferFTFrom) Marshal added in v0.46.0

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

func (*MsgTransferFTFrom) MarshalTo added in v0.46.0

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

func (*MsgTransferFTFrom) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgTransferFTFrom) ProtoMessage added in v0.46.0

func (*MsgTransferFTFrom) ProtoMessage()

func (*MsgTransferFTFrom) Reset added in v0.46.0

func (m *MsgTransferFTFrom) Reset()

func (MsgTransferFTFrom) Route added in v0.46.0

func (m MsgTransferFTFrom) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgTransferFTFrom) Size added in v0.46.0

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

func (*MsgTransferFTFrom) String added in v0.46.0

func (m *MsgTransferFTFrom) String() string

func (MsgTransferFTFrom) Type added in v0.46.0

func (m MsgTransferFTFrom) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgTransferFTFrom) Unmarshal added in v0.46.0

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

func (MsgTransferFTFrom) ValidateBasic added in v0.46.0

func (m MsgTransferFTFrom) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgTransferFTFrom) XXX_DiscardUnknown added in v0.46.0

func (m *MsgTransferFTFrom) XXX_DiscardUnknown()

func (*MsgTransferFTFrom) XXX_Marshal added in v0.46.0

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

func (*MsgTransferFTFrom) XXX_Merge added in v0.46.0

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

func (*MsgTransferFTFrom) XXX_Size added in v0.46.0

func (m *MsgTransferFTFrom) XXX_Size() int

func (*MsgTransferFTFrom) XXX_Unmarshal added in v0.46.0

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

type MsgTransferFTFromResponse added in v0.46.0

type MsgTransferFTFromResponse struct {
}

MsgTransferFTFromResponse is the Msg/TransferFTFrom response type.

func (*MsgTransferFTFromResponse) Descriptor added in v0.46.0

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

func (*MsgTransferFTFromResponse) Marshal added in v0.46.0

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

func (*MsgTransferFTFromResponse) MarshalTo added in v0.46.0

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

func (*MsgTransferFTFromResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgTransferFTFromResponse) ProtoMessage added in v0.46.0

func (*MsgTransferFTFromResponse) ProtoMessage()

func (*MsgTransferFTFromResponse) Reset added in v0.46.0

func (m *MsgTransferFTFromResponse) Reset()

func (*MsgTransferFTFromResponse) Size added in v0.46.0

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

func (*MsgTransferFTFromResponse) String added in v0.46.0

func (m *MsgTransferFTFromResponse) String() string

func (*MsgTransferFTFromResponse) Unmarshal added in v0.46.0

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

func (*MsgTransferFTFromResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgTransferFTFromResponse) XXX_DiscardUnknown()

func (*MsgTransferFTFromResponse) XXX_Marshal added in v0.46.0

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

func (*MsgTransferFTFromResponse) XXX_Merge added in v0.46.0

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

func (*MsgTransferFTFromResponse) XXX_Size added in v0.46.0

func (m *MsgTransferFTFromResponse) XXX_Size() int

func (*MsgTransferFTFromResponse) XXX_Unmarshal added in v0.46.0

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

type MsgTransferFTResponse added in v0.46.0

type MsgTransferFTResponse struct {
}

MsgTransferFTResponse is the Msg/TransferFT response type.

func (*MsgTransferFTResponse) Descriptor added in v0.46.0

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

func (*MsgTransferFTResponse) Marshal added in v0.46.0

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

func (*MsgTransferFTResponse) MarshalTo added in v0.46.0

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

func (*MsgTransferFTResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgTransferFTResponse) ProtoMessage added in v0.46.0

func (*MsgTransferFTResponse) ProtoMessage()

func (*MsgTransferFTResponse) Reset added in v0.46.0

func (m *MsgTransferFTResponse) Reset()

func (*MsgTransferFTResponse) Size added in v0.46.0

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

func (*MsgTransferFTResponse) String added in v0.46.0

func (m *MsgTransferFTResponse) String() string

func (*MsgTransferFTResponse) Unmarshal added in v0.46.0

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

func (*MsgTransferFTResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgTransferFTResponse) XXX_DiscardUnknown()

func (*MsgTransferFTResponse) XXX_Marshal added in v0.46.0

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

func (*MsgTransferFTResponse) XXX_Merge added in v0.46.0

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

func (*MsgTransferFTResponse) XXX_Size added in v0.46.0

func (m *MsgTransferFTResponse) XXX_Size() int

func (*MsgTransferFTResponse) XXX_Unmarshal added in v0.46.0

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

type MsgTransferNFT

type MsgTransferNFT 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"`
}

MsgTransferNFT is the Msg/TransferNFT request type.

func (*MsgTransferNFT) Descriptor added in v0.46.0

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

func (*MsgTransferNFT) GetContractId added in v0.46.0

func (m *MsgTransferNFT) GetContractId() string

func (*MsgTransferNFT) GetFrom added in v0.46.0

func (m *MsgTransferNFT) GetFrom() string

func (MsgTransferNFT) GetSignBytes added in v0.46.0

func (m MsgTransferNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgTransferNFT) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgTransferNFT) GetTo added in v0.46.0

func (m *MsgTransferNFT) GetTo() string

func (*MsgTransferNFT) GetTokenIds added in v0.46.0

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

func (*MsgTransferNFT) Marshal added in v0.46.0

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

func (*MsgTransferNFT) MarshalTo added in v0.46.0

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

func (*MsgTransferNFT) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgTransferNFT) ProtoMessage added in v0.46.0

func (*MsgTransferNFT) ProtoMessage()

func (*MsgTransferNFT) Reset added in v0.46.0

func (m *MsgTransferNFT) Reset()

func (MsgTransferNFT) Route added in v0.46.0

func (m MsgTransferNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgTransferNFT) Size added in v0.46.0

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

func (*MsgTransferNFT) String added in v0.46.0

func (m *MsgTransferNFT) String() string

func (MsgTransferNFT) Type added in v0.46.0

func (m MsgTransferNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgTransferNFT) Unmarshal added in v0.46.0

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

func (MsgTransferNFT) ValidateBasic added in v0.46.0

func (m MsgTransferNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgTransferNFT) XXX_DiscardUnknown added in v0.46.0

func (m *MsgTransferNFT) XXX_DiscardUnknown()

func (*MsgTransferNFT) XXX_Marshal added in v0.46.0

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

func (*MsgTransferNFT) XXX_Merge added in v0.46.0

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

func (*MsgTransferNFT) XXX_Size added in v0.46.0

func (m *MsgTransferNFT) XXX_Size() int

func (*MsgTransferNFT) XXX_Unmarshal added in v0.46.0

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

type MsgTransferNFTFrom

type MsgTransferNFTFrom 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 proxy.
	Proxy string `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,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"`
}

MsgTransferNFTFrom is the Msg/TransferNFTFrom request type.

func (*MsgTransferNFTFrom) Descriptor added in v0.46.0

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

func (*MsgTransferNFTFrom) GetContractId added in v0.46.0

func (m *MsgTransferNFTFrom) GetContractId() string

func (*MsgTransferNFTFrom) GetFrom added in v0.46.0

func (m *MsgTransferNFTFrom) GetFrom() string

func (*MsgTransferNFTFrom) GetProxy added in v0.46.0

func (m *MsgTransferNFTFrom) GetProxy() string

func (MsgTransferNFTFrom) GetSignBytes added in v0.46.0

func (m MsgTransferNFTFrom) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgTransferNFTFrom) GetSigners added in v0.46.0

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

GetSigners implements Msg

func (*MsgTransferNFTFrom) GetTo added in v0.46.0

func (m *MsgTransferNFTFrom) GetTo() string

func (*MsgTransferNFTFrom) GetTokenIds added in v0.46.0

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

func (*MsgTransferNFTFrom) Marshal added in v0.46.0

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

func (*MsgTransferNFTFrom) MarshalTo added in v0.46.0

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

func (*MsgTransferNFTFrom) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgTransferNFTFrom) ProtoMessage added in v0.46.0

func (*MsgTransferNFTFrom) ProtoMessage()

func (*MsgTransferNFTFrom) Reset added in v0.46.0

func (m *MsgTransferNFTFrom) Reset()

func (MsgTransferNFTFrom) Route added in v0.46.0

func (m MsgTransferNFTFrom) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgTransferNFTFrom) Size added in v0.46.0

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

func (*MsgTransferNFTFrom) String added in v0.46.0

func (m *MsgTransferNFTFrom) String() string

func (MsgTransferNFTFrom) Type added in v0.46.0

func (m MsgTransferNFTFrom) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgTransferNFTFrom) Unmarshal added in v0.46.0

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

func (MsgTransferNFTFrom) ValidateBasic added in v0.46.0

func (m MsgTransferNFTFrom) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgTransferNFTFrom) XXX_DiscardUnknown added in v0.46.0

func (m *MsgTransferNFTFrom) XXX_DiscardUnknown()

func (*MsgTransferNFTFrom) XXX_Marshal added in v0.46.0

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

func (*MsgTransferNFTFrom) XXX_Merge added in v0.46.0

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

func (*MsgTransferNFTFrom) XXX_Size added in v0.46.0

func (m *MsgTransferNFTFrom) XXX_Size() int

func (*MsgTransferNFTFrom) XXX_Unmarshal added in v0.46.0

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

type MsgTransferNFTFromResponse added in v0.46.0

type MsgTransferNFTFromResponse struct {
}

MsgTransferNFTFromResponse is the Msg/TransferNFTFrom response type.

func (*MsgTransferNFTFromResponse) Descriptor added in v0.46.0

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

func (*MsgTransferNFTFromResponse) Marshal added in v0.46.0

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

func (*MsgTransferNFTFromResponse) MarshalTo added in v0.46.0

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

func (*MsgTransferNFTFromResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgTransferNFTFromResponse) ProtoMessage added in v0.46.0

func (*MsgTransferNFTFromResponse) ProtoMessage()

func (*MsgTransferNFTFromResponse) Reset added in v0.46.0

func (m *MsgTransferNFTFromResponse) Reset()

func (*MsgTransferNFTFromResponse) Size added in v0.46.0

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

func (*MsgTransferNFTFromResponse) String added in v0.46.0

func (m *MsgTransferNFTFromResponse) String() string

func (*MsgTransferNFTFromResponse) Unmarshal added in v0.46.0

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

func (*MsgTransferNFTFromResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgTransferNFTFromResponse) XXX_DiscardUnknown()

func (*MsgTransferNFTFromResponse) XXX_Marshal added in v0.46.0

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

func (*MsgTransferNFTFromResponse) XXX_Merge added in v0.46.0

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

func (*MsgTransferNFTFromResponse) XXX_Size added in v0.46.0

func (m *MsgTransferNFTFromResponse) XXX_Size() int

func (*MsgTransferNFTFromResponse) XXX_Unmarshal added in v0.46.0

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

type MsgTransferNFTResponse added in v0.46.0

type MsgTransferNFTResponse struct {
}

MsgTransferNFTResponse is the Msg/TransferNFT response type.

func (*MsgTransferNFTResponse) Descriptor added in v0.46.0

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

func (*MsgTransferNFTResponse) Marshal added in v0.46.0

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

func (*MsgTransferNFTResponse) MarshalTo added in v0.46.0

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

func (*MsgTransferNFTResponse) MarshalToSizedBuffer added in v0.46.0

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

func (*MsgTransferNFTResponse) ProtoMessage added in v0.46.0

func (*MsgTransferNFTResponse) ProtoMessage()

func (*MsgTransferNFTResponse) Reset added in v0.46.0

func (m *MsgTransferNFTResponse) Reset()

func (*MsgTransferNFTResponse) Size added in v0.46.0

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

func (*MsgTransferNFTResponse) String added in v0.46.0

func (m *MsgTransferNFTResponse) String() string

func (*MsgTransferNFTResponse) Unmarshal added in v0.46.0

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

func (*MsgTransferNFTResponse) XXX_DiscardUnknown added in v0.46.0

func (m *MsgTransferNFTResponse) XXX_DiscardUnknown()

func (*MsgTransferNFTResponse) XXX_Marshal added in v0.46.0

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

func (*MsgTransferNFTResponse) XXX_Merge added in v0.46.0

func (m *MsgTransferNFTResponse) XXX_Merge(src proto.Message)

func (*MsgTransferNFTResponse) XXX_Size added in v0.46.0

func (m *MsgTransferNFTResponse) XXX_Size() int

func (*MsgTransferNFTResponse) XXX_Unmarshal added in v0.46.0

func (m *MsgTransferNFTResponse) XXX_Unmarshal(b []byte) error

type NFT

type NFT struct {
	// id defines the unique identifier of the token.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"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 added in v0.46.0

func (*NFT) Descriptor() ([]byte, []int)

func (*NFT) Marshal added in v0.46.0

func (m *NFT) Marshal() (dAtA []byte, err error)

func (*NFT) MarshalTo added in v0.46.0

func (m *NFT) MarshalTo(dAtA []byte) (int, error)

func (*NFT) MarshalToSizedBuffer added in v0.46.0

func (m *NFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NFT) ProtoMessage added in v0.46.0

func (*NFT) ProtoMessage()

func (*NFT) Reset added in v0.46.0

func (m *NFT) Reset()

func (*NFT) Size added in v0.46.0

func (m *NFT) Size() (n int)

func (*NFT) String added in v0.46.0

func (m *NFT) String() string

func (*NFT) Unmarshal added in v0.46.0

func (m *NFT) Unmarshal(dAtA []byte) error

func (*NFT) XXX_DiscardUnknown added in v0.46.0

func (m *NFT) XXX_DiscardUnknown()

func (*NFT) XXX_Marshal added in v0.46.0

func (m *NFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NFT) XXX_Merge added in v0.46.0

func (m *NFT) XXX_Merge(src proto.Message)

func (*NFT) XXX_Size added in v0.46.0

func (m *NFT) XXX_Size() int

func (*NFT) XXX_Unmarshal added in v0.46.0

func (m *NFT) XXX_Unmarshal(b []byte) error

type NFTClass added in v0.46.0

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 added in v0.46.0

func (*NFTClass) Descriptor() ([]byte, []int)

func (*NFTClass) GetId added in v0.46.0

func (m *NFTClass) GetId() string

func (*NFTClass) GetMeta added in v0.46.0

func (m *NFTClass) GetMeta() string

func (*NFTClass) GetName added in v0.46.0

func (m *NFTClass) GetName() string

func (*NFTClass) Marshal added in v0.46.0

func (m *NFTClass) Marshal() (dAtA []byte, err error)

func (*NFTClass) MarshalTo added in v0.46.0

func (m *NFTClass) MarshalTo(dAtA []byte) (int, error)

func (*NFTClass) MarshalToSizedBuffer added in v0.46.0

func (m *NFTClass) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NFTClass) ProtoMessage added in v0.46.0

func (*NFTClass) ProtoMessage()

func (*NFTClass) Reset added in v0.46.0

func (m *NFTClass) Reset()

func (*NFTClass) SetId added in v0.46.0

func (c *NFTClass) SetId(ids *NextClassIDs)

func (*NFTClass) SetMeta added in v0.46.0

func (c *NFTClass) SetMeta(meta string)

func (*NFTClass) SetName added in v0.46.0

func (c *NFTClass) SetName(name string)

func (*NFTClass) Size added in v0.46.0

func (m *NFTClass) Size() (n int)

func (*NFTClass) String added in v0.46.0

func (m *NFTClass) String() string

func (*NFTClass) Unmarshal added in v0.46.0

func (m *NFTClass) Unmarshal(dAtA []byte) error

func (NFTClass) ValidateBasic added in v0.46.0

func (c NFTClass) ValidateBasic() error

func (*NFTClass) XXX_DiscardUnknown added in v0.46.0

func (m *NFTClass) XXX_DiscardUnknown()

func (*NFTClass) XXX_Marshal added in v0.46.0

func (m *NFTClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NFTClass) XXX_Merge added in v0.46.0

func (m *NFTClass) XXX_Merge(src proto.Message)

func (*NFTClass) XXX_Size added in v0.46.0

func (m *NFTClass) XXX_Size() int

func (*NFTClass) XXX_Unmarshal added in v0.46.0

func (m *NFTClass) XXX_Unmarshal(b []byte) error

type NextClassIDs added in v0.46.0

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_line_lbm_sdk_types.Uint `protobuf:"bytes,2,opt,name=fungible,proto3,customtype=github.com/line/lbm-sdk/types.Uint" json:"fungible"`
	// id for the non-fungible tokens.
	NonFungible github_com_line_lbm_sdk_types.Uint `` /* 130-byte string literal not displayed */
}

NextClassIDs defines the next class ids of the contract.

func DefaultNextClassIDs added in v0.46.0

func DefaultNextClassIDs(contractID string) NextClassIDs

func (*NextClassIDs) Descriptor added in v0.46.0

func (*NextClassIDs) Descriptor() ([]byte, []int)

func (*NextClassIDs) GetContractId added in v0.46.0

func (m *NextClassIDs) GetContractId() string

func (*NextClassIDs) Marshal added in v0.46.0

func (m *NextClassIDs) Marshal() (dAtA []byte, err error)

func (*NextClassIDs) MarshalTo added in v0.46.0

func (m *NextClassIDs) MarshalTo(dAtA []byte) (int, error)

func (*NextClassIDs) MarshalToSizedBuffer added in v0.46.0

func (m *NextClassIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NextClassIDs) ProtoMessage added in v0.46.0

func (*NextClassIDs) ProtoMessage()

func (*NextClassIDs) Reset added in v0.46.0

func (m *NextClassIDs) Reset()

func (*NextClassIDs) Size added in v0.46.0

func (m *NextClassIDs) Size() (n int)

func (*NextClassIDs) String added in v0.46.0

func (m *NextClassIDs) String() string

func (*NextClassIDs) Unmarshal added in v0.46.0

func (m *NextClassIDs) Unmarshal(dAtA []byte) error

func (*NextClassIDs) XXX_DiscardUnknown added in v0.46.0

func (m *NextClassIDs) XXX_DiscardUnknown()

func (*NextClassIDs) XXX_Marshal added in v0.46.0

func (m *NextClassIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NextClassIDs) XXX_Merge added in v0.46.0

func (m *NextClassIDs) XXX_Merge(src proto.Message)

func (*NextClassIDs) XXX_Size added in v0.46.0

func (m *NextClassIDs) XXX_Size() int

func (*NextClassIDs) XXX_Unmarshal added in v0.46.0

func (m *NextClassIDs) XXX_Unmarshal(b []byte) error

type NextTokenID added in v0.46.0

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_line_lbm_sdk_types.Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=github.com/line/lbm-sdk/types.Uint" json:"id"`
}

NextTokenID defines the next (non-fungible) token id of the token class.

func (*NextTokenID) Descriptor added in v0.46.0

func (*NextTokenID) Descriptor() ([]byte, []int)

func (*NextTokenID) GetClassId added in v0.46.0

func (m *NextTokenID) GetClassId() string

func (*NextTokenID) Marshal added in v0.46.0

func (m *NextTokenID) Marshal() (dAtA []byte, err error)

func (*NextTokenID) MarshalTo added in v0.46.0

func (m *NextTokenID) MarshalTo(dAtA []byte) (int, error)

func (*NextTokenID) MarshalToSizedBuffer added in v0.46.0

func (m *NextTokenID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NextTokenID) ProtoMessage added in v0.46.0

func (*NextTokenID) ProtoMessage()

func (*NextTokenID) Reset added in v0.46.0

func (m *NextTokenID) Reset()

func (*NextTokenID) Size added in v0.46.0

func (m *NextTokenID) Size() (n int)

func (*NextTokenID) String added in v0.46.0

func (m *NextTokenID) String() string

func (*NextTokenID) Unmarshal added in v0.46.0

func (m *NextTokenID) Unmarshal(dAtA []byte) error

func (*NextTokenID) XXX_DiscardUnknown added in v0.46.0

func (m *NextTokenID) XXX_DiscardUnknown()

func (*NextTokenID) XXX_Marshal added in v0.46.0

func (m *NextTokenID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NextTokenID) XXX_Merge added in v0.46.0

func (m *NextTokenID) XXX_Merge(src proto.Message)

func (*NextTokenID) XXX_Size added in v0.46.0

func (m *NextTokenID) XXX_Size() int

func (*NextTokenID) XXX_Unmarshal added in v0.46.0

func (m *NextTokenID) XXX_Unmarshal(b []byte) error

type OwnerNFT deprecated added in v0.46.0

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 added in v0.46.0

func (*OwnerNFT) Descriptor() ([]byte, []int)

func (*OwnerNFT) Marshal added in v0.46.0

func (m *OwnerNFT) Marshal() (dAtA []byte, err error)

func (*OwnerNFT) MarshalTo added in v0.46.0

func (m *OwnerNFT) MarshalTo(dAtA []byte) (int, error)

func (*OwnerNFT) MarshalToSizedBuffer added in v0.46.0

func (m *OwnerNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OwnerNFT) ProtoMessage added in v0.46.0

func (*OwnerNFT) ProtoMessage()

func (*OwnerNFT) Reset added in v0.46.0

func (m *OwnerNFT) Reset()

func (*OwnerNFT) Size added in v0.46.0

func (m *OwnerNFT) Size() (n int)

func (*OwnerNFT) String added in v0.46.0

func (m *OwnerNFT) String() string

func (*OwnerNFT) Unmarshal added in v0.46.0

func (m *OwnerNFT) Unmarshal(dAtA []byte) error

func (*OwnerNFT) XXX_DiscardUnknown added in v0.46.0

func (m *OwnerNFT) XXX_DiscardUnknown()

func (*OwnerNFT) XXX_Marshal added in v0.46.0

func (m *OwnerNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OwnerNFT) XXX_Merge added in v0.46.0

func (m *OwnerNFT) XXX_Merge(src proto.Message)

func (*OwnerNFT) XXX_Size added in v0.46.0

func (m *OwnerNFT) XXX_Size() int

func (*OwnerNFT) XXX_Unmarshal added in v0.46.0

func (m *OwnerNFT) XXX_Unmarshal(b []byte) error

type Params added in v0.46.0

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 added in v0.46.0

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Marshal added in v0.46.0

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo added in v0.46.0

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer added in v0.46.0

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage added in v0.46.0

func (*Params) ProtoMessage()

func (*Params) Reset added in v0.46.0

func (m *Params) Reset()

func (*Params) Size added in v0.46.0

func (m *Params) Size() (n int)

func (*Params) String added in v0.46.0

func (m *Params) String() string

func (*Params) Unmarshal added in v0.46.0

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) XXX_DiscardUnknown added in v0.46.0

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal added in v0.46.0

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge added in v0.46.0

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size added in v0.46.0

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal added in v0.46.0

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 added in v0.46.0

func (Permission) EnumDescriptor() ([]byte, []int)

func (Permission) String added in v0.46.0

func (x Permission) String() string

type QueryAllBalancesRequest added in v0.46.0

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 added in v0.46.0

func (*QueryAllBalancesRequest) Descriptor() ([]byte, []int)

func (*QueryAllBalancesRequest) GetAddress added in v0.46.0

func (m *QueryAllBalancesRequest) GetAddress() string

func (*QueryAllBalancesRequest) GetContractId added in v0.46.0

func (m *QueryAllBalancesRequest) GetContractId() string

func (*QueryAllBalancesRequest) GetPagination added in v0.46.0

func (m *QueryAllBalancesRequest) GetPagination() *query.PageRequest

func (*QueryAllBalancesRequest) Marshal added in v0.46.0

func (m *QueryAllBalancesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllBalancesRequest) MarshalTo added in v0.46.0

func (m *QueryAllBalancesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllBalancesRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryAllBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllBalancesRequest) ProtoMessage added in v0.46.0

func (*QueryAllBalancesRequest) ProtoMessage()

func (*QueryAllBalancesRequest) Reset added in v0.46.0

func (m *QueryAllBalancesRequest) Reset()

func (*QueryAllBalancesRequest) Size added in v0.46.0

func (m *QueryAllBalancesRequest) Size() (n int)

func (*QueryAllBalancesRequest) String added in v0.46.0

func (m *QueryAllBalancesRequest) String() string

func (*QueryAllBalancesRequest) Unmarshal added in v0.46.0

func (m *QueryAllBalancesRequest) Unmarshal(dAtA []byte) error

func (*QueryAllBalancesRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryAllBalancesRequest) XXX_DiscardUnknown()

func (*QueryAllBalancesRequest) XXX_Marshal added in v0.46.0

func (m *QueryAllBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllBalancesRequest) XXX_Merge added in v0.46.0

func (m *QueryAllBalancesRequest) XXX_Merge(src proto.Message)

func (*QueryAllBalancesRequest) XXX_Size added in v0.46.0

func (m *QueryAllBalancesRequest) XXX_Size() int

func (*QueryAllBalancesRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryAllBalancesRequest) XXX_Unmarshal(b []byte) error

type QueryAllBalancesResponse added in v0.46.0

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 added in v0.46.0

func (*QueryAllBalancesResponse) Descriptor() ([]byte, []int)

func (*QueryAllBalancesResponse) GetBalances added in v0.46.0

func (m *QueryAllBalancesResponse) GetBalances() []Coin

func (*QueryAllBalancesResponse) GetPagination added in v0.46.0

func (m *QueryAllBalancesResponse) GetPagination() *query.PageResponse

func (*QueryAllBalancesResponse) Marshal added in v0.46.0

func (m *QueryAllBalancesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllBalancesResponse) MarshalTo added in v0.46.0

func (m *QueryAllBalancesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllBalancesResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryAllBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllBalancesResponse) ProtoMessage added in v0.46.0

func (*QueryAllBalancesResponse) ProtoMessage()

func (*QueryAllBalancesResponse) Reset added in v0.46.0

func (m *QueryAllBalancesResponse) Reset()

func (*QueryAllBalancesResponse) Size added in v0.46.0

func (m *QueryAllBalancesResponse) Size() (n int)

func (*QueryAllBalancesResponse) String added in v0.46.0

func (m *QueryAllBalancesResponse) String() string

func (*QueryAllBalancesResponse) Unmarshal added in v0.46.0

func (m *QueryAllBalancesResponse) Unmarshal(dAtA []byte) error

func (*QueryAllBalancesResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryAllBalancesResponse) XXX_DiscardUnknown()

func (*QueryAllBalancesResponse) XXX_Marshal added in v0.46.0

func (m *QueryAllBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllBalancesResponse) XXX_Merge added in v0.46.0

func (m *QueryAllBalancesResponse) XXX_Merge(src proto.Message)

func (*QueryAllBalancesResponse) XXX_Size added in v0.46.0

func (m *QueryAllBalancesResponse) XXX_Size() int

func (*QueryAllBalancesResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryAllBalancesResponse) XXX_Unmarshal(b []byte) error

type QueryApprovedRequest added in v0.46.0

type QueryApprovedRequest 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 proxy.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// the address of the token approver.
	Approver string `protobuf:"bytes,3,opt,name=approver,proto3" json:"approver,omitempty"`
}

QueryApprovedRequest is the request type for the Query/Approved RPC method.

func (*QueryApprovedRequest) Descriptor added in v0.46.0

func (*QueryApprovedRequest) Descriptor() ([]byte, []int)

func (*QueryApprovedRequest) GetAddress added in v0.46.0

func (m *QueryApprovedRequest) GetAddress() string

func (*QueryApprovedRequest) GetApprover added in v0.46.0

func (m *QueryApprovedRequest) GetApprover() string

func (*QueryApprovedRequest) GetContractId added in v0.46.0

func (m *QueryApprovedRequest) GetContractId() string

func (*QueryApprovedRequest) Marshal added in v0.46.0

func (m *QueryApprovedRequest) Marshal() (dAtA []byte, err error)

func (*QueryApprovedRequest) MarshalTo added in v0.46.0

func (m *QueryApprovedRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryApprovedRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryApprovedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryApprovedRequest) ProtoMessage added in v0.46.0

func (*QueryApprovedRequest) ProtoMessage()

func (*QueryApprovedRequest) Reset added in v0.46.0

func (m *QueryApprovedRequest) Reset()

func (*QueryApprovedRequest) Size added in v0.46.0

func (m *QueryApprovedRequest) Size() (n int)

func (*QueryApprovedRequest) String added in v0.46.0

func (m *QueryApprovedRequest) String() string

func (*QueryApprovedRequest) Unmarshal added in v0.46.0

func (m *QueryApprovedRequest) Unmarshal(dAtA []byte) error

func (*QueryApprovedRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryApprovedRequest) XXX_DiscardUnknown()

func (*QueryApprovedRequest) XXX_Marshal added in v0.46.0

func (m *QueryApprovedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryApprovedRequest) XXX_Merge added in v0.46.0

func (m *QueryApprovedRequest) XXX_Merge(src proto.Message)

func (*QueryApprovedRequest) XXX_Size added in v0.46.0

func (m *QueryApprovedRequest) XXX_Size() int

func (*QueryApprovedRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryApprovedRequest) XXX_Unmarshal(b []byte) error

type QueryApprovedResponse added in v0.46.0

type QueryApprovedResponse struct {
	Approved bool `protobuf:"varint,1,opt,name=approved,proto3" json:"approved,omitempty"`
}

QueryApprovedResponse is the response type for the Query/Approved RPC method.

func (*QueryApprovedResponse) Descriptor added in v0.46.0

func (*QueryApprovedResponse) Descriptor() ([]byte, []int)

func (*QueryApprovedResponse) GetApproved added in v0.46.0

func (m *QueryApprovedResponse) GetApproved() bool

func (*QueryApprovedResponse) Marshal added in v0.46.0

func (m *QueryApprovedResponse) Marshal() (dAtA []byte, err error)

func (*QueryApprovedResponse) MarshalTo added in v0.46.0

func (m *QueryApprovedResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryApprovedResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryApprovedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryApprovedResponse) ProtoMessage added in v0.46.0

func (*QueryApprovedResponse) ProtoMessage()

func (*QueryApprovedResponse) Reset added in v0.46.0

func (m *QueryApprovedResponse) Reset()

func (*QueryApprovedResponse) Size added in v0.46.0

func (m *QueryApprovedResponse) Size() (n int)

func (*QueryApprovedResponse) String added in v0.46.0

func (m *QueryApprovedResponse) String() string

func (*QueryApprovedResponse) Unmarshal added in v0.46.0

func (m *QueryApprovedResponse) Unmarshal(dAtA []byte) error

func (*QueryApprovedResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryApprovedResponse) XXX_DiscardUnknown()

func (*QueryApprovedResponse) XXX_Marshal added in v0.46.0

func (m *QueryApprovedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryApprovedResponse) XXX_Merge added in v0.46.0

func (m *QueryApprovedResponse) XXX_Merge(src proto.Message)

func (*QueryApprovedResponse) XXX_Size added in v0.46.0

func (m *QueryApprovedResponse) XXX_Size() int

func (*QueryApprovedResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryApprovedResponse) XXX_Unmarshal(b []byte) error

type QueryApproversRequest added in v0.46.0

type QueryApproversRequest 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 proxy.
	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"`
}

QueryApproversRequest is the request type for the Query/Approvers RPC method.

func (*QueryApproversRequest) Descriptor added in v0.46.0

func (*QueryApproversRequest) Descriptor() ([]byte, []int)

func (*QueryApproversRequest) GetAddress added in v0.46.0

func (m *QueryApproversRequest) GetAddress() string

func (*QueryApproversRequest) GetContractId added in v0.46.0

func (m *QueryApproversRequest) GetContractId() string

func (*QueryApproversRequest) GetPagination added in v0.46.0

func (m *QueryApproversRequest) GetPagination() *query.PageRequest

func (*QueryApproversRequest) Marshal added in v0.46.0

func (m *QueryApproversRequest) Marshal() (dAtA []byte, err error)

func (*QueryApproversRequest) MarshalTo added in v0.46.0

func (m *QueryApproversRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryApproversRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryApproversRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryApproversRequest) ProtoMessage added in v0.46.0

func (*QueryApproversRequest) ProtoMessage()

func (*QueryApproversRequest) Reset added in v0.46.0

func (m *QueryApproversRequest) Reset()

func (*QueryApproversRequest) Size added in v0.46.0

func (m *QueryApproversRequest) Size() (n int)

func (*QueryApproversRequest) String added in v0.46.0

func (m *QueryApproversRequest) String() string

func (*QueryApproversRequest) Unmarshal added in v0.46.0

func (m *QueryApproversRequest) Unmarshal(dAtA []byte) error

func (*QueryApproversRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryApproversRequest) XXX_DiscardUnknown()

func (*QueryApproversRequest) XXX_Marshal added in v0.46.0

func (m *QueryApproversRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryApproversRequest) XXX_Merge added in v0.46.0

func (m *QueryApproversRequest) XXX_Merge(src proto.Message)

func (*QueryApproversRequest) XXX_Size added in v0.46.0

func (m *QueryApproversRequest) XXX_Size() int

func (*QueryApproversRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryApproversRequest) XXX_Unmarshal(b []byte) error

type QueryApproversResponse added in v0.46.0

type QueryApproversResponse struct {
	Approvers []string `protobuf:"bytes,1,rep,name=approvers,proto3" json:"approvers,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryApproversResponse is the response type for the Query/Approvers RPC method.

func (*QueryApproversResponse) Descriptor added in v0.46.0

func (*QueryApproversResponse) Descriptor() ([]byte, []int)

func (*QueryApproversResponse) GetApprovers added in v0.46.0

func (m *QueryApproversResponse) GetApprovers() []string

func (*QueryApproversResponse) GetPagination added in v0.46.0

func (m *QueryApproversResponse) GetPagination() *query.PageResponse

func (*QueryApproversResponse) Marshal added in v0.46.0

func (m *QueryApproversResponse) Marshal() (dAtA []byte, err error)

func (*QueryApproversResponse) MarshalTo added in v0.46.0

func (m *QueryApproversResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryApproversResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryApproversResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryApproversResponse) ProtoMessage added in v0.46.0

func (*QueryApproversResponse) ProtoMessage()

func (*QueryApproversResponse) Reset added in v0.46.0

func (m *QueryApproversResponse) Reset()

func (*QueryApproversResponse) Size added in v0.46.0

func (m *QueryApproversResponse) Size() (n int)

func (*QueryApproversResponse) String added in v0.46.0

func (m *QueryApproversResponse) String() string

func (*QueryApproversResponse) Unmarshal added in v0.46.0

func (m *QueryApproversResponse) Unmarshal(dAtA []byte) error

func (*QueryApproversResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryApproversResponse) XXX_DiscardUnknown()

func (*QueryApproversResponse) XXX_Marshal added in v0.46.0

func (m *QueryApproversResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryApproversResponse) XXX_Merge added in v0.46.0

func (m *QueryApproversResponse) XXX_Merge(src proto.Message)

func (*QueryApproversResponse) XXX_Size added in v0.46.0

func (m *QueryApproversResponse) XXX_Size() int

func (*QueryApproversResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryApproversResponse) XXX_Unmarshal(b []byte) error

type QueryBalanceRequest added in v0.46.0

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 added in v0.46.0

func (*QueryBalanceRequest) Descriptor() ([]byte, []int)

func (*QueryBalanceRequest) GetAddress added in v0.46.0

func (m *QueryBalanceRequest) GetAddress() string

func (*QueryBalanceRequest) GetContractId added in v0.46.0

func (m *QueryBalanceRequest) GetContractId() string

func (*QueryBalanceRequest) GetTokenId added in v0.46.0

func (m *QueryBalanceRequest) GetTokenId() string

func (*QueryBalanceRequest) Marshal added in v0.46.0

func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)

func (*QueryBalanceRequest) MarshalTo added in v0.46.0

func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceRequest) ProtoMessage added in v0.46.0

func (*QueryBalanceRequest) ProtoMessage()

func (*QueryBalanceRequest) Reset added in v0.46.0

func (m *QueryBalanceRequest) Reset()

func (*QueryBalanceRequest) Size added in v0.46.0

func (m *QueryBalanceRequest) Size() (n int)

func (*QueryBalanceRequest) String added in v0.46.0

func (m *QueryBalanceRequest) String() string

func (*QueryBalanceRequest) Unmarshal added in v0.46.0

func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error

func (*QueryBalanceRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryBalanceRequest) XXX_DiscardUnknown()

func (*QueryBalanceRequest) XXX_Marshal added in v0.46.0

func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceRequest) XXX_Merge added in v0.46.0

func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)

func (*QueryBalanceRequest) XXX_Size added in v0.46.0

func (m *QueryBalanceRequest) XXX_Size() int

func (*QueryBalanceRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error

type QueryBalanceResponse added in v0.46.0

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 added in v0.46.0

func (*QueryBalanceResponse) Descriptor() ([]byte, []int)

func (*QueryBalanceResponse) GetBalance added in v0.46.0

func (m *QueryBalanceResponse) GetBalance() Coin

func (*QueryBalanceResponse) Marshal added in v0.46.0

func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)

func (*QueryBalanceResponse) MarshalTo added in v0.46.0

func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceResponse) ProtoMessage added in v0.46.0

func (*QueryBalanceResponse) ProtoMessage()

func (*QueryBalanceResponse) Reset added in v0.46.0

func (m *QueryBalanceResponse) Reset()

func (*QueryBalanceResponse) Size added in v0.46.0

func (m *QueryBalanceResponse) Size() (n int)

func (*QueryBalanceResponse) String added in v0.46.0

func (m *QueryBalanceResponse) String() string

func (*QueryBalanceResponse) Unmarshal added in v0.46.0

func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error

func (*QueryBalanceResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryBalanceResponse) XXX_DiscardUnknown()

func (*QueryBalanceResponse) XXX_Marshal added in v0.46.0

func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceResponse) XXX_Merge added in v0.46.0

func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)

func (*QueryBalanceResponse) XXX_Size added in v0.46.0

func (m *QueryBalanceResponse) XXX_Size() int

func (*QueryBalanceResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error

type QueryChildrenRequest added in v0.46.0

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 added in v0.46.0

func (*QueryChildrenRequest) Descriptor() ([]byte, []int)

func (*QueryChildrenRequest) GetContractId added in v0.46.0

func (m *QueryChildrenRequest) GetContractId() string

func (*QueryChildrenRequest) GetPagination added in v0.46.0

func (m *QueryChildrenRequest) GetPagination() *query.PageRequest

func (*QueryChildrenRequest) GetTokenId added in v0.46.0

func (m *QueryChildrenRequest) GetTokenId() string

func (*QueryChildrenRequest) Marshal added in v0.46.0

func (m *QueryChildrenRequest) Marshal() (dAtA []byte, err error)

func (*QueryChildrenRequest) MarshalTo added in v0.46.0

func (m *QueryChildrenRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryChildrenRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryChildrenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChildrenRequest) ProtoMessage added in v0.46.0

func (*QueryChildrenRequest) ProtoMessage()

func (*QueryChildrenRequest) Reset added in v0.46.0

func (m *QueryChildrenRequest) Reset()

func (*QueryChildrenRequest) Size added in v0.46.0

func (m *QueryChildrenRequest) Size() (n int)

func (*QueryChildrenRequest) String added in v0.46.0

func (m *QueryChildrenRequest) String() string

func (*QueryChildrenRequest) Unmarshal added in v0.46.0

func (m *QueryChildrenRequest) Unmarshal(dAtA []byte) error

func (*QueryChildrenRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryChildrenRequest) XXX_DiscardUnknown()

func (*QueryChildrenRequest) XXX_Marshal added in v0.46.0

func (m *QueryChildrenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChildrenRequest) XXX_Merge added in v0.46.0

func (m *QueryChildrenRequest) XXX_Merge(src proto.Message)

func (*QueryChildrenRequest) XXX_Size added in v0.46.0

func (m *QueryChildrenRequest) XXX_Size() int

func (*QueryChildrenRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryChildrenRequest) XXX_Unmarshal(b []byte) error

type QueryChildrenResponse added in v0.46.0

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 added in v0.46.0

func (*QueryChildrenResponse) Descriptor() ([]byte, []int)

func (*QueryChildrenResponse) GetChildren added in v0.46.0

func (m *QueryChildrenResponse) GetChildren() []NFT

func (*QueryChildrenResponse) GetPagination added in v0.46.0

func (m *QueryChildrenResponse) GetPagination() *query.PageResponse

func (*QueryChildrenResponse) Marshal added in v0.46.0

func (m *QueryChildrenResponse) Marshal() (dAtA []byte, err error)

func (*QueryChildrenResponse) MarshalTo added in v0.46.0

func (m *QueryChildrenResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryChildrenResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryChildrenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChildrenResponse) ProtoMessage added in v0.46.0

func (*QueryChildrenResponse) ProtoMessage()

func (*QueryChildrenResponse) Reset added in v0.46.0

func (m *QueryChildrenResponse) Reset()

func (*QueryChildrenResponse) Size added in v0.46.0

func (m *QueryChildrenResponse) Size() (n int)

func (*QueryChildrenResponse) String added in v0.46.0

func (m *QueryChildrenResponse) String() string

func (*QueryChildrenResponse) Unmarshal added in v0.46.0

func (m *QueryChildrenResponse) Unmarshal(dAtA []byte) error

func (*QueryChildrenResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryChildrenResponse) XXX_DiscardUnknown()

func (*QueryChildrenResponse) XXX_Marshal added in v0.46.0

func (m *QueryChildrenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChildrenResponse) XXX_Merge added in v0.46.0

func (m *QueryChildrenResponse) XXX_Merge(src proto.Message)

func (*QueryChildrenResponse) XXX_Size added in v0.46.0

func (m *QueryChildrenResponse) XXX_Size() int

func (*QueryChildrenResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryChildrenResponse) XXX_Unmarshal(b []byte) error

type QueryClient added in v0.46.0

type QueryClient interface {
	// Balance queries the balance of a single token class for a single account.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `address` is of invalid format.
	Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
	// AllBalances queries the balance of all token classes for a single account.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `address` is of invalid format.
	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.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_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.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_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.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_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.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	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.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	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.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	NFTBurnt(ctx context.Context, in *QueryNFTBurntRequest, opts ...grpc.CallOption) (*QueryNFTBurntResponse, error)
	// Contract queries a contract metadata based on its contract id.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrNotFound
	//   - there is no contract of `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.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `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.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	TokenType(ctx context.Context, in *QueryTokenTypeRequest, opts ...grpc.CallOption) (*QueryTokenTypeResponse, error)
	// TokenTypes queries metadata of all the token types.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token contract of `contract_id`.
	TokenTypes(ctx context.Context, in *QueryTokenTypesRequest, opts ...grpc.CallOption) (*QueryTokenTypesResponse, error)
	// Token queries a metadata of a token from its token id.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token of `token_id`.
	Token(ctx context.Context, in *QueryTokenRequest, opts ...grpc.CallOption) (*QueryTokenResponse, error)
	// TokensWithTokenType queries all token metadata with token type.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_type` is of invalid format.
	// - ErrNotFound
	//   - there is no contract of `contract_id`.
	TokensWithTokenType(ctx context.Context, in *QueryTokensWithTokenTypeRequest, opts ...grpc.CallOption) (*QueryTokensWithTokenTypeResponse, error)
	// Tokens queries all token metadata.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrNotFound
	//   - there is no contract of `contract_id`.
	Tokens(ctx context.Context, in *QueryTokensRequest, opts ...grpc.CallOption) (*QueryTokensResponse, error)
	// Root queries the root of a given nft.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token of `token_id`.
	Root(ctx context.Context, in *QueryRootRequest, opts ...grpc.CallOption) (*QueryRootResponse, error)
	// Parent queries the parent of a given nft.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token of `token_id`.
	//   - token is the root.
	Parent(ctx context.Context, in *QueryParentRequest, opts ...grpc.CallOption) (*QueryParentResponse, error)
	// Children queries the children of a given nft.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_id` is of invalid format.
	Children(ctx context.Context, in *QueryChildrenRequest, opts ...grpc.CallOption) (*QueryChildrenResponse, error)
	// GranteeGrants queries all permissions on a given grantee.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `grantee` is of invalid format.
	GranteeGrants(ctx context.Context, in *QueryGranteeGrantsRequest, opts ...grpc.CallOption) (*QueryGranteeGrantsResponse, error)
	// Approved queries whether the proxy is approved by the approver.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `proxy` is of invalid format.
	//   - `approver` is of invalid format.
	// - ErrNotFound
	//   - there is no authorization given by `approver` to `proxy`.
	Approved(ctx context.Context, in *QueryApprovedRequest, opts ...grpc.CallOption) (*QueryApprovedResponse, error)
	// Approvers queries approvers of a given proxy.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `proxy` is of invalid format.
	Approvers(ctx context.Context, in *QueryApproversRequest, opts ...grpc.CallOption) (*QueryApproversResponse, 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 added in v0.46.0

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryContractRequest added in v0.46.0

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 added in v0.46.0

func (*QueryContractRequest) Descriptor() ([]byte, []int)

func (*QueryContractRequest) GetContractId added in v0.46.0

func (m *QueryContractRequest) GetContractId() string

func (*QueryContractRequest) Marshal added in v0.46.0

func (m *QueryContractRequest) Marshal() (dAtA []byte, err error)

func (*QueryContractRequest) MarshalTo added in v0.46.0

func (m *QueryContractRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryContractRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryContractRequest) ProtoMessage added in v0.46.0

func (*QueryContractRequest) ProtoMessage()

func (*QueryContractRequest) Reset added in v0.46.0

func (m *QueryContractRequest) Reset()

func (*QueryContractRequest) Size added in v0.46.0

func (m *QueryContractRequest) Size() (n int)

func (*QueryContractRequest) String added in v0.46.0

func (m *QueryContractRequest) String() string

func (*QueryContractRequest) Unmarshal added in v0.46.0

func (m *QueryContractRequest) Unmarshal(dAtA []byte) error

func (*QueryContractRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryContractRequest) XXX_DiscardUnknown()

func (*QueryContractRequest) XXX_Marshal added in v0.46.0

func (m *QueryContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryContractRequest) XXX_Merge added in v0.46.0

func (m *QueryContractRequest) XXX_Merge(src proto.Message)

func (*QueryContractRequest) XXX_Size added in v0.46.0

func (m *QueryContractRequest) XXX_Size() int

func (*QueryContractRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryContractRequest) XXX_Unmarshal(b []byte) error

type QueryContractResponse added in v0.46.0

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 added in v0.46.0

func (*QueryContractResponse) Descriptor() ([]byte, []int)

func (*QueryContractResponse) GetContract added in v0.46.0

func (m *QueryContractResponse) GetContract() Contract

func (*QueryContractResponse) Marshal added in v0.46.0

func (m *QueryContractResponse) Marshal() (dAtA []byte, err error)

func (*QueryContractResponse) MarshalTo added in v0.46.0

func (m *QueryContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryContractResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryContractResponse) ProtoMessage added in v0.46.0

func (*QueryContractResponse) ProtoMessage()

func (*QueryContractResponse) Reset added in v0.46.0

func (m *QueryContractResponse) Reset()

func (*QueryContractResponse) Size added in v0.46.0

func (m *QueryContractResponse) Size() (n int)

func (*QueryContractResponse) String added in v0.46.0

func (m *QueryContractResponse) String() string

func (*QueryContractResponse) Unmarshal added in v0.46.0

func (m *QueryContractResponse) Unmarshal(dAtA []byte) error

func (*QueryContractResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryContractResponse) XXX_DiscardUnknown()

func (*QueryContractResponse) XXX_Marshal added in v0.46.0

func (m *QueryContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryContractResponse) XXX_Merge added in v0.46.0

func (m *QueryContractResponse) XXX_Merge(src proto.Message)

func (*QueryContractResponse) XXX_Size added in v0.46.0

func (m *QueryContractResponse) XXX_Size() int

func (*QueryContractResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryContractResponse) XXX_Unmarshal(b []byte) error

type QueryFTBurntRequest added in v0.46.0

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 added in v0.46.0

func (*QueryFTBurntRequest) Descriptor() ([]byte, []int)

func (*QueryFTBurntRequest) GetContractId added in v0.46.0

func (m *QueryFTBurntRequest) GetContractId() string

func (*QueryFTBurntRequest) GetTokenId added in v0.46.0

func (m *QueryFTBurntRequest) GetTokenId() string

func (*QueryFTBurntRequest) Marshal added in v0.46.0

func (m *QueryFTBurntRequest) Marshal() (dAtA []byte, err error)

func (*QueryFTBurntRequest) MarshalTo added in v0.46.0

func (m *QueryFTBurntRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTBurntRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryFTBurntRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTBurntRequest) ProtoMessage added in v0.46.0

func (*QueryFTBurntRequest) ProtoMessage()

func (*QueryFTBurntRequest) Reset added in v0.46.0

func (m *QueryFTBurntRequest) Reset()

func (*QueryFTBurntRequest) Size added in v0.46.0

func (m *QueryFTBurntRequest) Size() (n int)

func (*QueryFTBurntRequest) String added in v0.46.0

func (m *QueryFTBurntRequest) String() string

func (*QueryFTBurntRequest) Unmarshal added in v0.46.0

func (m *QueryFTBurntRequest) Unmarshal(dAtA []byte) error

func (*QueryFTBurntRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryFTBurntRequest) XXX_DiscardUnknown()

func (*QueryFTBurntRequest) XXX_Marshal added in v0.46.0

func (m *QueryFTBurntRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTBurntRequest) XXX_Merge added in v0.46.0

func (m *QueryFTBurntRequest) XXX_Merge(src proto.Message)

func (*QueryFTBurntRequest) XXX_Size added in v0.46.0

func (m *QueryFTBurntRequest) XXX_Size() int

func (*QueryFTBurntRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryFTBurntRequest) XXX_Unmarshal(b []byte) error

type QueryFTBurntResponse added in v0.46.0

type QueryFTBurntResponse struct {
	// burnt is the amount of the burnt tokens.
	Burnt github_com_line_lbm_sdk_types.Int `protobuf:"bytes,1,opt,name=burnt,proto3,customtype=github.com/line/lbm-sdk/types.Int" json:"burnt"`
}

QueryFTBurntResponse is the response type for the Query/FTBurnt RPC method.

func (*QueryFTBurntResponse) Descriptor added in v0.46.0

func (*QueryFTBurntResponse) Descriptor() ([]byte, []int)

func (*QueryFTBurntResponse) Marshal added in v0.46.0

func (m *QueryFTBurntResponse) Marshal() (dAtA []byte, err error)

func (*QueryFTBurntResponse) MarshalTo added in v0.46.0

func (m *QueryFTBurntResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTBurntResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryFTBurntResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTBurntResponse) ProtoMessage added in v0.46.0

func (*QueryFTBurntResponse) ProtoMessage()

func (*QueryFTBurntResponse) Reset added in v0.46.0

func (m *QueryFTBurntResponse) Reset()

func (*QueryFTBurntResponse) Size added in v0.46.0

func (m *QueryFTBurntResponse) Size() (n int)

func (*QueryFTBurntResponse) String added in v0.46.0

func (m *QueryFTBurntResponse) String() string

func (*QueryFTBurntResponse) Unmarshal added in v0.46.0

func (m *QueryFTBurntResponse) Unmarshal(dAtA []byte) error

func (*QueryFTBurntResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryFTBurntResponse) XXX_DiscardUnknown()

func (*QueryFTBurntResponse) XXX_Marshal added in v0.46.0

func (m *QueryFTBurntResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTBurntResponse) XXX_Merge added in v0.46.0

func (m *QueryFTBurntResponse) XXX_Merge(src proto.Message)

func (*QueryFTBurntResponse) XXX_Size added in v0.46.0

func (m *QueryFTBurntResponse) XXX_Size() int

func (*QueryFTBurntResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryFTBurntResponse) XXX_Unmarshal(b []byte) error

type QueryFTMintedRequest added in v0.46.0

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 added in v0.46.0

func (*QueryFTMintedRequest) Descriptor() ([]byte, []int)

func (*QueryFTMintedRequest) GetContractId added in v0.46.0

func (m *QueryFTMintedRequest) GetContractId() string

func (*QueryFTMintedRequest) GetTokenId added in v0.46.0

func (m *QueryFTMintedRequest) GetTokenId() string

func (*QueryFTMintedRequest) Marshal added in v0.46.0

func (m *QueryFTMintedRequest) Marshal() (dAtA []byte, err error)

func (*QueryFTMintedRequest) MarshalTo added in v0.46.0

func (m *QueryFTMintedRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTMintedRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryFTMintedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTMintedRequest) ProtoMessage added in v0.46.0

func (*QueryFTMintedRequest) ProtoMessage()

func (*QueryFTMintedRequest) Reset added in v0.46.0

func (m *QueryFTMintedRequest) Reset()

func (*QueryFTMintedRequest) Size added in v0.46.0

func (m *QueryFTMintedRequest) Size() (n int)

func (*QueryFTMintedRequest) String added in v0.46.0

func (m *QueryFTMintedRequest) String() string

func (*QueryFTMintedRequest) Unmarshal added in v0.46.0

func (m *QueryFTMintedRequest) Unmarshal(dAtA []byte) error

func (*QueryFTMintedRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryFTMintedRequest) XXX_DiscardUnknown()

func (*QueryFTMintedRequest) XXX_Marshal added in v0.46.0

func (m *QueryFTMintedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTMintedRequest) XXX_Merge added in v0.46.0

func (m *QueryFTMintedRequest) XXX_Merge(src proto.Message)

func (*QueryFTMintedRequest) XXX_Size added in v0.46.0

func (m *QueryFTMintedRequest) XXX_Size() int

func (*QueryFTMintedRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryFTMintedRequest) XXX_Unmarshal(b []byte) error

type QueryFTMintedResponse added in v0.46.0

type QueryFTMintedResponse struct {
	// minted is the amount of the minted tokens.
	Minted github_com_line_lbm_sdk_types.Int `protobuf:"bytes,1,opt,name=minted,proto3,customtype=github.com/line/lbm-sdk/types.Int" json:"minted"`
}

QueryFTMintedResponse is the response type for the Query/FTMinted RPC method.

func (*QueryFTMintedResponse) Descriptor added in v0.46.0

func (*QueryFTMintedResponse) Descriptor() ([]byte, []int)

func (*QueryFTMintedResponse) Marshal added in v0.46.0

func (m *QueryFTMintedResponse) Marshal() (dAtA []byte, err error)

func (*QueryFTMintedResponse) MarshalTo added in v0.46.0

func (m *QueryFTMintedResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTMintedResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryFTMintedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTMintedResponse) ProtoMessage added in v0.46.0

func (*QueryFTMintedResponse) ProtoMessage()

func (*QueryFTMintedResponse) Reset added in v0.46.0

func (m *QueryFTMintedResponse) Reset()

func (*QueryFTMintedResponse) Size added in v0.46.0

func (m *QueryFTMintedResponse) Size() (n int)

func (*QueryFTMintedResponse) String added in v0.46.0

func (m *QueryFTMintedResponse) String() string

func (*QueryFTMintedResponse) Unmarshal added in v0.46.0

func (m *QueryFTMintedResponse) Unmarshal(dAtA []byte) error

func (*QueryFTMintedResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryFTMintedResponse) XXX_DiscardUnknown()

func (*QueryFTMintedResponse) XXX_Marshal added in v0.46.0

func (m *QueryFTMintedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTMintedResponse) XXX_Merge added in v0.46.0

func (m *QueryFTMintedResponse) XXX_Merge(src proto.Message)

func (*QueryFTMintedResponse) XXX_Size added in v0.46.0

func (m *QueryFTMintedResponse) XXX_Size() int

func (*QueryFTMintedResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryFTMintedResponse) XXX_Unmarshal(b []byte) error

type QueryFTSupplyRequest added in v0.46.0

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 added in v0.46.0

func (*QueryFTSupplyRequest) Descriptor() ([]byte, []int)

func (*QueryFTSupplyRequest) GetContractId added in v0.46.0

func (m *QueryFTSupplyRequest) GetContractId() string

func (*QueryFTSupplyRequest) GetTokenId added in v0.46.0

func (m *QueryFTSupplyRequest) GetTokenId() string

func (*QueryFTSupplyRequest) Marshal added in v0.46.0

func (m *QueryFTSupplyRequest) Marshal() (dAtA []byte, err error)

func (*QueryFTSupplyRequest) MarshalTo added in v0.46.0

func (m *QueryFTSupplyRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTSupplyRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryFTSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTSupplyRequest) ProtoMessage added in v0.46.0

func (*QueryFTSupplyRequest) ProtoMessage()

func (*QueryFTSupplyRequest) Reset added in v0.46.0

func (m *QueryFTSupplyRequest) Reset()

func (*QueryFTSupplyRequest) Size added in v0.46.0

func (m *QueryFTSupplyRequest) Size() (n int)

func (*QueryFTSupplyRequest) String added in v0.46.0

func (m *QueryFTSupplyRequest) String() string

func (*QueryFTSupplyRequest) Unmarshal added in v0.46.0

func (m *QueryFTSupplyRequest) Unmarshal(dAtA []byte) error

func (*QueryFTSupplyRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryFTSupplyRequest) XXX_DiscardUnknown()

func (*QueryFTSupplyRequest) XXX_Marshal added in v0.46.0

func (m *QueryFTSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTSupplyRequest) XXX_Merge added in v0.46.0

func (m *QueryFTSupplyRequest) XXX_Merge(src proto.Message)

func (*QueryFTSupplyRequest) XXX_Size added in v0.46.0

func (m *QueryFTSupplyRequest) XXX_Size() int

func (*QueryFTSupplyRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryFTSupplyRequest) XXX_Unmarshal(b []byte) error

type QueryFTSupplyResponse added in v0.46.0

type QueryFTSupplyResponse struct {
	// supply is the supply of the tokens.
	Supply github_com_line_lbm_sdk_types.Int `protobuf:"bytes,1,opt,name=supply,proto3,customtype=github.com/line/lbm-sdk/types.Int" json:"supply"`
}

QueryFTSupplyResponse is the response type for the Query/FTSupply RPC method.

func (*QueryFTSupplyResponse) Descriptor added in v0.46.0

func (*QueryFTSupplyResponse) Descriptor() ([]byte, []int)

func (*QueryFTSupplyResponse) Marshal added in v0.46.0

func (m *QueryFTSupplyResponse) Marshal() (dAtA []byte, err error)

func (*QueryFTSupplyResponse) MarshalTo added in v0.46.0

func (m *QueryFTSupplyResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFTSupplyResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryFTSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFTSupplyResponse) ProtoMessage added in v0.46.0

func (*QueryFTSupplyResponse) ProtoMessage()

func (*QueryFTSupplyResponse) Reset added in v0.46.0

func (m *QueryFTSupplyResponse) Reset()

func (*QueryFTSupplyResponse) Size added in v0.46.0

func (m *QueryFTSupplyResponse) Size() (n int)

func (*QueryFTSupplyResponse) String added in v0.46.0

func (m *QueryFTSupplyResponse) String() string

func (*QueryFTSupplyResponse) Unmarshal added in v0.46.0

func (m *QueryFTSupplyResponse) Unmarshal(dAtA []byte) error

func (*QueryFTSupplyResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryFTSupplyResponse) XXX_DiscardUnknown()

func (*QueryFTSupplyResponse) XXX_Marshal added in v0.46.0

func (m *QueryFTSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFTSupplyResponse) XXX_Merge added in v0.46.0

func (m *QueryFTSupplyResponse) XXX_Merge(src proto.Message)

func (*QueryFTSupplyResponse) XXX_Size added in v0.46.0

func (m *QueryFTSupplyResponse) XXX_Size() int

func (*QueryFTSupplyResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryFTSupplyResponse) XXX_Unmarshal(b []byte) error

type QueryGranteeGrantsRequest added in v0.46.0

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 added in v0.46.0

func (*QueryGranteeGrantsRequest) Descriptor() ([]byte, []int)

func (*QueryGranteeGrantsRequest) GetContractId added in v0.46.0

func (m *QueryGranteeGrantsRequest) GetContractId() string

func (*QueryGranteeGrantsRequest) GetGrantee added in v0.46.0

func (m *QueryGranteeGrantsRequest) GetGrantee() string

func (*QueryGranteeGrantsRequest) GetPagination added in v0.46.0

func (m *QueryGranteeGrantsRequest) GetPagination() *query.PageRequest

func (*QueryGranteeGrantsRequest) Marshal added in v0.46.0

func (m *QueryGranteeGrantsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGranteeGrantsRequest) MarshalTo added in v0.46.0

func (m *QueryGranteeGrantsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGranteeGrantsRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryGranteeGrantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGranteeGrantsRequest) ProtoMessage added in v0.46.0

func (*QueryGranteeGrantsRequest) ProtoMessage()

func (*QueryGranteeGrantsRequest) Reset added in v0.46.0

func (m *QueryGranteeGrantsRequest) Reset()

func (*QueryGranteeGrantsRequest) Size added in v0.46.0

func (m *QueryGranteeGrantsRequest) Size() (n int)

func (*QueryGranteeGrantsRequest) String added in v0.46.0

func (m *QueryGranteeGrantsRequest) String() string

func (*QueryGranteeGrantsRequest) Unmarshal added in v0.46.0

func (m *QueryGranteeGrantsRequest) Unmarshal(dAtA []byte) error

func (*QueryGranteeGrantsRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryGranteeGrantsRequest) XXX_DiscardUnknown()

func (*QueryGranteeGrantsRequest) XXX_Marshal added in v0.46.0

func (m *QueryGranteeGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGranteeGrantsRequest) XXX_Merge added in v0.46.0

func (m *QueryGranteeGrantsRequest) XXX_Merge(src proto.Message)

func (*QueryGranteeGrantsRequest) XXX_Size added in v0.46.0

func (m *QueryGranteeGrantsRequest) XXX_Size() int

func (*QueryGranteeGrantsRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryGranteeGrantsRequest) XXX_Unmarshal(b []byte) error

type QueryGranteeGrantsResponse added in v0.46.0

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 added in v0.46.0

func (*QueryGranteeGrantsResponse) Descriptor() ([]byte, []int)

func (*QueryGranteeGrantsResponse) GetGrants added in v0.46.0

func (m *QueryGranteeGrantsResponse) GetGrants() []Grant

func (*QueryGranteeGrantsResponse) GetPagination added in v0.46.0

func (m *QueryGranteeGrantsResponse) GetPagination() *query.PageResponse

func (*QueryGranteeGrantsResponse) Marshal added in v0.46.0

func (m *QueryGranteeGrantsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGranteeGrantsResponse) MarshalTo added in v0.46.0

func (m *QueryGranteeGrantsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGranteeGrantsResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryGranteeGrantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGranteeGrantsResponse) ProtoMessage added in v0.46.0

func (*QueryGranteeGrantsResponse) ProtoMessage()

func (*QueryGranteeGrantsResponse) Reset added in v0.46.0

func (m *QueryGranteeGrantsResponse) Reset()

func (*QueryGranteeGrantsResponse) Size added in v0.46.0

func (m *QueryGranteeGrantsResponse) Size() (n int)

func (*QueryGranteeGrantsResponse) String added in v0.46.0

func (m *QueryGranteeGrantsResponse) String() string

func (*QueryGranteeGrantsResponse) Unmarshal added in v0.46.0

func (m *QueryGranteeGrantsResponse) Unmarshal(dAtA []byte) error

func (*QueryGranteeGrantsResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryGranteeGrantsResponse) XXX_DiscardUnknown()

func (*QueryGranteeGrantsResponse) XXX_Marshal added in v0.46.0

func (m *QueryGranteeGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGranteeGrantsResponse) XXX_Merge added in v0.46.0

func (m *QueryGranteeGrantsResponse) XXX_Merge(src proto.Message)

func (*QueryGranteeGrantsResponse) XXX_Size added in v0.46.0

func (m *QueryGranteeGrantsResponse) XXX_Size() int

func (*QueryGranteeGrantsResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryGranteeGrantsResponse) XXX_Unmarshal(b []byte) error

type QueryNFTBurntRequest added in v0.46.0

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.
	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 added in v0.46.0

func (*QueryNFTBurntRequest) Descriptor() ([]byte, []int)

func (*QueryNFTBurntRequest) GetContractId added in v0.46.0

func (m *QueryNFTBurntRequest) GetContractId() string

func (*QueryNFTBurntRequest) GetTokenType added in v0.46.0

func (m *QueryNFTBurntRequest) GetTokenType() string

func (*QueryNFTBurntRequest) Marshal added in v0.46.0

func (m *QueryNFTBurntRequest) Marshal() (dAtA []byte, err error)

func (*QueryNFTBurntRequest) MarshalTo added in v0.46.0

func (m *QueryNFTBurntRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTBurntRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryNFTBurntRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTBurntRequest) ProtoMessage added in v0.46.0

func (*QueryNFTBurntRequest) ProtoMessage()

func (*QueryNFTBurntRequest) Reset added in v0.46.0

func (m *QueryNFTBurntRequest) Reset()

func (*QueryNFTBurntRequest) Size added in v0.46.0

func (m *QueryNFTBurntRequest) Size() (n int)

func (*QueryNFTBurntRequest) String added in v0.46.0

func (m *QueryNFTBurntRequest) String() string

func (*QueryNFTBurntRequest) Unmarshal added in v0.46.0

func (m *QueryNFTBurntRequest) Unmarshal(dAtA []byte) error

func (*QueryNFTBurntRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryNFTBurntRequest) XXX_DiscardUnknown()

func (*QueryNFTBurntRequest) XXX_Marshal added in v0.46.0

func (m *QueryNFTBurntRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTBurntRequest) XXX_Merge added in v0.46.0

func (m *QueryNFTBurntRequest) XXX_Merge(src proto.Message)

func (*QueryNFTBurntRequest) XXX_Size added in v0.46.0

func (m *QueryNFTBurntRequest) XXX_Size() int

func (*QueryNFTBurntRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryNFTBurntRequest) XXX_Unmarshal(b []byte) error

type QueryNFTBurntResponse added in v0.46.0

type QueryNFTBurntResponse struct {
	// burnt is the amount of the burnt tokens.
	Burnt github_com_line_lbm_sdk_types.Int `protobuf:"bytes,1,opt,name=burnt,proto3,customtype=github.com/line/lbm-sdk/types.Int" json:"burnt"`
}

QueryNFTBurntResponse is the response type for the Query/NFTBurnt RPC method.

func (*QueryNFTBurntResponse) Descriptor added in v0.46.0

func (*QueryNFTBurntResponse) Descriptor() ([]byte, []int)

func (*QueryNFTBurntResponse) Marshal added in v0.46.0

func (m *QueryNFTBurntResponse) Marshal() (dAtA []byte, err error)

func (*QueryNFTBurntResponse) MarshalTo added in v0.46.0

func (m *QueryNFTBurntResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTBurntResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryNFTBurntResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTBurntResponse) ProtoMessage added in v0.46.0

func (*QueryNFTBurntResponse) ProtoMessage()

func (*QueryNFTBurntResponse) Reset added in v0.46.0

func (m *QueryNFTBurntResponse) Reset()

func (*QueryNFTBurntResponse) Size added in v0.46.0

func (m *QueryNFTBurntResponse) Size() (n int)

func (*QueryNFTBurntResponse) String added in v0.46.0

func (m *QueryNFTBurntResponse) String() string

func (*QueryNFTBurntResponse) Unmarshal added in v0.46.0

func (m *QueryNFTBurntResponse) Unmarshal(dAtA []byte) error

func (*QueryNFTBurntResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryNFTBurntResponse) XXX_DiscardUnknown()

func (*QueryNFTBurntResponse) XXX_Marshal added in v0.46.0

func (m *QueryNFTBurntResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTBurntResponse) XXX_Merge added in v0.46.0

func (m *QueryNFTBurntResponse) XXX_Merge(src proto.Message)

func (*QueryNFTBurntResponse) XXX_Size added in v0.46.0

func (m *QueryNFTBurntResponse) XXX_Size() int

func (*QueryNFTBurntResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryNFTBurntResponse) XXX_Unmarshal(b []byte) error

type QueryNFTMintedRequest added in v0.46.0

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.
	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 added in v0.46.0

func (*QueryNFTMintedRequest) Descriptor() ([]byte, []int)

func (*QueryNFTMintedRequest) GetContractId added in v0.46.0

func (m *QueryNFTMintedRequest) GetContractId() string

func (*QueryNFTMintedRequest) GetTokenType added in v0.46.0

func (m *QueryNFTMintedRequest) GetTokenType() string

func (*QueryNFTMintedRequest) Marshal added in v0.46.0

func (m *QueryNFTMintedRequest) Marshal() (dAtA []byte, err error)

func (*QueryNFTMintedRequest) MarshalTo added in v0.46.0

func (m *QueryNFTMintedRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTMintedRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryNFTMintedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTMintedRequest) ProtoMessage added in v0.46.0

func (*QueryNFTMintedRequest) ProtoMessage()

func (*QueryNFTMintedRequest) Reset added in v0.46.0

func (m *QueryNFTMintedRequest) Reset()

func (*QueryNFTMintedRequest) Size added in v0.46.0

func (m *QueryNFTMintedRequest) Size() (n int)

func (*QueryNFTMintedRequest) String added in v0.46.0

func (m *QueryNFTMintedRequest) String() string

func (*QueryNFTMintedRequest) Unmarshal added in v0.46.0

func (m *QueryNFTMintedRequest) Unmarshal(dAtA []byte) error

func (*QueryNFTMintedRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryNFTMintedRequest) XXX_DiscardUnknown()

func (*QueryNFTMintedRequest) XXX_Marshal added in v0.46.0

func (m *QueryNFTMintedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTMintedRequest) XXX_Merge added in v0.46.0

func (m *QueryNFTMintedRequest) XXX_Merge(src proto.Message)

func (*QueryNFTMintedRequest) XXX_Size added in v0.46.0

func (m *QueryNFTMintedRequest) XXX_Size() int

func (*QueryNFTMintedRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryNFTMintedRequest) XXX_Unmarshal(b []byte) error

type QueryNFTMintedResponse added in v0.46.0

type QueryNFTMintedResponse struct {
	// minted is the amount of minted tokens.
	Minted github_com_line_lbm_sdk_types.Int `protobuf:"bytes,1,opt,name=minted,proto3,customtype=github.com/line/lbm-sdk/types.Int" json:"minted"`
}

QueryNFTMintedResponse is the response type for the Query/NFTMinted RPC method.

func (*QueryNFTMintedResponse) Descriptor added in v0.46.0

func (*QueryNFTMintedResponse) Descriptor() ([]byte, []int)

func (*QueryNFTMintedResponse) Marshal added in v0.46.0

func (m *QueryNFTMintedResponse) Marshal() (dAtA []byte, err error)

func (*QueryNFTMintedResponse) MarshalTo added in v0.46.0

func (m *QueryNFTMintedResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTMintedResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryNFTMintedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTMintedResponse) ProtoMessage added in v0.46.0

func (*QueryNFTMintedResponse) ProtoMessage()

func (*QueryNFTMintedResponse) Reset added in v0.46.0

func (m *QueryNFTMintedResponse) Reset()

func (*QueryNFTMintedResponse) Size added in v0.46.0

func (m *QueryNFTMintedResponse) Size() (n int)

func (*QueryNFTMintedResponse) String added in v0.46.0

func (m *QueryNFTMintedResponse) String() string

func (*QueryNFTMintedResponse) Unmarshal added in v0.46.0

func (m *QueryNFTMintedResponse) Unmarshal(dAtA []byte) error

func (*QueryNFTMintedResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryNFTMintedResponse) XXX_DiscardUnknown()

func (*QueryNFTMintedResponse) XXX_Marshal added in v0.46.0

func (m *QueryNFTMintedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTMintedResponse) XXX_Merge added in v0.46.0

func (m *QueryNFTMintedResponse) XXX_Merge(src proto.Message)

func (*QueryNFTMintedResponse) XXX_Size added in v0.46.0

func (m *QueryNFTMintedResponse) XXX_Size() int

func (*QueryNFTMintedResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryNFTMintedResponse) XXX_Unmarshal(b []byte) error

type QueryNFTSupplyRequest added in v0.46.0

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.
	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 added in v0.46.0

func (*QueryNFTSupplyRequest) Descriptor() ([]byte, []int)

func (*QueryNFTSupplyRequest) GetContractId added in v0.46.0

func (m *QueryNFTSupplyRequest) GetContractId() string

func (*QueryNFTSupplyRequest) GetTokenType added in v0.46.0

func (m *QueryNFTSupplyRequest) GetTokenType() string

func (*QueryNFTSupplyRequest) Marshal added in v0.46.0

func (m *QueryNFTSupplyRequest) Marshal() (dAtA []byte, err error)

func (*QueryNFTSupplyRequest) MarshalTo added in v0.46.0

func (m *QueryNFTSupplyRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTSupplyRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryNFTSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTSupplyRequest) ProtoMessage added in v0.46.0

func (*QueryNFTSupplyRequest) ProtoMessage()

func (*QueryNFTSupplyRequest) Reset added in v0.46.0

func (m *QueryNFTSupplyRequest) Reset()

func (*QueryNFTSupplyRequest) Size added in v0.46.0

func (m *QueryNFTSupplyRequest) Size() (n int)

func (*QueryNFTSupplyRequest) String added in v0.46.0

func (m *QueryNFTSupplyRequest) String() string

func (*QueryNFTSupplyRequest) Unmarshal added in v0.46.0

func (m *QueryNFTSupplyRequest) Unmarshal(dAtA []byte) error

func (*QueryNFTSupplyRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryNFTSupplyRequest) XXX_DiscardUnknown()

func (*QueryNFTSupplyRequest) XXX_Marshal added in v0.46.0

func (m *QueryNFTSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTSupplyRequest) XXX_Merge added in v0.46.0

func (m *QueryNFTSupplyRequest) XXX_Merge(src proto.Message)

func (*QueryNFTSupplyRequest) XXX_Size added in v0.46.0

func (m *QueryNFTSupplyRequest) XXX_Size() int

func (*QueryNFTSupplyRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryNFTSupplyRequest) XXX_Unmarshal(b []byte) error

type QueryNFTSupplyResponse added in v0.46.0

type QueryNFTSupplyResponse struct {
	// supply is the supply of the non-fungible token.
	Supply github_com_line_lbm_sdk_types.Int `protobuf:"bytes,1,opt,name=supply,proto3,customtype=github.com/line/lbm-sdk/types.Int" json:"supply"`
}

QueryNFTSupplyResponse is the response type for the Query/NFTSupply RPC method.

func (*QueryNFTSupplyResponse) Descriptor added in v0.46.0

func (*QueryNFTSupplyResponse) Descriptor() ([]byte, []int)

func (*QueryNFTSupplyResponse) Marshal added in v0.46.0

func (m *QueryNFTSupplyResponse) Marshal() (dAtA []byte, err error)

func (*QueryNFTSupplyResponse) MarshalTo added in v0.46.0

func (m *QueryNFTSupplyResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTSupplyResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryNFTSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTSupplyResponse) ProtoMessage added in v0.46.0

func (*QueryNFTSupplyResponse) ProtoMessage()

func (*QueryNFTSupplyResponse) Reset added in v0.46.0

func (m *QueryNFTSupplyResponse) Reset()

func (*QueryNFTSupplyResponse) Size added in v0.46.0

func (m *QueryNFTSupplyResponse) Size() (n int)

func (*QueryNFTSupplyResponse) String added in v0.46.0

func (m *QueryNFTSupplyResponse) String() string

func (*QueryNFTSupplyResponse) Unmarshal added in v0.46.0

func (m *QueryNFTSupplyResponse) Unmarshal(dAtA []byte) error

func (*QueryNFTSupplyResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryNFTSupplyResponse) XXX_DiscardUnknown()

func (*QueryNFTSupplyResponse) XXX_Marshal added in v0.46.0

func (m *QueryNFTSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTSupplyResponse) XXX_Merge added in v0.46.0

func (m *QueryNFTSupplyResponse) XXX_Merge(src proto.Message)

func (*QueryNFTSupplyResponse) XXX_Size added in v0.46.0

func (m *QueryNFTSupplyResponse) XXX_Size() int

func (*QueryNFTSupplyResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryNFTSupplyResponse) XXX_Unmarshal(b []byte) error

type QueryParentRequest added in v0.46.0

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 added in v0.46.0

func (*QueryParentRequest) Descriptor() ([]byte, []int)

func (*QueryParentRequest) GetContractId added in v0.46.0

func (m *QueryParentRequest) GetContractId() string

func (*QueryParentRequest) GetTokenId added in v0.46.0

func (m *QueryParentRequest) GetTokenId() string

func (*QueryParentRequest) Marshal added in v0.46.0

func (m *QueryParentRequest) Marshal() (dAtA []byte, err error)

func (*QueryParentRequest) MarshalTo added in v0.46.0

func (m *QueryParentRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParentRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryParentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParentRequest) ProtoMessage added in v0.46.0

func (*QueryParentRequest) ProtoMessage()

func (*QueryParentRequest) Reset added in v0.46.0

func (m *QueryParentRequest) Reset()

func (*QueryParentRequest) Size added in v0.46.0

func (m *QueryParentRequest) Size() (n int)

func (*QueryParentRequest) String added in v0.46.0

func (m *QueryParentRequest) String() string

func (*QueryParentRequest) Unmarshal added in v0.46.0

func (m *QueryParentRequest) Unmarshal(dAtA []byte) error

func (*QueryParentRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryParentRequest) XXX_DiscardUnknown()

func (*QueryParentRequest) XXX_Marshal added in v0.46.0

func (m *QueryParentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParentRequest) XXX_Merge added in v0.46.0

func (m *QueryParentRequest) XXX_Merge(src proto.Message)

func (*QueryParentRequest) XXX_Size added in v0.46.0

func (m *QueryParentRequest) XXX_Size() int

func (*QueryParentRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryParentRequest) XXX_Unmarshal(b []byte) error

type QueryParentResponse added in v0.46.0

type QueryParentResponse struct {
	// parent is the information of the parent token.
	// if there is no parent for the token, it would return nil.
	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 added in v0.46.0

func (*QueryParentResponse) Descriptor() ([]byte, []int)

func (*QueryParentResponse) GetParent added in v0.46.0

func (m *QueryParentResponse) GetParent() NFT

func (*QueryParentResponse) Marshal added in v0.46.0

func (m *QueryParentResponse) Marshal() (dAtA []byte, err error)

func (*QueryParentResponse) MarshalTo added in v0.46.0

func (m *QueryParentResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParentResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryParentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParentResponse) ProtoMessage added in v0.46.0

func (*QueryParentResponse) ProtoMessage()

func (*QueryParentResponse) Reset added in v0.46.0

func (m *QueryParentResponse) Reset()

func (*QueryParentResponse) Size added in v0.46.0

func (m *QueryParentResponse) Size() (n int)

func (*QueryParentResponse) String added in v0.46.0

func (m *QueryParentResponse) String() string

func (*QueryParentResponse) Unmarshal added in v0.46.0

func (m *QueryParentResponse) Unmarshal(dAtA []byte) error

func (*QueryParentResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryParentResponse) XXX_DiscardUnknown()

func (*QueryParentResponse) XXX_Marshal added in v0.46.0

func (m *QueryParentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParentResponse) XXX_Merge added in v0.46.0

func (m *QueryParentResponse) XXX_Merge(src proto.Message)

func (*QueryParentResponse) XXX_Size added in v0.46.0

func (m *QueryParentResponse) XXX_Size() int

func (*QueryParentResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryParentResponse) XXX_Unmarshal(b []byte) error

type QueryRootRequest added in v0.46.0

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 added in v0.46.0

func (*QueryRootRequest) Descriptor() ([]byte, []int)

func (*QueryRootRequest) GetContractId added in v0.46.0

func (m *QueryRootRequest) GetContractId() string

func (*QueryRootRequest) GetTokenId added in v0.46.0

func (m *QueryRootRequest) GetTokenId() string

func (*QueryRootRequest) Marshal added in v0.46.0

func (m *QueryRootRequest) Marshal() (dAtA []byte, err error)

func (*QueryRootRequest) MarshalTo added in v0.46.0

func (m *QueryRootRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryRootRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryRootRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryRootRequest) ProtoMessage added in v0.46.0

func (*QueryRootRequest) ProtoMessage()

func (*QueryRootRequest) Reset added in v0.46.0

func (m *QueryRootRequest) Reset()

func (*QueryRootRequest) Size added in v0.46.0

func (m *QueryRootRequest) Size() (n int)

func (*QueryRootRequest) String added in v0.46.0

func (m *QueryRootRequest) String() string

func (*QueryRootRequest) Unmarshal added in v0.46.0

func (m *QueryRootRequest) Unmarshal(dAtA []byte) error

func (*QueryRootRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryRootRequest) XXX_DiscardUnknown()

func (*QueryRootRequest) XXX_Marshal added in v0.46.0

func (m *QueryRootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRootRequest) XXX_Merge added in v0.46.0

func (m *QueryRootRequest) XXX_Merge(src proto.Message)

func (*QueryRootRequest) XXX_Size added in v0.46.0

func (m *QueryRootRequest) XXX_Size() int

func (*QueryRootRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryRootRequest) XXX_Unmarshal(b []byte) error

type QueryRootResponse added in v0.46.0

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 added in v0.46.0

func (*QueryRootResponse) Descriptor() ([]byte, []int)

func (*QueryRootResponse) GetRoot added in v0.46.0

func (m *QueryRootResponse) GetRoot() NFT

func (*QueryRootResponse) Marshal added in v0.46.0

func (m *QueryRootResponse) Marshal() (dAtA []byte, err error)

func (*QueryRootResponse) MarshalTo added in v0.46.0

func (m *QueryRootResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryRootResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryRootResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryRootResponse) ProtoMessage added in v0.46.0

func (*QueryRootResponse) ProtoMessage()

func (*QueryRootResponse) Reset added in v0.46.0

func (m *QueryRootResponse) Reset()

func (*QueryRootResponse) Size added in v0.46.0

func (m *QueryRootResponse) Size() (n int)

func (*QueryRootResponse) String added in v0.46.0

func (m *QueryRootResponse) String() string

func (*QueryRootResponse) Unmarshal added in v0.46.0

func (m *QueryRootResponse) Unmarshal(dAtA []byte) error

func (*QueryRootResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryRootResponse) XXX_DiscardUnknown()

func (*QueryRootResponse) XXX_Marshal added in v0.46.0

func (m *QueryRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRootResponse) XXX_Merge added in v0.46.0

func (m *QueryRootResponse) XXX_Merge(src proto.Message)

func (*QueryRootResponse) XXX_Size added in v0.46.0

func (m *QueryRootResponse) XXX_Size() int

func (*QueryRootResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryRootResponse) XXX_Unmarshal(b []byte) error

type QueryServer added in v0.46.0

type QueryServer interface {
	// Balance queries the balance of a single token class for a single account.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `address` is of invalid format.
	Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
	// AllBalances queries the balance of all token classes for a single account.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `address` is of invalid format.
	AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
	// FTSupply queries the number of tokens from a given contract id and token id.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	FTSupply(context.Context, *QueryFTSupplyRequest) (*QueryFTSupplyResponse, error)
	// FTMinted queries the number of minted tokens from a given contract id and token id.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	FTMinted(context.Context, *QueryFTMintedRequest) (*QueryFTMintedResponse, error)
	// FTBurnt queries the number of burnt tokens from a given contract id and token id.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	FTBurnt(context.Context, *QueryFTBurntRequest) (*QueryFTBurntResponse, error)
	// NFTSupply queries the number of tokens from a given contract id and token type.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	NFTSupply(context.Context, *QueryNFTSupplyRequest) (*QueryNFTSupplyResponse, error)
	// NFTMinted queries the number of minted tokens from a given contract id and token type.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	NFTMinted(context.Context, *QueryNFTMintedRequest) (*QueryNFTMintedResponse, error)
	// NFTBurnt queries the number of burnt tokens from a given contract id and token type.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	NFTBurnt(context.Context, *QueryNFTBurntRequest) (*QueryNFTBurntResponse, error)
	// Contract queries a contract metadata based on its contract id.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrNotFound
	//   - there is no contract of `contract_id`.
	Contract(context.Context, *QueryContractRequest) (*QueryContractResponse, error)
	// TokenClassTypeName queries the fully qualified message type name of a token class from its class id.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	// Since: 0.46.0 (finschia)
	TokenClassTypeName(context.Context, *QueryTokenClassTypeNameRequest) (*QueryTokenClassTypeNameResponse, error)
	// TokenType queries metadata of a token type.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `class_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token class of `class_id`.
	TokenType(context.Context, *QueryTokenTypeRequest) (*QueryTokenTypeResponse, error)
	// TokenTypes queries metadata of all the token types.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token contract of `contract_id`.
	TokenTypes(context.Context, *QueryTokenTypesRequest) (*QueryTokenTypesResponse, error)
	// Token queries a metadata of a token from its token id.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token of `token_id`.
	Token(context.Context, *QueryTokenRequest) (*QueryTokenResponse, error)
	// TokensWithTokenType queries all token metadata with token type.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_type` is of invalid format.
	// - ErrNotFound
	//   - there is no contract of `contract_id`.
	TokensWithTokenType(context.Context, *QueryTokensWithTokenTypeRequest) (*QueryTokensWithTokenTypeResponse, error)
	// Tokens queries all token metadata.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrNotFound
	//   - there is no contract of `contract_id`.
	Tokens(context.Context, *QueryTokensRequest) (*QueryTokensResponse, error)
	// Root queries the root of a given nft.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token of `token_id`.
	Root(context.Context, *QueryRootRequest) (*QueryRootResponse, error)
	// Parent queries the parent of a given nft.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_id` is of invalid format.
	// - ErrNotFound
	//   - there is no token of `token_id`.
	//   - token is the root.
	Parent(context.Context, *QueryParentRequest) (*QueryParentResponse, error)
	// Children queries the children of a given nft.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	//   - `token_id` is of invalid format.
	Children(context.Context, *QueryChildrenRequest) (*QueryChildrenResponse, error)
	// GranteeGrants queries all permissions on a given grantee.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `grantee` is of invalid format.
	GranteeGrants(context.Context, *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error)
	// Approved queries whether the proxy is approved by the approver.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `proxy` is of invalid format.
	//   - `approver` is of invalid format.
	// - ErrNotFound
	//   - there is no authorization given by `approver` to `proxy`.
	Approved(context.Context, *QueryApprovedRequest) (*QueryApprovedResponse, error)
	// Approvers queries approvers of a given proxy.
	// Throws:
	// - ErrInvalidRequest
	//   - `contract_id` is of invalid format.
	// - ErrInvalidAddress
	//   - `proxy` is of invalid format.
	Approvers(context.Context, *QueryApproversRequest) (*QueryApproversResponse, error)
}

QueryServer is the server API for Query service.

type QueryTokenClassTypeNameRequest added in v0.46.0

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 added in v0.46.0

func (*QueryTokenClassTypeNameRequest) Descriptor() ([]byte, []int)

func (*QueryTokenClassTypeNameRequest) GetClassId added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) GetClassId() string

func (*QueryTokenClassTypeNameRequest) GetContractId added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) GetContractId() string

func (*QueryTokenClassTypeNameRequest) Marshal added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenClassTypeNameRequest) MarshalTo added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenClassTypeNameRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenClassTypeNameRequest) ProtoMessage added in v0.46.0

func (*QueryTokenClassTypeNameRequest) ProtoMessage()

func (*QueryTokenClassTypeNameRequest) Reset added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) Reset()

func (*QueryTokenClassTypeNameRequest) Size added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) Size() (n int)

func (*QueryTokenClassTypeNameRequest) String added in v0.46.0

func (*QueryTokenClassTypeNameRequest) Unmarshal added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenClassTypeNameRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) XXX_DiscardUnknown()

func (*QueryTokenClassTypeNameRequest) XXX_Marshal added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenClassTypeNameRequest) XXX_Merge added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) XXX_Merge(src proto.Message)

func (*QueryTokenClassTypeNameRequest) XXX_Size added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) XXX_Size() int

func (*QueryTokenClassTypeNameRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryTokenClassTypeNameRequest) XXX_Unmarshal(b []byte) error

type QueryTokenClassTypeNameResponse added in v0.46.0

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 added in v0.46.0

func (*QueryTokenClassTypeNameResponse) Descriptor() ([]byte, []int)

func (*QueryTokenClassTypeNameResponse) GetName added in v0.46.0

func (*QueryTokenClassTypeNameResponse) Marshal added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenClassTypeNameResponse) MarshalTo added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenClassTypeNameResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenClassTypeNameResponse) ProtoMessage added in v0.46.0

func (*QueryTokenClassTypeNameResponse) ProtoMessage()

func (*QueryTokenClassTypeNameResponse) Reset added in v0.46.0

func (*QueryTokenClassTypeNameResponse) Size added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) Size() (n int)

func (*QueryTokenClassTypeNameResponse) String added in v0.46.0

func (*QueryTokenClassTypeNameResponse) Unmarshal added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenClassTypeNameResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) XXX_DiscardUnknown()

func (*QueryTokenClassTypeNameResponse) XXX_Marshal added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenClassTypeNameResponse) XXX_Merge added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) XXX_Merge(src proto.Message)

func (*QueryTokenClassTypeNameResponse) XXX_Size added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) XXX_Size() int

func (*QueryTokenClassTypeNameResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryTokenClassTypeNameResponse) XXX_Unmarshal(b []byte) error

type QueryTokenRequest added in v0.46.0

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 added in v0.46.0

func (*QueryTokenRequest) Descriptor() ([]byte, []int)

func (*QueryTokenRequest) GetContractId added in v0.46.0

func (m *QueryTokenRequest) GetContractId() string

func (*QueryTokenRequest) GetTokenId added in v0.46.0

func (m *QueryTokenRequest) GetTokenId() string

func (*QueryTokenRequest) Marshal added in v0.46.0

func (m *QueryTokenRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenRequest) MarshalTo added in v0.46.0

func (m *QueryTokenRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenRequest) ProtoMessage added in v0.46.0

func (*QueryTokenRequest) ProtoMessage()

func (*QueryTokenRequest) Reset added in v0.46.0

func (m *QueryTokenRequest) Reset()

func (*QueryTokenRequest) Size added in v0.46.0

func (m *QueryTokenRequest) Size() (n int)

func (*QueryTokenRequest) String added in v0.46.0

func (m *QueryTokenRequest) String() string

func (*QueryTokenRequest) Unmarshal added in v0.46.0

func (m *QueryTokenRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokenRequest) XXX_DiscardUnknown()

func (*QueryTokenRequest) XXX_Marshal added in v0.46.0

func (m *QueryTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenRequest) XXX_Merge added in v0.46.0

func (m *QueryTokenRequest) XXX_Merge(src proto.Message)

func (*QueryTokenRequest) XXX_Size added in v0.46.0

func (m *QueryTokenRequest) XXX_Size() int

func (*QueryTokenRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryTokenRequest) XXX_Unmarshal(b []byte) error

type QueryTokenResponse added in v0.46.0

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 added in v0.46.0

func (*QueryTokenResponse) Descriptor() ([]byte, []int)

func (*QueryTokenResponse) GetToken added in v0.46.0

func (m *QueryTokenResponse) GetToken() types.Any

func (*QueryTokenResponse) Marshal added in v0.46.0

func (m *QueryTokenResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenResponse) MarshalTo added in v0.46.0

func (m *QueryTokenResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenResponse) ProtoMessage added in v0.46.0

func (*QueryTokenResponse) ProtoMessage()

func (*QueryTokenResponse) Reset added in v0.46.0

func (m *QueryTokenResponse) Reset()

func (*QueryTokenResponse) Size added in v0.46.0

func (m *QueryTokenResponse) Size() (n int)

func (*QueryTokenResponse) String added in v0.46.0

func (m *QueryTokenResponse) String() string

func (*QueryTokenResponse) Unmarshal added in v0.46.0

func (m *QueryTokenResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokenResponse) XXX_DiscardUnknown()

func (*QueryTokenResponse) XXX_Marshal added in v0.46.0

func (m *QueryTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenResponse) XXX_Merge added in v0.46.0

func (m *QueryTokenResponse) XXX_Merge(src proto.Message)

func (*QueryTokenResponse) XXX_Size added in v0.46.0

func (m *QueryTokenResponse) XXX_Size() int

func (*QueryTokenResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryTokenResponse) XXX_Unmarshal(b []byte) error

type QueryTokenTypeRequest added in v0.46.0

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.
	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 added in v0.46.0

func (*QueryTokenTypeRequest) Descriptor() ([]byte, []int)

func (*QueryTokenTypeRequest) GetContractId added in v0.46.0

func (m *QueryTokenTypeRequest) GetContractId() string

func (*QueryTokenTypeRequest) GetTokenType added in v0.46.0

func (m *QueryTokenTypeRequest) GetTokenType() string

func (*QueryTokenTypeRequest) Marshal added in v0.46.0

func (m *QueryTokenTypeRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenTypeRequest) MarshalTo added in v0.46.0

func (m *QueryTokenTypeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenTypeRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokenTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenTypeRequest) ProtoMessage added in v0.46.0

func (*QueryTokenTypeRequest) ProtoMessage()

func (*QueryTokenTypeRequest) Reset added in v0.46.0

func (m *QueryTokenTypeRequest) Reset()

func (*QueryTokenTypeRequest) Size added in v0.46.0

func (m *QueryTokenTypeRequest) Size() (n int)

func (*QueryTokenTypeRequest) String added in v0.46.0

func (m *QueryTokenTypeRequest) String() string

func (*QueryTokenTypeRequest) Unmarshal added in v0.46.0

func (m *QueryTokenTypeRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenTypeRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokenTypeRequest) XXX_DiscardUnknown()

func (*QueryTokenTypeRequest) XXX_Marshal added in v0.46.0

func (m *QueryTokenTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenTypeRequest) XXX_Merge added in v0.46.0

func (m *QueryTokenTypeRequest) XXX_Merge(src proto.Message)

func (*QueryTokenTypeRequest) XXX_Size added in v0.46.0

func (m *QueryTokenTypeRequest) XXX_Size() int

func (*QueryTokenTypeRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryTokenTypeRequest) XXX_Unmarshal(b []byte) error

type QueryTokenTypeResponse added in v0.46.0

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 added in v0.46.0

func (*QueryTokenTypeResponse) Descriptor() ([]byte, []int)

func (*QueryTokenTypeResponse) GetTokenType added in v0.46.0

func (m *QueryTokenTypeResponse) GetTokenType() TokenType

func (*QueryTokenTypeResponse) Marshal added in v0.46.0

func (m *QueryTokenTypeResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenTypeResponse) MarshalTo added in v0.46.0

func (m *QueryTokenTypeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenTypeResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokenTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenTypeResponse) ProtoMessage added in v0.46.0

func (*QueryTokenTypeResponse) ProtoMessage()

func (*QueryTokenTypeResponse) Reset added in v0.46.0

func (m *QueryTokenTypeResponse) Reset()

func (*QueryTokenTypeResponse) Size added in v0.46.0

func (m *QueryTokenTypeResponse) Size() (n int)

func (*QueryTokenTypeResponse) String added in v0.46.0

func (m *QueryTokenTypeResponse) String() string

func (*QueryTokenTypeResponse) Unmarshal added in v0.46.0

func (m *QueryTokenTypeResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenTypeResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokenTypeResponse) XXX_DiscardUnknown()

func (*QueryTokenTypeResponse) XXX_Marshal added in v0.46.0

func (m *QueryTokenTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenTypeResponse) XXX_Merge added in v0.46.0

func (m *QueryTokenTypeResponse) XXX_Merge(src proto.Message)

func (*QueryTokenTypeResponse) XXX_Size added in v0.46.0

func (m *QueryTokenTypeResponse) XXX_Size() int

func (*QueryTokenTypeResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryTokenTypeResponse) XXX_Unmarshal(b []byte) error

type QueryTokenTypesRequest added in v0.46.0

type QueryTokenTypesRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryTokenTypesRequest is the request type for the Query/TokenTypes RPC method.

func (*QueryTokenTypesRequest) Descriptor added in v0.46.0

func (*QueryTokenTypesRequest) Descriptor() ([]byte, []int)

func (*QueryTokenTypesRequest) GetContractId added in v0.46.0

func (m *QueryTokenTypesRequest) GetContractId() string

func (*QueryTokenTypesRequest) GetPagination added in v0.46.0

func (m *QueryTokenTypesRequest) GetPagination() *query.PageRequest

func (*QueryTokenTypesRequest) Marshal added in v0.46.0

func (m *QueryTokenTypesRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenTypesRequest) MarshalTo added in v0.46.0

func (m *QueryTokenTypesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenTypesRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokenTypesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenTypesRequest) ProtoMessage added in v0.46.0

func (*QueryTokenTypesRequest) ProtoMessage()

func (*QueryTokenTypesRequest) Reset added in v0.46.0

func (m *QueryTokenTypesRequest) Reset()

func (*QueryTokenTypesRequest) Size added in v0.46.0

func (m *QueryTokenTypesRequest) Size() (n int)

func (*QueryTokenTypesRequest) String added in v0.46.0

func (m *QueryTokenTypesRequest) String() string

func (*QueryTokenTypesRequest) Unmarshal added in v0.46.0

func (m *QueryTokenTypesRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenTypesRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokenTypesRequest) XXX_DiscardUnknown()

func (*QueryTokenTypesRequest) XXX_Marshal added in v0.46.0

func (m *QueryTokenTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenTypesRequest) XXX_Merge added in v0.46.0

func (m *QueryTokenTypesRequest) XXX_Merge(src proto.Message)

func (*QueryTokenTypesRequest) XXX_Size added in v0.46.0

func (m *QueryTokenTypesRequest) XXX_Size() int

func (*QueryTokenTypesRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryTokenTypesRequest) XXX_Unmarshal(b []byte) error

type QueryTokenTypesResponse added in v0.46.0

type QueryTokenTypesResponse struct {
	// token types is the informations of all the token types.
	TokenTypes []TokenType `protobuf:"bytes,1,rep,name=token_types,json=tokenTypes,proto3" json:"token_types"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryTokenTypesResponse is the response type for the Query/TokenTypes RPC method.

func (*QueryTokenTypesResponse) Descriptor added in v0.46.0

func (*QueryTokenTypesResponse) Descriptor() ([]byte, []int)

func (*QueryTokenTypesResponse) GetPagination added in v0.46.0

func (m *QueryTokenTypesResponse) GetPagination() *query.PageResponse

func (*QueryTokenTypesResponse) GetTokenTypes added in v0.46.0

func (m *QueryTokenTypesResponse) GetTokenTypes() []TokenType

func (*QueryTokenTypesResponse) Marshal added in v0.46.0

func (m *QueryTokenTypesResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenTypesResponse) MarshalTo added in v0.46.0

func (m *QueryTokenTypesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenTypesResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokenTypesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenTypesResponse) ProtoMessage added in v0.46.0

func (*QueryTokenTypesResponse) ProtoMessage()

func (*QueryTokenTypesResponse) Reset added in v0.46.0

func (m *QueryTokenTypesResponse) Reset()

func (*QueryTokenTypesResponse) Size added in v0.46.0

func (m *QueryTokenTypesResponse) Size() (n int)

func (*QueryTokenTypesResponse) String added in v0.46.0

func (m *QueryTokenTypesResponse) String() string

func (*QueryTokenTypesResponse) Unmarshal added in v0.46.0

func (m *QueryTokenTypesResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenTypesResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokenTypesResponse) XXX_DiscardUnknown()

func (*QueryTokenTypesResponse) XXX_Marshal added in v0.46.0

func (m *QueryTokenTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenTypesResponse) XXX_Merge added in v0.46.0

func (m *QueryTokenTypesResponse) XXX_Merge(src proto.Message)

func (*QueryTokenTypesResponse) XXX_Size added in v0.46.0

func (m *QueryTokenTypesResponse) XXX_Size() int

func (*QueryTokenTypesResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryTokenTypesResponse) XXX_Unmarshal(b []byte) error

type QueryTokensRequest added in v0.46.0

type QueryTokensRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryTokensRequest is the request type for the Query/Tokens RPC method.

func (*QueryTokensRequest) Descriptor added in v0.46.0

func (*QueryTokensRequest) Descriptor() ([]byte, []int)

func (*QueryTokensRequest) GetContractId added in v0.46.0

func (m *QueryTokensRequest) GetContractId() string

func (*QueryTokensRequest) GetPagination added in v0.46.0

func (m *QueryTokensRequest) GetPagination() *query.PageRequest

func (*QueryTokensRequest) Marshal added in v0.46.0

func (m *QueryTokensRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokensRequest) MarshalTo added in v0.46.0

func (m *QueryTokensRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokensRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokensRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokensRequest) ProtoMessage added in v0.46.0

func (*QueryTokensRequest) ProtoMessage()

func (*QueryTokensRequest) Reset added in v0.46.0

func (m *QueryTokensRequest) Reset()

func (*QueryTokensRequest) Size added in v0.46.0

func (m *QueryTokensRequest) Size() (n int)

func (*QueryTokensRequest) String added in v0.46.0

func (m *QueryTokensRequest) String() string

func (*QueryTokensRequest) Unmarshal added in v0.46.0

func (m *QueryTokensRequest) Unmarshal(dAtA []byte) error

func (*QueryTokensRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokensRequest) XXX_DiscardUnknown()

func (*QueryTokensRequest) XXX_Marshal added in v0.46.0

func (m *QueryTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokensRequest) XXX_Merge added in v0.46.0

func (m *QueryTokensRequest) XXX_Merge(src proto.Message)

func (*QueryTokensRequest) XXX_Size added in v0.46.0

func (m *QueryTokensRequest) XXX_Size() int

func (*QueryTokensRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryTokensRequest) XXX_Unmarshal(b []byte) error

type QueryTokensResponse added in v0.46.0

type QueryTokensResponse struct {
	// informations of all the tokens.
	Tokens []types.Any `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryTokensResponse is the response type for the Query/Tokens RPC method.

func (*QueryTokensResponse) Descriptor added in v0.46.0

func (*QueryTokensResponse) Descriptor() ([]byte, []int)

func (*QueryTokensResponse) GetPagination added in v0.46.0

func (m *QueryTokensResponse) GetPagination() *query.PageResponse

func (*QueryTokensResponse) GetTokens added in v0.46.0

func (m *QueryTokensResponse) GetTokens() []types.Any

func (*QueryTokensResponse) Marshal added in v0.46.0

func (m *QueryTokensResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokensResponse) MarshalTo added in v0.46.0

func (m *QueryTokensResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokensResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokensResponse) ProtoMessage added in v0.46.0

func (*QueryTokensResponse) ProtoMessage()

func (*QueryTokensResponse) Reset added in v0.46.0

func (m *QueryTokensResponse) Reset()

func (*QueryTokensResponse) Size added in v0.46.0

func (m *QueryTokensResponse) Size() (n int)

func (*QueryTokensResponse) String added in v0.46.0

func (m *QueryTokensResponse) String() string

func (*QueryTokensResponse) Unmarshal added in v0.46.0

func (m *QueryTokensResponse) Unmarshal(dAtA []byte) error

func (*QueryTokensResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokensResponse) XXX_DiscardUnknown()

func (*QueryTokensResponse) XXX_Marshal added in v0.46.0

func (m *QueryTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokensResponse) XXX_Merge added in v0.46.0

func (m *QueryTokensResponse) XXX_Merge(src proto.Message)

func (*QueryTokensResponse) XXX_Size added in v0.46.0

func (m *QueryTokensResponse) XXX_Size() int

func (*QueryTokensResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryTokensResponse) XXX_Unmarshal(b []byte) error

type QueryTokensWithTokenTypeRequest added in v0.46.0

type QueryTokensWithTokenTypeRequest 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.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryTokensWithTokenTypeRequest is the request type for the Query/TokensWithTokenType RPC method.

func (*QueryTokensWithTokenTypeRequest) Descriptor added in v0.46.0

func (*QueryTokensWithTokenTypeRequest) Descriptor() ([]byte, []int)

func (*QueryTokensWithTokenTypeRequest) GetContractId added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) GetContractId() string

func (*QueryTokensWithTokenTypeRequest) GetPagination added in v0.46.0

func (*QueryTokensWithTokenTypeRequest) GetTokenType added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) GetTokenType() string

func (*QueryTokensWithTokenTypeRequest) Marshal added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokensWithTokenTypeRequest) MarshalTo added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokensWithTokenTypeRequest) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokensWithTokenTypeRequest) ProtoMessage added in v0.46.0

func (*QueryTokensWithTokenTypeRequest) ProtoMessage()

func (*QueryTokensWithTokenTypeRequest) Reset added in v0.46.0

func (*QueryTokensWithTokenTypeRequest) Size added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) Size() (n int)

func (*QueryTokensWithTokenTypeRequest) String added in v0.46.0

func (*QueryTokensWithTokenTypeRequest) Unmarshal added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) Unmarshal(dAtA []byte) error

func (*QueryTokensWithTokenTypeRequest) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) XXX_DiscardUnknown()

func (*QueryTokensWithTokenTypeRequest) XXX_Marshal added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokensWithTokenTypeRequest) XXX_Merge added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) XXX_Merge(src proto.Message)

func (*QueryTokensWithTokenTypeRequest) XXX_Size added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) XXX_Size() int

func (*QueryTokensWithTokenTypeRequest) XXX_Unmarshal added in v0.46.0

func (m *QueryTokensWithTokenTypeRequest) XXX_Unmarshal(b []byte) error

type QueryTokensWithTokenTypeResponse added in v0.46.0

type QueryTokensWithTokenTypeResponse struct {
	// informations of all the tokens.
	Tokens []types.Any `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryTokensWithTokenTypeResponse is the response type for the Query/TokensWithTokenType RPC method.

func (*QueryTokensWithTokenTypeResponse) Descriptor added in v0.46.0

func (*QueryTokensWithTokenTypeResponse) Descriptor() ([]byte, []int)

func (*QueryTokensWithTokenTypeResponse) GetPagination added in v0.46.0

func (*QueryTokensWithTokenTypeResponse) GetTokens added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) GetTokens() []types.Any

func (*QueryTokensWithTokenTypeResponse) Marshal added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokensWithTokenTypeResponse) MarshalTo added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokensWithTokenTypeResponse) MarshalToSizedBuffer added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokensWithTokenTypeResponse) ProtoMessage added in v0.46.0

func (*QueryTokensWithTokenTypeResponse) ProtoMessage()

func (*QueryTokensWithTokenTypeResponse) Reset added in v0.46.0

func (*QueryTokensWithTokenTypeResponse) Size added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) Size() (n int)

func (*QueryTokensWithTokenTypeResponse) String added in v0.46.0

func (*QueryTokensWithTokenTypeResponse) Unmarshal added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) Unmarshal(dAtA []byte) error

func (*QueryTokensWithTokenTypeResponse) XXX_DiscardUnknown added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) XXX_DiscardUnknown()

func (*QueryTokensWithTokenTypeResponse) XXX_Marshal added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokensWithTokenTypeResponse) XXX_Merge added in v0.46.0

func (*QueryTokensWithTokenTypeResponse) XXX_Size added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) XXX_Size() int

func (*QueryTokensWithTokenTypeResponse) XXX_Unmarshal added in v0.46.0

func (m *QueryTokensWithTokenTypeResponse) XXX_Unmarshal(b []byte) error

type Token

type Token interface {
	proto.Message
}

func TokenFromAny added in v0.46.0

func TokenFromAny(any *codectypes.Any) Token

type TokenClass added in v0.46.0

type TokenClass interface {
	proto.Message

	GetId() string
	SetId(ids *NextClassIDs)

	SetName(name string)

	SetMeta(meta string)

	ValidateBasic() error
}

func TokenClassFromAny added in v0.46.0

func TokenClassFromAny(any *codectypes.Any) TokenClass

type TokenRelation added in v0.46.0

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 added in v0.46.0

func (*TokenRelation) Descriptor() ([]byte, []int)

func (*TokenRelation) GetOther added in v0.46.0

func (m *TokenRelation) GetOther() string

func (*TokenRelation) GetSelf added in v0.46.0

func (m *TokenRelation) GetSelf() string

func (*TokenRelation) Marshal added in v0.46.0

func (m *TokenRelation) Marshal() (dAtA []byte, err error)

func (*TokenRelation) MarshalTo added in v0.46.0

func (m *TokenRelation) MarshalTo(dAtA []byte) (int, error)

func (*TokenRelation) MarshalToSizedBuffer added in v0.46.0

func (m *TokenRelation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenRelation) ProtoMessage added in v0.46.0

func (*TokenRelation) ProtoMessage()

func (*TokenRelation) Reset added in v0.46.0

func (m *TokenRelation) Reset()

func (*TokenRelation) Size added in v0.46.0

func (m *TokenRelation) Size() (n int)

func (*TokenRelation) String added in v0.46.0

func (m *TokenRelation) String() string

func (*TokenRelation) Unmarshal added in v0.46.0

func (m *TokenRelation) Unmarshal(dAtA []byte) error

func (*TokenRelation) XXX_DiscardUnknown added in v0.46.0

func (m *TokenRelation) XXX_DiscardUnknown()

func (*TokenRelation) XXX_Marshal added in v0.46.0

func (m *TokenRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenRelation) XXX_Merge added in v0.46.0

func (m *TokenRelation) XXX_Merge(src proto.Message)

func (*TokenRelation) XXX_Size added in v0.46.0

func (m *TokenRelation) XXX_Size() int

func (*TokenRelation) XXX_Unmarshal added in v0.46.0

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.
	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.

func (*TokenType) Descriptor added in v0.46.0

func (*TokenType) Descriptor() ([]byte, []int)

func (*TokenType) Marshal added in v0.46.0

func (m *TokenType) Marshal() (dAtA []byte, err error)

func (*TokenType) MarshalTo added in v0.46.0

func (m *TokenType) MarshalTo(dAtA []byte) (int, error)

func (*TokenType) MarshalToSizedBuffer added in v0.46.0

func (m *TokenType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenType) ProtoMessage added in v0.46.0

func (*TokenType) ProtoMessage()

func (*TokenType) Reset added in v0.46.0

func (m *TokenType) Reset()

func (*TokenType) Size added in v0.46.0

func (m *TokenType) Size() (n int)

func (*TokenType) String added in v0.46.0

func (m *TokenType) String() string

func (*TokenType) Unmarshal added in v0.46.0

func (m *TokenType) Unmarshal(dAtA []byte) error

func (*TokenType) XXX_DiscardUnknown added in v0.46.0

func (m *TokenType) XXX_DiscardUnknown()

func (*TokenType) XXX_Marshal added in v0.46.0

func (m *TokenType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenType) XXX_Merge added in v0.46.0

func (m *TokenType) XXX_Merge(src proto.Message)

func (*TokenType) XXX_Size added in v0.46.0

func (m *TokenType) XXX_Size() int

func (*TokenType) XXX_Unmarshal added in v0.46.0

func (m *TokenType) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer added in v0.46.0

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) Approve added in v0.46.0

func (*UnimplementedMsgServer) Attach added in v0.46.0

func (*UnimplementedMsgServer) AttachFrom added in v0.46.0

func (*UnimplementedMsgServer) BurnFT added in v0.46.0

func (*UnimplementedMsgServer) BurnFTFrom added in v0.46.0

func (*UnimplementedMsgServer) BurnNFT added in v0.46.0

func (*UnimplementedMsgServer) BurnNFTFrom added in v0.46.0

func (*UnimplementedMsgServer) CreateContract added in v0.46.0

func (*UnimplementedMsgServer) Detach added in v0.46.0

func (*UnimplementedMsgServer) DetachFrom added in v0.46.0

func (*UnimplementedMsgServer) Disapprove added in v0.46.0

func (*UnimplementedMsgServer) GrantPermission added in v0.46.0

func (*UnimplementedMsgServer) IssueFT added in v0.46.0

func (*UnimplementedMsgServer) IssueNFT added in v0.46.0

func (*UnimplementedMsgServer) MintFT added in v0.46.0

func (*UnimplementedMsgServer) MintNFT added in v0.46.0

func (*UnimplementedMsgServer) Modify added in v0.46.0

func (*UnimplementedMsgServer) RevokePermission added in v0.46.0

func (*UnimplementedMsgServer) TransferFT added in v0.46.0

func (*UnimplementedMsgServer) TransferFTFrom added in v0.46.0

func (*UnimplementedMsgServer) TransferNFT added in v0.46.0

func (*UnimplementedMsgServer) TransferNFTFrom added in v0.46.0

type UnimplementedQueryServer added in v0.46.0

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllBalances added in v0.46.0

func (*UnimplementedQueryServer) Approved added in v0.46.0

func (*UnimplementedQueryServer) Approvers added in v0.46.0

func (*UnimplementedQueryServer) Balance added in v0.46.0

func (*UnimplementedQueryServer) Children added in v0.46.0

func (*UnimplementedQueryServer) Contract added in v0.46.0

func (*UnimplementedQueryServer) FTBurnt added in v0.46.0

func (*UnimplementedQueryServer) FTMinted added in v0.46.0

func (*UnimplementedQueryServer) FTSupply added in v0.46.0

func (*UnimplementedQueryServer) GranteeGrants added in v0.46.0

func (*UnimplementedQueryServer) NFTBurnt added in v0.46.0

func (*UnimplementedQueryServer) NFTMinted added in v0.46.0

func (*UnimplementedQueryServer) NFTSupply added in v0.46.0

func (*UnimplementedQueryServer) Parent added in v0.46.0

func (*UnimplementedQueryServer) Root added in v0.46.0

func (*UnimplementedQueryServer) Token added in v0.46.0

func (*UnimplementedQueryServer) TokenClassTypeName added in v0.46.0

func (*UnimplementedQueryServer) TokenType added in v0.46.0

func (*UnimplementedQueryServer) TokenTypes added in v0.46.0

func (*UnimplementedQueryServer) Tokens added in v0.46.0

func (*UnimplementedQueryServer) TokensWithTokenType added in v0.46.0

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL