UNPKG

@hashgraph/proto

Version:
905 lines (754 loc) 2.28 MB
import * as $protobuf from "protobufjs"; import Long = require("long"); export = hashgraph; declare namespace hashgraph { /** Namespace com. */ namespace com { /** Namespace hedera. */ namespace hedera { /** Namespace hapi. */ namespace hapi { /** Namespace block. */ namespace block { /** Namespace stream. */ namespace stream { /** Properties of a ChainOfTrustProof. */ interface IChainOfTrustProof { /** * If there is not yet a SNARK proving the chain of trust from ledger id to * the hinTS verification key, the explicit list of Schnorr signatures on * the concatenation of the ledger id and genesis hinTS verification key * that serve as witnesses for the SNARK prover algorithm. */ nodeSignatures?: (com.hedera.hapi.block.stream.INodeSignatures|null); /** * If known, a ZK-compressed SNARK proof proving the chain of trust from * the ledger id to this hinTS verification key. */ wrapsProof?: (Uint8Array|null); } /** Represents a ChainOfTrustProof. */ class ChainOfTrustProof implements IChainOfTrustProof { /** * Constructs a new ChainOfTrustProof. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.block.stream.IChainOfTrustProof); /** * If there is not yet a SNARK proving the chain of trust from ledger id to * the hinTS verification key, the explicit list of Schnorr signatures on * the concatenation of the ledger id and genesis hinTS verification key * that serve as witnesses for the SNARK prover algorithm. */ public nodeSignatures?: (com.hedera.hapi.block.stream.INodeSignatures|null); /** * If known, a ZK-compressed SNARK proof proving the chain of trust from * the ledger id to this hinTS verification key. */ public wrapsProof?: (Uint8Array|null); /** ChainOfTrustProof proof. */ public proof?: ("nodeSignatures"|"wrapsProof"); /** * Creates a new ChainOfTrustProof instance using the specified properties. * @param [properties] Properties to set * @returns ChainOfTrustProof instance */ public static create(properties?: com.hedera.hapi.block.stream.IChainOfTrustProof): com.hedera.hapi.block.stream.ChainOfTrustProof; /** * Encodes the specified ChainOfTrustProof message. Does not implicitly {@link com.hedera.hapi.block.stream.ChainOfTrustProof.verify|verify} messages. * @param m ChainOfTrustProof message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.block.stream.IChainOfTrustProof, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChainOfTrustProof message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns ChainOfTrustProof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.block.stream.ChainOfTrustProof; /** * Gets the default type url for ChainOfTrustProof * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NodeSignatures. */ interface INodeSignatures { /** NodeSignatures nodeSignatures */ nodeSignatures?: (com.hedera.hapi.block.stream.INodeSignature[]|null); } /** * A list of valid node signatures on some data assumed known from the context * of the message, ordered by node id. * <p> * Can be used to prove the genesis hinTS verification key in a block proof; but * not succinct and not recursive; hence in normal operations with TSS, used only * until the first recursive proof is available. */ class NodeSignatures implements INodeSignatures { /** * Constructs a new NodeSignatures. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.block.stream.INodeSignatures); /** NodeSignatures nodeSignatures. */ public nodeSignatures: com.hedera.hapi.block.stream.INodeSignature[]; /** * Creates a new NodeSignatures instance using the specified properties. * @param [properties] Properties to set * @returns NodeSignatures instance */ public static create(properties?: com.hedera.hapi.block.stream.INodeSignatures): com.hedera.hapi.block.stream.NodeSignatures; /** * Encodes the specified NodeSignatures message. Does not implicitly {@link com.hedera.hapi.block.stream.NodeSignatures.verify|verify} messages. * @param m NodeSignatures message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.block.stream.INodeSignatures, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NodeSignatures message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns NodeSignatures * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.block.stream.NodeSignatures; /** * Gets the default type url for NodeSignatures * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NodeSignature. */ interface INodeSignature { /** The node id of the signer. */ nodeId?: (Long|null); /** The signature. */ signature?: (Uint8Array|null); } /** * A signature from a node on some data assumed known from the context of the * message. */ class NodeSignature implements INodeSignature { /** * Constructs a new NodeSignature. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.block.stream.INodeSignature); /** The node id of the signer. */ public nodeId: Long; /** The signature. */ public signature: Uint8Array; /** * Creates a new NodeSignature instance using the specified properties. * @param [properties] Properties to set * @returns NodeSignature instance */ public static create(properties?: com.hedera.hapi.block.stream.INodeSignature): com.hedera.hapi.block.stream.NodeSignature; /** * Encodes the specified NodeSignature message. Does not implicitly {@link com.hedera.hapi.block.stream.NodeSignature.verify|verify} messages. * @param m NodeSignature message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.block.stream.INodeSignature, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NodeSignature message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns NodeSignature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.block.stream.NodeSignature; /** * Gets the default type url for NodeSignature * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Namespace platform. */ namespace platform { /** Namespace state. */ namespace state { /** Properties of a PlatformState. */ interface IPlatformState { /** * A version describing the current version of application software. * <p> * This SHALL be the software version that created this state. */ creationSoftwareVersion?: (hashgraph.proto.ISemanticVersion|null); /** * A number of non-ancient rounds. * <p> * This SHALL be the count of rounds considered non-ancient. */ roundsNonAncient?: (number|null); /** * A snapshot of the consensus state at the end of the round. * <p> * This SHALL be used for restart/reconnect. */ consensusSnapshot?: (com.hedera.hapi.platform.state.IConsensusSnapshot|null); /** * A timestamp for the next scheduled time when a freeze will start. * <p> * If a freeze is not scheduled, this SHALL NOT be set.<br/> * If a freeze is currently scheduled, this MUST be set, and MUST * match the timestamp requested for that freeze. */ freezeTime?: (hashgraph.proto.ITimestamp|null); /** * A timestamp for the last time a freeze was performed.<br/> * If not set, there has never been a freeze. */ lastFrozenTime?: (hashgraph.proto.ITimestamp|null); /** * The number of the latest round that was a freeze round. If this round * is a freeze round, then the value is the same as the current round. It * is set after executing all transactions in this round. <br/> * If there has never been a freeze round, this SHALL be zero.<br/> */ latestFreezeRound?: (Long|null); /** * A running event hash.<br/> * This is computed by the consensus event stream. * <p> * This will be _removed_ and the field number reserved once the consensus * event stream is retired. */ legacyRunningEventHash?: (Uint8Array|null); } /** * The current state of platform consensus.<br/> * This message stores the current consensus data for the platform * in network state. * * The platform state SHALL represent the latest round's consensus.<br/> * This data SHALL be used to ensure consistency and provide critical data for * restart and reconnect. */ class PlatformState implements IPlatformState { /** * Constructs a new PlatformState. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.platform.state.IPlatformState); /** * A version describing the current version of application software. * <p> * This SHALL be the software version that created this state. */ public creationSoftwareVersion?: (hashgraph.proto.ISemanticVersion|null); /** * A number of non-ancient rounds. * <p> * This SHALL be the count of rounds considered non-ancient. */ public roundsNonAncient: number; /** * A snapshot of the consensus state at the end of the round. * <p> * This SHALL be used for restart/reconnect. */ public consensusSnapshot?: (com.hedera.hapi.platform.state.IConsensusSnapshot|null); /** * A timestamp for the next scheduled time when a freeze will start. * <p> * If a freeze is not scheduled, this SHALL NOT be set.<br/> * If a freeze is currently scheduled, this MUST be set, and MUST * match the timestamp requested for that freeze. */ public freezeTime?: (hashgraph.proto.ITimestamp|null); /** * A timestamp for the last time a freeze was performed.<br/> * If not set, there has never been a freeze. */ public lastFrozenTime?: (hashgraph.proto.ITimestamp|null); /** * The number of the latest round that was a freeze round. If this round * is a freeze round, then the value is the same as the current round. It * is set after executing all transactions in this round. <br/> * If there has never been a freeze round, this SHALL be zero.<br/> */ public latestFreezeRound: Long; /** * A running event hash.<br/> * This is computed by the consensus event stream. * <p> * This will be _removed_ and the field number reserved once the consensus * event stream is retired. */ public legacyRunningEventHash: Uint8Array; /** * Creates a new PlatformState instance using the specified properties. * @param [properties] Properties to set * @returns PlatformState instance */ public static create(properties?: com.hedera.hapi.platform.state.IPlatformState): com.hedera.hapi.platform.state.PlatformState; /** * Encodes the specified PlatformState message. Does not implicitly {@link com.hedera.hapi.platform.state.PlatformState.verify|verify} messages. * @param m PlatformState message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.platform.state.IPlatformState, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PlatformState message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns PlatformState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.platform.state.PlatformState; /** * Gets the default type url for PlatformState * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConsensusSnapshot. */ interface IConsensusSnapshot { /** * A consensus round.<br/> * The round number of this snapshot. */ round?: (Long|null); /** * A list of minimum judge information entries.<br/> * These are "minimum ancient" entries for non-ancient rounds. */ minimumJudgeInfoList?: (com.hedera.hapi.platform.state.IMinimumJudgeInfo[]|null); /** * A single consensus number.<br/> * The consensus order of the next event to reach consensus. */ nextConsensusNumber?: (Long|null); /** * A "consensus" timestamp.<br/> * The consensus timestamp of this snapshot. * <p> * Depending on the context this timestamp may have different meanings: * <ul> * <li>if there are transactions, the timestamp is equal to the timestamp of the last transaction</li> * <li>if there are no transactions, the timestamp is equal to the timestamp of the last event</li> * <li>if there are no events, the timestamp is equal to the timestamp of the previous round plus a small constant</li> * </ul> * <p> * This SHALL be a consensus value and MAY NOT correspond to an actual * "wall clock" timestamp.<br/> * Consensus Timestamps SHALL always increase. */ consensusTimestamp?: (hashgraph.proto.ITimestamp|null); /** ConsensusSnapshot judgeIds */ judgeIds?: (com.hedera.hapi.platform.state.IJudgeId[]|null); } /** * A consensus snapshot.<br/> * This is a snapshot of the consensus state for a particular round. * * This message SHALL record consensus data necessary for restart * and reconnect. */ class ConsensusSnapshot implements IConsensusSnapshot { /** * Constructs a new ConsensusSnapshot. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.platform.state.IConsensusSnapshot); /** * A consensus round.<br/> * The round number of this snapshot. */ public round: Long; /** * A list of minimum judge information entries.<br/> * These are "minimum ancient" entries for non-ancient rounds. */ public minimumJudgeInfoList: com.hedera.hapi.platform.state.IMinimumJudgeInfo[]; /** * A single consensus number.<br/> * The consensus order of the next event to reach consensus. */ public nextConsensusNumber: Long; /** * A "consensus" timestamp.<br/> * The consensus timestamp of this snapshot. * <p> * Depending on the context this timestamp may have different meanings: * <ul> * <li>if there are transactions, the timestamp is equal to the timestamp of the last transaction</li> * <li>if there are no transactions, the timestamp is equal to the timestamp of the last event</li> * <li>if there are no events, the timestamp is equal to the timestamp of the previous round plus a small constant</li> * </ul> * <p> * This SHALL be a consensus value and MAY NOT correspond to an actual * "wall clock" timestamp.<br/> * Consensus Timestamps SHALL always increase. */ public consensusTimestamp?: (hashgraph.proto.ITimestamp|null); /** ConsensusSnapshot judgeIds. */ public judgeIds: com.hedera.hapi.platform.state.IJudgeId[]; /** * Creates a new ConsensusSnapshot instance using the specified properties. * @param [properties] Properties to set * @returns ConsensusSnapshot instance */ public static create(properties?: com.hedera.hapi.platform.state.IConsensusSnapshot): com.hedera.hapi.platform.state.ConsensusSnapshot; /** * Encodes the specified ConsensusSnapshot message. Does not implicitly {@link com.hedera.hapi.platform.state.ConsensusSnapshot.verify|verify} messages. * @param m ConsensusSnapshot message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.platform.state.IConsensusSnapshot, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConsensusSnapshot message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns ConsensusSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.platform.state.ConsensusSnapshot; /** * Gets the default type url for ConsensusSnapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JudgeId. */ interface IJudgeId { /** The creator node ID who created this judge. */ creatorId?: (Long|null); /** SHA-384 hash value of this judge */ judgeHash?: (Uint8Array|null); } /** * A judge information that includes the creator node ID and the * SHA-384 hash value of the judge. */ class JudgeId implements IJudgeId { /** * Constructs a new JudgeId. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.platform.state.IJudgeId); /** The creator node ID who created this judge. */ public creatorId: Long; /** SHA-384 hash value of this judge */ public judgeHash: Uint8Array; /** * Creates a new JudgeId instance using the specified properties. * @param [properties] Properties to set * @returns JudgeId instance */ public static create(properties?: com.hedera.hapi.platform.state.IJudgeId): com.hedera.hapi.platform.state.JudgeId; /** * Encodes the specified JudgeId message. Does not implicitly {@link com.hedera.hapi.platform.state.JudgeId.verify|verify} messages. * @param m JudgeId message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.platform.state.IJudgeId, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JudgeId message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns JudgeId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.platform.state.JudgeId; /** * Gets the default type url for JudgeId * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinimumJudgeInfo. */ interface IMinimumJudgeInfo { /** * A consensus round.<br/> * The round this judge information applies to. */ round?: (Long|null); /** * This is a minimum birth round for all judges for a given round. * <p> * This SHALL reflect the relevant minimum birth round */ minimumJudgeBirthRound?: (Long|null); } /** Records the minimum ancient indicator for all judges in a particular round. */ class MinimumJudgeInfo implements IMinimumJudgeInfo { /** * Constructs a new MinimumJudgeInfo. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.platform.state.IMinimumJudgeInfo); /** * A consensus round.<br/> * The round this judge information applies to. */ public round: Long; /** * This is a minimum birth round for all judges for a given round. * <p> * This SHALL reflect the relevant minimum birth round */ public minimumJudgeBirthRound: Long; /** * Creates a new MinimumJudgeInfo instance using the specified properties. * @param [properties] Properties to set * @returns MinimumJudgeInfo instance */ public static create(properties?: com.hedera.hapi.platform.state.IMinimumJudgeInfo): com.hedera.hapi.platform.state.MinimumJudgeInfo; /** * Encodes the specified MinimumJudgeInfo message. Does not implicitly {@link com.hedera.hapi.platform.state.MinimumJudgeInfo.verify|verify} messages. * @param m MinimumJudgeInfo message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.platform.state.IMinimumJudgeInfo, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinimumJudgeInfo message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns MinimumJudgeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.platform.state.MinimumJudgeInfo; /** * Gets the default type url for MinimumJudgeInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NodeId. */ interface INodeId { /** A numeric identifier. */ id?: (Long|null); } /** * A consensus node identifier.<br/> * This value uniquely identifies a single consensus node within the network. */ class NodeId implements INodeId { /** * Constructs a new NodeId. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.platform.state.INodeId); /** A numeric identifier. */ public id: Long; /** * Creates a new NodeId instance using the specified properties. * @param [properties] Properties to set * @returns NodeId instance */ public static create(properties?: com.hedera.hapi.platform.state.INodeId): com.hedera.hapi.platform.state.NodeId; /** * Encodes the specified NodeId message. Does not implicitly {@link com.hedera.hapi.platform.state.NodeId.verify|verify} messages. * @param m NodeId message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.platform.state.INodeId, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NodeId message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns NodeId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.platform.state.NodeId; /** * Gets the default type url for NodeId * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StateItem. */ interface IStateItem { /** * State Key.<br/> * The key used to identify and locate this virtual map entry. */ key?: (com.hedera.hapi.platform.state.IStateKey|null); /** * State Value.<br/> * The actual data content stored for this virtual map entry. */ value?: (com.hedera.hapi.platform.state.IStateValue|null); } /** This message defines the State Item. */ class StateItem implements IStateItem { /** * Constructs a new StateItem. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.platform.state.IStateItem); /** * State Key.<br/> * The key used to identify and locate this virtual map entry. */ public key?: (com.hedera.hapi.platform.state.IStateKey|null); /** * State Value.<br/> * The actual data content stored for this virtual map entry. */ public value?: (com.hedera.hapi.platform.state.IStateValue|null); /** * Creates a new StateItem instance using the specified properties. * @param [properties] Properties to set * @returns StateItem instance */ public static create(properties?: com.hedera.hapi.platform.state.IStateItem): com.hedera.hapi.platform.state.StateItem; /** * Encodes the specified StateItem message. Does not implicitly {@link com.hedera.hapi.platform.state.StateItem.verify|verify} messages. * @param m StateItem message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.platform.state.IStateItem, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StateItem message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns StateItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.platform.state.StateItem; /** * Gets the default type url for StateItem * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueueState. */ interface IQueueState { /** * A head of a queue.<br/> * Indicate at what position a new element is removed from the queue. */ head?: (Long|null); /** * A tail of a queue.<br/> * Indicate at what position a new element is put to the queue. */ tail?: (Long|null); } /** * This message defines the internal state of a queue state. * Note that queue state is not a state of type Queue (versus Singleton or KV). * This state contains two pointers (longs), which indicate at what position a new element is put to the queue (tail) * or removed from the queue (head). These aren't indices in any array or whatsoever, they are just numbers, * which are increased on every operation, used to maintain elements order in the queue. */ class QueueState implements IQueueState { /** * Constructs a new QueueState. * @param [p] Properties to set */ constructor(p?: com.hedera.hapi.platform.state.IQueueState); /** * A head of a queue.<br/> * Indicate at what position a new element is removed from the queue. */ public head: Long; /** * A tail of a queue.<br/> * Indicate at what position a new element is put to the queue. */ public tail: Long; /** * Creates a new QueueState instance using the specified properties. * @param [properties] Properties to set * @returns QueueState instance */ public static create(properties?: com.hedera.hapi.platform.state.IQueueState): com.hedera.hapi.platform.state.QueueState; /** * Encodes the specified QueueState message. Does not implicitly {@link com.hedera.hapi.platform.state.QueueState.verify|verify} messages. * @param m QueueState message or plain object to encode * @param [w] Writer to encode to * @returns Writer */ public static encode(m: com.hedera.hapi.platform.state.IQueueState, w?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueueState message from the specified reader or buffer. * @param r Reader or buffer to decode from * @param [l] Message length if known beforehand * @returns QueueState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): com.hedera.hapi.platform.state.QueueState; /** * Gets the default type url for QueueState * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StateKey. */ interface IStateKey { /** StateKey singleton */ singleton?: (com.hedera.hapi.platform.state.SingletonType|null); /** A state identifier for the Accounts state. */ TokenService_I_ACCOUNTS?: (hashgraph.proto.IAccountID|null); /** A state identifier for account aliases. */ TokenService_I_ALIASES?: (hashgraph.proto.IProtoBytes|null); /** A state identifier for contract storage slots. */ ContractService_I_STORAGE?: (hashgraph.proto.ISlotKey|null); /** A state identifier for contract bytecode. */ ContractService_I_BYTECODE?: (hashgraph.proto.IContractID|null); /** A state identifier for Hedera File Service (HFS). */ FileService_I_FILES?: (hashgraph.proto.IFileID|null); /** A state identifier for Hedera Token Service (HTS). */ TokenService_I_TOKENS?: (hashgraph.proto.ITokenID|null); /** A state identifier for non-fungible/unique tokens. */ TokenService_I_NFTS?: (hashgraph.proto.INftID|null); /** A state identifier for token relationships. */ TokenService_I_TOKEN_RELS?: (hashgraph.proto.IEntityIDPair|null); /** A state identifier for network staking information. */ TokenService_I_STAKING_INFOS?: (hashgraph.proto.IEntityNumber|null); /** A state identifier for scheduled transactions. */ ScheduleService_I_SCHEDULES_BY_ID?: (hashgraph.proto.IScheduleID|null); /** A state identifier for scheduled transaction expiration. */ ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC?: (hashgraph.proto.IProtoLong|null); /** A state identifier for scheduled transaction deduplication. */ ScheduleService_I_SCHEDULES_BY_EQUALITY?: (hashgraph.proto.IProtoBytes|null); /** A state identifier for address book nodes. */ AddressBookService_I_NODES?: (hashgraph.proto.IEntityNumber|null); /** A state identifier for the Topics state. */ ConsensusService_I_TOPICS?: (hashgraph.proto.ITopicID|null); /** A state identifier for pending airdrops. */ TokenService_I_PENDING_AIRDROPS?: (hashgraph.proto.IPendingAirdropId|null); /** A state identifier for the rosters. */ RosterService_I_ROSTERS?: (hashgraph.proto.IProtoBytes|null); /** * A state identifie