PageSourceSearch

https://www.dogwifnunchucks.com/_next/static/chunks/b37f4333.47ace913dcb6848f.js

js dogwifnunchucks.com collected 2026-10-08 17:21:24 UTC 86,163 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[584],{98452:(e,t,o)=>{var i,s,r,n,a,d;Object.defineProperty(t,"__esModule",{value:!0}),t.ValidatorUpdate=t.Validator=t.TxResult=t.ExecTxResult=t.EventAttribute=t.Event=t.ExtendedCommitInfo=t.CommitInfo=t.ResponseFinalizeBlock=t.ResponseVerifyVoteExtension=t.ResponseExtendVote=t.ResponseProcessProposal=t.ResponsePrepareProposal=t.ResponseApplySnapshotChunk=t.ResponseLoadSnapshotChunk=t.ResponseOfferSnapshot=t.ResponseListSnapshots=t.ResponseCommit=t.ResponseCheckTx=t.ResponseQuery=t.ResponseInitChain=t.ResponseInfo=t.ResponseFlush=t.ResponseEcho=t.ResponseException=t.Response=t.RequestFinalizeBlock=t.RequestVerifyVoteExtension=t.RequestExtendVote=t.RequestProcessProposal=t.RequestPrepareProposal=t.RequestApplySnapshotChunk=t.RequestLoadSnapshotChunk=t.RequestOfferSnapshot=t.RequestListSnapshots=t.RequestCommit=t.RequestCheckTx=t.RequestQuery=t.RequestInitChain=t.RequestInfo=t.RequestFlush=t.RequestEcho=t.Request=t.MisbehaviorType=t.ResponseVerifyVoteExtension_VerifyStatus=t.ResponseProcessProposal_ProposalStatus=t.ResponseApplySnapshotChunk_Result=t.ResponseOfferSnapshot_Result=t.CheckTxType=t.protobufPackage=void 0,t.Snapshot=t.Misbehavior=t.ExtendedVoteInfo=t.VoteInfo=void 0,t.checkTxTypeFromJSON=v,t.checkTxTypeToJSON=y,t.responseOfferSnapshot_ResultFromJSON=S,t.responseOfferSnapshot_ResultToJSON=g,t.responseApplySnapshotChunk_ResultFromJSON=k,t.responseApplySnapshotChunk_ResultToJSON=b,t.responseProcessProposal_ProposalStatusFromJSON=R,t.responseProcessProposal_ProposalStatusToJSON=x,t.responseVerifyVoteExtension_VerifyStatusFromJSON=B,t.responseVerifyVoteExtension_VerifyStatusToJSON=C,t.misbehaviorTypeFromJSON=N,t.misbehaviorTypeToJSON=E;let l=o(6830),p=o(64625),u=o(23293),h=o(69077),c=o(56591),m=o(9491),f=o(94183);function v(e){switch(e){case 0:case"NEW":return i.NEW;case 1:case"RECHECK":return i.RECHECK;default:return i.UNRECOGNIZED}}function y(e){switch(e){case i.NEW:return"NEW";case i.RECHECK:return"RECHECK";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function S(e){switch(e){case 0:case"UNKNOWN":return s.UNKNOWN;case 1:case"ACCEPT":return s.ACCEPT;case 2:case"ABORT":return s.ABORT;case 3:case"REJECT":return s.REJECT;case 4:case"REJECT_FORMAT":return s.REJECT_FORMAT;case 5:case"REJECT_SENDER":return s.REJECT_SENDER;default:return s.UNRECOGNIZED}}function g(e){switch(e){case s.UNKNOWN:return"UNKNOWN";case s.ACCEPT:return"ACCEPT";case s.ABORT:return"ABORT";case s.REJECT:return"REJECT";case s.REJECT_FORMAT:return"REJECT_FORMAT";case s.REJECT_SENDER:return"REJECT_SENDER";case s.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function k(e){switch(e){case 0:case"UNKNOWN":return r.UNKNOWN;case 1:case"ACCEPT":return r.ACCEPT;case 2:case"ABORT":return r.ABORT;case 3:case"RETRY":return r.RETRY;case 4:case"RETRY_SNAPSHOT":return r.RETRY_SNAPSHOT;case 5:case"REJECT_SNAPSHOT":return r.REJECT_SNAPSHOT;default:return r.UNRECOGNIZED}}function b(e){switch(e){case r.UNKNOWN:return"UNKNOWN";case r.ACCEPT:return"ACCEPT";case r.ABORT:return"ABORT";case r.RETRY:return"RETRY";case r.RETRY_SNAPSHOT:return"RETRY_SNAPSHOT";case r.REJECT_SNAPSHOT:return"REJECT_SNAPSHOT";case r.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function R(e){switch(e){case 0:case"UNKNOWN":return n.UNKNOWN;case 1:case"ACCEPT":return n.ACCEPT;case 2:case"REJECT":return n.REJECT;default:return n.UNRECOGNIZED}}function x(e){switch(e){case n.UNKNOWN:return"UNKNOWN";case n.ACCEPT:return"ACCEPT";case n.REJECT:return"REJECT";case n.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function B(e){switch(e){case 0:case"UNKNOWN":return a.UNKNOWN;case 1:case"ACCEPT":return a.ACCEPT;case 2:case"REJECT":return a.REJECT;default:return a.UNRECOGNIZED}}function C(e){switch(e){case a.UNKNOWN:return"UNKNOWN";case a.ACCEPT:return"ACCEPT";case a.REJECT:return"REJECT";case a.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function N(e){switch(e){case 0:case"UNKNOWN":return d.UNKNOWN;case 1:case"DUPLICATE_VOTE":return d.DUPLICATE_VOTE;case 2:case"LIGHT_CLIENT_ATTACK":return d.LIGHT_CLIENT_ATTACK;default:return d.UNRECOGNIZED}}function E(e){switch(e){case d.UNKNOWN:return"UNKNOWN";
1case d.DUPLICATE_VOTE:return"DUPLICATE_VOTE";case d.LIGHT_CLIENT_ATTACK:return"LIGHT_CLIENT_ATTACK";case d.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function P(){return{echo:void 0,flush:void 0,info:void 0,initChain:void 0,query:void 0,checkTx:void 0,commit:void 0,listSnapshots:void 0,offerSnapshot:void 0,loadSnapshotChunk:void 0,applySnapshotChunk:void 0,prepareProposal:void 0,processProposal:void 0,extendVote:void 0,verifyVoteExtension:void 0,finalizeBlock:void 0}}function O(){return{message:""}}function A(){return{version:"",blockVersion:BigInt(0),p2pVersion:BigInt(0),abciVersion:""}}function T(){return{time:l.Timestamp.fromPartial({}),chainId:"",consensusParams:void 0,validators:[],appStateBytes:new Uint8Array,initialHeight:BigInt(0)}}function I(){return{data:new Uint8Array,path:"",height:BigInt(0),prove:!1}}function V(){return{tx:new Uint8Array,type:0}}function U(){return{snapshot:void 0,appHash:new Uint8Array}}function J(){return{height:BigInt(0),format:0,chunk:0}}function w(){return{index:0,chunk:new Uint8Array,sender:""}}function H(){return{maxTxBytes:BigInt(0),txs:[],localLastCommit:t.ExtendedCommitInfo.fromPartial({}),misbehavior:[],height:BigInt(0),time:l.Timestamp.fromPartial({}),nextValidatorsHash:new Uint8Array,proposerAddress:new Uint8Array}}function q(){return{txs:[],proposedLastCommit:t.CommitInfo.fromPartial({}),misbehavior:[],hash:new Uint8Array,height:BigInt(0),time:l.Timestamp.fromPartial({}),nextValidatorsHash:new Uint8Array,proposerAddress:new Uint8Array}}function F(){return{hash:new Uint8Array,height:BigInt(0),time:l.Timestamp.fromPartial({}),txs:[],proposedLastCommit:t.CommitInfo.fromPartial({}),misbehavior:[],nextValidatorsHash:new Uint8Array,proposerAddress:new Uint8Array}}function L(){return{hash:new Uint8Array,validatorAddress:new Uint8Array,height:BigInt(0),voteExtension:new Uint8Array}}function W(){return{txs:[],decidedLastCommit:t.CommitInfo.fromPartial({}),misbehavior:[],hash:new Uint8Array,height:BigInt(0),time:l.Timestamp.fromPartial({}),nextValidatorsHash:new Uint8Array,proposerAddress:new Uint8Array}}function _(){return{exception:void 0,echo:void 0,flush:void 0,info:void 0,initChain:void 0,query:void 0,checkTx:void 0,commit:void 0,listSnapshots:void 0,offerSnapshot:void 0,loadSnapshotChunk:void 0,applySnapshotChunk:void 0,prepareProposal:void 0,processProposal:void 0,extendVote:void 0,verifyVoteExtension:void 0,finalizeBlock:void 0}}function K(){return{error:""}}function z(){return{message:""}}function D(){return{data:"",version:"",appVersion:BigInt(0),lastBlockHeight:BigInt(0),lastBlockAppHash:new Uint8Array}}function M(){return{consensusParams:void 0,validators:[],appHash:new Uint8Array}}function G(){return{code:0,log:"",info:"",index:BigInt(0),key:new Uint8Array,value:new Uint8Array,proofOps:void 0,height:BigInt(0),codespace:""}}function Z(){return{code:0,data:new Uint8Array,log:"",info:"",gasWanted:BigInt(0),gasUsed:BigInt(0),events:[],codespace:""}}function Q(){return{retainHeight:BigInt(0)}}function j(){return{snapshots:[]}}function Y(){return{result:0}}function X(){return{chunk:new Uint8Array}}function $(){return{result:0,refetchChunks:[],rejectSenders:[]}}function ee(){return{txs:[]}}function et(){return{status:0}}function eo(){return{voteExtension:new Uint8Array}}function ei(){return{status:0}}function es(){return{events:[],txResults:[],validatorUpdates:[],consensusParamUpdates:void 0,appHash:new Uint8Array}}function er(){return{round:0,votes:[]}}function en(){return{round:0,votes:[]}}function ea(){return{type:"",attributes:[]}}function ed(){return{key:"",value:"",index:!1}}function el(){return{code:0,data:new Uint8Array,log:"",info:"",gasWanted:BigInt(0),gasUsed:BigInt(0),events:[],codespace:""}}function ep(){return{height:BigInt(0),index:0,tx:new Uint8Array,result:t.ExecTxResult.fromPartial({})}}function eu(){return{address:new Uint8Array,power:BigInt(0)}}function eh(){return{pubKey:h.PublicKey.fromPartial({}),power:BigInt(0)}}function ec(){return{validator:t.Validator.fromPartial({}),blockIdFlag:0}}function em(){return{validator:t.Validator.fromPartial({}),voteExtension:new Uint8Array,extensionSignature:new Uint8Array,blockIdFlag:0}}function ef(){return{type:0,validator:t.Validator.fromPartial({}),height:BigInt(0),time:l.Timestamp.fromPartial({}),totalVotingPower:BigInt(0)}}function ev(){return{height:BigInt(0),format:0,chunks:0,hash:new Uint8Array,metadata:new Uint8Array}}t.protobufPackage="tendermint.abci",function(e){e[e.NEW=0]="NEW",e[e.RECHECK=1]="RECHECK",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(t.CheckTxType=i={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.ACCEPT=1]="ACCEPT",e[e.ABORT=2]="ABORT",e[e.REJECT=3]="REJECT",e[e.REJECT_FORMAT=4]="REJECT_FORMAT",e[e.REJECT_SENDER=5]="REJECT_SENDER",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(s||(t.ResponseOfferSnapshot_Result=s={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.ACCEPT=1]="ACCEPT",e[e.ABORT=2]="ABORT",e[e.RETRY=3]="RETRY",e[e.RETRY_SNAPSHOT=4]="RETRY_SNAPSHOT",e[e.REJECT_SNAPSHOT=5]="REJECT_SNAPSHOT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}
1(r||(t.ResponseApplySnapshotChunk_Result=r={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.ACCEPT=1]="ACCEPT",e[e.REJECT=2]="REJECT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(n||(t.ResponseProcessProposal_ProposalStatus=n={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.ACCEPT=1]="ACCEPT",e[e.REJECT=2]="REJECT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(a||(t.ResponseVerifyVoteExtension_VerifyStatus=a={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.DUPLICATE_VOTE=1]="DUPLICATE_VOTE",e[e.LIGHT_CLIENT_ATTACK=2]="LIGHT_CLIENT_ATTACK",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(d||(t.MisbehaviorType=d={})),t.Request={typeUrl:"/tendermint.abci.Request",encode:(e,o=m.BinaryWriter.create())=>(void 0!==e.echo&&t.RequestEcho.encode(e.echo,o.uint32(10).fork()).ldelim(),void 0!==e.flush&&t.RequestFlush.encode(e.flush,o.uint32(18).fork()).ldelim(),void 0!==e.info&&t.RequestInfo.encode(e.info,o.uint32(26).fork()).ldelim(),void 0!==e.initChain&&t.RequestInitChain.encode(e.initChain,o.uint32(42).fork()).ldelim(),void 0!==e.query&&t.RequestQuery.encode(e.query,o.uint32(50).fork()).ldelim(),void 0!==e.checkTx&&t.RequestCheckTx.encode(e.checkTx,o.uint32(66).fork()).ldelim(),void 0!==e.commit&&t.RequestCommit.encode(e.commit,o.uint32(90).fork()).ldelim(),void 0!==e.listSnapshots&&t.RequestListSnapshots.encode(e.listSnapshots,o.uint32(98).fork()).ldelim(),void 0!==e.offerSnapshot&&t.RequestOfferSnapshot.encode(e.offerSnapshot,o.uint32(106).fork()).ldelim(),void 0!==e.loadSnapshotChunk&&t.RequestLoadSnapshotChunk.encode(e.loadSnapshotChunk,o.uint32(114).fork()).ldelim(),void 0!==e.applySnapshotChunk&&t.RequestApplySnapshotChunk.encode(e.applySnapshotChunk,o.uint32(122).fork()).ldelim(),void 0!==e.prepareProposal&&t.RequestPrepareProposal.encode(e.prepareProposal,o.uint32(130).fork()).ldelim(),void 0!==e.processProposal&&t.RequestProcessProposal.encode(e.processProposal,o.uint32(138).fork()).ldelim(),void 0!==e.extendVote&&t.RequestExtendVote.encode(e.extendVote,o.uint32(146).fork()).ldelim(),void 0!==e.verifyVoteExtension&&t.RequestVerifyVoteExtension.encode(e.verifyVoteExtension,o.uint32(154).fork()).ldelim(),void 0!==e.finalizeBlock&&t.RequestFinalizeBlock.encode(e.finalizeBlock,o.uint32(162).fork()).ldelim(),o),decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=P();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.echo=t.RequestEcho.decode(i,i.uint32());break;case 2:r.flush=t.RequestFlush.decode(i,i.uint32());break;case 3:r.info=t.RequestInfo.decode(i,i.uint32());break;case 5:r.initChain=t.RequestInitChain.decode(i,i.uint32());break;case 6:r.query=t.RequestQuery.decode(i,i.uint32());break;case 8:r.checkTx=t.RequestCheckTx.decode(i,i.uint32());break;case 11:r.commit=t.RequestCommit.decode(i,i.uint32());break;case 12:r.listSnapshots=t.RequestListSnapshots.decode(i,i.uint32());break;case 13:r.offerSnapshot=t.RequestOfferSnapshot.decode(i,i.uint32());break;case 14:r.loadSnapshotChunk=t.RequestLoadSnapshotChunk.decode(i,i.uint32());break;case 15:r.applySnapshotChunk=t.RequestApplySnapshotChunk.decode(i,i.uint32());break;case 16:r.prepareProposal=t.RequestPrepareProposal.decode(i,i.uint32());break;case 17:r.processProposal=t.RequestProcessProposal.decode(i,i.uint32());break;case 18:r.extendVote=t.RequestExtendVote.decode(i,i.uint32());break;case 19:r.verifyVoteExtension=t.RequestVerifyVoteExtension.decode(i,i.uint32());break;case 20:r.finalizeBlock=t.RequestFinalizeBlock.decode(i,i.uint32());break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=P();return(0,f.isSet)(e.echo)&&(o.echo=t.RequestEcho.fromJSON(e.echo)),(0,f.isSet)(e.flush)&&(o.flush=t.RequestFlush.fromJSON(e.flush)),(0,f.isSet)(e.info)&&(o.info=t.RequestInfo.fromJSON(e.info)),(0,f.isSet)(e.initChain)&&(o.initChain=t.RequestInitChain.fromJSON(e.initChain)),(0,f.isSet)(e.query)&&(o.query=t.RequestQuery.fromJSON(e.query)),(0,f.isSet)(e.checkTx)&&(o.checkTx=t.RequestCheckTx.fromJSON(e.checkTx)),(0,f.isSet)(e.commit)&&(o.commit=t.RequestCommit.fromJSON(e.commit)),(0,f.isSet)(e.listSnapshots)&&(o.listSnapshots=t.RequestListSnapshots.fromJSON(e.listSnapshots)),(0,f.isSet)(e.offerSnapshot)&&(o.offerSnapshot=t.RequestOfferSnapshot.fromJSON(e.offerSnapshot)),(0,f.isSet)(e.loadSnapsh
1otChunk)&&(o.loadSnapshotChunk=t.RequestLoadSnapshotChunk.fromJSON(e.loadSnapshotChunk)),(0,f.isSet)(e.applySnapshotChunk)&&(o.applySnapshotChunk=t.RequestApplySnapshotChunk.fromJSON(e.applySnapshotChunk)),(0,f.isSet)(e.prepareProposal)&&(o.prepareProposal=t.RequestPrepareProposal.fromJSON(e.prepareProposal)),(0,f.isSet)(e.processProposal)&&(o.processProposal=t.RequestProcessProposal.fromJSON(e.processProposal)),(0,f.isSet)(e.extendVote)&&(o.extendVote=t.RequestExtendVote.fromJSON(e.extendVote)),(0,f.isSet)(e.verifyVoteExtension)&&(o.verifyVoteExtension=t.RequestVerifyVoteExtension.fromJSON(e.verifyVoteExtension)),(0,f.isSet)(e.finalizeBlock)&&(o.finalizeBlock=t.RequestFinalizeBlock.fromJSON(e.finalizeBlock)),o},toJSON(e){let o={};return void 0!==e.echo&&(o.echo=e.echo?t.RequestEcho.toJSON(e.echo):void 0),void 0!==e.flush&&(o.flush=e.flush?t.RequestFlush.toJSON(e.flush):void 0),void 0!==e.info&&(o.info=e.info?t.RequestInfo.toJSON(e.info):void 0),void 0!==e.initChain&&(o.initChain=e.initChain?t.RequestInitChain.toJSON(e.initChain):void 0),void 0!==e.query&&(o.query=e.query?t.RequestQuery.toJSON(e.query):void 0),void 0!==e.checkTx&&(o.checkTx=e.checkTx?t.RequestCheckTx.toJSON(e.checkTx):void 0),void 0!==e.commit&&(o.commit=e.commit?t.RequestCommit.toJSON(e.commit):void 0),void 0!==e.listSnapshots&&(o.listSnapshots=e.listSnapshots?t.RequestListSnapshots.toJSON(e.listSnapshots):void 0),void 0!==e.offerSnapshot&&(o.offerSnapshot=e.offerSnapshot?t.RequestOfferSnapshot.toJSON(e.offerSnapshot):void 0),void 0!==e.loadSnapshotChunk&&(o.loadSnapshotChunk=e.loadSnapshotChunk?t.RequestLoadSnapshotChunk.toJSON(e.loadSnapshotChunk):void 0),void 0!==e.applySnapshotChunk&&(o.applySnapshotChunk=e.applySnapshotChunk?t.RequestApplySnapshotChunk.toJSON(e.applySnapshotChunk):void 0),void 0!==e.prepareProposal&&(o.prepareProposal=e.prepareProposal?t.RequestPrepareProposal.toJSON(e.prepareProposal):void 0),void 0!==e.processProposal&&(o.processProposal=e.processProposal?t.RequestProcessProposal.toJSON(e.processProposal):void 0),void 0!==e.extendVote&&(o.extendVote=e.extendVote?t.RequestExtendVote.toJSON(e.extendVote):void 0),void 0!==e.verifyVoteExtension&&(o.verifyVoteExtension=e.verifyVoteExtension?t.RequestVerifyVoteExtension.toJSON(e.verifyVoteExtension):void 0),void 0!==e.finalizeBlock&&(o.finalizeBlock=e.finalizeBlock?t.RequestFinalizeBlock.toJSON(e.finalizeBlock):void 0),o},fromPartial(e){let o=P();return void 0!==e.echo&&null!==e.echo&&(o.echo=t.RequestEcho.fromPartial(e.echo)),void 0!==e.flush&&null!==e.flush&&(o.flush=t.RequestFlush.fromPartial(e.flush)),void 0!==e.info&&null!==e.info&&(o.info=t.RequestInfo.fromPartial(e.info)),void 0!==e.initChain&&null!==e.initChain&&(o.initChain=t.RequestInitChain.fromPartial(e.initChain)),void 0!==e.query&&null!==e.query&&(o.query=t.RequestQuery.fromPartial(e.query)),void 0!==e.checkTx&&null!==e.checkTx&&(o.checkTx=t.RequestCheckTx.fromPartial(e.checkTx)),void 0!==e.commit&&null!==e.commit&&(o.commit=t.RequestCommit.fromPartial(e.commit)),void 0!==e.listSnapshots&&null!==e.listSnapshots&&(o.listSnapshots=t.RequestListSnapshots.fromPartial(e.listSnapshots)),void 0!==e.offerSnapshot&&null!==e.offerSnapshot&&(o.offerSnapshot=t.RequestOfferSnapshot.fromPartial(e.offerSnapshot)),void 0!==e.loadSnapshotChunk&&null!==e.loadSnapshotChunk&&(o.loadSnapshotChunk=t.RequestLoadSnapshotChunk.fromPartial(e.loadSnapshotChunk)),void 0!==e.applySnapshotChunk&&null!==e.applySnapshotChunk&&(o.applySnapshotChunk=t.RequestApplySnapshotChunk.fromPartial(e.applySnapshotChunk)),void 0!==e.prepareProposal&&null!==e.prepareProposal&&(o.prepareProposal=t.RequestPrepareProposal.fromPartial(e.prepareProposal)),void 0!==e.processProposal&&null!==e.processProposal&&(o.processProposal=t.RequestProcessProposal.fromPartial(e.processProposal)),void 0!==e.extendVote&&null!==e.extendVote&&(o.extendVote=t.RequestExtendVote.fromPartial(e.extendVote)),void 0!==e.verifyVoteExtension&&null!==e.verifyVoteExtension&&(o.verifyVoteExtension=t.RequestVerifyVoteExtension.fromPartial(e.verifyVoteExtension)),void 0!==e.finalizeBlock&&null!==e.finalizeBlock&&(o.finalizeBlock=t.RequestFinalizeBlock.fromPartial(e.finalizeBlock)),o}},t.RequestEcho={typeUrl:"/tendermint.abci.RequestEcho",encode:(e,t=m.BinaryWriter.create())=>(""!==e.message&&t.uint32(10).string(e.message),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=O();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.message=o.string():o.skipType(7&e)}return s}
1,fromJSON(e){let t=O();return(0,f.isSet)(e.message)&&(t.message=String(e.message)),t},toJSON(e){let t={};return void 0!==e.message&&(t.message=e.message),t},fromPartial(e){let t=O();return t.message=e.message??"",t}},t.RequestFlush={typeUrl:"/tendermint.abci.RequestFlush",encode:(e,t=m.BinaryWriter.create())=>t,decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t;for(;o.pos<i;){let e=o.uint32();o.skipType(7&e)}return{}},fromJSON:e=>({}),toJSON:e=>({}),fromPartial:e=>({})},t.RequestInfo={typeUrl:"/tendermint.abci.RequestInfo",encode:(e,t=m.BinaryWriter.create())=>(""!==e.version&&t.uint32(10).string(e.version),e.blockVersion!==BigInt(0)&&t.uint32(16).uint64(e.blockVersion),e.p2pVersion!==BigInt(0)&&t.uint32(24).uint64(e.p2pVersion),""!==e.abciVersion&&t.uint32(34).string(e.abciVersion),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=A();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.version=o.string();break;case 2:s.blockVersion=o.uint64();break;case 3:s.p2pVersion=o.uint64();break;case 4:s.abciVersion=o.string();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=A();return(0,f.isSet)(e.version)&&(t.version=String(e.version)),(0,f.isSet)(e.blockVersion)&&(t.blockVersion=BigInt(e.blockVersion.toString())),(0,f.isSet)(e.p2pVersion)&&(t.p2pVersion=BigInt(e.p2pVersion.toString())),(0,f.isSet)(e.abciVersion)&&(t.abciVersion=String(e.abciVersion)),t},toJSON(e){let t={};return void 0!==e.version&&(t.version=e.version),void 0!==e.blockVersion&&(t.blockVersion=(e.blockVersion||BigInt(0)).toString()),void 0!==e.p2pVersion&&(t.p2pVersion=(e.p2pVersion||BigInt(0)).toString()),void 0!==e.abciVersion&&(t.abciVersion=e.abciVersion),t},fromPartial(e){let t=A();return t.version=e.version??"",void 0!==e.blockVersion&&null!==e.blockVersion&&(t.blockVersion=BigInt(e.blockVersion.toString())),void 0!==e.p2pVersion&&null!==e.p2pVersion&&(t.p2pVersion=BigInt(e.p2pVersion.toString())),t.abciVersion=e.abciVersion??"",t}},t.RequestInitChain={typeUrl:"/tendermint.abci.RequestInitChain",encode(e,o=m.BinaryWriter.create()){for(let i of(void 0!==e.time&&l.Timestamp.encode(e.time,o.uint32(10).fork()).ldelim(),""!==e.chainId&&o.uint32(18).string(e.chainId),void 0!==e.consensusParams&&p.ConsensusParams.encode(e.consensusParams,o.uint32(26).fork()).ldelim(),e.validators))t.ValidatorUpdate.encode(i,o.uint32(34).fork()).ldelim();return 0!==e.appStateBytes.length&&o.uint32(42).bytes(e.appStateBytes),e.initialHeight!==BigInt(0)&&o.uint32(48).int64(e.initialHeight),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=T();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.time=l.Timestamp.decode(i,i.uint32());break;case 2:r.chainId=i.string();break;case 3:r.consensusParams=p.ConsensusParams.decode(i,i.uint32());break;case 4:r.validators.push(t.ValidatorUpdate.decode(i,i.uint32()));break;case 5:r.appStateBytes=i.bytes();break;case 6:r.initialHeight=i.int64();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=T();return(0,f.isSet)(e.time)&&(o.time=(0,f.fromJsonTimestamp)(e.time)),(0,f.isSet)(e.chainId)&&(o.chainId=String(e.chainId)),(0,f.isSet)(e.consensusParams)&&(o.consensusParams=p.ConsensusParams.fromJSON(e.consensusParams)),Array.isArray(e?.validators)&&(o.validators=e.validators.map(e=>t.ValidatorUpdate.fromJSON(e))),(0,f.isSet)(e.appStateBytes)&&(o.appStateBytes=(0,f.bytesFromBase64)(e.appStateBytes)),(0,f.isSet)(e.initialHeight)&&(o.initialHeight=BigInt(e.initialHeight.toString())),o},toJSON(e){let o={};return void 0!==e.time&&(o.time=(0,f.fromTimestamp)(e.time).toISOString()),void 0!==e.chainId&&(o.chainId=e.chainId),void 0!==e.consensusParams&&(o.consensusParams=e.consensusParams?p.ConsensusParams.toJSON(e.consensusParams):void 0),e.validators?o.validators=e.validators.map(e=>e?t.ValidatorUpdate.toJSON(e):void 0):o.validators=[],void 0!==e.appStateBytes&&(o.appStateBytes=(0,f.base64FromBytes)(void 0!==e.appStateBytes?e.appStateBytes:new Uint8Array)),void 0!==e.initialHeight&&(o.initialHeight=(e.initialHeight||BigInt(0)).toString()),o},fromPartial(e){let o=T();return void 0!==e.time&&null!==e.time&&(o.time=l.Timestamp.fromPartial(e.time)),o.chainId=e.chainId??"",void 0!==e.consensusParams&&null!==e.consensusParams&&(o.consensusParams=p.ConsensusParams.fromPartial(e.consensusParams)),o.validators=e.validators?.map(e=>t.ValidatorUpdate.fromPartial(e))||[],o.appStateBytes=e.appStateBytes??new Uint8Array,void 0!==e.initialHeight&&null!==e.initialHeight&&(o.initialHeight=BigInt(e.initialHeight.toString())),o}},t.RequestQuery={typeUrl:"/tendermint.abci.RequestQuery",encode:(e,t=m.BinaryWriter.create())=>(0!==e.data.length&&t.uint32(10).bytes(e.data),""!==e.path&&t.uint32(18).string(e.path),e.height!==BigInt(0)&&t.uint32(24).int64(e.height),!0===e.prove&&t.uint32(32).bool(e.prove),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=I();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.data=o.bytes();break;case 2:s.path=o.string();break;case 3:s.height=o.int64();break;case 4:s.prove=o.bool();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=I();return(0,f.isSet)(e.data)&&(t.data=(0,f.bytesFromBase64)(e.data)),(0,f.isSet)(e.path)&&(t.path=String(e.path)),(0,f.isSet)(e.height)&&(t.height=BigInt(e.height.toString())),(0,f.isSet)(e.prove)&&(t.prove=!!e.prove),t},toJSON(e){let t={};return void 0!==e.data&&(t.data=(0,f.base64FromBytes)(void 0!==e.data?e.data:new Uint8Array)),void 0!==e.path&&(t.path=e.path),void 0!==e.height&&(t.height=(e.height||BigInt(0)).toString()),void 0!==e.prove&&(t.prove=e.prove),t},fromPartial(e){let t=I();return t.data=e.data??new Uint8Array,t.path=e.path??"",void 0!==e.height&&null!==e.height&&(t.height=BigInt(e.height.toString())),t.prove=e.prove??!1,t}},t.RequestCheckTx={typeUrl:"/tendermint.abci.RequestCheckTx",encode:(e,t=m.BinaryWriter.create())=>(0!==e.tx.length&&t.uint32(10).bytes(e.tx),0!==e.type&&t.uint32(16).int32(e.type),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=V();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.tx=o.bytes();break;case 2:s.type=o.int32();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=V();return(0,f.isSet)(e.tx)&&(t.tx=(0,f.bytesFromBase64)(e.tx)),(0,f.isSet)(e.type)&&(t.type=v(e.type)),t},toJSON(e){let t={};return void 0!==e.tx&&(t.tx=(0,f.base64FromBytes)(void 0!==e.tx?e.tx:new Uint8Array)),void 0!==e.type&&(t.type=y(e.type)),t},fromPartial(e){let t=V();return t.tx=e.tx??new Uint8Array,t.type=e.type??0,t}},t.RequestCommit={typeUrl:"/tendermint.abci.RequestCommit",encode:(e,t=m.BinaryWriter.create())=>t,decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t;for(;o.pos<i;){let e=o.uint32();o.skipType(7&e)}return{}},fromJSON:e=>({}),toJSON:e=>({}),fromPartial:e=>({})},t.RequestListSnapshots={typeUrl:"/tendermint.abci.RequestListSnapshots",encode:(e,t=m.BinaryWriter.create())=>t,decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t;for(;o.pos<i;){let e=o.uint32();o.skipType(7&e)}return{}},fromJSON:e=>({}),toJSON:e=>({}),fromPartial:e=>({})},t.RequestOfferSnapshot={typeUrl:"/tendermint.abci.RequestOfferSnapshot",encode:(e,o=m.BinaryWriter.create())=>(void 0!==e.snapshot&&t.Snapshot.encode(e.snapshot,o.uint32(10).fork()).ldelim(),0!==e.appHash.length&&o.uint32(18).bytes(e.appHash),o),decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=U();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.snapshot=t.Snapshot.decode(i,i.uint32());break;case 2:r.appHash=i.bytes();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=U();return(0,f.isSet)(e.snapshot)&&(o.snapshot=t.Snapshot.fromJSON(e.snapshot)),(0,f.isSet)(e.appHash)&&(o.appHash=(0,f.bytesFromBase64)(e.appHash)),o},toJSON(e){let o={};return void 0!==e.snapshot&&(o.snapshot=e.snapshot?t.Snapshot.toJSON(e.snapshot):void 0),void 0!==e.appHash&&(o.appHash=(0,f.base64FromBytes)(void 0!==e.appHash?e.appHash:new Uint8Array)),o},fromPartial(e){let o=U();return void 0!==e.snapshot&&null!==e.snapshot&&(o.snapshot=t.Snapshot.fromPartial(e.snapshot)),o.appHash=e.appHash??new Uint8Array,o}}
1,t.RequestLoadSnapshotChunk={typeUrl:"/tendermint.abci.RequestLoadSnapshotChunk",encode:(e,t=m.BinaryWriter.create())=>(e.height!==BigInt(0)&&t.uint32(8).uint64(e.height),0!==e.format&&t.uint32(16).uint32(e.format),0!==e.chunk&&t.uint32(24).uint32(e.chunk),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=J();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.height=o.uint64();break;case 2:s.format=o.uint32();break;case 3:s.chunk=o.uint32();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=J();return(0,f.isSet)(e.height)&&(t.height=BigInt(e.height.toString())),(0,f.isSet)(e.format)&&(t.format=Number(e.format)),(0,f.isSet)(e.chunk)&&(t.chunk=Number(e.chunk)),t},toJSON(e){let t={};return void 0!==e.height&&(t.height=(e.height||BigInt(0)).toString()),void 0!==e.format&&(t.format=Math.round(e.format)),void 0!==e.chunk&&(t.chunk=Math.round(e.chunk)),t},fromPartial(e){let t=J();return void 0!==e.height&&null!==e.height&&(t.height=BigInt(e.height.toString())),t.format=e.format??0,t.chunk=e.chunk??0,t}},t.RequestApplySnapshotChunk={typeUrl:"/tendermint.abci.RequestApplySnapshotChunk",encode:(e,t=m.BinaryWriter.create())=>(0!==e.index&&t.uint32(8).uint32(e.index),0!==e.chunk.length&&t.uint32(18).bytes(e.chunk),""!==e.sender&&t.uint32(26).string(e.sender),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=w();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.index=o.uint32();break;case 2:s.chunk=o.bytes();break;case 3:s.sender=o.string();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=w();return(0,f.isSet)(e.index)&&(t.index=Number(e.index)),(0,f.isSet)(e.chunk)&&(t.chunk=(0,f.bytesFromBase64)(e.chunk)),(0,f.isSet)(e.sender)&&(t.sender=String(e.sender)),t},toJSON(e){let t={};return void 0!==e.index&&(t.index=Math.round(e.index)),void 0!==e.chunk&&(t.chunk=(0,f.base64FromBytes)(void 0!==e.chunk?e.chunk:new Uint8Array)),void 0!==e.sender&&(t.sender=e.sender),t},fromPartial(e){let t=w();return t.index=e.index??0,t.chunk=e.chunk??new Uint8Array,t.sender=e.sender??"",t}},t.RequestPrepareProposal={typeUrl:"/tendermint.abci.RequestPrepareProposal",encode(e,o=m.BinaryWriter.create()){for(let t of(e.maxTxBytes!==BigInt(0)&&o.uint32(8).int64(e.maxTxBytes),e.txs))o.uint32(18).bytes(t);for(let i of(void 0!==e.localLastCommit&&t.ExtendedCommitInfo.encode(e.localLastCommit,o.uint32(26).fork()).ldelim(),e.misbehavior))t.Misbehavior.encode(i,o.uint32(34).fork()).ldelim();return e.height!==BigInt(0)&&o.uint32(40).int64(e.height),void 0!==e.time&&l.Timestamp.encode(e.time,o.uint32(50).fork()).ldelim(),0!==e.nextValidatorsHash.length&&o.uint32(58).bytes(e.nextValidatorsHash),0!==e.proposerAddress.length&&o.uint32(66).bytes(e.proposerAddress),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=H();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.maxTxBytes=i.int64();break;case 2:r.txs.push(i.bytes());break;case 3:r.localLastCommit=t.ExtendedCommitInfo.decode(i,i.uint32());break;case 4:r.misbehavior.push(t.Misbehavior.decode(i,i.uint32()));break;case 5:r.height=i.int64();break;case 6:r.time=l.Timestamp.decode(i,i.uint32());break;case 7:r.nextValidatorsHash=i.bytes();break;case 8:r.proposerAddress=i.bytes();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=H();return(0,f.isSet)(e.maxTxBytes)&&(o.maxTxBytes=BigInt(e.maxTxBytes.toString())),Array.isArray(e?.txs)&&(o.txs=e.txs.map(e=>(0,f.bytesFromBase64)(e))),(0,f.isSet)(e.localLastCommit)&&(o.localLastCommit=t.ExtendedCommitInfo.fromJSON(e.localLastCommit)),Array.isArray(e?.misbehavior)&&(o.misbehavior=e.misbehavior.map(e=>t.Misbehavior.fromJSON(e))),(0,f.isSet)(e.height)&&(o.height=BigInt(e.height.toString())),(0,f.isSet)(e.time)&&(o.time=(0,f.fromJsonTimestamp)(e.time)),(0,f.isSet)(e.nextValidatorsHash)&&(o.nextValidatorsHash=(0,f.bytesFromBase64)(e.nextValidatorsHash)),(0,f.isSet)(e.proposerAddress)&&(o.proposerAddress=(0,f.bytesFromBase64)(e.proposerAddress)),o},toJSON(e){let o={};return void 0!==e.maxTxBytes&&(o.maxTxBytes=(e.maxTxBytes||BigInt(0)).toString()),e.txs?o.txs=e.txs.map(e=>(0,f.base64FromBytes)(void 0!==e?e:new Uint8Array)):o.txs=[],void 0!==e.localLastCommit&&(o.localLastCommit=e.localLastCommit?t.ExtendedCommitInfo.toJSON(e.localLastCommit):void 0),e.misbehavior?o.misbehavior=e.misbehavior.map(e=>e?t.Misbehavior.toJSON(e):void 0):o.misbehavior=[],void 0!==e.height&&(o.height=(e.height||BigInt(0)).toString()),void 0!==e.time&&(o.time=(0,f.fromTimestamp)(e.time).toISOString()),void 0!==e.nextValidatorsHash&&(o.nextValidatorsHash=(0,f.base64FromBytes)(void 0!==e.nextValidatorsHash?e.nextValidatorsHash:new Uint8Array)),void 0!==e.proposerAddress&&(o.proposerAddress=(0,f.base64FromBytes)(void 0!==e.proposerAddress?e.proposerAddress:new Uint8Array)),o},fromPartial(e){let o=H();return void 0!==e.maxTxBytes&&null!==e.maxTxBytes&&(o.maxTxBytes=BigInt(e.maxTxBytes.toString())),o.txs=e.txs?.map(e=>e)||[],void 0!==e.localLastCommit&&null!==e.localLastCommit&&(o.localLastCommit=t.ExtendedCommitInfo.fromPartial(e.localLastCommit)),o.misbehavior=e.misbehavior?.map(e=>t.Misbehavior.fromPartial(e))||[],void 0!==e.height&&null!==e.height&&(o.height=BigInt(e.height.toString())),void 0!==e.time&&null!==e.time&&(o.time=l.Timestamp.fromPartial(e.time)),o.nextValidatorsHash=e.nextValidatorsHash??new Uint8Array,o.proposerAddress=e.proposerAddress??new Uint8Array,o}},t.RequestProcessProposal={typeUrl:"/tendermint.abci.RequestProcessProposal",encode(e,o=m.BinaryWriter.create()){for(let t of e.txs)o.uint32(10).bytes(t);for(let i of(void 0!==e.proposedLastCommit&&t.CommitInfo.encode(e.proposedLastCommit,o.uint32(18).fork()).ldelim(),e.misbehavior))t.Misbehavior.encode(i,o.uint32(26).fork()).ldelim();return 0!==e.hash.length&&o.uint32(34).bytes(e.hash),e.height!==BigInt(0)&&o.uint32(40).int64(e.height),void 0!==e.time&&l.Timestamp.encode(e.time,o.uint32(50).fork()).ldelim(),0!==e.nextValidatorsHash.length&&o.uint32(58).bytes(e.nextValidatorsHash
1),0!==e.proposerAddress.length&&o.uint32(66).bytes(e.proposerAddress),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=q();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.txs.push(i.bytes());break;case 2:r.proposedLastCommit=t.CommitInfo.decode(i,i.uint32());break;case 3:r.misbehavior.push(t.Misbehavior.decode(i,i.uint32()));break;case 4:r.hash=i.bytes();break;case 5:r.height=i.int64();break;case 6:r.time=l.Timestamp.decode(i,i.uint32());break;case 7:r.nextValidatorsHash=i.bytes();break;case 8:r.proposerAddress=i.bytes();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=q();return Array.isArray(e?.txs)&&(o.txs=e.txs.map(e=>(0,f.bytesFromBase64)(e))),(0,f.isSet)(e.proposedLastCommit)&&(o.proposedLastCommit=t.CommitInfo.fromJSON(e.proposedLastCommit)),Array.isArray(e?.misbehavior)&&(o.misbehavior=e.misbehavior.map(e=>t.Misbehavior.fromJSON(e))),(0,f.isSet)(e.hash)&&(o.hash=(0,f.bytesFromBase64)(e.hash)),(0,f.isSet)(e.height)&&(o.height=BigInt(e.height.toString())),(0,f.isSet)(e.time)&&(o.time=(0,f.fromJsonTimestamp)(e.time)),(0,f.isSet)(e.nextValidatorsHash)&&(o.nextValidatorsHash=(0,f.bytesFromBase64)(e.nextValidatorsHash)),(0,f.isSet)(e.proposerAddress)&&(o.proposerAddress=(0,f.bytesFromBase64)(e.proposerAddress)),o},toJSON(e){let o={};return e.txs?o.txs=e.txs.map(e=>(0,f.base64FromBytes)(void 0!==e?e:new Uint8Array)):o.txs=[],void 0!==e.proposedLastCommit&&(o.proposedLastCommit=e.proposedLastCommit?t.CommitInfo.toJSON(e.proposedLastCommit):void 0),e.misbehavior?o.misbehavior=e.misbehavior.map(e=>e?t.Misbehavior.toJSON(e):void 0):o.misbehavior=[],void 0!==e.hash&&(o.hash=(0,f.base64FromBytes)(void 0!==e.hash?e.hash:new Uint8Array)),void 0!==e.height&&(o.height=(e.height||BigInt(0)).toString()),void 0!==e.time&&(o.time=(0,f.fromTimestamp)(e.time).toISOString()),void 0!==e.nextValidatorsHash&&(o.nextValidatorsHash=(0,f.base64FromBytes)(void 0!==e.nextValidatorsHash?e.nextValidatorsHash:new Uint8Array)),void 0!==e.proposerAddress&&(o.proposerAddress=(0,f.base64FromBytes)(void 0!==e.proposerAddress?e.proposerAddress:new Uint8Array)),o},fromPartial(e){let o=q();return o.txs=e.txs?.map(e=>e)||[],void 0!==e.proposedLastCommit&&null!==e.proposedLastCommit&&(o.proposedLastCommit=t.CommitInfo.fromPartial(e.proposedLastCommit)),o.misbehavior=e.misbehavior?.map(e=>t.Misbehavior.fromPartial(e))||[],o.hash=e.hash??new Uint8Array,void 0!==e.height&&null!==e.height&&(o.height=BigInt(e.height.toString())),void 0!==e.time&&null!==e.time&&(o.time=l.Timestamp.fromPartial(e.time)),o.nextValidatorsHash=e.nextValidatorsHash??new Uint8Array,o.proposerAddress=e.proposerAddress??new Uint8Array,o}},t.RequestExtendVote={typeUrl:"/tendermint.abci.RequestExtendVote",encode(e,o=m.BinaryWriter.create()){for(let t of(0!==e.hash.length&&o.uint32(10).bytes(e.hash),e.height!==BigInt(0)&&o.uint32(16).int64(e.height),void 0!==e.time&&l.Timestamp.encode(e.time,o.uint32(26).fork()).ldelim(),e.txs))o.uint32(34).bytes(t);for(let i of(void 0!==e.proposedLastCommit&&t.CommitInfo.encode(e.proposedLastCommit,o.uint32(42).fork()).ldelim(),e.misbehavior))t.Misbehavior.encode(i,o.uint32(50).fork()).ldelim();return 0!==e.nextValidatorsHash.length&&o.uint32(58).bytes(e.nextValidatorsHash),0!==e.proposerAddress.length&&o.uint32(66).bytes(e.proposerAddress),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=F();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.hash=i.bytes();break;case 2:r.height=i.int64();break;case 3:r.time=l.Timestamp.decode(i,i.uint32());break;case 4:r.txs.push(i.bytes());break;case 5:r.proposedLastCommit=t.CommitInfo.decode(i,i.uint32());break;case 6:r.misbehavior.push(t.Misbehavior.decode(i,i.uint32()));break;case 7:r.nextValidatorsHash=i.bytes();break;case 8:r.proposerAddress=i.bytes();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=F();return(0,f.isSet)(e.hash)&&(o.hash=(0,f.bytesFromBase64)(e.hash)),(0,f.isSet)(e.height)&&(o.height=BigInt(e.height.toString())),(0,f.isSet)(e.time)&&(o.time=(0,f.fromJsonTimestamp)(e.time)),Array.isArray(e?.txs)&&(o.txs=e.txs.map(e=>(0,f.bytesFromBase64)(e))),(0,f.isSet)(e.proposedLastCommit)&&(o.proposedLastCommit=t.CommitInfo.fromJSON(e.proposedLastCommit)),Array.isArray(e?.misbehavior)&&(o.misbehavior=e.misbehavior.map(e=>
1t.Misbehavior.fromJSON(e))),(0,f.isSet)(e.nextValidatorsHash)&&(o.nextValidatorsHash=(0,f.bytesFromBase64)(e.nextValidatorsHash)),(0,f.isSet)(e.proposerAddress)&&(o.proposerAddress=(0,f.bytesFromBase64)(e.proposerAddress)),o},toJSON(e){let o={};return void 0!==e.hash&&(o.hash=(0,f.base64FromBytes)(void 0!==e.hash?e.hash:new Uint8Array)),void 0!==e.height&&(o.height=(e.height||BigInt(0)).toString()),void 0!==e.time&&(o.time=(0,f.fromTimestamp)(e.time).toISOString()),e.txs?o.txs=e.txs.map(e=>(0,f.base64FromBytes)(void 0!==e?e:new Uint8Array)):o.txs=[],void 0!==e.proposedLastCommit&&(o.proposedLastCommit=e.proposedLastCommit?t.CommitInfo.toJSON(e.proposedLastCommit):void 0),e.misbehavior?o.misbehavior=e.misbehavior.map(e=>e?t.Misbehavior.toJSON(e):void 0):o.misbehavior=[],void 0!==e.nextValidatorsHash&&(o.nextValidatorsHash=(0,f.base64FromBytes)(void 0!==e.nextValidatorsHash?e.nextValidatorsHash:new Uint8Array)),void 0!==e.proposerAddress&&(o.proposerAddress=(0,f.base64FromBytes)(void 0!==e.proposerAddress?e.proposerAddress:new Uint8Array)),o},fromPartial(e){let o=F();return o.hash=e.hash??new Uint8Array,void 0!==e.height&&null!==e.height&&(o.height=BigInt(e.height.toString())),void 0!==e.time&&null!==e.time&&(o.time=l.Timestamp.fromPartial(e.time)),o.txs=e.txs?.map(e=>e)||[],void 0!==e.proposedLastCommit&&null!==e.proposedLastCommit&&(o.proposedLastCommit=t.CommitInfo.fromPartial(e.proposedLastCommit)),o.misbehavior=e.misbehavior?.map(e=>t.Misbehavior.fromPartial(e))||[],o.nextValidatorsHash=e.nextValidatorsHash??new Uint8Array,o.proposerAddress=e.proposerAddress??new Uint8Array,o}},t.RequestVerifyVoteExtension={typeUrl:"/tendermint.abci.RequestVerifyVoteExtension",encode:(e,t=m.BinaryWriter.create())=>(0!==e.hash.length&&t.uint32(10).bytes(e.hash),0!==e.validatorAddress.length&&t.uint32(18).bytes(e.validatorAddress),e.height!==BigInt(0)&&t.uint32(24).int64(e.height),0!==e.voteExtension.length&&t.uint32(34).bytes(e.voteExtension),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=L();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.hash=o.bytes();break;case 2:s.validatorAddress=o.bytes();break;case 3:s.height=o.int64();break;case 4:s.voteExtension=o.bytes();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=L();return(0,f.isSet)(e.hash)&&(t.hash=(0,f.bytesFromBase64)(e.hash)),(0,f.isSet)(e.validatorAddress)&&(t.validatorAddress=(0,f.bytesFromBase64)(e.validatorAddress)),(0,f.isSet)(e.height)&&(t.height=BigInt(e.height.toString())),(0,f.isSet)(e.voteExtension)&&(t.voteExtension=(0,f.bytesFromBase64)(e.voteExtension)),t},toJSON(e){let t={};return void 0!==e.hash&&(t.hash=(0,f.base64FromBytes)(void 0!==e.hash?e.hash:new Uint8Array)),void 0!==e.validatorAddress&&(t.validatorAddress=(0,f.base64FromBytes)(void 0!==e.validatorAddress?e.validatorAddress:new Uint8Array)),void 0!==e.height&&(t.height=(e.height||BigInt(0)).toString()),void 0!==e.voteExtension&&(t.voteExtension=(0,f.base64FromBytes)(void 0!==e.voteExtension?e.voteExtension:new Uint8Array)),t},fromPartial(e){let t=L();return t.hash=e.hash??new Uint8Array,t.validatorAddress=e.validatorAddress??new Uint8Array,void 0!==e.height&&null!==e.height&&(t.height=BigInt(e.height.toString())),t.voteExtension=e.voteExtension??new Uint8Array,t}},t.RequestFinalizeBlock={typeUrl:"/tendermint.abci.RequestFinalizeBlock",encode(e,o=m.BinaryWriter.create()){for(let t of e.txs)o.uint32(10).bytes(t);for(let i of(void 0!==e.decidedLastCommit&&t.CommitInfo.encode(e.decidedLastCommit,o.uint32(18).fork()).ldelim(),e.misbehavior))t.Misbehavior.encode(i,o.uint32(26).fork()).ldelim();return 0!==e.hash.length&&o.uint32(34).bytes(e.hash),e.height!==BigInt(0)&&o.uint32(40).int64(e.height),void 0!==e.time&&l.Timestamp.encode(e.time,o.uint32(50).fork()).ldelim(),0!==e.nextValidatorsHash.length&&o.uint32(58).bytes(e.nextValidatorsHash),0!==e.proposerAddress.length&&o.uint32(66).bytes(e.proposerAddress),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=W();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.txs.push(i.bytes());break;case 2:r.decidedLastCommit=t.CommitInfo.decode(i,i.uint32());break;case 3:r.misbehavior.push(t.Misbehavior.decode(i,i.uint32()));break;case 4:r.hash=i.bytes();break;case 5:r.height=i.int64();break;case 6:r.time=l.Timestamp.decode(i,i.uint32());break;case 7:r.nextValidatorsHash=i.bytes();break;case 8:r.proposerAddress=i.bytes();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=W();return Array.isArray(e?.txs)&&(o.txs=e.txs.map(e=>(0,f.bytesFromBase64)(e))),(0,f.isSet)(e.decidedLastCommit)&&(o.decidedLastCommit=t.CommitInfo.fromJSON(e.decidedLastCommit)),Array.isArray(e?.misbehavior)&&(o.misbehavior=e.misbehavior.map(e=>t.Misbehavior.fromJSON(e))),(0,f.isSet)(e.hash)&&(o.hash=(0,f.bytesFromBase64)(e.hash)),(0,f.isSet)(e.height)&&(o.height=BigInt(e.height.toString())),(0,f.isSet)(e.time)&&(o.time=(0,f.fromJsonTimestamp)(e.time)),(0,f.isSet)(e.nextValidatorsHash
1)&&(o.nextValidatorsHash=(0,f.bytesFromBase64)(e.nextValidatorsHash)),(0,f.isSet)(e.proposerAddress)&&(o.proposerAddress=(0,f.bytesFromBase64)(e.proposerAddress)),o},toJSON(e){let o={};return e.txs?o.txs=e.txs.map(e=>(0,f.base64FromBytes)(void 0!==e?e:new Uint8Array)):o.txs=[],void 0!==e.decidedLastCommit&&(o.decidedLastCommit=e.decidedLastCommit?t.CommitInfo.toJSON(e.decidedLastCommit):void 0),e.misbehavior?o.misbehavior=e.misbehavior.map(e=>e?t.Misbehavior.toJSON(e):void 0):o.misbehavior=[],void 0!==e.hash&&(o.hash=(0,f.base64FromBytes)(void 0!==e.hash?e.hash:new Uint8Array)),void 0!==e.height&&(o.height=(e.height||BigInt(0)).toString()),void 0!==e.time&&(o.time=(0,f.fromTimestamp)(e.time).toISOString()),void 0!==e.nextValidatorsHash&&(o.nextValidatorsHash=(0,f.base64FromBytes)(void 0!==e.nextValidatorsHash?e.nextValidatorsHash:new Uint8Array)),void 0!==e.proposerAddress&&(o.proposerAddress=(0,f.base64FromBytes)(void 0!==e.proposerAddress?e.proposerAddress:new Uint8Array)),o},fromPartial(e){let o=W();return o.txs=e.txs?.map(e=>e)||[],void 0!==e.decidedLastCommit&&null!==e.decidedLastCommit&&(o.decidedLastCommit=t.CommitInfo.fromPartial(e.decidedLastCommit)),o.misbehavior=e.misbehavior?.map(e=>t.Misbehavior.fromPartial(e))||[],o.hash=e.hash??new Uint8Array,void 0!==e.height&&null!==e.height&&(o.height=BigInt(e.height.toString())),void 0!==e.time&&null!==e.time&&(o.time=l.Timestamp.fromPartial(e.time)),o.nextValidatorsHash=e.nextValidatorsHash??new Uint8Array,o.proposerAddress=e.proposerAddress??new Uint8Array,o}},t.Response={typeUrl:"/tendermint.abci.Response",encode:(e,o=m.BinaryWriter.create())=>(void 0!==e.exception&&t.ResponseException.encode(e.exception,o.uint32(10).fork()).ldelim(),void 0!==e.echo&&t.ResponseEcho.encode(e.echo,o.uint32(18).fork()).ldelim(),void 0!==e.flush&&t.ResponseFlush.encode(e.flush,o.uint32(26).fork()).ldelim(),void 0!==e.info&&t.ResponseInfo.encode(e.info,o.uint32(34).fork()).ldelim(),void 0!==e.initChain&&t.ResponseInitChain.encode(e.initChain,o.uint32(50).fork()).ldelim(),void 0!==e.query&&t.ResponseQuery.encode(e.query,o.uint32(58).fork()).ldelim(),void 0!==e.checkTx&&t.ResponseCheckTx.encode(e.checkTx,o.uint32(74).fork()).ldelim(),void 0!==e.commit&&t.ResponseCommit.encode(e.commit,o.uint32(98).fork()).ldelim(),void 0!==e.listSnapshots&&t.ResponseListSnapshots.encode(e.listSnapshots,o.uint32(106).fork()).ldelim(),void 0!==e.offerSnapshot&&t.ResponseOfferSnapshot.encode(e.offerSnapshot,o.uint32(114).fork()).ldelim(),void 0!==e.loadSnapshotChunk&&t.ResponseLoadSnapsh
1otChunk.encode(e.loadSnapshotChunk,o.uint32(122).fork()).ldelim(),void 0!==e.applySnapshotChunk&&t.ResponseApplySnapshotChunk.encode(e.applySnapshotChunk,o.uint32(130).fork()).ldelim(),void 0!==e.prepareProposal&&t.ResponsePrepareProposal.encode(e.prepareProposal,o.uint32(138).fork()).ldelim(),void 0!==e.processProposal&&t.ResponseProcessProposal.encode(e.processProposal,o.uint32(146).fork()).ldelim(),void 0!==e.extendVote&&t.ResponseExtendVote.encode(e.extendVote,o.uint32(154).fork()).ldelim(),void 0!==e.verifyVoteExtension&&t.ResponseVerifyVoteExtension.encode(e.verifyVoteExtension,o.uint32(162).fork()).ldelim(),void 0!==e.finalizeBlock&&t.ResponseFinalizeBlock.encode(e.finalizeBlock,o.uint32(170).fork()).ldelim(),o),decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=_();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.exception=t.ResponseException.decode(i,i.uint32());break;case 2:r.echo=t.ResponseEcho.decode(i,i.uint32());break;case 3:r.flush=t.ResponseFlush.decode(i,i.uint32());break;case 4:r.info=t.ResponseInfo.decode(i,i.uint32());break;case 6:r.initChain=t.ResponseInitChain.decode(i,i.uint32());break;case 7:r.query=t.ResponseQuery.decode(i,i.uint32());break;case 9:r.checkTx=t.ResponseCheckTx.decode(i,i.uint32());break;case 12:r.commit=t.ResponseCommit.decode(i,i.uint32());break;case 13:r.listSnapshots=t.ResponseListSnapshots.decode(i,i.uint32());break;case 14:r.offerSnapshot=t.ResponseOfferSnapshot.decode(i,i.uint32());break;
1case 15:r.loadSnapshotChunk=t.ResponseLoadSnapshotChunk.decode(i,i.uint32());break;case 16:r.applySnapshotChunk=t.ResponseApplySnapshotChunk.decode(i,i.uint32());break;case 17:r.prepareProposal=t.ResponsePrepareProposal.decode(i,i.uint32());break;case 18:r.processProposal=t.ResponseProcessProposal.decode(i,i.uint32());break;case 19:r.extendVote=t.ResponseExtendVote.decode(i,i.uint32());break;case 20:r.verifyVoteExtension=t.ResponseVerifyVoteExtension.decode(i,i.uint32());break;case 21:r.finalizeBlock=t.ResponseFinalizeBlock.decode(i,i.uint32());break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=_();return(0,f.isSet)(e.exception)&&(o.exception=t.ResponseException.fromJSON(e.exception)),(0,f.isSet)(e.echo)&&(o.echo=t.ResponseEcho.fromJSON(e.echo)),(0,f.isSet)(e.flush)&&(o.flush=t.ResponseFlush.fromJSON(e.flush)),(0,f.isSet)(e.info)&&(o.info=t.ResponseInfo.fromJSON(e.info)),(0,f.isSet)(e.initChain)&&(o.initChain=t.ResponseInitChain.fromJSON(e.initChain)),(0,f.isSet)(e.query)&&(o.query=t.ResponseQuery.fromJSON(e.query)),(0,f.isSet)(e.checkTx)&&(o.checkTx=t.ResponseCheckTx.fromJSON(e.checkTx)),(0,f.isSet)(e.commit)&&(o.commit=t.ResponseCommit.fromJSON(e.commit)),(0,f.isSet)(e.listSnapshots)&&(o.listSnapshots=t.ResponseListSnapshots.fromJSON(e.listSnapshots)),(0,f.isSet)(e.offerSnapshot)&&(o.offerSnapshot=t.ResponseOfferSnapshot.fromJSON(e.offerSnapshot)),(0,f.isSet)(e.loadSnapshotChunk)&&(o.loadSnapshotChunk=t.ResponseLoadSnapsh
1otChunk.fromJSON(e.loadSnapshotChunk)),(0,f.isSet)(e.applySnapshotChunk)&&(o.applySnapshotChunk=t.ResponseApplySnapshotChunk.fromJSON(e.applySnapshotChunk)),(0,f.isSet)(e.prepareProposal)&&(o.prepareProposal=t.ResponsePrepareProposal.fromJSON(e.prepareProposal)),(0,f.isSet)(e.processProposal)&&(o.processProposal=t.ResponseProcessProposal.fromJSON(e.processProposal)),(0,f.isSet)(e.extendVote)&&(o.extendVote=t.ResponseExtendVote.fromJSON(e.extendVote)),(0,f.isSet)(e.verifyVoteExtension)&&(o.verifyVoteExtension=t.ResponseVerifyVoteExtension.fromJSON(e.verifyVoteExtension)),(0,f.isSet)(e.finalizeBlock)&&(o.finalizeBlock=t.ResponseFinalizeBlock.fromJSON(e.finalizeBlock)),o},toJSON(e){let o={};return void 0!==e.exception&&(o.exception=e.exception?t.ResponseException.toJSON(e.exception):void 0),void 0!==e.echo&&(o.echo=e.echo?t.ResponseEcho.toJSON(e.echo):void 0),void 0!==e.flush&&(o.flush=e.flush?t.ResponseFlush.toJSON(e.flush):void 0),void 0!==e.info&&(o.info=e.info?t.ResponseInfo.toJSON(e.info):void 0),void 0!==e.initChain&&(o.initChain=e.initChain?t.ResponseInitChain.toJSON(e.initChain):void 0),void 0!==e.query&&(o.query=e.query?t.ResponseQuery.toJSON(e.query):void 0),void 0!==e.checkTx&&(o.checkTx=e.checkTx?t.ResponseCheckTx.toJSON(e.checkTx):void 0),void 0!==e.commit&&(o.commit=e.commit?t.ResponseCommit.toJSON(e.commit):void 0),void 0!==e.listSnapshots&&(o.listSnapshots=e.listSnapshots?t.ResponseListSnapshots.toJSON(e.listSnapshots):void 0),void 0!==e.offerSnapshot&&(o.offerSnapshot=e.offerSnapshot?t.ResponseOfferSnapshot.toJSON(e.offerSnapshot):void 0),void 0!==e.loadSnapshotChunk&&(o.loadSnapshotChunk=e.loadSnapshotChunk?t.ResponseLoadSnapsh
1otChunk.toJSON(e.loadSnapshotChunk):void 0),void 0!==e.applySnapshotChunk&&(o.applySnapshotChunk=e.applySnapshotChunk?t.ResponseApplySnapshotChunk.toJSON(e.applySnapshotChunk):void 0),void 0!==e.prepareProposal&&(o.prepareProposal=e.prepareProposal?t.ResponsePrepareProposal.toJSON(e.prepareProposal):void 0),void 0!==e.processProposal&&(o.processProposal=e.processProposal?t.ResponseProcessProposal.toJSON(e.processProposal):void 0),void 0!==e.extendVote&&(o.extendVote=e.extendVote?t.ResponseExtendVote.toJSON(e.extendVote):void 0),void 0!==e.verifyVoteExtension&&(o.verifyVoteExtension=e.verifyVoteExtension?t.ResponseVerifyVoteExtension.toJSON(e.verifyVoteExtension):void 0),void 0!==e.finalizeBlock&&(o.finalizeBlock=e.finalizeBlock?t.ResponseFinalizeBlock.toJSON(e.finalizeBlock):void 0),o},fromPartial(e){let o=_();return void 0!==e.exception&&null!==e.exception&&(o.exception=t.ResponseException.fromPartial(e.exception)),void 0!==e.echo&&null!==e.echo&&(o.echo=t.ResponseEcho.fromPartial(e.echo)),void 0!==e.flush&&null!==e.flush&&(o.flush=t.ResponseFlush.fromPartial(e.flush)),void 0!==e.info&&null!==e.info&&(o.info=t.ResponseInfo.fromPartial(e.info)),void 0!==e.initChain&&null!==e.initChain&&(o.initChain=t.ResponseInitChain.fromPartial(e.initChain)),void 0!==e.query&&null!==e.query&&(o.query=t.ResponseQuery.fromPartial(e.query)),void 0!==e.checkTx&&null!==e.checkTx&&(o.checkTx=t.ResponseCheckTx.fromPartial(e.checkTx)),void 0!==e.commit&&null!==e.commit&&(o.commit=t.ResponseCommit.fromPartial(e.commit)),void 0!==e.listSnapshots&&null!==e.listSnapshots&&(o.listSnapshots=t.ResponseListSnapshots.fromPartial(e.listSnapshots)),void 0!==e.offerSnapshot&&null!==e.offerSnapshot&&(o.offerSnapshot=t.ResponseOfferSnapshot.fromPartial(e.offerSnapshot)),void 0!==e.loadSnapshotChunk&&null!==e.loadSnapshotChunk&&(o.loadSnapshotChunk=t.ResponseLoadSnapsh
1otChunk.fromPartial(e.loadSnapshotChunk)),void 0!==e.applySnapshotChunk&&null!==e.applySnapshotChunk&&(o.applySnapshotChunk=t.ResponseApplySnapshotChunk.fromPartial(e.applySnapshotChunk)),void 0!==e.prepareProposal&&null!==e.prepareProposal&&(o.prepareProposal=t.ResponsePrepareProposal.fromPartial(e.prepareProposal)),void 0!==e.processProposal&&null!==e.processProposal&&(o.processProposal=t.ResponseProcessProposal.fromPartial(e.processProposal)),void 0!==e.extendVote&&null!==e.extendVote&&(o.extendVote=t.ResponseExtendVote.fromPartial(e.extendVote)),void 0!==e.verifyVoteExtension&&null!==e.verifyVoteExtension&&(o.verifyVoteExtension=t.ResponseVerifyVoteExtension.fromPartial(e.verifyVoteExtension)),void 0!==e.finalizeBlock&&null!==e.finalizeBlock&&(o.finalizeBlock=t.ResponseFinalizeBlock.fromPartial(e.finalizeBlock)),o}},t.ResponseException={typeUrl:"/tendermint.abci.ResponseException",encode:(e,t=m.BinaryWriter.create())=>(""!==e.error&&t.uint32(10).string(e.error),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=K();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.error=o.string():o.skipType(7&e)}return s},fromJSON(e){let t=K();return(0,f.isSet)(e.error)&&(t.error=String(e.error)),t},toJSON(e){let t={};return void 0!==e.error&&(t.error=e.error),t},fromPartial(e){let t=K();return t.error=e.error??"",t}},t.ResponseEcho={typeUrl:"/tendermint.abci.ResponseEcho",encode:(e,t=m.BinaryWriter.create())=>(""!==e.message&&t.uint32(10).string(e.message),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=z();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.message=o.string():o.skipType(7&e)}return s},fromJSON(e){let t=z();return(0,f.isSet)(e.message)&&(t.message=String(e.message)),t},toJSON(e){let t={};return void 0!==e.message&&(t.message=e.message),t},fromPartial(e){let t=z();return t.message=e.message??"",t}},t.ResponseFlush={typeUrl:"/tendermint.abci.ResponseFlush",encode:(e,t=m.BinaryWriter.create())=>t,decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t;for(;o.pos<i;){let e=o.uint32();o.skipType(7&e)}return{}},fromJSON:e=>({}),toJSON:e=>({}),fromPartial:e=>({})},t.ResponseInfo={typeUrl:"/tendermint.abci.ResponseInfo",encode:(e,t=m.BinaryWriter.create())=>(""!==e.data&&t.uint32(10).string(e.data),""!==e.version&&t.uint32(18).string(e.version),e.appVersion!==BigInt(0)&&t.uint32(24).uint64(e.appVersion),e.lastBlockHeight!==BigInt(0)&&t.uint32(32).int64(e.lastBlockHeight),0!==e.lastBlockAppHash.length&&t.uint32(42).bytes(e.lastBlockAppHash),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=D();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.data=o.string();break;case 2:s.version=o.string();break;case 3:s.appVersion=o.uint64();break;case 4:s.lastBlockHeight=o.int64();break;case 5:s.lastBlockAppHash=o.bytes();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=D();return(0,f.isSet)(e.data)&&(t.data=String(e.data)),(0,f.isSet)(e.version)&&(t.version=String(e.version)),(0,f.isSet)(e.appVersion)&&(t.appVersion=BigInt(e.appVersion.toString())),(0,f.isSet)(e.lastBlockHeight)&&(t.lastBlockHeight=BigInt(e.lastBlockHeight.toString())),(0,f.isSet)(e.lastBlockAppHash)&&(t.lastBlockAppHash=(0,f.bytesFromBase64)(e.lastBlockAppHash)),t},toJSON(e){let t={};return void 0!==e.data&&(t.data=e.data),void 0!==e.version&&(t.version=e.version),void 0!==e.appVersion&&(t.appVersion=(e.appVersion||BigInt(0)).toString()),void 0!==e.lastBlockHeight&&(t.lastBlockHeight=(e.lastBlockHeight||BigInt(0)).toString()),void 0!==e.lastBlockAppHash&&(t.lastBlockAppHash=(0,f.base64FromBytes)(void 0!==e.lastBlockAppHash?e.lastBlockAppHash:new Uint8Array)),t},fromPartial(e){let t=D();return t.data=e.data??"",t.version=e.version??"",void 0!==e.appVersion&&null!==e.appVersion&&(t.appVersion=BigInt(e.appVersion.toString())),void 0!==e.lastBlockHeight&&null!==e.lastBlockHeight&&(t.lastBlockHeight=BigInt(e.lastBlockHeight.toString())),t.lastBlockAppHash=e.lastBlockAppHash??new Uint8Array,t}},t.ResponseInitChain={typeUrl:"/tendermint.abci.ResponseInitChain",encode(e,o=m.BinaryWriter.create()){for(let i of(void 0!==e.consensusParams&&p.ConsensusParams.encode(e.consensusParams,o.uint32(10).fork()).ldelim(),e.validators))t.ValidatorUpdate.encode(i,o.uint32(18).fork()).ldelim();return 0!==e.appHash.length&&o.uint32(26).bytes(e.appHash),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=M();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.consensusParams=p.ConsensusParams.decode(i,i.uint32());break;case 2:r.validators.push(t.ValidatorUpdate.decode(i,i.uint32()));break;case 3:r.appHash=i.bytes();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=M();
1return(0,f.isSet)(e.consensusParams)&&(o.consensusParams=p.ConsensusParams.fromJSON(e.consensusParams)),Array.isArray(e?.validators)&&(o.validators=e.validators.map(e=>t.ValidatorUpdate.fromJSON(e))),(0,f.isSet)(e.appHash)&&(o.appHash=(0,f.bytesFromBase64)(e.appHash)),o},toJSON(e){let o={};return void 0!==e.consensusParams&&(o.consensusParams=e.consensusParams?p.ConsensusParams.toJSON(e.consensusParams):void 0),e.validators?o.validators=e.validators.map(e=>e?t.ValidatorUpdate.toJSON(e):void 0):o.validators=[],void 0!==e.appHash&&(o.appHash=(0,f.base64FromBytes)(void 0!==e.appHash?e.appHash:new Uint8Array)),o},fromPartial(e){let o=M();return void 0!==e.consensusParams&&null!==e.consensusParams&&(o.consensusParams=p.ConsensusParams.fromPartial(e.consensusParams)),o.validators=e.validators?.map(e=>t.ValidatorUpdate.fromPartial(e))||[],o.appHash=e.appHash??new Uint8Array,o}},t.ResponseQuery={typeUrl:"/tendermint.abci.ResponseQuery",encode:(e,t=m.BinaryWriter.create())=>(0!==e.code&&t.uint32(8).uint32(e.code),""!==e.log&&t.uint32(26).string(e.log),""!==e.info&&t.uint32(34).string(e.info),e.index!==BigInt(0)&&t.uint32(40).int64(e.index),0!==e.key.length&&t.uint32(50).bytes(e.key),0!==e.value.length&&t.uint32(58).bytes(e.value),void 0!==e.proofOps&&u.ProofOps.encode(e.proofOps,t.uint32(66).fork()).ldelim(),e.height!==BigInt(0)&&t.uint32(72).int64(e.height),""!==e.codespace&&t.uint32(82).string(e.codespace),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=G();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.code=o.uint32();break;case 3:s.log=o.string();break;case 4:s.info=o.string();break;case 5:s.index=o.int64();break;case 6:s.key=o.bytes();break;case 7:s.value=o.bytes();break;case 8:s.proofOps=u.ProofOps.decode(o,o.uint32());break;case 9:s.height=o.int64();break;case 10:s.codespace=o.string();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=G();return(0,f.isSet)(e.code)&&(t.code=Number(e.code)),(0,f.isSet)(e.log)&&(t.log=String(e.log)),(0,f.isSet)(e.info)&&(t.info=String(e.info)),(0,f.isSet)(e.index)&&(t.index=BigInt(e.index.toString())),(0,f.isSet)(e.key)&&(t.key=(0,f.bytesFromBase64)(e.key)),(0,f.isSet)(e.value)&&(t.value=(0,f.bytesFromBase64)(e.value)),(0,f.isSet)(e.proofOps)&&(t.proofOps=u.ProofOps.fromJSON(e.proofOps)),(0,f.isSet)(e.height)&&(t.height=BigInt(e.height.toString())),(0,f.isSet)(e.codespace)&&(t.codespace=String(e.codespace)),t},toJSON(e){let t={};return void 0!==e.code&&(t.code=Math.round(e.code)),void 0!==e.log&&(t.log=e.log),void 0!==e.info&&(t.info=e.info),void 0!==e.index&&(t.index=(e.index||BigInt(0)).toString()),void 0!==e.ke
1y&&(t.key=(0,f.base64FromBytes)(void 0!==e.key?e.key:new Uint8Array)),void 0!==e.value&&(t.value=(0,f.base64FromBytes)(void 0!==e.value?e.value:new Uint8Array)),void 0!==e.proofOps&&(t.proofOps=e.proofOps?u.ProofOps.toJSON(e.proofOps):void 0),void 0!==e.height&&(t.height=(e.height||BigInt(0)).toString()),void 0!==e.codespace&&(t.codespace=e.codespace),t},fromPartial(e){let t=G();return t.code=e.code??0,t.log=e.log??"",t.info=e.info??"",void 0!==e.index&&null!==e.index&&(t.index=BigInt(e.index.toString())),t.key=e.key??new Uint8Array,t.value=e.value??new Uint8Array,void 0!==e.proofOps&&null!==e.proofOps&&(t.proofOps=u.ProofOps.fromPartial(e.proofOps)),void 0!==e.height&&null!==e.height&&(t.height=BigInt(e.height.toString())),t.codespace=e.codespace??"",t}},t.ResponseCheckTx={typeUrl:"/tendermint.abci.ResponseCheckTx",encode(e,o=m.BinaryWriter.create()){for(let i of(0!==e.code&&o.uint32(8).uint32(e.code),0!==e.data.length&&o.uint32(18).bytes(e.data),""!==e.log&&o.uint32(26).string(e.log),""!==e.info&&o.uint32(34).string(e.info),e.gasWanted!==BigInt(0)&&o.uint32(40).int64(e.gasWanted),e.gasUsed!==BigInt(0)&&o.uint32(48).int64(e.gasUsed),e.events))t.Event.encode(i,o.uint32(58).fork()).ldelim();return""!==e.codespace&&o.uint32(66).string(e.codespace),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=Z();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.code=i.uint32();break;case 2:r.data=i.bytes();break;case 3:r.log=i.string();break;case 4:r.info=i.string();break;case 5:r.gasWanted=i.int64();break;case 6:r.gasUsed=i.int64();break;case 7:r.events.push(t.Event.decode(i,i.uint32()));break;case 8:r.codespace=i.string();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=Z();return(0,f.isSet)(e.code)&&(o.code=Number(e.code)),(0,f.isSet)(e.data)&&(o.data=(0,f.bytesFromBase64)(e.data)),(0,f.isSet)(e.log)&&(o.log=String(e.log)),(0,f.isSet)(e.info)&&(o.info=String(e.info)),(0,f.isSet)(e.gas_wanted)&&(o.gasWanted=BigInt(e.gas_wanted.toString())),(0,f.isSet)(e.gas_used)&&(o.gasUsed=BigInt(e.gas_used.toString())),Array.isArray(e?.events)&&(o.events=e.events.map(e=>t.Event.fromJSON(e))),(0,f.isSet)(e.codespace)&&(o.codespace=String(e.codespace)),o},toJSON(e){let o={};return void 0!==e.code&&(o.code=Math.round(e.code)),void 0!==e.data&&(o.data=(0,f.base64FromBytes)(void 0!==e.data?e.data:new Uint8Array)),void 0!==e.log&&(o.log=e.log),void 0!==e.info&&(o.info=e.info),void 0!==e.gasWanted&&(o.gas_wanted=(e.gasWanted||BigInt(0)).toString()),void 0!==e.gasUsed&&(o.gas_used=(e.gasUsed||BigInt(0)).toString()),e.events?o.events=e.events.map(e=>e?t.Event.toJSON(e):void 0):o.events=[],void 0!==e.codespace&&(o.codespace=e.codespace),o},fromPartial(e){let o=Z();return o.code=e.code??0,o.data=e.data??new Uint8Array,o.log=e.log??"",o.info=e.info??"",void 0!==e.gasWanted&&null!==e.gasWanted&&(o.gasWanted=BigInt(e.gasWanted.toString())),void 0!==e.gasUsed&&null!==e.gasUsed&&(o.gasUsed=BigInt(e.gasUsed.toString())),o.events=e.events?.map(e=>t.Event.fromPartial(e))||[],o.codespace=e.codespace??"",o}},t.ResponseCommit={typeUrl:"/tendermint.abci.ResponseCommit",encode:(e,t=m.BinaryWriter.create())=>(e.retainHeight!==BigInt(0)&&t.uint32(24).int64(e.retainHeight),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=Q();for(;o.pos<i;){let e=o.uint32();e>>>3==3?s.retainHeight=o.int64():o.skipType(7&e)}return s},fromJSON(e){let t=Q();return(0,f.isSet)(e.retainHeight)&&(t.retainHeight=BigInt(e.retainHeight.toString())),t},toJSON(e){let t={};return void 0!==e.retainHeight&&(t.retainHeight=(e.retainHeight||BigInt(0)).toString()),t},fromPartial(e){let t=Q();return void 0!==e.retainHeight&&null!==e.retainHeight&&(t.retainHeight=BigInt(e.retainHeight.toString())),t}},t.ResponseListSnapshots={typeUrl:"/tendermint.abci.ResponseListSnapshots",encode(e,o=m.BinaryWriter.create()){for(let i of e.snapshots)t.Snapshot.encode(i,o.uint32(10).fork()).ldelim();return o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=j();for(;i.pos<s;){let e=i.uint32();e>>>3==1?r.snapshots.push(t.Snapshot.decode(i,i.uint32())):i.skipType(7&e)}return r},fromJSON(e){let o=j();return Array.isArray(e?.snapshots)&&(o.snapshots=e.snapshots.map(e=>t.Snapshot.fromJSON(e))),o},toJSON(e){let o={};return e.snapshots?o.snapshots=e.snapshots.map(e=>e?t.Snapshot.toJSON(e):void 0):o.snapshots=[],o},fromPartial(e){let o=j();return o.snapshots=e.snapshots?.map(e=>t.Snapshot.fromPartial(e))||[],o}},t.ResponseOfferSnapshot={typeUrl:"/tendermint.abci.ResponseOfferSnapshot",encode:(e,t=m.BinaryWriter.create())=>(0!==e.result&&t.uint32(8).int32(e.result),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=Y();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.result=o.int32():o.skipType(7&e)}return s},fromJSON(e){let t=Y();return(0,f.isSet)(e.result)&&(t.result=S(e.result)),t},toJSON(e){let t={};return void 0!==e.result&&(t.result=g(e.result)),t},fromPartial(e){let t=Y();return t.result=e.result??0,t}}
1,t.ResponseLoadSnapshotChunk={typeUrl:"/tendermint.abci.ResponseLoadSnapshotChunk",encode:(e,t=m.BinaryWriter.create())=>(0!==e.chunk.length&&t.uint32(10).bytes(e.chunk),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=X();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.chunk=o.bytes():o.skipType(7&e)}return s},fromJSON(e){let t=X();return(0,f.isSet)(e.chunk)&&(t.chunk=(0,f.bytesFromBase64)(e.chunk)),t},toJSON(e){let t={};return void 0!==e.chunk&&(t.chunk=(0,f.base64FromBytes)(void 0!==e.chunk?e.chunk:new Uint8Array)),t},fromPartial(e){let t=X();return t.chunk=e.chunk??new Uint8Array,t}},t.ResponseApplySnapshotChunk={typeUrl:"/tendermint.abci.ResponseApplySnapshotChunk",encode(e,t=m.BinaryWriter.create()){for(let o of(0!==e.result&&t.uint32(8).int32(e.result),t.uint32(18).fork(),e.refetchChunks))t.uint32(o);for(let o of(t.ldelim(),e.rejectSenders))t.uint32(26).string(o);return t},decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=$();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.result=o.int32();break;case 2:if((7&e)==2){let e=o.uint32()+o.pos;for(;o.pos<e;)s.refetchChunks.push(o.uint32())}else s.refetchChunks.push(o.uint32());break;case 3:s.rejectSenders.push(o.string());break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=$();return(0,f.isSet)(e.result)&&(t.result=k(e.result)),Array.isArray(e?.refetchChunks)&&(t.refetchChunks=e.refetchChunks.map(e=>Number(e))),Array.isArray(e?.rejectSenders)&&(t.rejectSenders=e.rejectSenders.map(e=>String(e))),t},toJSON(e){let t={};return void 0!==e.result&&(t.result=b(e.result)),e.refetchChunks?t.refetchChunks=e.refetchChunks.map(e=>Math.round(e)):t.refetchChunks=[],e.rejectSenders?t.rejectSenders=e.rejectSenders.map(e=>e):t.rejectSenders=[],t},fromPartial(e){let t=$();return t.result=e.result??0,t.refetchChunks=e.refetchChunks?.map(e=>e)||[],t.rejectSenders=e.rejectSenders?.map(e=>e)||[],t}},t.ResponsePrepareProposal={typeUrl:"/tendermint.abci.ResponsePrepareProposal",encode(e,t=m.BinaryWriter.create()){for(let o of e.txs)t.uint32(10).bytes(o);return t},decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=ee();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.txs.push(o.bytes()):o.skipType(7&e)}return s},fromJSON(e){let t=ee();return Array.isArray(e?.txs)&&(t.txs=e.txs.map(e=>(0,f.bytesFromBase64)(e))),t},toJSON(e){let t={};return e.txs?t.txs=e.txs.map(e=>(0,f.base64FromBytes)(void 0!==e?e:new Uint8Array)):t.txs=[],t},fromPartial(e){let t=ee();return t.txs=e.txs?.map(e=>e)||[],t}},t.ResponseProcessProposal={typeUrl:"/tendermint.abci.ResponseProcessProposal",encode:(e,t=m.BinaryWriter.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=et();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.status=o.int32():o.skipType(7&e)}return s},fromJSON(e){let t=et();return(0,f.isSet)(e.status)&&(t.status=R(e.status)),t},toJSON(e){let t={};return void 0!==e.status&&(t.status=x(e.status)),t},fromPartial(e){let t=et();return t.status=e.status??0,t}}
1,t.ResponseExtendVote={typeUrl:"/tendermint.abci.ResponseExtendVote",encode:(e,t=m.BinaryWriter.create())=>(0!==e.voteExtension.length&&t.uint32(10).bytes(e.voteExtension),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=eo();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.voteExtension=o.bytes():o.skipType(7&e)}return s},fromJSON(e){let t=eo();return(0,f.isSet)(e.voteExtension)&&(t.voteExtension=(0,f.bytesFromBase64)(e.voteExtension)),t},toJSON(e){let t={};return void 0!==e.voteExtension&&(t.voteExtension=(0,f.base64FromBytes)(void 0!==e.voteExtension?e.voteExtension:new Uint8Array)),t},fromPartial(e){let t=eo();return t.voteExtension=e.voteExtension??new Uint8Array,t}},t.ResponseVerifyVoteExtension={typeUrl:"/tendermint.abci.ResponseVerifyVoteExtension",encode:(e,t=m.BinaryWriter.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=ei();for(;o.pos<i;){let e=o.uint32();e>>>3==1?s.status=o.int32():o.skipType(7&e)}return s},fromJSON(e){let t=ei();return(0,f.isSet)(e.status)&&(t.status=B(e.status)),t},toJSON(e){let t={};return void 0!==e.status&&(t.status=C(e.status)),t},fromPartial(e){let t=ei();return t.status=e.status??0,t}}
1,t.ResponseFinalizeBlock={typeUrl:"/tendermint.abci.ResponseFinalizeBlock",encode(e,o=m.BinaryWriter.create()){for(let i of e.events)t.Event.encode(i,o.uint32(10).fork()).ldelim();for(let i of e.txResults)t.ExecTxResult.encode(i,o.uint32(18).fork()).ldelim();for(let i of e.validatorUpdates)t.ValidatorUpdate.encode(i,o.uint32(26).fork()).ldelim();return void 0!==e.consensusParamUpdates&&p.ConsensusParams.encode(e.consensusParamUpdates,o.uint32(34).fork()).ldelim(),0!==e.appHash.length&&o.uint32(42).bytes(e.appHash),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=es();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.events.push(t.Event.decode(i,i.uint32()));break;case 2:r.txResults.push(t.ExecTxResult.decode(i,i.uint32()));break;case 3:r.validatorUpdates.push(t.ValidatorUpdate.decode(i,i.uint32()));break;case 4:r.consensusParamUpdates=p.ConsensusParams.decode(i,i.uint32());break;case 5:r.appHash=i.bytes();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=es();return Array.isArray(e?.events)&&(o.events=e.events.map(e=>t.Event.fromJSON(e))),Array.isArray(e?.txResults)&&(o.txResults=e.txResults.map(e=>t.ExecTxResult.fromJSON(e))),Array.isArray(e?.validatorUpdates)&&(o.validatorUpdates=e.validatorUpdates.map(e=>t.ValidatorUpdate.fromJSON(e))),(0,f.isSet)(e.consensusParamUpdates)&&(o.consensusParamUpdates=p.ConsensusParams.fromJSON(e.consensusParamUpdates)),(0,f.isSet)(e.appHash)&&(o.appHash=(0,f.bytesFromBase64)(e.appHash)),o},toJSON(e){let o={};return e.events?o.events=e.events.map(e=>e?t.Event.toJSON(e):void 0):o.events=[],e.txResults?o.txResults=e.txResults.map(e=>e?t.ExecTxResult.toJSON(e):void 0):o.txResults=[],e.validatorUpdates?o.validatorUpdates=e.validatorUpdates.map(e=>e?t.ValidatorUpdate.toJSON(e):void 0):o.validatorUpdates=[],void 0!==e.consensusParamUpdates&&(o.consensusParamUpdates=e.consensusParamUpdates?p.ConsensusParams.toJSON(e.consensusParamUpdates):void 0),void 0!==e.appHash&&(o.appHash=(0,f.base64FromBytes)(void 0!==e.appHash?e.appHash:new Uint8Array)),o},fromPartial(e){let o=es();return o.events=e.events?.map(e=>t.Event.fromPartial(e))||[],o.txResults=e.txResults?.map(e=>t.ExecTxResult.fromPartial(e))||[],o.validatorUpdates=e.validatorUpdates?.map(e=>t.ValidatorUpdate.fromPartial(e))||[],void 0!==e.consensusParamUpdates&&null!==e.consensusParamUpdates&&(o.consensusParamUpdates=p.ConsensusParams.fromPartial(e.consensusParamUpdates)),o.appHash=e.appHash??new Uint8Array,o}},t.CommitInfo={typeUrl:"/tendermint.abci.CommitInfo",encode(e,o=m.BinaryWriter.create()){for(let i of(0!==e.round&&o.uint32(8).int32(e.round),e.votes))t.VoteInfo.encode(i,o.uint32(18).fork()).ldelim();return o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=er();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.round=i.int32();break;case 2:r.votes.push(t.VoteInfo.decode(i,i.uint32()));break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=er();return(0,f.isSet)(e.round)&&(o.round=Number(e.round)),Array.isArray(e?.votes)&&(o.votes=e.votes.map(e=>t.VoteInfo.fromJSON(e))),o},toJSON(e){let o={};return void 0!==e.round&&(o.round=Math.round(e.round)),e.votes?o.votes=e.votes.map(e=>e?t.VoteInfo.toJSON(e):void 0):o.votes=[],o},fromPartial(e){let o=er();return o.round=e.round??0,o.votes=e.votes?.map(e=>t.VoteInfo.fromPartial(e))||[],o}},t.ExtendedCommitInfo={typeUrl:"/tendermint.abci.ExtendedCommitInfo",encode(e,o=m.BinaryWriter.create()){for(let i of(0!==e.round&&o.uint32(8).int32(e.round),e.votes))t.ExtendedVoteInfo.encode(i,o.uint32(18).fork()).ldelim();return o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=en();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.round=i.int32();break;case 2:r.votes.push(t.ExtendedVoteInfo.decode(i,i.uint32()));break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=en();return(0,f.isSet)(e.round)&&(o.round=Number(e.round)),Array.isArray(e?.votes)&&(o.votes=e.votes.map(e=>t.ExtendedVoteInfo.fromJSON(e))),o},toJSON(e){let o={};return void 0!==e.round&&(o.round=Math.round(e.round)),e.votes?o.votes=e.votes.map(e=>e?t.ExtendedVoteInfo.toJSON(e):void 0):o.votes=[],o},fromPartial(e){let o=en();return o.round=e.round??0,o.votes=e.votes?.map(e=>t.ExtendedVoteInfo.fromPartial(e))||[],o}},t.Event={typeUrl:"/tendermint.abci.Event",encode(e,o=m.BinaryWriter.create()){for(let i of(""!==e.type&&o.uint32(10).string(e.type),e.attributes))t.EventAttribute.encode(i,o.uint32(18).fork()).ldelim();return o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=ea();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.type=i.string();break;case 2:r.attributes.push(t.EventAttribute.decode(i,i.uint32()));break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=ea();return(0,f.isSet)(e.type)&&(o.type=String(e.type)),Array.isArray(e?.attributes)&&(o.attributes=e.attributes.map(e=>t.EventAttribute.fromJSON(e))),o},toJSON(e){let o={};return void 0!==e.type&&(o.type=e.type),e.attributes?o.attributes=e.attributes.map(e=>e?t.EventAttribute.toJSON(e):void 0):o.attributes=[],o},fromPartial(e){let o=ea();return o.type=e.type??"",o.attributes=e.attributes?.map(e=>t.EventAttribute.fromPartial(e))||[],o}},t.EventAttribute={typeUrl:"/tendermint.abci.EventAttribute",encode:(e,t=m.BinaryWriter.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),!0===e.index&&t.uint32(24).bool(e.index),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=ed();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.key=o.string();break;case 2:s.value=o.string();break;case 3:s.index=o.bool();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=ed();
1return(0,f.isSet)(e.key)&&(t.key=String(e.key)),(0,f.isSet)(e.value)&&(t.value=String(e.value)),(0,f.isSet)(e.index)&&(t.index=!!e.index),t},toJSON(e){let t={};return void 0!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=e.value),void 0!==e.index&&(t.index=e.index),t},fromPartial(e){let t=ed();return t.key=e.key??"",t.value=e.value??"",t.index=e.index??!1,t}},t.ExecTxResult={typeUrl:"/tendermint.abci.ExecTxResult",encode(e,o=m.BinaryWriter.create()){for(let i of(0!==e.code&&o.uint32(8).uint32(e.code),0!==e.data.length&&o.uint32(18).bytes(e.data),""!==e.log&&o.uint32(26).string(e.log),""!==e.info&&o.uint32(34).string(e.info),e.gasWanted!==BigInt(0)&&o.uint32(40).int64(e.gasWanted),e.gasUsed!==BigInt(0)&&o.uint32(48).int64(e.gasUsed),e.events))t.Event.encode(i,o.uint32(58).fork()).ldelim();return""!==e.codespace&&o.uint32(66).string(e.codespace),o},decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=el();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.code=i.uint32();break;case 2:r.data=i.bytes();break;case 3:r.log=i.string();break;case 4:r.info=i.string();break;case 5:r.gasWanted=i.int64();break;case 6:r.gasUsed=i.int64();break;case 7:r.events.push(t.Event.decode(i,i.uint32()));break;case 8:r.codespace=i.string();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=el();return(0,f.isSet)(e.code)&&(o.code=Number(e.code)),(0,f.isSet)(e.data)&&(o.data=(0,f.bytesFromBase64)(e.data)),(0,f.isSet)(e.log)&&(o.log=String(e.log)),(0,f.isSet)(e.info)&&(o.info=String(e.info)),(0,f.isSet)(e.gas_wanted)&&(o.gasWanted=BigInt(e.gas_wanted.toString())),(0,f.isSet)(e.gas_used)&&(o.gasUsed=BigInt(e.gas_used.toString())),Array.isArray(e?.events)&&(o.events=e.events.map(e=>t.Event.fromJSON(e))),(0,f.isSet)(e.codespace)&&(o.codespace=String(e.codespace)),o},toJSON(e){let o={};return void 0!==e.code&&(o.code=Math.round(e.code)),void 0!==e.data&&(o.data=(0,f.base64FromBytes)(void 0!==e.data?e.data:new Uint8Array)),void 0!==e.log&&(o.log=e.log),void 0!==e.info&&(o.info=e.info),void 0!==e.gasWanted&&(o.gas_wanted=(e.gasWanted||BigInt(0)).toString()),void 0!==e.gasUsed&&(o.gas_used=(e.gasUsed||BigInt(0)).toString()),e.events?o.events=e.events.map(e=>e?t.Event.toJSON(e):void 0):o.events=[],void 0!==e.codespace&&(o.codespace=e.codespace),o},fromPartial(e){let o=el();return o.code=e.code??0,o.data=e.data??new Uint8Array,o.log=e.log??"",o.info=e.info??"",void 0!==e.gasWanted&&null!==e.gasWanted&&(o.gasWanted=BigInt(e.gasWanted.toString())),void 0!==e.gasUsed&&null!==e.gasUsed&&(o.gasUsed=BigInt(e.gasUsed.toString())),o.events=e.events?.map(e=>t.Event.fromPartial(e))||[],o.codespace=e.codespace??"",o}},t.TxResult={typeUrl:"/tendermint.abci.TxResult",encode:(e,o=m.BinaryWriter.create())=>(e.height!==BigInt(0)&&o.uint32(8).int64(e.height),0!==e.index&&o.uint32(16).uint32(e.index),0!==e.tx.length&&o.uint32(26).bytes(e.tx),void 0!==e.result&&t.ExecTxResult.encode(e.result,o.uint32(34).fork()).ldelim(),o),decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=ep();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.height=i.int64();break;case 2:r.index=i.uint32();break;case 3:r.tx=i.bytes();break;case 4:r.result=t.ExecTxResult.decode(i,i.uint32());break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=ep();return(0,f.isSet)(e.height)&&(o.height=BigInt(e.height.toString())),(0,f.isSet)(e.index)&&(o.index=Number(e.index)),(0,f.isSet)(e.tx)&&(o.tx=(0,f.bytesFromBase64)(e.tx)),(0,f.isSet)(e.result)&&(o.result=t.ExecTxResult.fromJSON(e.result)),o},toJSON(e){let o={};return void 0!==e.height&&(o.height=(e.height||BigInt(0)).toString()),void 0!==e.index&&(o.index=Math.round(e.index)),void 0!==e.tx&&(o.tx=(0,f.base64FromBytes)(void 0!==e.tx?e.tx:new Uint8Array)),void 0!==e.result&&(o.result=e.result?t.ExecTxResult.toJSON(e.result):void 0),o},fromPartial(e){let o=ep();return void 0!==e.height&&null!==e.height&&(o.height=BigInt(e.height.toString())),o.index=e.index??0,o.tx=e.tx??new Uint8Array,void 0!==e.result&&null!==e.result&&(o.result=t.ExecTxResult.fromPartial(e.result)),o}},t.Validator={typeUrl:"/tendermint.abci.Validator",encode:(e,t=m.BinaryWriter.create())=>(0!==e.address.length&&t.uint32(10).bytes(e.address),e.power!==BigInt(0)&&t.uint32(24).int64(e.power),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=eu();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.address=o.bytes();break;case 3:s.power=o.int64();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=eu();return(0,f.isSet)(e.address)&&(t.address=(0,f.bytesFromBase64)(e.address)),(0,f.isSet)(e.power)&&(t.power=BigInt(e.power.toString())),t},toJSON(e){let t={};return void 0!==e.address&&(t.address=(0,f.base64FromBytes)(void 0!==e.address?e.address:new Uint8Array)),void 0!==e.power&&(t.power=(e.power||BigInt(0)).toString()),t},fromPartial(e){let t=eu();return t.address=e.address??new Uint8Array,void 0!==e.power&&null!==e.power&&(t.power=BigInt(e.power.toString())),t}},t.ValidatorUpdate={typeUrl:"/tendermint.abci.ValidatorUpdate",encode:(e,t=m.BinaryWriter.create())=>(void 0!==e.pubKey&&h.PublicKey.encode(e.pubKey,t.uint32(10).fork()).ldelim(),e.power!==BigInt(0)&&t.uint32(16).int64(e.power),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=eh();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.pubKey=h.PublicKey.decode(o,o.uint32());break;case 2:s.power=o.int64();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=eh();return(0,f.isSet)(e.pubKey)&&(t.pubKey=h.PublicKey.fromJSON(e.pubKey)),(0,f.isSet)(e.power)&&(t.power=BigInt(e.power.toString())),t},toJSON(e){let t={};return void 0!==e.pubKey&&(t.pubKey=e.pubKey?h.PublicKey.toJSON(e.pubKey):void 0),void 0!==e.power&&(t.power=(e.power||BigInt(0)).toString()),t},fromPartial(e){let t=eh();return void 0!==e.pubKey&&null!==e.pubKey&&(t.pubKey=h.PublicKey.fromPartial(e.pubKey)),void 0!==e.power&&null!==e.power&&(t.power=BigInt(e.power.toString())),t}},t.VoteInfo={typeUrl:"/tendermint.abci.VoteInfo",encode:(e,o=m.BinaryWriter.create())=>(void 0!==e.validator&&t.Validator.encode(e.validator,o.uint32(10).fork()).ldelim(),0!==e.blockIdFlag&&o.uint32(24).int32(e.blockIdFlag),o),decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=ec();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.validator=t.Validator.decode(i,i.uint32());break;case 3:r.blockIdFlag=i.int32();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=ec();return(0,f.isSet)(e.validator)&&(o.validator=t.Validator.fromJSON(e.validator)),(0,f.isSet)(e.blockIdFlag)&&(o.blockIdFlag=(0,c.blockIDFlagFromJSON)(e.blockIdFlag)),o},toJSON(e){let o={};return void 0!==e.validator&&(o.validator=e.validator?t.Validator.toJSON(e.validator):void 0),void 0!==e.blockIdFlag&&(o.blockIdFlag=(0,c.blockIDFlagToJSON)(e.blockIdFlag)),o},fromPartial(e){let o=ec();return void 0!==e.validator&&null!==e.validator&&(o.validator=t.Validator.fromPartial(e.validator)),o.blockIdFlag=e.blockIdFlag??0,o}},t.ExtendedVoteInfo={typeUrl:"/tendermint.abci.ExtendedVoteInfo",encode:(e,o=m.BinaryWriter.create())=>(void 0!==e.validator&&t.Validator.encode(e.validator,o.uint32(10).fork()).ldelim(),0!==e.voteExtension.length&&o.uint32(26).bytes(e.voteExtension),0!==e.extensionSignature.length&&o.uint32(34).bytes(e.extensionSignature),0!==e.blockIdFlag&&o.uint32(40).int32(e.blockIdFlag),o),decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=em();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.validator=t.Validator.decode(i,i.uint32());break;case 3:r.voteExtension=i.bytes();break;case 4:r.extensionSignature=i.bytes();break;case 5:r.blockIdFlag=i.int32();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=em();return(0,f.isSet)(e.validator)&&(o.validator=t.Validator.fromJSON(e.validator)),(0,f.isSet)(e.voteExtension)&&(o.voteExtension=(0,f.bytesFromBase64)(e.voteExtension)),(0,f.isSet)(e.extensionSignature)&&(o.extensionSignature=(0,f.bytesFromBase64)(e.extensionSignature)),(0,f.isSet)(e.blockIdFlag)&&(o.blockIdFlag=(0,c.blockIDFlagFromJSON)(e.blockIdFlag)),o},toJSON(e){let o={};return void 0!==e.validator&&(o.validator=e.validator?t.Validator.toJSON(e.validator):void 0),void 0!==e.voteExtension&&(o.voteExtension=(0,f.base64FromBytes)(void 0!==e.voteExtension?e.voteExtension:new Uint8Array)),void 0!==e.extensionSignature&&(o.extensionSignature=(0,f.base64FromBytes)(void 0!==e.extensionSignature?e.extensionSignature:new Uint8Array)),void 0!==e.blockIdFlag&&(o.blockIdFlag=(0,c.blockIDFlagToJSON)(e.blockIdFlag)),o},fromPartial(e){let o=em();return void 0!==e.validator&&null!==e.validator&&(o.validator=t.Validator.fromPartial(e.validator)),o.voteExtension=e.voteExtension??new Uint8Array,o.extensionSignature=e.extensionSignature??new Uint8Array,o.blockIdFlag=e.blockIdFlag??0,o}},t.Misbehavior={typeUrl:"/tendermint.abci.Misbehavior",encode:(e,o=m.BinaryWriter.create())=>(0!==e.type&&o.uint32(8).int32(e.type),void 0!==e.validator&&t.Validator.encode(e.validator,o.uint32(18).fork()).ldelim(),e.height!==BigInt(0)&&o.uint32(24).int64(e.height),void 0!==e.time&&l.Timestamp.encode(e.time,o.uint32(34).fork()).ldelim(),e.totalVotingPower!==BigInt(0)&&o.uint32(40).int64(e.totalVotingPower),o),decode(e,o){let i=e instanceof m.BinaryReader?e:new m.BinaryReader(e),s=void 0===o?i.len:i.pos+o,r=ef();for(;i.pos<s;){let e=i.uint32();switch(e>>>3){case 1:r.type=i.int32();break;case 2:r.validator=t.Validator.decode(i,i.uint32());break;case 3:r.height=i.int64();break;case 4:r.time=l.Timestamp.decode(i,i.uint32());break;case 5:r.totalVotingPower=i.int64();break;default:i.skipType(7&e)}}return r},fromJSON(e){let o=ef();return(0,f.isSet)(e.type)&&(o.type=N(e.type)),(0,f.isSet)(e.validator)&&(o.validator=t.Validator.fromJSON(e.validator)),(0,f.isSet)(e.height)&&(o.height=BigInt(e.height.toString())),(0,f.isSet)(e.time)&&(o.time=(0,f.fromJsonTimestamp)(e.time)),(0,f.isSet)(e.totalVotingPower)&&(o.totalVotingPower=BigInt(e.totalVotingPower.toString())),o},toJSON(e){let o={};return void 0!==e.type&&(o.type=E(e.type)),void 0!==e.validator&&(o.validator=e.validator?t.Validator.toJSON(e.validator):void 0),void 0!==e.height&&(o.height=(e.height||BigInt(0)).toString()),void 0!==e.time&&(o.time=(0,f.fromTimestamp)(e.time).toISOString()),void 0!==e.totalVotingPower&&(o.totalVotingPower=(e.totalVotingPower||BigInt(0)).toString()),o},fromPartial(e){let o=ef();return o.type=e.type??0,void 0!==e.validator&&null!==e.validator&&(o.validator=t.Validator.fromPartial(e.validator)),void 0!==e.height&&null!==e.height&&(o.height=BigInt(e.height.toString())),void 0!==e.time&&null!==e.time&&(o.time=l.Timestamp.fromPartial(e.time)),void 0!==e.totalVotingPower&&null!==e.totalVotingPower&&(o.totalVotingPower=BigInt(e.totalVotingPower.toString())),o}},t.Snapshot={typeUrl:"/tendermint.abci.Snapshot",encode:(e,t=m.BinaryWriter.create())=>(e.height!==BigInt(0)&&t.uint32(8).uint64(e.height),0!==e.format&&t.uint32(16).uint32(e.format),0!==e.chunks&&t.uint32(24).uint32(e.chunks),0!==e.hash.length&&t.uint32(34).bytes(e.hash),0!==e.metadata.length&&t.uint32(42).bytes(e.metadata),t),decode(e,t){let o=e instanceof m.BinaryReader?e:new m.BinaryReader(e),i=void 0===t?o.len:o.pos+t,s=ev();for(;o.pos<i;){let e=o.uint32();switch(e>>>3){case 1:s.height=o.uint64();break;case 2:s.format=o.uint32();break;case 3:s.chunks=o.uint32();break;case 4:s.hash=o.bytes();break;case 5:s.metadata=o.bytes();break;default:o.skipType(7&e)}}return s},fromJSON(e){let t=ev();return(0,f.isSet)(e.height)&&(t.height=BigInt(e.height.toString())),(0,f.isSet)(e.format)&&(t.format=Number(e.format)),(0,f.isSet)(e.chunks)&&(t.chunks=Number(e.chunks)),(0,f.isSet)(e.hash)&&(t.hash=(0,f.bytesFromBase64)(e.hash)),(0,f.isSet)(e.metadata)&&(t.metadata=(0,f.bytesFromBase64)(e.metadata)),t},toJSON(e){let t={};return void 0!==e.height&&(t.height=(e.height||BigInt(0)).toString()),void 0!==e.format&&(t.format=Math.round(e.format)),void 0!==e.chunks&&(t.chunks=Math.round(e.chunks)),void 0!==e.hash&&(t.hash=(0,f.base64FromBytes)(void 0!==e.hash?e.hash:new Uint8Array)),void 0!==e.metadata&&(t.metadata=(0,f.base64FromBytes)(void 0!==e.metadata?e.metadata:new Uint8Array)),t},fromPartial(e){let t=ev();return void 0!==e.height&&null!==e.height&&(t.height=BigInt(e.height.toString())),t.format=e.format??0,t.chunks=e.chunks??0,t.hash=e.hash??new Uint8Array,t.metadata=e.metadata??new Uint8Array,t}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.