UNPKG

@hashgraph/proto

Version:
1 lines 797 kB
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.proto=exports.google=exports.default=exports.com=void 0;var $protobuf=_interopRequireWildcard(require("protobufjs/minimal"));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}const $Reader=$protobuf.Reader,$Writer=$protobuf.Writer,$util=$protobuf.util;const $root=exports.default=$protobuf.roots.hashgraph||($protobuf.roots.hashgraph={});const com=exports.com=$root.com=(()=>{const com={};com.hedera=function(){const hedera={};hedera.hapi=function(){const hapi={};hapi.block=function(){const block={};block.stream=function(){const stream={};stream.ChainOfTrustProof=function(){function ChainOfTrustProof(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}ChainOfTrustProof.prototype.nodeSignatures=null;ChainOfTrustProof.prototype.wrapsProof=null;let $oneOfFields;Object.defineProperty(ChainOfTrustProof.prototype,"proof",{get:$util.oneOfGetter($oneOfFields=["nodeSignatures","wrapsProof"]),set:$util.oneOfSetter($oneOfFields)});ChainOfTrustProof.create=function create(properties){return new ChainOfTrustProof(properties);};ChainOfTrustProof.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.nodeSignatures!=null&&Object.hasOwnProperty.call(m,"nodeSignatures"))$root.com.hedera.hapi.block.stream.NodeSignatures.encode(m.nodeSignatures,w.uint32(10).fork()).ldelim();if(m.wrapsProof!=null&&Object.hasOwnProperty.call(m,"wrapsProof"))w.uint32(18).bytes(m.wrapsProof);return w;};ChainOfTrustProof.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.block.stream.ChainOfTrustProof();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.nodeSignatures=$root.com.hedera.hapi.block.stream.NodeSignatures.decode(r,r.uint32());break;}case 2:{m.wrapsProof=r.bytes();break;}default:r.skipType(t&7);break;}}return m;};ChainOfTrustProof.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.block.stream.ChainOfTrustProof";};return ChainOfTrustProof;}();stream.NodeSignatures=function(){function NodeSignatures(p){this.nodeSignatures=[];if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}NodeSignatures.prototype.nodeSignatures=$util.emptyArray;NodeSignatures.create=function create(properties){return new NodeSignatures(properties);};NodeSignatures.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.nodeSignatures!=null&&m.nodeSignatures.length){for(var i=0;i<m.nodeSignatures.length;++i)$root.com.hedera.hapi.block.stream.NodeSignature.encode(m.nodeSignatures[i],w.uint32(10).fork()).ldelim();}return w;};NodeSignatures.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.block.stream.NodeSignatures();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{if(!(m.nodeSignatures&&m.nodeSignatures.length))m.nodeSignatures=[];m.nodeSignatures.push($root.com.hedera.hapi.block.stream.NodeSignature.decode(r,r.uint32()));break;}default:r.skipType(t&7);break;}}return m;};NodeSignatures.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.block.stream.NodeSignatures";};return NodeSignatures;}();stream.NodeSignature=function(){function NodeSignature(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}NodeSignature.prototype.nodeId=$util.Long?$util.Long.fromBits(0,0,true):0;NodeSignature.prototype.signature=$util.newBuffer([]);NodeSignature.create=function create(properties){return new NodeSignature(properties);};NodeSignature.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.nodeId!=null&&Object.hasOwnProperty.call(m,"nodeId"))w.uint32(8).uint64(m.nodeId);if(m.signature!=null&&Object.hasOwnProperty.call(m,"signature"))w.uint32(18).bytes(m.signature);return w;};NodeSignature.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.block.stream.NodeSignature();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.nodeId=r.uint64();break;}case 2:{m.signature=r.bytes();break;}default:r.skipType(t&7);break;}}return m;};NodeSignature.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.block.stream.NodeSignature";};return NodeSignature;}();return stream;}();return block;}();hapi.platform=function(){const platform={};platform.state=function(){const state={};state.PlatformState=function(){function PlatformState(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}PlatformState.prototype.creationSoftwareVersion=null;PlatformState.prototype.roundsNonAncient=0;PlatformState.prototype.consensusSnapshot=null;PlatformState.prototype.freezeTime=null;PlatformState.prototype.lastFrozenTime=null;PlatformState.prototype.latestFreezeRound=$util.Long?$util.Long.fromBits(0,0,true):0;PlatformState.prototype.legacyRunningEventHash=$util.newBuffer([]);PlatformState.create=function create(properties){return new PlatformState(properties);};PlatformState.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.creationSoftwareVersion!=null&&Object.hasOwnProperty.call(m,"creationSoftwareVersion"))$root.proto.SemanticVersion.encode(m.creationSoftwareVersion,w.uint32(10).fork()).ldelim();if(m.roundsNonAncient!=null&&Object.hasOwnProperty.call(m,"roundsNonAncient"))w.uint32(16).uint32(m.roundsNonAncient);if(m.consensusSnapshot!=null&&Object.hasOwnProperty.call(m,"consensusSnapshot"))$root.com.hedera.hapi.platform.state.ConsensusSnapshot.encode(m.consensusSnapshot,w.uint32(26).fork()).ldelim();if(m.freezeTime!=null&&Object.hasOwnProperty.call(m,"freezeTime"))$root.proto.Timestamp.encode(m.freezeTime,w.uint32(34).fork()).ldelim();if(m.lastFrozenTime!=null&&Object.hasOwnProperty.call(m,"lastFrozenTime"))$root.proto.Timestamp.encode(m.lastFrozenTime,w.uint32(42).fork()).ldelim();if(m.latestFreezeRound!=null&&Object.hasOwnProperty.call(m,"latestFreezeRound"))w.uint32(48).uint64(m.latestFreezeRound);if(m.legacyRunningEventHash!=null&&Object.hasOwnProperty.call(m,"legacyRunningEventHash"))w.uint32(80002).bytes(m.legacyRunningEventHash);return w;};PlatformState.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.platform.state.PlatformState();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.creationSoftwareVersion=$root.proto.SemanticVersion.decode(r,r.uint32());break;}case 2:{m.roundsNonAncient=r.uint32();break;}case 3:{m.consensusSnapshot=$root.com.hedera.hapi.platform.state.ConsensusSnapshot.decode(r,r.uint32());break;}case 4:{m.freezeTime=$root.proto.Timestamp.decode(r,r.uint32());break;}case 5:{m.lastFrozenTime=$root.proto.Timestamp.decode(r,r.uint32());break;}case 6:{m.latestFreezeRound=r.uint64();break;}case 10000:{m.legacyRunningEventHash=r.bytes();break;}default:r.skipType(t&7);break;}}return m;};PlatformState.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.platform.state.PlatformState";};return PlatformState;}();state.ConsensusSnapshot=function(){function ConsensusSnapshot(p){this.minimumJudgeInfoList=[];this.judgeIds=[];if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}ConsensusSnapshot.prototype.round=$util.Long?$util.Long.fromBits(0,0,true):0;ConsensusSnapshot.prototype.minimumJudgeInfoList=$util.emptyArray;ConsensusSnapshot.prototype.nextConsensusNumber=$util.Long?$util.Long.fromBits(0,0,true):0;ConsensusSnapshot.prototype.consensusTimestamp=null;ConsensusSnapshot.prototype.judgeIds=$util.emptyArray;ConsensusSnapshot.create=function create(properties){return new ConsensusSnapshot(properties);};ConsensusSnapshot.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.round!=null&&Object.hasOwnProperty.call(m,"round"))w.uint32(8).uint64(m.round);if(m.minimumJudgeInfoList!=null&&m.minimumJudgeInfoList.length){for(var i=0;i<m.minimumJudgeInfoList.length;++i)$root.com.hedera.hapi.platform.state.MinimumJudgeInfo.encode(m.minimumJudgeInfoList[i],w.uint32(26).fork()).ldelim();}if(m.nextConsensusNumber!=null&&Object.hasOwnProperty.call(m,"nextConsensusNumber"))w.uint32(32).uint64(m.nextConsensusNumber);if(m.consensusTimestamp!=null&&Object.hasOwnProperty.call(m,"consensusTimestamp"))$root.proto.Timestamp.encode(m.consensusTimestamp,w.uint32(42).fork()).ldelim();if(m.judgeIds!=null&&m.judgeIds.length){for(var i=0;i<m.judgeIds.length;++i)$root.com.hedera.hapi.platform.state.JudgeId.encode(m.judgeIds[i],w.uint32(50).fork()).ldelim();}return w;};ConsensusSnapshot.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.platform.state.ConsensusSnapshot();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.round=r.uint64();break;}case 3:{if(!(m.minimumJudgeInfoList&&m.minimumJudgeInfoList.length))m.minimumJudgeInfoList=[];m.minimumJudgeInfoList.push($root.com.hedera.hapi.platform.state.MinimumJudgeInfo.decode(r,r.uint32()));break;}case 4:{m.nextConsensusNumber=r.uint64();break;}case 5:{m.consensusTimestamp=$root.proto.Timestamp.decode(r,r.uint32());break;}case 6:{if(!(m.judgeIds&&m.judgeIds.length))m.judgeIds=[];m.judgeIds.push($root.com.hedera.hapi.platform.state.JudgeId.decode(r,r.uint32()));break;}default:r.skipType(t&7);break;}}return m;};ConsensusSnapshot.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.platform.state.ConsensusSnapshot";};return ConsensusSnapshot;}();state.JudgeId=function(){function JudgeId(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}JudgeId.prototype.creatorId=$util.Long?$util.Long.fromBits(0,0,true):0;JudgeId.prototype.judgeHash=$util.newBuffer([]);JudgeId.create=function create(properties){return new JudgeId(properties);};JudgeId.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.creatorId!=null&&Object.hasOwnProperty.call(m,"creatorId"))w.uint32(8).uint64(m.creatorId);if(m.judgeHash!=null&&Object.hasOwnProperty.call(m,"judgeHash"))w.uint32(18).bytes(m.judgeHash);return w;};JudgeId.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.platform.state.JudgeId();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.creatorId=r.uint64();break;}case 2:{m.judgeHash=r.bytes();break;}default:r.skipType(t&7);break;}}return m;};JudgeId.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.platform.state.JudgeId";};return JudgeId;}();state.MinimumJudgeInfo=function(){function MinimumJudgeInfo(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}MinimumJudgeInfo.prototype.round=$util.Long?$util.Long.fromBits(0,0,true):0;MinimumJudgeInfo.prototype.minimumJudgeBirthRound=$util.Long?$util.Long.fromBits(0,0,true):0;MinimumJudgeInfo.create=function create(properties){return new MinimumJudgeInfo(properties);};MinimumJudgeInfo.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.round!=null&&Object.hasOwnProperty.call(m,"round"))w.uint32(8).uint64(m.round);if(m.minimumJudgeBirthRound!=null&&Object.hasOwnProperty.call(m,"minimumJudgeBirthRound"))w.uint32(16).uint64(m.minimumJudgeBirthRound);return w;};MinimumJudgeInfo.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.platform.state.MinimumJudgeInfo();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.round=r.uint64();break;}case 2:{m.minimumJudgeBirthRound=r.uint64();break;}default:r.skipType(t&7);break;}}return m;};MinimumJudgeInfo.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.platform.state.MinimumJudgeInfo";};return MinimumJudgeInfo;}();state.NodeId=function(){function NodeId(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}NodeId.prototype.id=$util.Long?$util.Long.fromBits(0,0,true):0;NodeId.create=function create(properties){return new NodeId(properties);};NodeId.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.id!=null&&Object.hasOwnProperty.call(m,"id"))w.uint32(8).uint64(m.id);return w;};NodeId.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.platform.state.NodeId();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.id=r.uint64();break;}default:r.skipType(t&7);break;}}return m;};NodeId.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.platform.state.NodeId";};return NodeId;}();state.StateItem=function(){function StateItem(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}StateItem.prototype.key=null;StateItem.prototype.value=null;StateItem.create=function create(properties){return new StateItem(properties);};StateItem.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.key!=null&&Object.hasOwnProperty.call(m,"key"))$root.com.hedera.hapi.platform.state.StateKey.encode(m.key,w.uint32(18).fork()).ldelim();if(m.value!=null&&Object.hasOwnProperty.call(m,"value"))$root.com.hedera.hapi.platform.state.StateValue.encode(m.value,w.uint32(26).fork()).ldelim();return w;};StateItem.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.platform.state.StateItem();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 2:{m.key=$root.com.hedera.hapi.platform.state.StateKey.decode(r,r.uint32());break;}case 3:{m.value=$root.com.hedera.hapi.platform.state.StateValue.decode(r,r.uint32());break;}default:r.skipType(t&7);break;}}return m;};StateItem.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.platform.state.StateItem";};return StateItem;}();state.QueueState=function(){function QueueState(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}QueueState.prototype.head=$util.Long?$util.Long.fromBits(0,0,true):0;QueueState.prototype.tail=$util.Long?$util.Long.fromBits(0,0,true):0;QueueState.create=function create(properties){return new QueueState(properties);};QueueState.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.head!=null&&Object.hasOwnProperty.call(m,"head"))w.uint32(8).uint64(m.head);if(m.tail!=null&&Object.hasOwnProperty.call(m,"tail"))w.uint32(16).uint64(m.tail);return w;};QueueState.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.platform.state.QueueState();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.head=r.uint64();break;}case 2:{m.tail=r.uint64();break;}default:r.skipType(t&7);break;}}return m;};QueueState.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.platform.state.QueueState";};return QueueState;}();state.StateKey=function(){function StateKey(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}StateKey.prototype.singleton=null;StateKey.prototype.TokenService_I_ACCOUNTS=null;StateKey.prototype.TokenService_I_ALIASES=null;StateKey.prototype.ContractService_I_STORAGE=null;StateKey.prototype.ContractService_I_BYTECODE=null;StateKey.prototype.FileService_I_FILES=null;StateKey.prototype.TokenService_I_TOKENS=null;StateKey.prototype.TokenService_I_NFTS=null;StateKey.prototype.TokenService_I_TOKEN_RELS=null;StateKey.prototype.TokenService_I_STAKING_INFOS=null;StateKey.prototype.ScheduleService_I_SCHEDULES_BY_ID=null;StateKey.prototype.ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC=null;StateKey.prototype.ScheduleService_I_SCHEDULES_BY_EQUALITY=null;StateKey.prototype.AddressBookService_I_NODES=null;StateKey.prototype.ConsensusService_I_TOPICS=null;StateKey.prototype.TokenService_I_PENDING_AIRDROPS=null;StateKey.prototype.RosterService_I_ROSTERS=null;StateKey.prototype.ScheduleService_I_SCHEDULED_COUNTS=null;StateKey.prototype.ScheduleService_I_SCHEDULE_ID_BY_EQUALITY=null;StateKey.prototype.TssBaseService_I_TSS_MESSAGES=null;StateKey.prototype.TssBaseService_I_TSS_VOTES=null;StateKey.prototype.ScheduleService_I_SCHEDULED_ORDERS=null;StateKey.prototype.ScheduleService_I_SCHEDULED_USAGES=null;StateKey.prototype.TssBaseService_I_TSS_ENCRYPTION_KEYS=null;StateKey.prototype.HintsService_I_HINTS_KEY_SETS=null;StateKey.prototype.HintsService_I_PREPROCESSING_VOTES=null;StateKey.prototype.HistoryService_I_PROOF_KEY_SETS=null;StateKey.prototype.HistoryService_I_HISTORY_SIGNATURES=null;StateKey.prototype.HistoryService_I_PROOF_VOTES=null;StateKey.prototype.HintsService_I_CRS_PUBLICATIONS=null;StateKey.prototype.ContractService_I_EVM_HOOK_STATES=null;StateKey.prototype.ContractService_I_LAMBDA_STORAGE=null;StateKey.prototype.AddressBookService_I_ACCOUNT_NODE_REL=null;StateKey.prototype.RecordCache_I_TRANSACTION_RECEIPTS=null;StateKey.prototype.FileService_I_UPGRADE_DATA_150=null;StateKey.prototype.FileService_I_UPGRADE_DATA_151=null;StateKey.prototype.FileService_I_UPGRADE_DATA_152=null;StateKey.prototype.FileService_I_UPGRADE_DATA_153=null;StateKey.prototype.FileService_I_UPGRADE_DATA_154=null;StateKey.prototype.FileService_I_UPGRADE_DATA_155=null;StateKey.prototype.FileService_I_UPGRADE_DATA_156=null;StateKey.prototype.FileService_I_UPGRADE_DATA_157=null;StateKey.prototype.FileService_I_UPGRADE_DATA_158=null;StateKey.prototype.FileService_I_UPGRADE_DATA_159=null;let $oneOfFields;Object.defineProperty(StateKey.prototype,"key",{get:$util.oneOfGetter($oneOfFields=["singleton","TokenService_I_ACCOUNTS","TokenService_I_ALIASES","ContractService_I_STORAGE","ContractService_I_BYTECODE","FileService_I_FILES","TokenService_I_TOKENS","TokenService_I_NFTS","TokenService_I_TOKEN_RELS","TokenService_I_STAKING_INFOS","ScheduleService_I_SCHEDULES_BY_ID","ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC","ScheduleService_I_SCHEDULES_BY_EQUALITY","AddressBookService_I_NODES","ConsensusService_I_TOPICS","TokenService_I_PENDING_AIRDROPS","RosterService_I_ROSTERS","ScheduleService_I_SCHEDULED_COUNTS","ScheduleService_I_SCHEDULE_ID_BY_EQUALITY","TssBaseService_I_TSS_MESSAGES","TssBaseService_I_TSS_VOTES","ScheduleService_I_SCHEDULED_ORDERS","ScheduleService_I_SCHEDULED_USAGES","TssBaseService_I_TSS_ENCRYPTION_KEYS","HintsService_I_HINTS_KEY_SETS","HintsService_I_PREPROCESSING_VOTES","HistoryService_I_PROOF_KEY_SETS","HistoryService_I_HISTORY_SIGNATURES","HistoryService_I_PROOF_VOTES","HintsService_I_CRS_PUBLICATIONS","ContractService_I_EVM_HOOK_STATES","ContractService_I_LAMBDA_STORAGE","AddressBookService_I_ACCOUNT_NODE_REL","RecordCache_I_TRANSACTION_RECEIPTS","FileService_I_UPGRADE_DATA_150","FileService_I_UPGRADE_DATA_151","FileService_I_UPGRADE_DATA_152","FileService_I_UPGRADE_DATA_153","FileService_I_UPGRADE_DATA_154","FileService_I_UPGRADE_DATA_155","FileService_I_UPGRADE_DATA_156","FileService_I_UPGRADE_DATA_157","FileService_I_UPGRADE_DATA_158","FileService_I_UPGRADE_DATA_159"]),set:$util.oneOfSetter($oneOfFields)});StateKey.create=function create(properties){return new StateKey(properties);};StateKey.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.singleton!=null&&Object.hasOwnProperty.call(m,"singleton"))w.uint32(8).int32(m.singleton);if(m.TokenService_I_ACCOUNTS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_ACCOUNTS"))$root.proto.AccountID.encode(m.TokenService_I_ACCOUNTS,w.uint32(18).fork()).ldelim();if(m.TokenService_I_ALIASES!=null&&Object.hasOwnProperty.call(m,"TokenService_I_ALIASES"))$root.proto.ProtoBytes.encode(m.TokenService_I_ALIASES,w.uint32(26).fork()).ldelim();if(m.ContractService_I_STORAGE!=null&&Object.hasOwnProperty.call(m,"ContractService_I_STORAGE"))$root.proto.SlotKey.encode(m.ContractService_I_STORAGE,w.uint32(34).fork()).ldelim();if(m.ContractService_I_BYTECODE!=null&&Object.hasOwnProperty.call(m,"ContractService_I_BYTECODE"))$root.proto.ContractID.encode(m.ContractService_I_BYTECODE,w.uint32(42).fork()).ldelim();if(m.FileService_I_FILES!=null&&Object.hasOwnProperty.call(m,"FileService_I_FILES"))$root.proto.FileID.encode(m.FileService_I_FILES,w.uint32(50).fork()).ldelim();if(m.TokenService_I_TOKENS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_TOKENS"))$root.proto.TokenID.encode(m.TokenService_I_TOKENS,w.uint32(58).fork()).ldelim();if(m.TokenService_I_NFTS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_NFTS"))$root.proto.NftID.encode(m.TokenService_I_NFTS,w.uint32(66).fork()).ldelim();if(m.TokenService_I_TOKEN_RELS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_TOKEN_RELS"))$root.proto.EntityIDPair.encode(m.TokenService_I_TOKEN_RELS,w.uint32(74).fork()).ldelim();if(m.TokenService_I_STAKING_INFOS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_STAKING_INFOS"))$root.proto.EntityNumber.encode(m.TokenService_I_STAKING_INFOS,w.uint32(82).fork()).ldelim();if(m.ScheduleService_I_SCHEDULES_BY_ID!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULES_BY_ID"))$root.proto.ScheduleID.encode(m.ScheduleService_I_SCHEDULES_BY_ID,w.uint32(114).fork()).ldelim();if(m.ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC"))$root.proto.ProtoLong.encode(m.ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC,w.uint32(122).fork()).ldelim();if(m.ScheduleService_I_SCHEDULES_BY_EQUALITY!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULES_BY_EQUALITY"))$root.proto.ProtoBytes.encode(m.ScheduleService_I_SCHEDULES_BY_EQUALITY,w.uint32(130).fork()).ldelim();if(m.AddressBookService_I_NODES!=null&&Object.hasOwnProperty.call(m,"AddressBookService_I_NODES"))$root.proto.EntityNumber.encode(m.AddressBookService_I_NODES,w.uint32(162).fork()).ldelim();if(m.ConsensusService_I_TOPICS!=null&&Object.hasOwnProperty.call(m,"ConsensusService_I_TOPICS"))$root.proto.TopicID.encode(m.ConsensusService_I_TOPICS,w.uint32(170).fork()).ldelim();if(m.TokenService_I_PENDING_AIRDROPS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_PENDING_AIRDROPS"))$root.proto.PendingAirdropId.encode(m.TokenService_I_PENDING_AIRDROPS,w.uint32(202).fork()).ldelim();if(m.RosterService_I_ROSTERS!=null&&Object.hasOwnProperty.call(m,"RosterService_I_ROSTERS"))$root.proto.ProtoBytes.encode(m.RosterService_I_ROSTERS,w.uint32(226).fork()).ldelim();if(m.ScheduleService_I_SCHEDULED_COUNTS!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULED_COUNTS"))$root.proto.TimestampSeconds.encode(m.ScheduleService_I_SCHEDULED_COUNTS,w.uint32(234).fork()).ldelim();if(m.ScheduleService_I_SCHEDULE_ID_BY_EQUALITY!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULE_ID_BY_EQUALITY"))$root.proto.ProtoBytes.encode(m.ScheduleService_I_SCHEDULE_ID_BY_EQUALITY,w.uint32(242).fork()).ldelim();if(m.TssBaseService_I_TSS_MESSAGES!=null&&Object.hasOwnProperty.call(m,"TssBaseService_I_TSS_MESSAGES"))$root.com.hedera.hapi.node.state.tss.TssMessageMapKey.encode(m.TssBaseService_I_TSS_MESSAGES,w.uint32(250).fork()).ldelim();if(m.TssBaseService_I_TSS_VOTES!=null&&Object.hasOwnProperty.call(m,"TssBaseService_I_TSS_VOTES"))$root.com.hedera.hapi.node.state.tss.TssVoteMapKey.encode(m.TssBaseService_I_TSS_VOTES,w.uint32(258).fork()).ldelim();if(m.ScheduleService_I_SCHEDULED_ORDERS!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULED_ORDERS"))$root.proto.ScheduledOrder.encode(m.ScheduleService_I_SCHEDULED_ORDERS,w.uint32(266).fork()).ldelim();if(m.ScheduleService_I_SCHEDULED_USAGES!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULED_USAGES"))$root.proto.TimestampSeconds.encode(m.ScheduleService_I_SCHEDULED_USAGES,w.uint32(274).fork()).ldelim();if(m.TssBaseService_I_TSS_ENCRYPTION_KEYS!=null&&Object.hasOwnProperty.call(m,"TssBaseService_I_TSS_ENCRYPTION_KEYS"))$root.proto.EntityNumber.encode(m.TssBaseService_I_TSS_ENCRYPTION_KEYS,w.uint32(282).fork()).ldelim();if(m.HintsService_I_HINTS_KEY_SETS!=null&&Object.hasOwnProperty.call(m,"HintsService_I_HINTS_KEY_SETS"))$root.com.hedera.hapi.node.state.hints.HintsPartyId.encode(m.HintsService_I_HINTS_KEY_SETS,w.uint32(298).fork()).ldelim();if(m.HintsService_I_PREPROCESSING_VOTES!=null&&Object.hasOwnProperty.call(m,"HintsService_I_PREPROCESSING_VOTES"))$root.com.hedera.hapi.node.state.hints.PreprocessingVoteId.encode(m.HintsService_I_PREPROCESSING_VOTES,w.uint32(322).fork()).ldelim();if(m.HistoryService_I_PROOF_KEY_SETS!=null&&Object.hasOwnProperty.call(m,"HistoryService_I_PROOF_KEY_SETS"))$root.com.hedera.hapi.platform.state.NodeId.encode(m.HistoryService_I_PROOF_KEY_SETS,w.uint32(346).fork()).ldelim();if(m.HistoryService_I_HISTORY_SIGNATURES!=null&&Object.hasOwnProperty.call(m,"HistoryService_I_HISTORY_SIGNATURES"))$root.com.hedera.hapi.node.state.history.ConstructionNodeId.encode(m.HistoryService_I_HISTORY_SIGNATURES,w.uint32(370).fork()).ldelim();if(m.HistoryService_I_PROOF_VOTES!=null&&Object.hasOwnProperty.call(m,"HistoryService_I_PROOF_VOTES"))$root.com.hedera.hapi.node.state.history.ConstructionNodeId.encode(m.HistoryService_I_PROOF_VOTES,w.uint32(378).fork()).ldelim();if(m.HintsService_I_CRS_PUBLICATIONS!=null&&Object.hasOwnProperty.call(m,"HintsService_I_CRS_PUBLICATIONS"))$root.com.hedera.hapi.platform.state.NodeId.encode(m.HintsService_I_CRS_PUBLICATIONS,w.uint32(394).fork()).ldelim();if(m.ContractService_I_EVM_HOOK_STATES!=null&&Object.hasOwnProperty.call(m,"ContractService_I_EVM_HOOK_STATES"))$root.proto.HookId.encode(m.ContractService_I_EVM_HOOK_STATES,w.uint32(410).fork()).ldelim();if(m.ContractService_I_LAMBDA_STORAGE!=null&&Object.hasOwnProperty.call(m,"ContractService_I_LAMBDA_STORAGE"))$root.com.hedera.hapi.node.state.hooks.LambdaSlotKey.encode(m.ContractService_I_LAMBDA_STORAGE,w.uint32(418).fork()).ldelim();if(m.AddressBookService_I_ACCOUNT_NODE_REL!=null&&Object.hasOwnProperty.call(m,"AddressBookService_I_ACCOUNT_NODE_REL"))$root.proto.AccountID.encode(m.AddressBookService_I_ACCOUNT_NODE_REL,w.uint32(426).fork()).ldelim();if(m.RecordCache_I_TRANSACTION_RECEIPTS!=null&&Object.hasOwnProperty.call(m,"RecordCache_I_TRANSACTION_RECEIPTS"))w.uint32(1008).uint64(m.RecordCache_I_TRANSACTION_RECEIPTS);if(m.FileService_I_UPGRADE_DATA_150!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_150"))w.uint32(80008).uint64(m.FileService_I_UPGRADE_DATA_150);if(m.FileService_I_UPGRADE_DATA_151!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_151"))w.uint32(80016).uint64(m.FileService_I_UPGRADE_DATA_151);if(m.FileService_I_UPGRADE_DATA_152!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_152"))w.uint32(80024).uint64(m.FileService_I_UPGRADE_DATA_152);if(m.FileService_I_UPGRADE_DATA_153!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_153"))w.uint32(80032).uint64(m.FileService_I_UPGRADE_DATA_153);if(m.FileService_I_UPGRADE_DATA_154!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_154"))w.uint32(80040).uint64(m.FileService_I_UPGRADE_DATA_154);if(m.FileService_I_UPGRADE_DATA_155!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_155"))w.uint32(80048).uint64(m.FileService_I_UPGRADE_DATA_155);if(m.FileService_I_UPGRADE_DATA_156!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_156"))w.uint32(80056).uint64(m.FileService_I_UPGRADE_DATA_156);if(m.FileService_I_UPGRADE_DATA_157!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_157"))w.uint32(80064).uint64(m.FileService_I_UPGRADE_DATA_157);if(m.FileService_I_UPGRADE_DATA_158!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_158"))w.uint32(80072).uint64(m.FileService_I_UPGRADE_DATA_158);if(m.FileService_I_UPGRADE_DATA_159!=null&&Object.hasOwnProperty.call(m,"FileService_I_UPGRADE_DATA_159"))w.uint32(80080).uint64(m.FileService_I_UPGRADE_DATA_159);return w;};StateKey.decode=function decode(r,l,e){if(!(r instanceof $Reader))r=$Reader.create(r);var c=l===undefined?r.len:r.pos+l,m=new $root.com.hedera.hapi.platform.state.StateKey();while(r.pos<c){var t=r.uint32();if(t===e)break;switch(t>>>3){case 1:{m.singleton=r.int32();break;}case 2:{m.TokenService_I_ACCOUNTS=$root.proto.AccountID.decode(r,r.uint32());break;}case 3:{m.TokenService_I_ALIASES=$root.proto.ProtoBytes.decode(r,r.uint32());break;}case 4:{m.ContractService_I_STORAGE=$root.proto.SlotKey.decode(r,r.uint32());break;}case 5:{m.ContractService_I_BYTECODE=$root.proto.ContractID.decode(r,r.uint32());break;}case 6:{m.FileService_I_FILES=$root.proto.FileID.decode(r,r.uint32());break;}case 7:{m.TokenService_I_TOKENS=$root.proto.TokenID.decode(r,r.uint32());break;}case 8:{m.TokenService_I_NFTS=$root.proto.NftID.decode(r,r.uint32());break;}case 9:{m.TokenService_I_TOKEN_RELS=$root.proto.EntityIDPair.decode(r,r.uint32());break;}case 10:{m.TokenService_I_STAKING_INFOS=$root.proto.EntityNumber.decode(r,r.uint32());break;}case 14:{m.ScheduleService_I_SCHEDULES_BY_ID=$root.proto.ScheduleID.decode(r,r.uint32());break;}case 15:{m.ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC=$root.proto.ProtoLong.decode(r,r.uint32());break;}case 16:{m.ScheduleService_I_SCHEDULES_BY_EQUALITY=$root.proto.ProtoBytes.decode(r,r.uint32());break;}case 20:{m.AddressBookService_I_NODES=$root.proto.EntityNumber.decode(r,r.uint32());break;}case 21:{m.ConsensusService_I_TOPICS=$root.proto.TopicID.decode(r,r.uint32());break;}case 25:{m.TokenService_I_PENDING_AIRDROPS=$root.proto.PendingAirdropId.decode(r,r.uint32());break;}case 28:{m.RosterService_I_ROSTERS=$root.proto.ProtoBytes.decode(r,r.uint32());break;}case 29:{m.ScheduleService_I_SCHEDULED_COUNTS=$root.proto.TimestampSeconds.decode(r,r.uint32());break;}case 30:{m.ScheduleService_I_SCHEDULE_ID_BY_EQUALITY=$root.proto.ProtoBytes.decode(r,r.uint32());break;}case 31:{m.TssBaseService_I_TSS_MESSAGES=$root.com.hedera.hapi.node.state.tss.TssMessageMapKey.decode(r,r.uint32());break;}case 32:{m.TssBaseService_I_TSS_VOTES=$root.com.hedera.hapi.node.state.tss.TssVoteMapKey.decode(r,r.uint32());break;}case 33:{m.ScheduleService_I_SCHEDULED_ORDERS=$root.proto.ScheduledOrder.decode(r,r.uint32());break;}case 34:{m.ScheduleService_I_SCHEDULED_USAGES=$root.proto.TimestampSeconds.decode(r,r.uint32());break;}case 35:{m.TssBaseService_I_TSS_ENCRYPTION_KEYS=$root.proto.EntityNumber.decode(r,r.uint32());break;}case 37:{m.HintsService_I_HINTS_KEY_SETS=$root.com.hedera.hapi.node.state.hints.HintsPartyId.decode(r,r.uint32());break;}case 40:{m.HintsService_I_PREPROCESSING_VOTES=$root.com.hedera.hapi.node.state.hints.PreprocessingVoteId.decode(r,r.uint32());break;}case 43:{m.HistoryService_I_PROOF_KEY_SETS=$root.com.hedera.hapi.platform.state.NodeId.decode(r,r.uint32());break;}case 46:{m.HistoryService_I_HISTORY_SIGNATURES=$root.com.hedera.hapi.node.state.history.ConstructionNodeId.decode(r,r.uint32());break;}case 47:{m.HistoryService_I_PROOF_VOTES=$root.com.hedera.hapi.node.state.history.ConstructionNodeId.decode(r,r.uint32());break;}case 49:{m.HintsService_I_CRS_PUBLICATIONS=$root.com.hedera.hapi.platform.state.NodeId.decode(r,r.uint32());break;}case 51:{m.ContractService_I_EVM_HOOK_STATES=$root.proto.HookId.decode(r,r.uint32());break;}case 52:{m.ContractService_I_LAMBDA_STORAGE=$root.com.hedera.hapi.node.state.hooks.LambdaSlotKey.decode(r,r.uint32());break;}case 53:{m.AddressBookService_I_ACCOUNT_NODE_REL=$root.proto.AccountID.decode(r,r.uint32());break;}case 126:{m.RecordCache_I_TRANSACTION_RECEIPTS=r.uint64();break;}case 10001:{m.FileService_I_UPGRADE_DATA_150=r.uint64();break;}case 10002:{m.FileService_I_UPGRADE_DATA_151=r.uint64();break;}case 10003:{m.FileService_I_UPGRADE_DATA_152=r.uint64();break;}case 10004:{m.FileService_I_UPGRADE_DATA_153=r.uint64();break;}case 10005:{m.FileService_I_UPGRADE_DATA_154=r.uint64();break;}case 10006:{m.FileService_I_UPGRADE_DATA_155=r.uint64();break;}case 10007:{m.FileService_I_UPGRADE_DATA_156=r.uint64();break;}case 10008:{m.FileService_I_UPGRADE_DATA_157=r.uint64();break;}case 10009:{m.FileService_I_UPGRADE_DATA_158=r.uint64();break;}case 10010:{m.FileService_I_UPGRADE_DATA_159=r.uint64();break;}default:r.skipType(t&7);break;}}return m;};StateKey.getTypeUrl=function getTypeUrl(typeUrlPrefix){if(typeUrlPrefix===undefined){typeUrlPrefix="type.googleapis.com";}return typeUrlPrefix+"/com.hedera.hapi.platform.state.StateKey";};return StateKey;}();state.StateValue=function(){function StateValue(p){if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)this[ks[i]]=p[ks[i]];}StateValue.prototype.EntityIdService_I_ENTITY_ID=null;StateValue.prototype.TokenService_I_ACCOUNTS=null;StateValue.prototype.TokenService_I_ALIASES=null;StateValue.prototype.ContractService_I_STORAGE=null;StateValue.prototype.ContractService_I_BYTECODE=null;StateValue.prototype.FileService_I_FILES=null;StateValue.prototype.TokenService_I_TOKENS=null;StateValue.prototype.TokenService_I_NFTS=null;StateValue.prototype.TokenService_I_TOKEN_RELS=null;StateValue.prototype.TokenService_I_STAKING_INFOS=null;StateValue.prototype.TokenService_I_STAKING_NETWORK_REWARDS=null;StateValue.prototype.CongestionThrottleService_I_THROTTLE_USAGE_SNAPSHOTS=null;StateValue.prototype.CongestionThrottleService_I_CONGESTION_LEVEL_STARTS=null;StateValue.prototype.ScheduleService_I_SCHEDULES_BY_ID=null;StateValue.prototype.ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC=null;StateValue.prototype.ScheduleService_I_SCHEDULES_BY_EQUALITY=null;StateValue.prototype.FeeService_I_MIDNIGHT_RATES=null;StateValue.prototype.BlockRecordService_I_RUNNING_HASHES=null;StateValue.prototype.BlockRecordService_I_BLOCKS=null;StateValue.prototype.AddressBookService_I_NODES=null;StateValue.prototype.ConsensusService_I_TOPICS=null;StateValue.prototype.FreezeService_I_UPGRADE_FILE_HASH=null;StateValue.prototype.FreezeService_I_FREEZE_TIME=null;StateValue.prototype.BlockStreamService_I_BLOCK_STREAM_INFO=null;StateValue.prototype.TokenService_I_PENDING_AIRDROPS=null;StateValue.prototype.PlatformStateService_I_PLATFORM_STATE=null;StateValue.prototype.RosterService_I_ROSTER_STATE=null;StateValue.prototype.RosterService_I_ROSTERS=null;StateValue.prototype.ScheduleService_I_SCHEDULED_COUNTS=null;StateValue.prototype.ScheduleService_I_SCHEDULE_ID_BY_EQUALITY=null;StateValue.prototype.TssBaseService_I_TSS_MESSAGES=null;StateValue.prototype.TssBaseService_I_TSS_VOTES=null;StateValue.prototype.ScheduleService_I_SCHEDULED_ORDERS=null;StateValue.prototype.ScheduleService_I_SCHEDULED_USAGES=null;StateValue.prototype.TssBaseService_I_TSS_ENCRYPTION_KEYS=null;StateValue.prototype.HintsService_I_HINTS_KEY_SETS=null;StateValue.prototype.HintsService_I_ACTIVE_HINTS_CONSTRUCTION=null;StateValue.prototype.HintsService_I_NEXT_HINTS_CONSTRUCTION=null;StateValue.prototype.HintsService_I_PREPROCESSING_VOTES=null;StateValue.prototype.EntityIdService_I_ENTITY_COUNTS=null;StateValue.prototype.HistoryService_I_LEDGER_ID=null;StateValue.prototype.HistoryService_I_PROOF_KEY_SETS=null;StateValue.prototype.HistoryService_I_ACTIVE_PROOF_CONSTRUCTION=null;StateValue.prototype.HistoryService_I_NEXT_PROOF_CONSTRUCTION=null;StateValue.prototype.HistoryService_I_HISTORY_SIGNATURES=null;StateValue.prototype.HistoryService_I_PROOF_VOTES=null;StateValue.prototype.HintsService_I_CRS_STATE=null;StateValue.prototype.HintsService_I_CRS_PUBLICATIONS=null;StateValue.prototype.TokenService_I_NODE_REWARDS=null;StateValue.prototype.ContractService_I_EVM_HOOK_STATES=null;StateValue.prototype.ContractService_I_LAMBDA_STORAGE=null;StateValue.prototype.AddressBookService_I_ACCOUNT_NODE_REL=null;StateValue.prototype.RecordCache_I_TRANSACTION_RECEIPTS=null;StateValue.prototype.queueState=null;StateValue.prototype.FileService_I_UPGRADE_DATA_150=null;StateValue.prototype.FileService_I_UPGRADE_DATA_151=null;StateValue.prototype.FileService_I_UPGRADE_DATA_152=null;StateValue.prototype.FileService_I_UPGRADE_DATA_153=null;StateValue.prototype.FileService_I_UPGRADE_DATA_154=null;StateValue.prototype.FileService_I_UPGRADE_DATA_155=null;StateValue.prototype.FileService_I_UPGRADE_DATA_156=null;StateValue.prototype.FileService_I_UPGRADE_DATA_157=null;StateValue.prototype.FileService_I_UPGRADE_DATA_158=null;StateValue.prototype.FileService_I_UPGRADE_DATA_159=null;let $oneOfFields;Object.defineProperty(StateValue.prototype,"value",{get:$util.oneOfGetter($oneOfFields=["EntityIdService_I_ENTITY_ID","TokenService_I_ACCOUNTS","TokenService_I_ALIASES","ContractService_I_STORAGE","ContractService_I_BYTECODE","FileService_I_FILES","TokenService_I_TOKENS","TokenService_I_NFTS","TokenService_I_TOKEN_RELS","TokenService_I_STAKING_INFOS","TokenService_I_STAKING_NETWORK_REWARDS","CongestionThrottleService_I_THROTTLE_USAGE_SNAPSHOTS","CongestionThrottleService_I_CONGESTION_LEVEL_STARTS","ScheduleService_I_SCHEDULES_BY_ID","ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC","ScheduleService_I_SCHEDULES_BY_EQUALITY","FeeService_I_MIDNIGHT_RATES","BlockRecordService_I_RUNNING_HASHES","BlockRecordService_I_BLOCKS","AddressBookService_I_NODES","ConsensusService_I_TOPICS","FreezeService_I_UPGRADE_FILE_HASH","FreezeService_I_FREEZE_TIME","BlockStreamService_I_BLOCK_STREAM_INFO","TokenService_I_PENDING_AIRDROPS","PlatformStateService_I_PLATFORM_STATE","RosterService_I_ROSTER_STATE","RosterService_I_ROSTERS","ScheduleService_I_SCHEDULED_COUNTS","ScheduleService_I_SCHEDULE_ID_BY_EQUALITY","TssBaseService_I_TSS_MESSAGES","TssBaseService_I_TSS_VOTES","ScheduleService_I_SCHEDULED_ORDERS","ScheduleService_I_SCHEDULED_USAGES","TssBaseService_I_TSS_ENCRYPTION_KEYS","HintsService_I_HINTS_KEY_SETS","HintsService_I_ACTIVE_HINTS_CONSTRUCTION","HintsService_I_NEXT_HINTS_CONSTRUCTION","HintsService_I_PREPROCESSING_VOTES","EntityIdService_I_ENTITY_COUNTS","HistoryService_I_LEDGER_ID","HistoryService_I_PROOF_KEY_SETS","HistoryService_I_ACTIVE_PROOF_CONSTRUCTION","HistoryService_I_NEXT_PROOF_CONSTRUCTION","HistoryService_I_HISTORY_SIGNATURES","HistoryService_I_PROOF_VOTES","HintsService_I_CRS_STATE","HintsService_I_CRS_PUBLICATIONS","TokenService_I_NODE_REWARDS","ContractService_I_EVM_HOOK_STATES","ContractService_I_LAMBDA_STORAGE","AddressBookService_I_ACCOUNT_NODE_REL","RecordCache_I_TRANSACTION_RECEIPTS","queueState","FileService_I_UPGRADE_DATA_150","FileService_I_UPGRADE_DATA_151","FileService_I_UPGRADE_DATA_152","FileService_I_UPGRADE_DATA_153","FileService_I_UPGRADE_DATA_154","FileService_I_UPGRADE_DATA_155","FileService_I_UPGRADE_DATA_156","FileService_I_UPGRADE_DATA_157","FileService_I_UPGRADE_DATA_158","FileService_I_UPGRADE_DATA_159"]),set:$util.oneOfSetter($oneOfFields)});StateValue.create=function create(properties){return new StateValue(properties);};StateValue.encode=function encode(m,w){if(!w)w=$Writer.create();if(m.EntityIdService_I_ENTITY_ID!=null&&Object.hasOwnProperty.call(m,"EntityIdService_I_ENTITY_ID"))$root.proto.EntityNumber.encode(m.EntityIdService_I_ENTITY_ID,w.uint32(10).fork()).ldelim();if(m.TokenService_I_ACCOUNTS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_ACCOUNTS"))$root.proto.Account.encode(m.TokenService_I_ACCOUNTS,w.uint32(18).fork()).ldelim();if(m.TokenService_I_ALIASES!=null&&Object.hasOwnProperty.call(m,"TokenService_I_ALIASES"))$root.proto.AccountID.encode(m.TokenService_I_ALIASES,w.uint32(26).fork()).ldelim();if(m.ContractService_I_STORAGE!=null&&Object.hasOwnProperty.call(m,"ContractService_I_STORAGE"))$root.proto.SlotValue.encode(m.ContractService_I_STORAGE,w.uint32(34).fork()).ldelim();if(m.ContractService_I_BYTECODE!=null&&Object.hasOwnProperty.call(m,"ContractService_I_BYTECODE"))$root.proto.Bytecode.encode(m.ContractService_I_BYTECODE,w.uint32(42).fork()).ldelim();if(m.FileService_I_FILES!=null&&Object.hasOwnProperty.call(m,"FileService_I_FILES"))$root.proto.File.encode(m.FileService_I_FILES,w.uint32(50).fork()).ldelim();if(m.TokenService_I_TOKENS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_TOKENS"))$root.proto.Token.encode(m.TokenService_I_TOKENS,w.uint32(58).fork()).ldelim();if(m.TokenService_I_NFTS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_NFTS"))$root.proto.Nft.encode(m.TokenService_I_NFTS,w.uint32(66).fork()).ldelim();if(m.TokenService_I_TOKEN_RELS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_TOKEN_RELS"))$root.proto.TokenRelation.encode(m.TokenService_I_TOKEN_RELS,w.uint32(74).fork()).ldelim();if(m.TokenService_I_STAKING_INFOS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_STAKING_INFOS"))$root.proto.StakingNodeInfo.encode(m.TokenService_I_STAKING_INFOS,w.uint32(82).fork()).ldelim();if(m.TokenService_I_STAKING_NETWORK_REWARDS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_STAKING_NETWORK_REWARDS"))$root.proto.NetworkStakingRewards.encode(m.TokenService_I_STAKING_NETWORK_REWARDS,w.uint32(90).fork()).ldelim();if(m.CongestionThrottleService_I_THROTTLE_USAGE_SNAPSHOTS!=null&&Object.hasOwnProperty.call(m,"CongestionThrottleService_I_THROTTLE_USAGE_SNAPSHOTS"))$root.proto.ThrottleUsageSnapshots.encode(m.CongestionThrottleService_I_THROTTLE_USAGE_SNAPSHOTS,w.uint32(98).fork()).ldelim();if(m.CongestionThrottleService_I_CONGESTION_LEVEL_STARTS!=null&&Object.hasOwnProperty.call(m,"CongestionThrottleService_I_CONGESTION_LEVEL_STARTS"))$root.proto.CongestionLevelStarts.encode(m.CongestionThrottleService_I_CONGESTION_LEVEL_STARTS,w.uint32(106).fork()).ldelim();if(m.ScheduleService_I_SCHEDULES_BY_ID!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULES_BY_ID"))$root.proto.Schedule.encode(m.ScheduleService_I_SCHEDULES_BY_ID,w.uint32(114).fork()).ldelim();if(m.ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC"))$root.proto.ScheduleList.encode(m.ScheduleService_I_SCHEDULES_BY_EXPIRY_SEC,w.uint32(122).fork()).ldelim();if(m.ScheduleService_I_SCHEDULES_BY_EQUALITY!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULES_BY_EQUALITY"))$root.proto.ScheduleList.encode(m.ScheduleService_I_SCHEDULES_BY_EQUALITY,w.uint32(130).fork()).ldelim();if(m.FeeService_I_MIDNIGHT_RATES!=null&&Object.hasOwnProperty.call(m,"FeeService_I_MIDNIGHT_RATES"))$root.proto.ExchangeRateSet.encode(m.FeeService_I_MIDNIGHT_RATES,w.uint32(138).fork()).ldelim();if(m.BlockRecordService_I_RUNNING_HASHES!=null&&Object.hasOwnProperty.call(m,"BlockRecordService_I_RUNNING_HASHES"))$root.proto.RunningHashes.encode(m.BlockRecordService_I_RUNNING_HASHES,w.uint32(146).fork()).ldelim();if(m.BlockRecordService_I_BLOCKS!=null&&Object.hasOwnProperty.call(m,"BlockRecordService_I_BLOCKS"))$root.proto.BlockInfo.encode(m.BlockRecordService_I_BLOCKS,w.uint32(154).fork()).ldelim();if(m.AddressBookService_I_NODES!=null&&Object.hasOwnProperty.call(m,"AddressBookService_I_NODES"))$root.com.hedera.hapi.node.state.addressbook.Node.encode(m.AddressBookService_I_NODES,w.uint32(162).fork()).ldelim();if(m.ConsensusService_I_TOPICS!=null&&Object.hasOwnProperty.call(m,"ConsensusService_I_TOPICS"))$root.proto.Topic.encode(m.ConsensusService_I_TOPICS,w.uint32(170).fork()).ldelim();if(m.FreezeService_I_UPGRADE_FILE_HASH!=null&&Object.hasOwnProperty.call(m,"FreezeService_I_UPGRADE_FILE_HASH"))$root.proto.ProtoBytes.encode(m.FreezeService_I_UPGRADE_FILE_HASH,w.uint32(178).fork()).ldelim();if(m.FreezeService_I_FREEZE_TIME!=null&&Object.hasOwnProperty.call(m,"FreezeService_I_FREEZE_TIME"))$root.proto.Timestamp.encode(m.FreezeService_I_FREEZE_TIME,w.uint32(186).fork()).ldelim();if(m.BlockStreamService_I_BLOCK_STREAM_INFO!=null&&Object.hasOwnProperty.call(m,"BlockStreamService_I_BLOCK_STREAM_INFO"))$root.com.hedera.hapi.node.state.blockstream.BlockStreamInfo.encode(m.BlockStreamService_I_BLOCK_STREAM_INFO,w.uint32(194).fork()).ldelim();if(m.TokenService_I_PENDING_AIRDROPS!=null&&Object.hasOwnProperty.call(m,"TokenService_I_PENDING_AIRDROPS"))$root.proto.AccountPendingAirdrop.encode(m.TokenService_I_PENDING_AIRDROPS,w.uint32(202).fork()).ldelim();if(m.PlatformStateService_I_PLATFORM_STATE!=null&&Object.hasOwnProperty.call(m,"PlatformStateService_I_PLATFORM_STATE"))$root.com.hedera.hapi.platform.state.PlatformState.encode(m.PlatformStateService_I_PLATFORM_STATE,w.uint32(210).fork()).ldelim();if(m.RosterService_I_ROSTER_STATE!=null&&Object.hasOwnProperty.call(m,"RosterService_I_ROSTER_STATE"))$root.com.hedera.hapi.node.state.roster.RosterState.encode(m.RosterService_I_ROSTER_STATE,w.uint32(218).fork()).ldelim();if(m.RosterService_I_ROSTERS!=null&&Object.hasOwnProperty.call(m,"RosterService_I_ROSTERS"))$root.com.hedera.hapi.node.state.roster.Roster.encode(m.RosterService_I_ROSTERS,w.uint32(226).fork()).ldelim();if(m.ScheduleService_I_SCHEDULED_COUNTS!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULED_COUNTS"))$root.proto.ScheduledCounts.encode(m.ScheduleService_I_SCHEDULED_COUNTS,w.uint32(234).fork()).ldelim();if(m.ScheduleService_I_SCHEDULE_ID_BY_EQUALITY!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULE_ID_BY_EQUALITY"))$root.proto.ScheduleID.encode(m.ScheduleService_I_SCHEDULE_ID_BY_EQUALITY,w.uint32(242).fork()).ldelim();if(m.TssBaseService_I_TSS_MESSAGES!=null&&Object.hasOwnProperty.call(m,"TssBaseService_I_TSS_MESSAGES"))$root.com.hedera.hapi.services.auxiliary.tss.TssMessageTransactionBody.encode(m.TssBaseService_I_TSS_MESSAGES,w.uint32(250).fork()).ldelim();if(m.TssBaseService_I_TSS_VOTES!=null&&Object.hasOwnProperty.call(m,"TssBaseService_I_TSS_VOTES"))$root.com.hedera.hapi.services.auxiliary.tss.TssVoteTransactionBody.encode(m.TssBaseService_I_TSS_VOTES,w.uint32(258).fork()).ldelim();if(m.ScheduleService_I_SCHEDULED_ORDERS!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULED_ORDERS"))$root.proto.ScheduleID.encode(m.ScheduleService_I_SCHEDULED_ORDERS,w.uint32(266).fork()).ldelim();if(m.ScheduleService_I_SCHEDULED_USAGES!=null&&Object.hasOwnProperty.call(m,"ScheduleService_I_SCHEDULED_USAGES"))$root.proto.ThrottleUsageSnapshots.encode(m.ScheduleService_I_SCHEDULED_USAGES,w.uint32(274).fork()).ldelim();if(m.TssBaseService_I_TSS_ENCRYPTION_KEYS!=null&&Object.hasOwnProperty.call(m,"TssBaseService_I_TSS_ENCRYPTION_KEYS"))$root.com.hedera.hapi.node.state.tss.TssEncryptionKeys.encode(m.TssBaseService_I_TSS_ENCRYPTION_KEYS,w.uint32(282).fork()).ldelim();if(m.HintsService_I_HINTS_KEY_SETS!=null&&Object.hasOwnProperty.call(m,"HintsService_I_HINTS_KEY_SETS"))$root.com.hedera.hapi.node.state.hints.HintsKeySet.encode(m.HintsService_I_HINTS_KEY_SETS,w.uint32(298).fork()).ldelim();if(m.HintsService_I_ACTIVE_HINTS_CONSTRUCTION!=null&&Object.hasOwnProperty.call(m,"HintsService_I_ACTIVE_HINTS_CONSTRUCTION"))$root.com.hedera.hapi.node.state.hints.HintsConstruction.encode(m.HintsService_I_ACTIVE_HINTS_CONSTRUCTION,w.uint32(306).fork()).ldelim();if(m.HintsService_I_NEXT_HINTS_CONSTRUCTION!=null&&Object.hasOwnProperty.call(m,"HintsService_I_NEXT_HINTS_CONSTRUCTION"))$root.com.hedera.hapi.node.state.hints.HintsConstruction.encode(m.HintsService_I_NEXT_HINTS_CONSTRUCTION,w.uint32(314).fork()).ldelim();if(m.HintsService_I_PREPROCESSING_VOTES!=null&&Object.hasOwnProperty.call(m,"HintsService_I_PREPROCESSING_VOTES"))$root.com.hedera.hapi.node.state.hints.PreprocessingVote.encode(m.HintsService_I_PREPROCESSING_VOTES,w.uint32(322).fork()).ldelim();if(m.EntityIdService_I_ENTITY_COUNTS!=null&&Object.hasOwnProperty.call(m,"EntityIdService_I_ENTITY_COUNTS"))$root.com.hedera.hapi.node.state.entity.EntityCounts.encode(m.EntityIdService_I_ENTITY_COUNTS,w.uint32(330).fork()).ldelim();if(m.HistoryService_I_LEDGER_ID!=null&&Object.hasOwnProperty.call(m,"HistoryService_I_LEDGER_ID"))$root.proto.ProtoBytes.encode(m.HistoryService_I_LEDGER_ID,w.uint32(338).fork()).ldelim();if(m.HistoryService_I_PROOF_KEY_SETS!=null&&Object.hasOwnProperty.call(m,"HistoryService_I_PROOF_KEY_SETS"))$root.com.hedera.hapi.node.state.history.ProofKeySet.encode(m.HistoryService_I_PROOF_KEY_SETS,w.uint32(346).fork()).ldelim();if(m.HistoryService_I_ACTIVE_PROOF_CONSTRUCTION!=null&&Object.hasOwnProperty.call(m,"HistoryService_I_ACTIVE_PROOF_CONSTRUCTION"))$root.com.hedera.hapi.node.state.history.HistoryProofConstruction.encode(m.HistoryService_I_ACTIVE_PROOF_CONSTRUCTION,w.uint32(354).fork()).ldelim();if(m.HistoryService_I_NEXT_PROOF_CONSTRUCTION!=null&&Object.hasOwnProperty.call(m,"HistoryService_I_NEXT_PROOF_CONSTRUCTION"))$root.com.hedera.hapi.node.state.history.HistoryProofConstruction.encode(m.HistoryService_I_NEXT_PROOF_CONSTRUCTION,w.uint32(362).fork()).ldelim();if(m.HistoryService_I_HISTORY_SIGNATURES!=null&&Object.hasOwnProperty.call(m,"HistoryService_I_HISTORY_SIGNATURES"))$root.com.hedera.hapi.node.state.history.RecordedHistorySignature.encode(m.HistoryService_I_HISTORY_SIGNATURES,w.uint32(370).fork()).ldelim();if(m.HistoryS