collection

package
v0.47.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 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 = 1
	DefaultWidthLimit = 4
)
View Source
const (
	// ModuleName is the module name constant used in many places
	ModuleName = "collection"

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

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

Variables

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

func UpdateMsgModify(msg *MsgModify)

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 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
	// deprecated: use ATTRIBUTE_KEY_URI
	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
	AttributeKeyURI         AttributeKey = 20
)

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 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.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name defines the human-readable name of the contract.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the contract.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// uri for the contract image stored off chain.
	Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
}

Contract defines the information of the contract for the collection.

func (*Contract) Descriptor 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.
	Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
}

EventCreatedContract is emitted when a new contract is created.

Since: 0.46.0 (finschia)

func (*EventCreatedContract) Descriptor added in v0.46.0

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

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

func (m *EventCreatedContract) GetUri() 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"`
	// token id associated with the token class.
	TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// name of the token class.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// metadata of the token class.
	Meta string `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
	// decimals of the token class.
	Decimals int32 `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// mintable represents whether the token class is allowed to mint or burn its tokens.
	Mintable bool `protobuf:"varint,7,opt,name=mintable,proto3" json:"mintable,omitempty"`
}

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

Since: 0.46.0 (finschia)

func (*EventCreatedFTClass) Descriptor added in v0.46.0

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

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

func (m *EventCreatedFTClass) GetTokenId() 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"`
	// token type associated with the token class.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,3,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// name of the token class.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// metadata of the token class.
	Meta string `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
}

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

Since: 0.46.0 (finschia)

func (*EventCreatedNFTClass) Descriptor added in v0.46.0

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

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

func (m *EventCreatedNFTClass) GetTokenType() 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.
	// possible attribute keys are same as those of MsgModify.
	// deprecated "base_img_uri" has been replaced by "uri" in the events.
	Changes []Attribute `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes"`
}

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

Since: 0.46.0 (finschia)

func (*EventModifiedContract) Descriptor 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.
	// possible attribute keys are same as those of MsgModify.
	Changes []Attribute `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes"`
}

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

Since: 0.46.0 (finschia)

func (*EventModifiedNFT) Descriptor 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"`
	// token type associated with the token class.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,3,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// changes of the attributes applied.
	// possible attribute keys are same as those of MsgModify.
	Changes []Attribute `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes"`
	// type name of the token class.
	TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
}

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

Since: 0.46.0 (finschia)

func (*EventModifiedTokenClass) Descriptor 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) 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) GetTokenType

func (m *EventModifiedTokenClass) GetTokenType() 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.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// name defines the human-readable name of the nft (mandatory).
	// Note: it has an app-specific limit in length.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the nft.
	// Note: it has an app-specific limit in length.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
}

MintNFTParam defines a parameter for minting nft.

func (*MintNFTParam) Descriptor 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 MsgAttach

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

MsgAttach is the Msg/Attach request type.

Signer: `from`

func (*MsgAttach) Descriptor 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 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 MsgAuthorizeOperator

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

MsgAuthorizeOperator is the Msg/AuthorizeOperator request type.

func (*MsgAuthorizeOperator) Descriptor

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

func (*MsgAuthorizeOperator) GetContractId

func (m *MsgAuthorizeOperator) GetContractId() string

func (*MsgAuthorizeOperator) GetHolder

func (m *MsgAuthorizeOperator) GetHolder() string

func (*MsgAuthorizeOperator) GetOperator

func (m *MsgAuthorizeOperator) GetOperator() string

func (MsgAuthorizeOperator) GetSignBytes

func (m MsgAuthorizeOperator) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgAuthorizeOperator) GetSigners

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

GetSigners implements Msg

func (*MsgAuthorizeOperator) Marshal

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

func (*MsgAuthorizeOperator) MarshalTo

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

func (*MsgAuthorizeOperator) MarshalToSizedBuffer

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

func (*MsgAuthorizeOperator) ProtoMessage

func (*MsgAuthorizeOperator) ProtoMessage()

func (*MsgAuthorizeOperator) Reset

func (m *MsgAuthorizeOperator) Reset()

func (MsgAuthorizeOperator) Route

func (m MsgAuthorizeOperator) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgAuthorizeOperator) Size

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

func (*MsgAuthorizeOperator) String

func (m *MsgAuthorizeOperator) String() string

func (MsgAuthorizeOperator) Type

func (m MsgAuthorizeOperator) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgAuthorizeOperator) Unmarshal

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

func (MsgAuthorizeOperator) ValidateBasic

func (m MsgAuthorizeOperator) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgAuthorizeOperator) XXX_DiscardUnknown

func (m *MsgAuthorizeOperator) XXX_DiscardUnknown()

func (*MsgAuthorizeOperator) XXX_Marshal

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

func (*MsgAuthorizeOperator) XXX_Merge

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

func (*MsgAuthorizeOperator) XXX_Size

func (m *MsgAuthorizeOperator) XXX_Size() int

func (*MsgAuthorizeOperator) XXX_Unmarshal

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

type MsgAuthorizeOperatorResponse

type MsgAuthorizeOperatorResponse struct {
}

MsgAuthorizeOperatorResponse is the Msg/AuthorizeOperator response type.

func (*MsgAuthorizeOperatorResponse) Descriptor

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

func (*MsgAuthorizeOperatorResponse) Marshal

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

func (*MsgAuthorizeOperatorResponse) MarshalTo

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

func (*MsgAuthorizeOperatorResponse) MarshalToSizedBuffer

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

func (*MsgAuthorizeOperatorResponse) ProtoMessage

func (*MsgAuthorizeOperatorResponse) ProtoMessage()

func (*MsgAuthorizeOperatorResponse) Reset

func (m *MsgAuthorizeOperatorResponse) Reset()

func (*MsgAuthorizeOperatorResponse) Size

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

func (*MsgAuthorizeOperatorResponse) String

func (*MsgAuthorizeOperatorResponse) Unmarshal

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

func (*MsgAuthorizeOperatorResponse) XXX_DiscardUnknown

func (m *MsgAuthorizeOperatorResponse) XXX_DiscardUnknown()

func (*MsgAuthorizeOperatorResponse) XXX_Marshal

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

func (*MsgAuthorizeOperatorResponse) XXX_Merge

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

func (*MsgAuthorizeOperatorResponse) XXX_Size

func (m *MsgAuthorizeOperatorResponse) XXX_Size() int

func (*MsgAuthorizeOperatorResponse) XXX_Unmarshal

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

type MsgBurnFT

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

MsgBurnFT is the Msg/BurnFT request type.

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

MsgClient is the client API for Msg service.

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

func NewMsgClient 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"`
	// uri for the contract image stored off chain.
	Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
	// meta is a brief description of the contract.
	Meta string `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
}

MsgCreateContract is the Msg/CreateContract request type.

Signer: `owner`

func (*MsgCreateContract) Descriptor added in v0.46.0

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

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

func (m *MsgCreateContract) GetUri() string

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.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
}

MsgCreateContractResponse is the Msg/CreateContract response type.

func (*MsgCreateContractResponse) Descriptor added in v0.46.0

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

func (*MsgCreateContractResponse) GetContractId

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

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 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 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.

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 token.
	TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

MsgIssueFTResponse is the Msg/IssueFT response type.

func (*MsgIssueFTResponse) Descriptor added in v0.46.0

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

func (*MsgIssueFTResponse) GetTokenId

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

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.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

MsgIssueNFTResponse is the Msg/IssueNFT response type.

func (*MsgIssueNFTResponse) Descriptor added in v0.46.0

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

func (*MsgIssueNFTResponse) GetTokenType

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

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.

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.
	TokenIds []string `protobuf:"bytes,1,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
}

MsgMintNFTResponse is the Msg/MintNFT response type.

func (*MsgMintNFTResponse) Descriptor added in v0.46.0

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

func (*MsgMintNFTResponse) GetTokenIds

func (m *MsgMintNFTResponse) GetTokenIds() []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.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,3,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// token index of the token.
	// if index is empty, it would modify the corresponding token type.
	// if index is not empty, it would modify the corresponding nft.
	// Note: if token type is of FTs, the index cannot be empty.
	TokenIndex string `protobuf:"bytes,4,opt,name=token_index,json=tokenIndex,proto3" json:"token_index,omitempty"`
	// changes to apply.
	// possible attribute keys on modifying collection: name, uri, base_img_uri (deprecated), meta.
	// possible attribute keys on modifying token type and token: name, meta.
	Changes []Attribute `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes"`
}

MsgModify is the Msg/Modify request type.

func (*MsgModify) Descriptor added in v0.46.0

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

func (*MsgModify) GetChanges added in v0.46.0

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

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 MsgOperatorAttach

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

MsgOperatorAttach is the Msg/OperatorAttach request type.

func (*MsgOperatorAttach) Descriptor

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

func (*MsgOperatorAttach) GetContractId

func (m *MsgOperatorAttach) GetContractId() string

func (*MsgOperatorAttach) GetFrom

func (m *MsgOperatorAttach) GetFrom() string

func (*MsgOperatorAttach) GetOperator

func (m *MsgOperatorAttach) GetOperator() string

func (MsgOperatorAttach) GetSignBytes

func (m MsgOperatorAttach) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorAttach) GetSigners

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

GetSigners implements Msg

func (*MsgOperatorAttach) GetToTokenId

func (m *MsgOperatorAttach) GetToTokenId() string

func (*MsgOperatorAttach) GetTokenId

func (m *MsgOperatorAttach) GetTokenId() string

func (*MsgOperatorAttach) Marshal

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

func (*MsgOperatorAttach) MarshalTo

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

func (*MsgOperatorAttach) MarshalToSizedBuffer

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

func (*MsgOperatorAttach) ProtoMessage

func (*MsgOperatorAttach) ProtoMessage()

func (*MsgOperatorAttach) Reset

func (m *MsgOperatorAttach) Reset()

func (MsgOperatorAttach) Route

func (m MsgOperatorAttach) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorAttach) Size

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

func (*MsgOperatorAttach) String

func (m *MsgOperatorAttach) String() string

func (MsgOperatorAttach) Type

func (m MsgOperatorAttach) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorAttach) Unmarshal

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

func (MsgOperatorAttach) ValidateBasic

func (m MsgOperatorAttach) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorAttach) XXX_DiscardUnknown

func (m *MsgOperatorAttach) XXX_DiscardUnknown()

func (*MsgOperatorAttach) XXX_Marshal

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

func (*MsgOperatorAttach) XXX_Merge

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

func (*MsgOperatorAttach) XXX_Size

func (m *MsgOperatorAttach) XXX_Size() int

func (*MsgOperatorAttach) XXX_Unmarshal

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

type MsgOperatorAttachResponse

type MsgOperatorAttachResponse struct {
}

MsgOperatorAttachResponse is the Msg/OperatorAttach response type.

func (*MsgOperatorAttachResponse) Descriptor

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

func (*MsgOperatorAttachResponse) Marshal

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

func (*MsgOperatorAttachResponse) MarshalTo

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

func (*MsgOperatorAttachResponse) MarshalToSizedBuffer

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

func (*MsgOperatorAttachResponse) ProtoMessage

func (*MsgOperatorAttachResponse) ProtoMessage()

func (*MsgOperatorAttachResponse) Reset

func (m *MsgOperatorAttachResponse) Reset()

func (*MsgOperatorAttachResponse) Size

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

func (*MsgOperatorAttachResponse) String

func (m *MsgOperatorAttachResponse) String() string

func (*MsgOperatorAttachResponse) Unmarshal

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

func (*MsgOperatorAttachResponse) XXX_DiscardUnknown

func (m *MsgOperatorAttachResponse) XXX_DiscardUnknown()

func (*MsgOperatorAttachResponse) XXX_Marshal

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

func (*MsgOperatorAttachResponse) XXX_Merge

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

func (*MsgOperatorAttachResponse) XXX_Size

func (m *MsgOperatorAttachResponse) XXX_Size() int

func (*MsgOperatorAttachResponse) XXX_Unmarshal

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

type MsgOperatorBurnFT

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

MsgOperatorBurnFT is the Msg/OperatorBurnFT request type.

func (*MsgOperatorBurnFT) Descriptor

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

func (*MsgOperatorBurnFT) GetAmount

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

func (*MsgOperatorBurnFT) GetContractId

func (m *MsgOperatorBurnFT) GetContractId() string

func (*MsgOperatorBurnFT) GetFrom

func (m *MsgOperatorBurnFT) GetFrom() string

func (*MsgOperatorBurnFT) GetOperator

func (m *MsgOperatorBurnFT) GetOperator() string

func (MsgOperatorBurnFT) GetSignBytes

func (m MsgOperatorBurnFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorBurnFT) GetSigners

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

GetSigners implements Msg

func (*MsgOperatorBurnFT) Marshal

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

func (*MsgOperatorBurnFT) MarshalTo

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

func (*MsgOperatorBurnFT) MarshalToSizedBuffer

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

func (*MsgOperatorBurnFT) ProtoMessage

func (*MsgOperatorBurnFT) ProtoMessage()

func (*MsgOperatorBurnFT) Reset

func (m *MsgOperatorBurnFT) Reset()

func (MsgOperatorBurnFT) Route

func (m MsgOperatorBurnFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorBurnFT) Size

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

func (*MsgOperatorBurnFT) String

func (m *MsgOperatorBurnFT) String() string

func (MsgOperatorBurnFT) Type

func (m MsgOperatorBurnFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorBurnFT) Unmarshal

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

func (MsgOperatorBurnFT) ValidateBasic

func (m MsgOperatorBurnFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorBurnFT) XXX_DiscardUnknown

func (m *MsgOperatorBurnFT) XXX_DiscardUnknown()

func (*MsgOperatorBurnFT) XXX_Marshal

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

func (*MsgOperatorBurnFT) XXX_Merge

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

func (*MsgOperatorBurnFT) XXX_Size

func (m *MsgOperatorBurnFT) XXX_Size() int

func (*MsgOperatorBurnFT) XXX_Unmarshal

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

type MsgOperatorBurnFTResponse

type MsgOperatorBurnFTResponse struct {
}

MsgOperatorBurnFTResponse is the Msg/OperatorBurnFT response type.

func (*MsgOperatorBurnFTResponse) Descriptor

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

func (*MsgOperatorBurnFTResponse) Marshal

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

func (*MsgOperatorBurnFTResponse) MarshalTo

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

func (*MsgOperatorBurnFTResponse) MarshalToSizedBuffer

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

func (*MsgOperatorBurnFTResponse) ProtoMessage

func (*MsgOperatorBurnFTResponse) ProtoMessage()

func (*MsgOperatorBurnFTResponse) Reset

func (m *MsgOperatorBurnFTResponse) Reset()

func (*MsgOperatorBurnFTResponse) Size

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

func (*MsgOperatorBurnFTResponse) String

func (m *MsgOperatorBurnFTResponse) String() string

func (*MsgOperatorBurnFTResponse) Unmarshal

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

func (*MsgOperatorBurnFTResponse) XXX_DiscardUnknown

func (m *MsgOperatorBurnFTResponse) XXX_DiscardUnknown()

func (*MsgOperatorBurnFTResponse) XXX_Marshal

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

func (*MsgOperatorBurnFTResponse) XXX_Merge

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

func (*MsgOperatorBurnFTResponse) XXX_Size

func (m *MsgOperatorBurnFTResponse) XXX_Size() int

func (*MsgOperatorBurnFTResponse) XXX_Unmarshal

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

type MsgOperatorBurnNFT

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

MsgOperatorBurnNFT is the Msg/OperatorBurnNFT request type.

func (*MsgOperatorBurnNFT) Descriptor

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

func (*MsgOperatorBurnNFT) GetContractId

func (m *MsgOperatorBurnNFT) GetContractId() string

func (*MsgOperatorBurnNFT) GetFrom

func (m *MsgOperatorBurnNFT) GetFrom() string

func (*MsgOperatorBurnNFT) GetOperator

func (m *MsgOperatorBurnNFT) GetOperator() string

func (MsgOperatorBurnNFT) GetSignBytes

func (m MsgOperatorBurnNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorBurnNFT) GetSigners

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

GetSigners implements Msg

func (*MsgOperatorBurnNFT) GetTokenIds

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

func (*MsgOperatorBurnNFT) Marshal

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

func (*MsgOperatorBurnNFT) MarshalTo

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

func (*MsgOperatorBurnNFT) MarshalToSizedBuffer

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

func (*MsgOperatorBurnNFT) ProtoMessage

func (*MsgOperatorBurnNFT) ProtoMessage()

func (*MsgOperatorBurnNFT) Reset

func (m *MsgOperatorBurnNFT) Reset()

func (MsgOperatorBurnNFT) Route

func (m MsgOperatorBurnNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorBurnNFT) Size

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

func (*MsgOperatorBurnNFT) String

func (m *MsgOperatorBurnNFT) String() string

func (MsgOperatorBurnNFT) Type

func (m MsgOperatorBurnNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorBurnNFT) Unmarshal

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

func (MsgOperatorBurnNFT) ValidateBasic

func (m MsgOperatorBurnNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorBurnNFT) XXX_DiscardUnknown

func (m *MsgOperatorBurnNFT) XXX_DiscardUnknown()

func (*MsgOperatorBurnNFT) XXX_Marshal

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

func (*MsgOperatorBurnNFT) XXX_Merge

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

func (*MsgOperatorBurnNFT) XXX_Size

func (m *MsgOperatorBurnNFT) XXX_Size() int

func (*MsgOperatorBurnNFT) XXX_Unmarshal

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

type MsgOperatorBurnNFTResponse

type MsgOperatorBurnNFTResponse struct {
}

MsgOperatorBurnNFTResponse is the Msg/OperatorBurnNFT response type.

func (*MsgOperatorBurnNFTResponse) Descriptor

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

func (*MsgOperatorBurnNFTResponse) Marshal

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

func (*MsgOperatorBurnNFTResponse) MarshalTo

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

func (*MsgOperatorBurnNFTResponse) MarshalToSizedBuffer

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

func (*MsgOperatorBurnNFTResponse) ProtoMessage

func (*MsgOperatorBurnNFTResponse) ProtoMessage()

func (*MsgOperatorBurnNFTResponse) Reset

func (m *MsgOperatorBurnNFTResponse) Reset()

func (*MsgOperatorBurnNFTResponse) Size

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

func (*MsgOperatorBurnNFTResponse) String

func (m *MsgOperatorBurnNFTResponse) String() string

func (*MsgOperatorBurnNFTResponse) Unmarshal

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

func (*MsgOperatorBurnNFTResponse) XXX_DiscardUnknown

func (m *MsgOperatorBurnNFTResponse) XXX_DiscardUnknown()

func (*MsgOperatorBurnNFTResponse) XXX_Marshal

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

func (*MsgOperatorBurnNFTResponse) XXX_Merge

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

func (*MsgOperatorBurnNFTResponse) XXX_Size

func (m *MsgOperatorBurnNFTResponse) XXX_Size() int

func (*MsgOperatorBurnNFTResponse) XXX_Unmarshal

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

type MsgOperatorDetach

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

MsgOperatorDetach is the Msg/OperatorDetach request type.

func (*MsgOperatorDetach) Descriptor

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

func (*MsgOperatorDetach) GetContractId

func (m *MsgOperatorDetach) GetContractId() string

func (*MsgOperatorDetach) GetFrom

func (m *MsgOperatorDetach) GetFrom() string

func (*MsgOperatorDetach) GetOperator

func (m *MsgOperatorDetach) GetOperator() string

func (MsgOperatorDetach) GetSignBytes

func (m MsgOperatorDetach) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorDetach) GetSigners

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

GetSigners implements Msg

func (*MsgOperatorDetach) GetTokenId

func (m *MsgOperatorDetach) GetTokenId() string

func (*MsgOperatorDetach) Marshal

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

func (*MsgOperatorDetach) MarshalTo

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

func (*MsgOperatorDetach) MarshalToSizedBuffer

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

func (*MsgOperatorDetach) ProtoMessage

func (*MsgOperatorDetach) ProtoMessage()

func (*MsgOperatorDetach) Reset

func (m *MsgOperatorDetach) Reset()

func (MsgOperatorDetach) Route

func (m MsgOperatorDetach) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorDetach) Size

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

func (*MsgOperatorDetach) String

func (m *MsgOperatorDetach) String() string

func (MsgOperatorDetach) Type

func (m MsgOperatorDetach) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorDetach) Unmarshal

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

func (MsgOperatorDetach) ValidateBasic

func (m MsgOperatorDetach) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorDetach) XXX_DiscardUnknown

func (m *MsgOperatorDetach) XXX_DiscardUnknown()

func (*MsgOperatorDetach) XXX_Marshal

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

func (*MsgOperatorDetach) XXX_Merge

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

func (*MsgOperatorDetach) XXX_Size

func (m *MsgOperatorDetach) XXX_Size() int

func (*MsgOperatorDetach) XXX_Unmarshal

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

type MsgOperatorDetachResponse

type MsgOperatorDetachResponse struct {
}

MsgOperatorDetachResponse is the Msg/OperatorDetach response type.

func (*MsgOperatorDetachResponse) Descriptor

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

func (*MsgOperatorDetachResponse) Marshal

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

func (*MsgOperatorDetachResponse) MarshalTo

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

func (*MsgOperatorDetachResponse) MarshalToSizedBuffer

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

func (*MsgOperatorDetachResponse) ProtoMessage

func (*MsgOperatorDetachResponse) ProtoMessage()

func (*MsgOperatorDetachResponse) Reset

func (m *MsgOperatorDetachResponse) Reset()

func (*MsgOperatorDetachResponse) Size

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

func (*MsgOperatorDetachResponse) String

func (m *MsgOperatorDetachResponse) String() string

func (*MsgOperatorDetachResponse) Unmarshal

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

func (*MsgOperatorDetachResponse) XXX_DiscardUnknown

func (m *MsgOperatorDetachResponse) XXX_DiscardUnknown()

func (*MsgOperatorDetachResponse) XXX_Marshal

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

func (*MsgOperatorDetachResponse) XXX_Merge

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

func (*MsgOperatorDetachResponse) XXX_Size

func (m *MsgOperatorDetachResponse) XXX_Size() int

func (*MsgOperatorDetachResponse) XXX_Unmarshal

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

type MsgOperatorSendFT

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

MsgOperatorSendFT is the Msg/OperatorSendFT request type.

func (*MsgOperatorSendFT) Descriptor

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

func (*MsgOperatorSendFT) GetAmount

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

func (*MsgOperatorSendFT) GetContractId

func (m *MsgOperatorSendFT) GetContractId() string

func (*MsgOperatorSendFT) GetFrom

func (m *MsgOperatorSendFT) GetFrom() string

func (*MsgOperatorSendFT) GetOperator

func (m *MsgOperatorSendFT) GetOperator() string

func (MsgOperatorSendFT) GetSignBytes

func (m MsgOperatorSendFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorSendFT) GetSigners

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

GetSigners implements Msg

func (*MsgOperatorSendFT) GetTo

func (m *MsgOperatorSendFT) GetTo() string

func (*MsgOperatorSendFT) Marshal

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

func (*MsgOperatorSendFT) MarshalTo

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

func (*MsgOperatorSendFT) MarshalToSizedBuffer

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

func (*MsgOperatorSendFT) ProtoMessage

func (*MsgOperatorSendFT) ProtoMessage()

func (*MsgOperatorSendFT) Reset

func (m *MsgOperatorSendFT) Reset()

func (MsgOperatorSendFT) Route

func (m MsgOperatorSendFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorSendFT) Size

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

func (*MsgOperatorSendFT) String

func (m *MsgOperatorSendFT) String() string

func (MsgOperatorSendFT) Type

func (m MsgOperatorSendFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorSendFT) Unmarshal

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

func (MsgOperatorSendFT) ValidateBasic

func (m MsgOperatorSendFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorSendFT) XXX_DiscardUnknown

func (m *MsgOperatorSendFT) XXX_DiscardUnknown()

func (*MsgOperatorSendFT) XXX_Marshal

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

func (*MsgOperatorSendFT) XXX_Merge

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

func (*MsgOperatorSendFT) XXX_Size

func (m *MsgOperatorSendFT) XXX_Size() int

func (*MsgOperatorSendFT) XXX_Unmarshal

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

type MsgOperatorSendFTResponse

type MsgOperatorSendFTResponse struct {
}

MsgOperatorSendFTResponse is the Msg/OperatorSendFT response type.

func (*MsgOperatorSendFTResponse) Descriptor

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

func (*MsgOperatorSendFTResponse) Marshal

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

func (*MsgOperatorSendFTResponse) MarshalTo

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

func (*MsgOperatorSendFTResponse) MarshalToSizedBuffer

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

func (*MsgOperatorSendFTResponse) ProtoMessage

func (*MsgOperatorSendFTResponse) ProtoMessage()

func (*MsgOperatorSendFTResponse) Reset

func (m *MsgOperatorSendFTResponse) Reset()

func (*MsgOperatorSendFTResponse) Size

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

func (*MsgOperatorSendFTResponse) String

func (m *MsgOperatorSendFTResponse) String() string

func (*MsgOperatorSendFTResponse) Unmarshal

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

func (*MsgOperatorSendFTResponse) XXX_DiscardUnknown

func (m *MsgOperatorSendFTResponse) XXX_DiscardUnknown()

func (*MsgOperatorSendFTResponse) XXX_Marshal

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

func (*MsgOperatorSendFTResponse) XXX_Merge

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

func (*MsgOperatorSendFTResponse) XXX_Size

func (m *MsgOperatorSendFTResponse) XXX_Size() int

func (*MsgOperatorSendFTResponse) XXX_Unmarshal

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

type MsgOperatorSendNFT

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

MsgOperatorSendNFT is the Msg/OperatorSendNFT request type.

func (*MsgOperatorSendNFT) Descriptor

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

func (*MsgOperatorSendNFT) GetContractId

func (m *MsgOperatorSendNFT) GetContractId() string

func (*MsgOperatorSendNFT) GetFrom

func (m *MsgOperatorSendNFT) GetFrom() string

func (*MsgOperatorSendNFT) GetOperator

func (m *MsgOperatorSendNFT) GetOperator() string

func (MsgOperatorSendNFT) GetSignBytes

func (m MsgOperatorSendNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgOperatorSendNFT) GetSigners

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

GetSigners implements Msg

func (*MsgOperatorSendNFT) GetTo

func (m *MsgOperatorSendNFT) GetTo() string

func (*MsgOperatorSendNFT) GetTokenIds

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

func (*MsgOperatorSendNFT) Marshal

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

func (*MsgOperatorSendNFT) MarshalTo

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

func (*MsgOperatorSendNFT) MarshalToSizedBuffer

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

func (*MsgOperatorSendNFT) ProtoMessage

func (*MsgOperatorSendNFT) ProtoMessage()

func (*MsgOperatorSendNFT) Reset

func (m *MsgOperatorSendNFT) Reset()

func (MsgOperatorSendNFT) Route

func (m MsgOperatorSendNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgOperatorSendNFT) Size

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

func (*MsgOperatorSendNFT) String

func (m *MsgOperatorSendNFT) String() string

func (MsgOperatorSendNFT) Type

func (m MsgOperatorSendNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgOperatorSendNFT) Unmarshal

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

func (MsgOperatorSendNFT) ValidateBasic

func (m MsgOperatorSendNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgOperatorSendNFT) XXX_DiscardUnknown

func (m *MsgOperatorSendNFT) XXX_DiscardUnknown()

func (*MsgOperatorSendNFT) XXX_Marshal

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

func (*MsgOperatorSendNFT) XXX_Merge

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

func (*MsgOperatorSendNFT) XXX_Size

func (m *MsgOperatorSendNFT) XXX_Size() int

func (*MsgOperatorSendNFT) XXX_Unmarshal

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

type MsgOperatorSendNFTResponse

type MsgOperatorSendNFTResponse struct {
}

MsgOperatorSendNFTResponse is the Msg/OperatorSendNFT response type.

func (*MsgOperatorSendNFTResponse) Descriptor

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

func (*MsgOperatorSendNFTResponse) Marshal

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

func (*MsgOperatorSendNFTResponse) MarshalTo

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

func (*MsgOperatorSendNFTResponse) MarshalToSizedBuffer

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

func (*MsgOperatorSendNFTResponse) ProtoMessage

func (*MsgOperatorSendNFTResponse) ProtoMessage()

func (*MsgOperatorSendNFTResponse) Reset

func (m *MsgOperatorSendNFTResponse) Reset()

func (*MsgOperatorSendNFTResponse) Size

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

func (*MsgOperatorSendNFTResponse) String

func (m *MsgOperatorSendNFTResponse) String() string

func (*MsgOperatorSendNFTResponse) Unmarshal

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

func (*MsgOperatorSendNFTResponse) XXX_DiscardUnknown

func (m *MsgOperatorSendNFTResponse) XXX_DiscardUnknown()

func (*MsgOperatorSendNFTResponse) XXX_Marshal

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

func (*MsgOperatorSendNFTResponse) XXX_Merge

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

func (*MsgOperatorSendNFTResponse) XXX_Size

func (m *MsgOperatorSendNFTResponse) XXX_Size() int

func (*MsgOperatorSendNFTResponse) XXX_Unmarshal

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

type MsgRevokeOperator

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

MsgRevokeOperator is the Msg/RevokeOperator request type.

func (*MsgRevokeOperator) Descriptor

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

func (*MsgRevokeOperator) GetContractId

func (m *MsgRevokeOperator) GetContractId() string

func (*MsgRevokeOperator) GetHolder

func (m *MsgRevokeOperator) GetHolder() string

func (*MsgRevokeOperator) GetOperator

func (m *MsgRevokeOperator) GetOperator() string

func (MsgRevokeOperator) GetSignBytes

func (m MsgRevokeOperator) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgRevokeOperator) GetSigners

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

GetSigners implements Msg

func (*MsgRevokeOperator) Marshal

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

func (*MsgRevokeOperator) MarshalTo

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

func (*MsgRevokeOperator) MarshalToSizedBuffer

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

func (*MsgRevokeOperator) ProtoMessage

func (*MsgRevokeOperator) ProtoMessage()

func (*MsgRevokeOperator) Reset

func (m *MsgRevokeOperator) Reset()

func (MsgRevokeOperator) Route

func (m MsgRevokeOperator) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgRevokeOperator) Size

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

func (*MsgRevokeOperator) String

func (m *MsgRevokeOperator) String() string

func (MsgRevokeOperator) Type

func (m MsgRevokeOperator) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgRevokeOperator) Unmarshal

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

func (MsgRevokeOperator) ValidateBasic

func (m MsgRevokeOperator) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgRevokeOperator) XXX_DiscardUnknown

func (m *MsgRevokeOperator) XXX_DiscardUnknown()

func (*MsgRevokeOperator) XXX_Marshal

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

func (*MsgRevokeOperator) XXX_Merge

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

func (*MsgRevokeOperator) XXX_Size

func (m *MsgRevokeOperator) XXX_Size() int

func (*MsgRevokeOperator) XXX_Unmarshal

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

type MsgRevokeOperatorResponse

type MsgRevokeOperatorResponse struct {
}

MsgRevokeOperatorResponse is the Msg/RevokeOperator response type.

func (*MsgRevokeOperatorResponse) Descriptor

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

func (*MsgRevokeOperatorResponse) Marshal

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

func (*MsgRevokeOperatorResponse) MarshalTo

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

func (*MsgRevokeOperatorResponse) MarshalToSizedBuffer

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

func (*MsgRevokeOperatorResponse) ProtoMessage

func (*MsgRevokeOperatorResponse) ProtoMessage()

func (*MsgRevokeOperatorResponse) Reset

func (m *MsgRevokeOperatorResponse) Reset()

func (*MsgRevokeOperatorResponse) Size

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

func (*MsgRevokeOperatorResponse) String

func (m *MsgRevokeOperatorResponse) String() string

func (*MsgRevokeOperatorResponse) Unmarshal

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

func (*MsgRevokeOperatorResponse) XXX_DiscardUnknown

func (m *MsgRevokeOperatorResponse) XXX_DiscardUnknown()

func (*MsgRevokeOperatorResponse) XXX_Marshal

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

func (*MsgRevokeOperatorResponse) XXX_Merge

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

func (*MsgRevokeOperatorResponse) XXX_Size

func (m *MsgRevokeOperatorResponse) XXX_Size() int

func (*MsgRevokeOperatorResponse) XXX_Unmarshal

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

type MsgRevokePermission

type MsgRevokePermission struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the grantee which abandons the permission.
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// permission on the contract.
	Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
}

MsgRevokePermission is the Msg/RevokePermission request type.

func (*MsgRevokePermission) Descriptor 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 MsgSendFT

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

MsgSendFT is the Msg/SendFT request type.

func (*MsgSendFT) Descriptor

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

func (*MsgSendFT) GetAmount

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

func (*MsgSendFT) GetContractId

func (m *MsgSendFT) GetContractId() string

func (*MsgSendFT) GetFrom

func (m *MsgSendFT) GetFrom() string

func (MsgSendFT) GetSignBytes

func (m MsgSendFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgSendFT) GetSigners

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

GetSigners implements Msg

func (*MsgSendFT) GetTo

func (m *MsgSendFT) GetTo() string

func (*MsgSendFT) Marshal

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

func (*MsgSendFT) MarshalTo

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

func (*MsgSendFT) MarshalToSizedBuffer

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

func (*MsgSendFT) ProtoMessage

func (*MsgSendFT) ProtoMessage()

func (*MsgSendFT) Reset

func (m *MsgSendFT) Reset()

func (MsgSendFT) Route

func (m MsgSendFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgSendFT) Size

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

func (*MsgSendFT) String

func (m *MsgSendFT) String() string

func (MsgSendFT) Type

func (m MsgSendFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgSendFT) Unmarshal

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

func (MsgSendFT) ValidateBasic

func (m MsgSendFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgSendFT) XXX_DiscardUnknown

func (m *MsgSendFT) XXX_DiscardUnknown()

func (*MsgSendFT) XXX_Marshal

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

func (*MsgSendFT) XXX_Merge

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

func (*MsgSendFT) XXX_Size

func (m *MsgSendFT) XXX_Size() int

func (*MsgSendFT) XXX_Unmarshal

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

type MsgSendFTResponse

type MsgSendFTResponse struct {
}

MsgSendFTResponse is the Msg/SendFT response type.

func (*MsgSendFTResponse) Descriptor

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

func (*MsgSendFTResponse) Marshal

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

func (*MsgSendFTResponse) MarshalTo

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

func (*MsgSendFTResponse) MarshalToSizedBuffer

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

func (*MsgSendFTResponse) ProtoMessage

func (*MsgSendFTResponse) ProtoMessage()

func (*MsgSendFTResponse) Reset

func (m *MsgSendFTResponse) Reset()

func (*MsgSendFTResponse) Size

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

func (*MsgSendFTResponse) String

func (m *MsgSendFTResponse) String() string

func (*MsgSendFTResponse) Unmarshal

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

func (*MsgSendFTResponse) XXX_DiscardUnknown

func (m *MsgSendFTResponse) XXX_DiscardUnknown()

func (*MsgSendFTResponse) XXX_Marshal

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

func (*MsgSendFTResponse) XXX_Merge

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

func (*MsgSendFTResponse) XXX_Size

func (m *MsgSendFTResponse) XXX_Size() int

func (*MsgSendFTResponse) XXX_Unmarshal

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

type MsgSendNFT

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

MsgSendNFT is the Msg/SendNFT request type.

func (*MsgSendNFT) Descriptor

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

func (*MsgSendNFT) GetContractId

func (m *MsgSendNFT) GetContractId() string

func (*MsgSendNFT) GetFrom

func (m *MsgSendNFT) GetFrom() string

func (MsgSendNFT) GetSignBytes

func (m MsgSendNFT) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg.GetSignBytes method.

func (MsgSendNFT) GetSigners

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

GetSigners implements Msg

func (*MsgSendNFT) GetTo

func (m *MsgSendNFT) GetTo() string

func (*MsgSendNFT) GetTokenIds

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

func (*MsgSendNFT) Marshal

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

func (*MsgSendNFT) MarshalTo

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

func (*MsgSendNFT) MarshalToSizedBuffer

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

func (*MsgSendNFT) ProtoMessage

func (*MsgSendNFT) ProtoMessage()

func (*MsgSendNFT) Reset

func (m *MsgSendNFT) Reset()

func (MsgSendNFT) Route

func (m MsgSendNFT) Route() string

Route implements the LegacyMsg.Route method.

func (*MsgSendNFT) Size

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

func (*MsgSendNFT) String

func (m *MsgSendNFT) String() string

func (MsgSendNFT) Type

func (m MsgSendNFT) Type() string

Type implements the LegacyMsg.Type method.

func (*MsgSendNFT) Unmarshal

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

func (MsgSendNFT) ValidateBasic

func (m MsgSendNFT) ValidateBasic() error

ValidateBasic implements Msg.

func (*MsgSendNFT) XXX_DiscardUnknown

func (m *MsgSendNFT) XXX_DiscardUnknown()

func (*MsgSendNFT) XXX_Marshal

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

func (*MsgSendNFT) XXX_Merge

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

func (*MsgSendNFT) XXX_Size

func (m *MsgSendNFT) XXX_Size() int

func (*MsgSendNFT) XXX_Unmarshal

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

type MsgSendNFTResponse

type MsgSendNFTResponse struct {
}

MsgSendNFTResponse is the Msg/SendNFT response type.

func (*MsgSendNFTResponse) Descriptor

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

func (*MsgSendNFTResponse) Marshal

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

func (*MsgSendNFTResponse) MarshalTo

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

func (*MsgSendNFTResponse) MarshalToSizedBuffer

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

func (*MsgSendNFTResponse) ProtoMessage

func (*MsgSendNFTResponse) ProtoMessage()

func (*MsgSendNFTResponse) Reset

func (m *MsgSendNFTResponse) Reset()

func (*MsgSendNFTResponse) Size

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

func (*MsgSendNFTResponse) String

func (m *MsgSendNFTResponse) String() string

func (*MsgSendNFTResponse) Unmarshal

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

func (*MsgSendNFTResponse) XXX_DiscardUnknown

func (m *MsgSendNFTResponse) XXX_DiscardUnknown()

func (*MsgSendNFTResponse) XXX_Marshal

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

func (*MsgSendNFTResponse) XXX_Merge

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

func (*MsgSendNFTResponse) XXX_Size

func (m *MsgSendNFTResponse) XXX_Size() int

func (*MsgSendNFTResponse) XXX_Unmarshal

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

type MsgServer added in v0.46.0

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

MsgServer is the server API for Msg service.

type NFT

type NFT struct {
	// token id defines the unique identifier of the token.
	TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// name defines the human-readable name of the token.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token.
	Meta string `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
}

NFT defines the information of non-fungible token.

Since: 0.46.0 (finschia)

func (*NFT) Descriptor 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 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.
	Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
	// AllBalances queries the balance of all token classes for a single account.
	AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error)
	// FTSupply queries the number of tokens from a given contract id and token id.
	FTSupply(ctx context.Context, in *QueryFTSupplyRequest, opts ...grpc.CallOption) (*QueryFTSupplyResponse, error)
	// FTMinted queries the number of minted tokens from a given contract id and token id.
	FTMinted(ctx context.Context, in *QueryFTMintedRequest, opts ...grpc.CallOption) (*QueryFTMintedResponse, error)
	// FTBurnt queries the number of burnt tokens from a given contract id and token id.
	FTBurnt(ctx context.Context, in *QueryFTBurntRequest, opts ...grpc.CallOption) (*QueryFTBurntResponse, error)
	// NFTSupply queries the number of tokens from a given contract id and token type.
	NFTSupply(ctx context.Context, in *QueryNFTSupplyRequest, opts ...grpc.CallOption) (*QueryNFTSupplyResponse, error)
	// NFTMinted queries the number of minted tokens from a given contract id and token type.
	NFTMinted(ctx context.Context, in *QueryNFTMintedRequest, opts ...grpc.CallOption) (*QueryNFTMintedResponse, error)
	// NFTBurnt queries the number of burnt tokens from a given contract id and token type.
	NFTBurnt(ctx context.Context, in *QueryNFTBurntRequest, opts ...grpc.CallOption) (*QueryNFTBurntResponse, error)
	// Contract queries a contract metadata based on its contract id.
	Contract(ctx context.Context, in *QueryContractRequest, opts ...grpc.CallOption) (*QueryContractResponse, error)
	// TokenClassTypeName queries the fully qualified message type name of a token class from its class id.
	//
	// Since: 0.46.0 (finschia)
	TokenClassTypeName(ctx context.Context, in *QueryTokenClassTypeNameRequest, opts ...grpc.CallOption) (*QueryTokenClassTypeNameResponse, error)
	// TokenType queries metadata of a token type.
	TokenType(ctx context.Context, in *QueryTokenTypeRequest, opts ...grpc.CallOption) (*QueryTokenTypeResponse, error)
	// Token queries a metadata of a token from its token id.
	Token(ctx context.Context, in *QueryTokenRequest, opts ...grpc.CallOption) (*QueryTokenResponse, error)
	// Root queries the root of a given nft.
	Root(ctx context.Context, in *QueryRootRequest, opts ...grpc.CallOption) (*QueryRootResponse, error)
	// Parent queries the parent of a given nft.
	Parent(ctx context.Context, in *QueryParentRequest, opts ...grpc.CallOption) (*QueryParentResponse, error)
	// Children queries the children of a given nft.
	Children(ctx context.Context, in *QueryChildrenRequest, opts ...grpc.CallOption) (*QueryChildrenResponse, error)
	// GranteeGrants queries all permissions on a given grantee.
	GranteeGrants(ctx context.Context, in *QueryGranteeGrantsRequest, opts ...grpc.CallOption) (*QueryGranteeGrantsResponse, error)
	// IsOperatorFor queries whether the operator is authorized by the holder.
	IsOperatorFor(ctx context.Context, in *QueryIsOperatorForRequest, opts ...grpc.CallOption) (*QueryIsOperatorForResponse, error)
	// HoldersByOperator queries holders of a given operator.
	HoldersByOperator(ctx context.Context, in *QueryHoldersByOperatorRequest, opts ...grpc.CallOption) (*QueryHoldersByOperatorResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient 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 QueryHoldersByOperatorRequest

type QueryHoldersByOperatorRequest struct {
	// contract id associated with the contract.
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// address of the operator.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryHoldersByOperatorRequest is the request type for the Query/HoldersByOperator RPC method.

func (*QueryHoldersByOperatorRequest) Descriptor

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

func (*QueryHoldersByOperatorRequest) GetContractId

func (m *QueryHoldersByOperatorRequest) GetContractId() string

func (*QueryHoldersByOperatorRequest) GetOperator

func (m *QueryHoldersByOperatorRequest) GetOperator() string

func (*QueryHoldersByOperatorRequest) GetPagination

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

func (*QueryHoldersByOperatorRequest) Marshal

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

func (*QueryHoldersByOperatorRequest) MarshalTo

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

func (*QueryHoldersByOperatorRequest) MarshalToSizedBuffer

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

func (*QueryHoldersByOperatorRequest) ProtoMessage

func (*QueryHoldersByOperatorRequest) ProtoMessage()

func (*QueryHoldersByOperatorRequest) Reset

func (m *QueryHoldersByOperatorRequest) Reset()

func (*QueryHoldersByOperatorRequest) Size

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

func (*QueryHoldersByOperatorRequest) String

func (*QueryHoldersByOperatorRequest) Unmarshal

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

func (*QueryHoldersByOperatorRequest) XXX_DiscardUnknown

func (m *QueryHoldersByOperatorRequest) XXX_DiscardUnknown()

func (*QueryHoldersByOperatorRequest) XXX_Marshal

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

func (*QueryHoldersByOperatorRequest) XXX_Merge

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

func (*QueryHoldersByOperatorRequest) XXX_Size

func (m *QueryHoldersByOperatorRequest) XXX_Size() int

func (*QueryHoldersByOperatorRequest) XXX_Unmarshal

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

type QueryHoldersByOperatorResponse

type QueryHoldersByOperatorResponse struct {
	Holders []string `protobuf:"bytes,1,rep,name=holders,proto3" json:"holders,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryHoldersByOperatorResponse is the response type for the Query/HoldersByOperator RPC method.

func (*QueryHoldersByOperatorResponse) Descriptor

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

func (*QueryHoldersByOperatorResponse) GetHolders

func (m *QueryHoldersByOperatorResponse) GetHolders() []string

func (*QueryHoldersByOperatorResponse) GetPagination

func (*QueryHoldersByOperatorResponse) Marshal

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

func (*QueryHoldersByOperatorResponse) MarshalTo

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

func (*QueryHoldersByOperatorResponse) MarshalToSizedBuffer

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

func (*QueryHoldersByOperatorResponse) ProtoMessage

func (*QueryHoldersByOperatorResponse) ProtoMessage()

func (*QueryHoldersByOperatorResponse) Reset

func (m *QueryHoldersByOperatorResponse) Reset()

func (*QueryHoldersByOperatorResponse) Size

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

func (*QueryHoldersByOperatorResponse) String

func (*QueryHoldersByOperatorResponse) Unmarshal

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

func (*QueryHoldersByOperatorResponse) XXX_DiscardUnknown

func (m *QueryHoldersByOperatorResponse) XXX_DiscardUnknown()

func (*QueryHoldersByOperatorResponse) XXX_Marshal

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

func (*QueryHoldersByOperatorResponse) XXX_Merge

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

func (*QueryHoldersByOperatorResponse) XXX_Size

func (m *QueryHoldersByOperatorResponse) XXX_Size() int

func (*QueryHoldersByOperatorResponse) XXX_Unmarshal

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

type QueryIsOperatorForRequest

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

QueryIsOperatorForRequest is the request type for the Query/IsOperatorFor RPC method.

func (*QueryIsOperatorForRequest) Descriptor

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

func (*QueryIsOperatorForRequest) GetContractId

func (m *QueryIsOperatorForRequest) GetContractId() string

func (*QueryIsOperatorForRequest) GetHolder

func (m *QueryIsOperatorForRequest) GetHolder() string

func (*QueryIsOperatorForRequest) GetOperator

func (m *QueryIsOperatorForRequest) GetOperator() string

func (*QueryIsOperatorForRequest) Marshal

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

func (*QueryIsOperatorForRequest) MarshalTo

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

func (*QueryIsOperatorForRequest) MarshalToSizedBuffer

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

func (*QueryIsOperatorForRequest) ProtoMessage

func (*QueryIsOperatorForRequest) ProtoMessage()

func (*QueryIsOperatorForRequest) Reset

func (m *QueryIsOperatorForRequest) Reset()

func (*QueryIsOperatorForRequest) Size

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

func (*QueryIsOperatorForRequest) String

func (m *QueryIsOperatorForRequest) String() string

func (*QueryIsOperatorForRequest) Unmarshal

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

func (*QueryIsOperatorForRequest) XXX_DiscardUnknown

func (m *QueryIsOperatorForRequest) XXX_DiscardUnknown()

func (*QueryIsOperatorForRequest) XXX_Marshal

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

func (*QueryIsOperatorForRequest) XXX_Merge

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

func (*QueryIsOperatorForRequest) XXX_Size

func (m *QueryIsOperatorForRequest) XXX_Size() int

func (*QueryIsOperatorForRequest) XXX_Unmarshal

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

type QueryIsOperatorForResponse

type QueryIsOperatorForResponse struct {
	Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
}

QueryIsOperatorForResponse is the response type for the Query/IsOperatorFor RPC method.

func (*QueryIsOperatorForResponse) Descriptor

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

func (*QueryIsOperatorForResponse) GetAuthorized

func (m *QueryIsOperatorForResponse) GetAuthorized() bool

func (*QueryIsOperatorForResponse) Marshal

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

func (*QueryIsOperatorForResponse) MarshalTo

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

func (*QueryIsOperatorForResponse) MarshalToSizedBuffer

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

func (*QueryIsOperatorForResponse) ProtoMessage

func (*QueryIsOperatorForResponse) ProtoMessage()

func (*QueryIsOperatorForResponse) Reset

func (m *QueryIsOperatorForResponse) Reset()

func (*QueryIsOperatorForResponse) Size

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

func (*QueryIsOperatorForResponse) String

func (m *QueryIsOperatorForResponse) String() string

func (*QueryIsOperatorForResponse) Unmarshal

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

func (*QueryIsOperatorForResponse) XXX_DiscardUnknown

func (m *QueryIsOperatorForResponse) XXX_DiscardUnknown()

func (*QueryIsOperatorForResponse) XXX_Marshal

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

func (*QueryIsOperatorForResponse) XXX_Merge

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

func (*QueryIsOperatorForResponse) XXX_Size

func (m *QueryIsOperatorForResponse) XXX_Size() int

func (*QueryIsOperatorForResponse) XXX_Unmarshal

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

type QueryNFTBurntRequest 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.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

QueryNFTBurntRequest is the request type for the Query/NFTBurnt RPC method.

func (*QueryNFTBurntRequest) Descriptor 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.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

QueryNFTMintedRequest is the request type for the Query/NFTMinted RPC method.

func (*QueryNFTMintedRequest) Descriptor 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.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

QueryNFTSupplyRequest is the request type for the Query/NFTSupply RPC method.

func (*QueryNFTSupplyRequest) Descriptor 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.
	Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
	// AllBalances queries the balance of all token classes for a single account.
	AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
	// FTSupply queries the number of tokens from a given contract id and token id.
	FTSupply(context.Context, *QueryFTSupplyRequest) (*QueryFTSupplyResponse, error)
	// FTMinted queries the number of minted tokens from a given contract id and token id.
	FTMinted(context.Context, *QueryFTMintedRequest) (*QueryFTMintedResponse, error)
	// FTBurnt queries the number of burnt tokens from a given contract id and token id.
	FTBurnt(context.Context, *QueryFTBurntRequest) (*QueryFTBurntResponse, error)
	// NFTSupply queries the number of tokens from a given contract id and token type.
	NFTSupply(context.Context, *QueryNFTSupplyRequest) (*QueryNFTSupplyResponse, error)
	// NFTMinted queries the number of minted tokens from a given contract id and token type.
	NFTMinted(context.Context, *QueryNFTMintedRequest) (*QueryNFTMintedResponse, error)
	// NFTBurnt queries the number of burnt tokens from a given contract id and token type.
	NFTBurnt(context.Context, *QueryNFTBurntRequest) (*QueryNFTBurntResponse, error)
	// Contract queries a contract metadata based on its contract id.
	Contract(context.Context, *QueryContractRequest) (*QueryContractResponse, error)
	// TokenClassTypeName queries the fully qualified message type name of a token class from its class id.
	//
	// Since: 0.46.0 (finschia)
	TokenClassTypeName(context.Context, *QueryTokenClassTypeNameRequest) (*QueryTokenClassTypeNameResponse, error)
	// TokenType queries metadata of a token type.
	TokenType(context.Context, *QueryTokenTypeRequest) (*QueryTokenTypeResponse, error)
	// Token queries a metadata of a token from its token id.
	Token(context.Context, *QueryTokenRequest) (*QueryTokenResponse, error)
	// Root queries the root of a given nft.
	Root(context.Context, *QueryRootRequest) (*QueryRootResponse, error)
	// Parent queries the parent of a given nft.
	Parent(context.Context, *QueryParentRequest) (*QueryParentResponse, error)
	// Children queries the children of a given nft.
	Children(context.Context, *QueryChildrenRequest) (*QueryChildrenResponse, error)
	// GranteeGrants queries all permissions on a given grantee.
	GranteeGrants(context.Context, *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error)
	// IsOperatorFor queries whether the operator is authorized by the holder.
	IsOperatorFor(context.Context, *QueryIsOperatorForRequest) (*QueryIsOperatorForResponse, error)
	// HoldersByOperator queries holders of a given operator.
	HoldersByOperator(context.Context, *QueryHoldersByOperatorRequest) (*QueryHoldersByOperatorResponse, error)
}

QueryServer is the server API for Query service.

type QueryTokenClassTypeNameRequest 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.
	// refer to TokenType for the definition.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}

QueryTokenTypeRequest is the request type for the Query/TokenType RPC method.

func (*QueryTokenTypeRequest) Descriptor 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 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.
	// the format of the value is identical to that of class_id.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	// name defines the human-readable name of the token type.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// meta is a brief description of the token type.
	Meta string `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
}

Deprecated: use TokenClass

TokenType defines the information of token type. It represents a NFTClass whose class_id is token_type.

Note: There is no TokenType instance for FTClass.

func (*TokenType) Descriptor 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) Attach added in v0.46.0

func (*UnimplementedMsgServer) AuthorizeOperator

func (*UnimplementedMsgServer) BurnFT added in v0.46.0

func (*UnimplementedMsgServer) BurnNFT added in v0.46.0

func (*UnimplementedMsgServer) CreateContract added in v0.46.0

func (*UnimplementedMsgServer) Detach 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) OperatorAttach

func (*UnimplementedMsgServer) OperatorBurnFT

func (*UnimplementedMsgServer) OperatorBurnNFT

func (*UnimplementedMsgServer) OperatorDetach

func (*UnimplementedMsgServer) OperatorSendFT

func (*UnimplementedMsgServer) OperatorSendNFT

func (*UnimplementedMsgServer) RevokeOperator

func (*UnimplementedMsgServer) RevokePermission added in v0.46.0

func (*UnimplementedMsgServer) SendFT

func (*UnimplementedMsgServer) SendNFT

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

func (*UnimplementedQueryServer) IsOperatorFor

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

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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