PageSourceSearch

https://app.hotstuff.trade/_next/static/chunks/0df2-7fmxs6te.js?dpl=dpl_2UkkgYJtZRL8qYawe9FfkxiApWHv

js hotstuff.trade collected 2026-10-07 04:32:26 UTC 31,783 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="323211c1-e047-1279-2577-0f3c2cfe53ba")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,322066,e=>{"use strict";let t=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,r=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,n=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function i(e,t){var r;return"__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t?void(r=e,console.warn(`[destr] Dropping "${r}" key to prevent prototype pollution.`)):t}e.s(["default",0,function(e,o={}){if("string"!=typeof e)return e;if('"'===e[0]&&'"'===e[e.length-1]&&-1===e.indexOf("\\"))return e.slice(1,-1);let a=e.trim();if(a.length<=9)switch(a.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return NaN;case"infinity":return 1/0;case"-infinity":return-1/0}if(!n.test(e)){if(o.strict)throw SyntaxError("[destr] Invalid JSON");return e}try{if(t.test(e)||r.test(e)){if(o.strict)throw Error("[destr] Possible prototype pollution");return JSON.parse(e,i)}return JSON.parse(e)}catch(t){if(o.strict)throw t;return e}}])},537792,e=>{"use strict";let t=BigInt(0),r=BigInt(1);function n(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function i(e){if(!n(e))throw Error("Uint8Array expected")}function o(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);return""===e?t:BigInt("0x"+e)}let a="function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex,s=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function c(e){if(i(e),a)return e.toHex();let t="";for(let r=0;r<e.length;r++)t+=s[e[r]];return t}function l(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function u(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);if(a)return Uint8Array.fromHex(e);let t=e.length,r=t/2;if(t%2)throw Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=l(e.charCodeAt(i)),o=l(e.charCodeAt(i+1));if(void 0===r||void 0===o)throw Error('hex string expected, got non-hex character "'+(e[i]+e[i+1])+'" at index '+i);n[t]=16*r+o}return n}function f(e,t){return u(e.toString(16).padStart(2*t,"0"))}function d(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];i(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}let h=e=>"bigint"==typeof e&&t<=e;function p(e,t,r){return h(e)&&h(t)&&h(r)&&t<=e&&e<r}let m=e=>new Uint8Array(e),g={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||n(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};e.s(["aInRange",0,function(e,t,r,n){if(!p(t,r,n))throw Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)},"abool",0,function(e,t){if("boolean"!=typeof t)throw Error(e+" boolean expected, got "+t)},"abytes",0,i,"bitLen",0,function(e){let n;for(n=0;e>t;e>>=r,n+=1);return n},"bitMask",0,e=>(r<<BigInt(e))-r,"bytesToHex",0,c,"bytesToNumberBE",0,function(e){return o(c(e))},"bytesToNumberLE",0,function(e){return i(e),o(c(Uint8Array.from(e).reverse()))},"concatBytes",0,d,"createHmacDrbg",0,function(e,t,r){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof r)throw Error("hmacFn must be a function");let n=m(e),i=m(e),o=0,a=()=>{n.fill(1),i.fill(0),o=0},s=(...e)=>r(i,n,...e),c=(e=m(0))=>{let t;if(i=s((t=[0],Uint8Array.from(t)),e),n=s(),0!==e.length){let t;i=s((t=[1],Uint8Array.from(t)),e),n=s()}},l=()=>{if(o++>=1e3)throw Error("drbg: tried 1000 values");let e=0,r=[];for(;e<t;){let t=(n=s()).slice();r.push(t),e+=n.length}return d(...r)};return(e,t)=>{let r;for(a(),c(e);!(r=t(l()));)c();return a(),r}},"ensureBytes",0,function(e,t,r){let i;if("string"==typeof t)try{i=u(t)}catch(t){throw Error(e+" must be hex string or Uint8Array, cause: "+t)}else if(n(t))i=Uint8Array.from(t);else throw Error(e+" must be hex string or Uint8Array");let o=i.length;if("number"==typeof r&&o!==r)throw Error(e+" of length "+r+" expected, got "+o);return i},"equalBytes",0,function(e,t){if(e.length!==t.length)return!1;let r=0;for(let n=0;n<e.length;n++)r|=e[n]^t[n];return 0===r},"hexToBytes",0,u,"inRange",0,p,"isBytes",0,n,"memoized",0,function(e){let t=new WeakMap;return(r,...n)=>{let i=t.get(r);if(void 0!==i)return i;let o=e(r,...n);return t.set(r,o),o}},"numberToBytesBE",0,f,"numberToBytesLE",0,function(e,t){return f(e,t).reverse()},"numberToHexUnpadded",0,function(e){let t=e.toString(16);return 1&t.length?"0"+t:t},"utf8ToBytes",0,function(e){if("string"!=typeof e)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(e))},"validateObject",0,function(e,t,r={}){let n=(t,r,n)=>{let i=g[r];if("function"!=typeof i)throw Error("invalid validator function");let o=e[t];if((!n||void 0!==o)&&!i(o,e))throw Error("param "+String(t)+" is invali
2d. Expected "+r+", got "+o)};for(let[e,r]of Object.entries(t))n(e,r,!1);for(let[e,t]of Object.entries(r))n(e,t,!0);return e}])},658765,378746,309579,e=>{"use strict";var t=e.i(831095);let r="\x19Ethereum Signed Message:\n";e.s(["presignMessagePrefix",0,r],378746);var n=e.i(147526),i=e.i(401319),o=e.i(675107);function a(e){let t="string"==typeof e?(0,o.stringToHex)(e):"string"==typeof e.raw?e.raw:(0,o.bytesToHex)(e.raw),a=(0,o.stringToHex)(`${r}${(0,i.size)(t)}`);return(0,n.concat)([a,t])}e.s(["toPrefixedMessage",0,a],309579),e.s(["hashMessage",0,function(e,r){return(0,t.keccak256)(a(e),r)}],658765)},153077,e=>{"use strict";var t=e.i(752012),r=e.i(600547),n=e.i(656679),i=e.i(606580),o=e.i(467125),a=e.i(989509);async function s(e,{address:c,blockHash:l,blockNumber:u,blockTag:f=e.experimental_blockTag??"latest",requireCanonical:d}){let h=(0,i.formatBlockParameter)({blockHash:l,blockNumber:u,blockTag:f,requireCanonical:d});if(e.batch?.multicall&&e.chain?.contracts?.multicall3){let i=e.chain.contracts.multicall3.address,s=(0,n.encodeFunctionData)({abi:t.multicall3Abi,functionName:"getEthBalance",args:[c]}),{data:h}=await (0,o.getAction)(e,a.call,"call")({to:i,data:s,blockHash:l,blockNumber:u,blockTag:f,requireCanonical:d});return(0,r.decodeFunctionResult)({abi:t.multicall3Abi,functionName:"getEthBalance",args:[c],data:h||"0x"})}return BigInt(await e.request({method:"eth_getBalance",params:[c,h]}))}e.s(["getBalance",0,s])},804558,e=>{"use strict";var t=e.i(752012),r=e.i(472503),n=e.i(70204),i=e.i(569934),o=e.i(878023),a=e.i(600547),s=e.i(656679),c=e.i(737746),l=e.i(807749),u=e.i(467125),f=e.i(871706),d=e.i(34888),h=e.i(388750);async function p(e,f){let{account:d,authorizationList:p,allowFailure:g=!0,blockHash:b,blockNumber:y,blockOverrides:x,blockTag:v,requireCanonical:w,stateOverride:T}=f,E=f.contracts,A="object"==typeof e.batch?.multicall?e.batch.multicall:{},H=f.batchSize??A.batchSize??1024,B=f.deployless??A.deployless??!1,N=(()=>{if(f.multicallAddress)return f.multicallAddress;if(B)return null;if(e.chain)return(0,c.getChainContractAddress)({blockNumber:y,chain:e.chain,contract:"multicall3"});throw Error("client chain not configured. multicallAddress is required.")})(),k=[[]],F=0,I=0;for(let e=0;e<E.length;e++){let{abi:t,address:r,args:n,functionName:i}=E[e];try{let e=(0,s.encodeFunctionData)({abi:t,args:n,functionName:i});I+=(e.length-2)/2,H>0&&I>H&&k[F].length>0&&(F++,I=(e.length-2)/2,k[F]=[]),k[F]=[...k[F],{allowFailure:!0,callData:e,target:r}]}catch(o){let e=(0,l.getContractError)(o,{abi:t,address:r,args:n,docsPath:"/docs/contract/multicall",functionName:i,sender:d});if(!g)throw e;k[F]=[...k[F],{allowFailure:!0,callData:"0x",target:r}]}}let S=!!e.batch?.multicall,_=S?k.flatMap(e=>e.map(e=>[e])):k,P=await Promise.allSettled(_.map(n=>S?m(e,{account:d,authorizationList:p,batchSize:H,blockHash:b,blockNumber:y,blockOverrides:x,blockTag:v,call:n[0],multicallAddress:N,requireCanonical:w,stateOverride:T}).then(e=>[e]):(0,u.getAction)(e,h.readContract,"readContract")({...null===N?{code:r.multicall3Bytecode}:{address:N},abi:t.multicall3Abi,account:d,args:[n],authorizationList:p,blockHash:b,blockNumber:y,blockOverrides:x,blockTag:v,functionName:"aggregate3",requireCanonical:w,stateOverride:T}))),C=[];for(let e=0;e<P.length;e++){let t=P[e];if("rejected"===t.status){if(!g)throw t.reason;for(let r=0;r<_[e].length;r++)C.push({status:"failure",error:t.reason,result:void 0});continue}let r=t.value;for(let t=0;t<r.length;t++){let{returnData:i,success:s}=r[t],{callData:c}=_[e][t],{abi:u,address:f,functionName:d,args:h}=E[C.length];try{if("0x"===c)throw new n.AbiDecodingZeroDataError;if(!s)throw new o.RawContractError({data:i});let e=(0,a.decodeFunctionResult)({abi:u,args:h,data:i,functionName:d});C.push(g?{result:e,status:"success"}:e)}catch(t){let e=(0,l.getContractError)(t,{abi:u,address:f,args:h,docsPath:"/docs/contract/multicall",functionName:d});if(!g)throw e;C.push({error:e,result:void 0,status:"failure"})}}}if(C.length!==E.length)throw new i.BaseError("multicall results mismatch");return C}async function m(e,n){let{batchSize:i,call:o,multicallAddress:a,...s}=n,{wait:c=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{schedule:l}=(0,f.createBatchScheduler)({id:(0,d.stringify)(["multicall",e.uid,i,a,s]),wait:c,shouldSplitBatch:e=>0!==i&&e.reduce((e,{callData:t})=>e+(t.length-2)/2,0)>i,fn:n=>(0,u.getAction)(e,h.readContract,"readContract")({...null===a?{code:r.multicall3Bytecode}:{address:a},...s,abi:t.multicall3Abi,args:[n],functionName:"aggregate3"})}),[p]=await l(o);return p}e.s(["multicall",0,p])},579917,568307,e=>{"use strict";var t=e.i(393702),r=e.i(675107),n=e.i(982191);async function i(e,{blockHash:o,blockNumber:a,blockTag:s,hash:c,index:l,sender:u,nonce:f}){let d=s||"latest",h=void 0!==a?(0,r.numberToHex)(a):void 0,p=null;if(c?p=await e.request({method:"eth_getTransactionByHash",params:[c]},{dedupe:!0}):o?p=await e.request({method:"eth_getTransactionByBlockHashAndIndex",params:[o,(0,r.numberToHex)(l)]},{dedupe:!0}):(h||d)&&"number"==typeof l?p=await e.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[h||d,(0,r.numberToHex)(l)]},{dedupe:!!h}):u&&"number"==typeof f&&(p=await e.request({method:"eth_getTransactionBySenderAndNonce",params:[u,(0,r.numberToHex)(f)]},{dedupe:!0})),!p)throw new t.TransactionNotFoundError({blockHash:o,blockNumber:a,blockTag:d,hash:c,index:l});return(e.chain?.formatters?.transaction?.format||n.formatTransaction)(p,"getTransaction")}e.s(["getTransaction",0,i],579917);var o=e.i(839080);async function a(e,{hash:r}){let n=await e.request({method:"eth_getTransactionReceipt",params:[r]},{dedupe:!0});if(!n)throw new t.TransactionReceiptNotFoundError({hash:r});return(e.chain?.formatters?.transactionReceipt?.format||o.formatTransactionReceipt)(n,"getTransactionReceipt")}e.s(["getTransactionReceipt",0,a],568307)},712371,e=>{"use strict";var t=e.i(472083);async function r(e,{cacheTime:n=e.cacheTime}={}){let i;return BigInt(await (0,t.withCache)(()=>e.request({method:"eth_blockNumber"}),{cacheKey:(i=e.uid,`blockNumber.${i}`),cacheTime:n}))}e.s(["getBlockNumber",0,r])},948789,127465,e=>{"use strict";var t=e.i(57351),r=e.i(393702),n=e.i(467125),i=e.i(43473),o=e.i(509486),a=e.i(204202),s=e.i(34888),
2c=e.i(915588),l=e.i(579917),u=e.i(568307),f=e.i(450323),d=e.i(976215),h=e.i(712371);function p(e,{emitOnBegin:t=!1,emitMissed:r=!1,onBlockNumber:o,onError:a,poll:c,pollingInterval:l=e.pollingInterval}){let u,m,g;return(void 0!==c?c:"webSocket"!==e.transport.type&&"ipc"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type&&"ipc"!==e.transport.transports[0].config.type))?(m=(0,s.stringify)(["watchBlockNumber",e.uid,t,r,l]),(0,i.observe)(m,{onBlockNumber:o,onError:a},i=>(0,d.poll)(async()=>{try{let t=await (0,n.getAction)(e,h.getBlockNumber,"getBlockNumber")({cacheTime:0});if(void 0!==u){if(t===u)return;if(t-u>1&&r)for(let e=u+1n;e<t;e++)i.onBlockNumber(e,u),u=e}(void 0===u||t>u)&&(i.onBlockNumber(t,u),u=t)}catch(e){i.onError?.(e)}},{emitOnBegin:t,interval:l}))):(g=(0,s.stringify)(["watchBlockNumber",e.uid,t,r]),(0,i.observe)(g,{onBlockNumber:o,onError:a},t=>{let r=!0,n=()=>r=!1;return(async()=>{try{let i=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type||"ipc"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:o}=await i.subscribe({params:["newHeads"],onData(e){if(!r)return;let n=(0,f.hexToBigInt)(e.result?.number);t.onBlockNumber(n,u),u=n},onError(e){t.onError?.(e)}});n=o,r||n()}catch(e){a?.(e)}})(),()=>n()}))}async function m(e,f){let d,h,m,g,b,{checkReplacement:y=e.chain?.supportsTransactionReplacementDetection??!0,confirmations:x=1,hash:v,onReplaced:w,retryCount:T=6,retryDelay:E=({count:e})=>200*~~(1<<e),timeout:A=18e4}=f,H=(0,s.stringify)(["waitForTransactionReceipt",e.uid,v]),B=f.pollingInterval?f.pollingInterval:e.chain?.experimental_preconfirmationTime?e.chain.experimental_preconfirmationTime:e.pollingInterval,N=!1,{promise:k,resolve:F,reject:I}=(0,o.withResolvers)(),S=A?setTimeout(()=>{b?.(),g?.(),I(new r.WaitForTransactionReceiptTimeoutError({hash:v}))},A):void 0;return g=(0,i.observe)(H,{onReplaced:w,resolve:F,reject:I},async i=>{if((m=await (0,n.getAction)(e,u.getTransactionReceipt,"getTransactionReceipt")({hash:v}).catch(()=>void 0))&&x<=1){clearTimeout(S),i.resolve(m),g?.();return}b=(0,n.getAction)(e,p,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:B,async onBlockNumber(o){let s=e=>{clearTimeout(S),b?.(),e(),g?.()},f=o;if(!N)try{if(m){if(x>1&&(!m.blockNumber||f-m.blockNumber+1n<x))return;s(()=>i.resolve(m));return}if(y&&!d&&(N=!0,await (0,a.withRetry)(async()=>{(d=await (0,n.getAction)(e,l.getTransaction,"getTransaction")({hash:v})).blockNumber&&(f=d.blockNumber)},{delay:E,retryCount:T}),N=!1),m=await (0,n.getAction)(e,u.getTransactionReceipt,"getTransactionReceipt")({hash:v}),x>1&&(!m.blockNumber||f-m.blockNumber+1n<x))return;s(()=>i.resolve(m))}catch(o){if(o instanceof r.TransactionNotFoundError||o instanceof r.TransactionReceiptNotFoundError){if(!d){N=!1;return}try{h=d,N=!0;let r=await (0,a.withRetry)(()=>(0,n.getAction)(e,c.getBlock,"getBlock")({blockNumber:f,includeTransactions:!0}),{delay:E,retryCount:T,shouldRetry:({error:e})=>e instanceof t.BlockNotFoundError});N=!1;let o=r.transactions.find(({from:e,nonce:t})=>e===h.from&&t===h.nonce);if(!o||(m=await (0,n.getAction)(e,u.getTransactionReceipt,"getTransactionReceipt")({hash:o.hash}),x>1&&(!m.blockNumber||f-m.blockNumber+1n<x)))return;let l="replaced";o.to===h.to&&o.value===h.value&&o.input===h.input?l="repriced":o.from===o.to&&0n===o.value&&(l="cancelled"),s(()=>{i.onReplaced?.({reason:l,replacedTransaction:h,transaction:o,transactionReceipt:m}),i.resolve(m)})}catch(e){s(()=>i.reject(e))}}else s(()=>i.reject(o))}}})}),k}e.s(["watchBlockNumber",0,p],127465),e.s(["waitForTransactionReceipt",0,m],948789)},537096,e=>{"use strict";e.s(["createFilterRequestScope",0,function(e,{method:t}){let r={};return"fallback"===e.transport.type&&e.transport.onResponse?.(({method:e,response:n,status:i,transport:o})=>{"success"===i&&t===e&&(r[n]=o.request)}),t=>r[t]||e.request}])},81740,e=>{"use strict";var t=e.i(537096);async function r(e){let r=(0,t.createFilterRequestScope)(e,{method:"eth_newPendingTransactionFilter"}),n=await e.request({method:"eth_newPendingTransactionFilter"});return{id:n,request:r(n),type:"transaction"}}e.s(["createPendingTransactionFilter",0,r])},897282,222427,e=>{"use strict";var t=e.i(806685),r=e.i(769936),n=e.i(856324),i=e.i(831095),o=e.i(774620),a=e.i(70204),s=e.i(493429),c=e.i(401319),l=e.i(249311),u=e.i(332881);let f="/docs/contract/decodeEventLog";function d(e){let{abi:t,data:r,strict:n,topics:i}=e,d=n??!0,[h,...p]=i;
2if(!h)throw new a.AbiEventSignatureEmptyTopicsError({docsPath:f});let m=t.find(e=>"event"===e.type&&h===(0,o.toEventSelector)((0,u.formatAbiItem)(e)));if(!(m&&"name"in m)||"event"!==m.type)throw new a.AbiEventSignatureNotFoundError(h,{docsPath:f});let{name:g,inputs:b}=m,y=b?.some(e=>!("name"in e&&e.name)),x=y?[]:{},v=b.map((e,t)=>[e,t]).filter(([e])=>"indexed"in e&&e.indexed),w=[];for(let e=0;e<v.length;e++){let[t,r]=v[e],n=p[e];if(!n){if(d)throw new a.DecodeLogTopicsMismatch({abiItem:m,param:t});w.push([t,r]);continue}x[y?r:t.name||r]=function({param:e,value:t}){return"string"===e.type||"bytes"===e.type||"tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/)?t:((0,l.decodeAbiParameters)([e],t)||[])[0]}({param:t,value:n})}let T=b.filter(e=>!("indexed"in e&&e.indexed)),E=d?T:[...w.map(([e])=>e),...T];if(E.length>0){if(r&&"0x"!==r)try{let e=(0,l.decodeAbiParameters)(E,r);if(e){let t=0;if(!d)for(let[r,n]of w)x[y?n:r.name||n]=e[t++];if(y)for(let r=0;r<b.length;r++)void 0===x[r]&&t<e.length&&(x[r]=e[t++]);else for(let r=0;r<T.length;r++)x[T[r].name]=e[t++]}}catch(e){if(d){if(e instanceof a.AbiDecodingDataSizeTooSmallError||e instanceof s.PositionOutOfBoundsError)throw new a.DecodeLogDataMismatch({abiItem:m,data:r,params:E,size:(0,c.size)(r)});throw e}}else if(d)throw new a.DecodeLogDataMismatch({abiItem:m,data:"0x",params:E,size:0})}return{eventName:g,args:Object.values(x).length>0?x:void 0}}e.s(["decodeEventLog",0,d],222427),e.s(["parseEventLogs",0,function(e){let{abi:a,args:s,logs:c,strict:l=!0}=e,u=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})(),f=a.filter(e=>"event"===e.type).map(e=>({abi:e,selector:(0,o.toEventSelector)(e)}));return c.map(e=>{let o,a,c="string"==typeof e.blockNumber?(0,n.formatLog)(e):e,h=f.filter(e=>c.topics[0]===e.selector);if(0===h.length)return null;for(let e of h)try{o=d({...c,abi:[e.abi],strict:!0}),a=e;break}catch{}if(!o&&!l){a=h[0];try{o=d({data:c.data,topics:c.topics,abi:[a.abi],strict:!1})}catch{let e=a.abi.inputs?.some(e=>!("name"in e&&e.name));return{...c,args:e?[]:{},eventName:a.abi.name}}}return o&&a&&(!u||u.includes(o.eventName))&&function(e){let{args:n,inputs:o,matchArgs:a}=e;if(!a)return!0;if(!n)return!1;function s(e,n,o){try{if("address"===e.type)return(0,t.isAddressEqual)(n,o);if("string"===e.type||"bytes"===e.type)return(0,i.keccak256)((0,r.toBytes)(n))===o;return n===o}catch{return!1}}return Array.isArray(n)&&Array.isArray(a)?a.every((e,t)=>{if(null==e)return!0;let r=o[t];return!!r&&(Array.isArray(e)?e:[e]).some(e=>s(r,e,n[t]))}):!("object"!=typeof n||Array.isArray(n)||"object"!=typeof a||Array.isArray(a))&&Object.entries(a).every(([e,t])=>{if(null==t)return!0;let r=o.find(t=>t.name===e);return!!r&&(Array.isArray(t)?t:[t]).some(t=>s(r,t,n[e]))})}({args:o.args,inputs:a.abi.inputs,matchArgs:s})?{...o,...c}:null}).filter(Boolean)}],897282)},209050,e=>{"use strict";var t=e.i(897282),r=e.i(856324);async function n(e,{filter:i}){let o="strict"in i&&i.strict,a=await i.request({method:"eth_getFilterChanges",params:[i.id]});if("string"==typeof a[0])return a;let s=a.map(e=>(0,r.formatLog)(e));return"abi"in i&&i.abi?(0,t.parseEventLogs)({abi:i.abi,logs:s,strict:o}):s}e.s(["getFilterChanges",0,n])},708412,e=>{"use strict";async function t(e,{filter:r}){return r.request({method:"eth_uninstallFilter",params:[r.id]})}e.s(["uninstallFilter",0,t])},395024,e=>{"use strict";var t=e.i(467125),r=e.i(43473),n=e.i(976215),i=e.i(34888),o=e.i(81740),a=e.i(209050),s=e.i(708412);e.s(["watchPendingTransactions",0,function(e,{batch:c=!0,onError:l,onTransactions:u,poll:f,pollingInterval:d=e.pollingInterval}){let h,p,m;return(void 0!==f?f:"webSocket"!==e.transport.type&&"ipc"!==e.transport.type)?(h=(0,i.stringify)(["watchPendingTransactions",e.uid,c,d]),(0,r.observe)(h,{onTransactions:u,onError:l},r=>{let i,l=(0,n.poll)(async()=>{try{if(!i)try{i=await (0,t.getAction)(e,o.createPendingTransactionFilter,"createPendingTransactionFilter")({});return}catch(e){throw l(),e}let n=await (0,t.getAction)(e,a.getFilterChanges,"getFilterChanges")({filter:i});if(0===n.length)return;if(c)r.onTransactions(n);else for(let e of n)r.onTransactions([e])}catch(e){r.onError?.(e)}},{emitOnBegin:!0,interval:d});return async()=>{i&&await (0,t.getAction)(e,s.uninstallFilter,"uninstallFilter")({filter:i}),l()}})):(p=!0,m=()=>p=!1,(async()=>{try{let{unsubscribe:t}=await e.transport.subscribe({params:["newPendingTransactions"],onData(e){if(!p)return;let t=e.result;u([t])},onError(e){l?.(e)}});m=t,p||m()}catch(e){l?.(e)}})(),()=>m())}])},668375,e=>{"use strict";var t=e.i(657256);e.s(["parseUnits",0,function(e,r){return t.from(e,r)}])},938630,e=>{"use strict";
2var t=e.i(189991),r=e.i(611573),n=e.i(656679),i=e.i(807749),o=e.i(467125),a=e.i(888794);async function s(e,t){return s.internal(e,a.sendTransaction,"sendTransaction",t)}(s||(s={})).internal=async function(e,a,s,c){let{abi:l,account:u=e.account,address:f,args:d,functionName:h,...p}=c;if(void 0===u)throw new r.AccountNotFoundError({docsPath:"/docs/contract/writeContract"});let m=u?(0,t.parseAccount)(u):null,g=(0,n.encodeFunctionData)({abi:l,args:d,functionName:h});try{return await (0,o.getAction)(e,a,s)({data:g,to:f,account:m,...p})}catch(e){throw(0,i.getContractError)(e,{abi:l,address:f,args:d,docsPath:"/docs/contract/writeContract",functionName:h,sender:m?.address})}},e.s(["writeContract",0,s])},478492,(e,t,r)=>{"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,n,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,n||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(i=!1)),l.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},l.prototype.listeners=function(e){var t=i?i+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=Array(o);n<o;n++)a[n]=r[n].fn;return a},l.prototype.listenerCount=function(e){var t=i?i+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,n,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],f=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),f){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,n),!0;case 5:return u.fn.call(u.context,t,r,n,o),!0;case 6:return u.fn.call(u.context,t,r,n,o,a),!0}for(l=1,c=Array(f-1);l<f;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var d,h=u.length;for(l=0;l<h;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),f){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,r);break;case 4:u[l].fn.call(u[l].context,t,r,n);break;default:if(!c)for(d=1,c=Array(f-1);d<f;d++)c[d-1]=arguments[d];u[l].fn.apply(u[l].context,c)}}return!0},l.prototype.on=function(e,t,r){return s(this,e,t,r,!1)},l.prototype.once=function(e,t,r){return s(this,e,t,r,!0)},l.prototype.removeListener=function(e,t,r,n){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||n&&!a.once||r&&a.context!==r||c(this,o);else{for(var s=0,l=[],u=a.length;s<u;s++)(a[s].fn!==t||n&&!a[s].once||r&&a[s].context!==r)&&l.push(a[s]);l.length?this._events[o]=1===l.length?l[0]:l:c(this,o)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&c(this,t)):(this._events=new o,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=i,l.EventEmitter=l,t.exports=l},595932,e=>{"use strict";let t=e.i(478492).default;e.s(["default",0,t])},273260,e=>{"use strict";e.s(["serializeAuthorizationList",()=>n]);var t=e.i(675107),r=e.i(766816);function n(e){if(!e||0===e.length)return[];let n=[];for(let i of e){let{chainId:e,nonce:o,...a}=i,s=i.address;n.push([e?(0,t.toHex)(e):"0x",s,o?(0,t.toHex)(o):"0x",...(0,r.toYParitySignatureArray)({},a)])}return n}},647314,e=>{"use strict";var t=e.i(556047),r=e.i(674768),n=e.i(608861),i=e.i(569934),o=e.i(86741),a=e.i(505880),s=e.i(853532),c=e.i(796516),l=e.i(401319),u=e.i(790063),f=e.i(450323);function d(e){let{chainId:t,maxPriorityFeePerGas:i,maxFeePerGas:o,to:l}=e;if(t<=0)throw new a.InvalidChainIdError({chainId:t});if(l&&!(0,c.isAddress)(l))throw new n.InvalidAddressError({address:l});if(o&&o>r.maxUint256)throw new s.FeeCapTooHighError({maxFeePerGas:o});if(i&&o&&i>o)throw new s.TipAboveFeeCapError({maxFeePerGas:o,maxPriorityFeePerGas:i})}e.s(["assertTransactionEIP1559",0,d,"assertTransactionEIP2930",0,function(e){let{chainId:t,maxPriorityFeePerGas:o,gasPrice:l,maxFeePerGas:u,to:f}=e;if(t<=0)throw new a.InvalidChainIdError({chainId:t});if(f&&!(0,c.isAddress)(f))throw new n.InvalidAddressError({address:f});if(o||u)throw new i.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(l&&l>r.maxUint256)throw new s.FeeCapTooHighError({maxFeePerGas:l})},"assertTransactionEIP4844",0,function(e){let{blobVersionedHashes:r}=e;if(r){if(0===r.length)throw new o.EmptyBlobError;for(let e of r){let r=(0,l.size)(e),n=(0,f.hexToNumber)((0,u.slice)(e,0,1));if(32!==r)throw new o.InvalidVersionedHashSizeError({hash:e,size:r});if(n!==t.versionedHashVersionKzg)throw new o.InvalidVersionedHashVersionError({hash:e,version:n})}}d(e)},"assertTransactionEIP7702",0,function(e){let{authorizationList:t}=e;if(t)for(let e of t){let{chainId:t}=e,r=e.address;if(!(0,c.isAddress)(r))throw new n.InvalidAddressError({address:r});if(t<0)throw new a.InvalidChainIdError({chainId:t})}d(e)},"assertTransactionLegacy",0,function(e){let{chainId:t,maxPriorityFeePerGas:o,gasPrice:l,maxFeePerGas:u,to:f}=e;if(f&&!(0,c.isAddress)(f))throw new n.InvalidAddressError({address:f});if(void 0!==t&&t<=0)throw new a.InvalidChainIdError({chainId:t});if(o||u)throw new i.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(l&&l>r.maxUint256)throw new s.FeeCapTooHighError({maxFeePerGas:l})}])},766816,621490,e=>{"use strict";e.s(["serializeTransaction",()=>g,"toYParitySignatureArray",()=>b],766816);var t=e.i(393702),r=e.i(273260),n=e.i(94371),i=e.i(49810),o=e.i(883031),a=e.i(310538),s=e.i(147526),c=e.i(8406),l=e.i(675107),u=e.i(70326),f=e.i(647314),d=e.i(576213),h=e.i(608861),p=e.i(796516);function m(e){if(!e||0===e.length)return[];let r=[];for(let n=0;n<e.length;n++){let{address:i,storageKeys:o}=e[n];for(let e=0;e<o.length;e++)if(o[e].length-2!=64)throw new t.InvalidStorageKeySizeError({storageKey:o[e]});if(!(0,p.isAddress)(i,{strict:!1}))throw new h.InvalidAddressError({address:i});r.push([i,o])}return r}function g(e,h){let p=(0,d.getTransactionType)(e);return"eip1559"===p?function(e,t){let{chainId:r,gas:n,nonce:i,to:o,value:a,maxFeePerGas:c,maxPriorityFeePerGas:d,accessList:h,data:p}=e;(0,f.assertTransactionEIP1559)(e);let g=m(h),y=[(0,l.numberToHex)(r),i?(0,l.numberToHex)(i):"0x",d?(0,l.numberToHex)(d):"0x",c?(0,l.numberToHex)(c):"0x",n?(0,l.numberToHex)(n):"0x",o??"0x",a?(0,l.numberToHex)(a):"0x",p??"0x",g,...b(e,t)];return(0,s.concatHex)(["0x02",(0,u.toRlp)(y)])}(e,h):"eip2930"===p?function(e,t){let{chainId:r,gas:n,data:i,nonce:o,to:a,value:c,accessList:d,gasPrice:h}=e;(0,f.assertTransactionEIP2930)(e);let p=m(d),g=[(0,l.numberToHex)(r),o?(0,l.numberToHex)(o):"0x",h?(0,l.numberToHex)(h):"0x",n?(0,l.numberToHex)(n):"0x",a??"0x",c?(0,l.numberToHex)(c):"0x",i??"0x",p,...b(e,t)];return(0,s.concatHex)(["0x01",(0,u.toRlp)(g)])}(e,h):"eip4844"===p?function(e,t){let{chainId:r,gas:c,nonce:d,to:h,value:p,maxFeePerBlobGas:g,maxFeePerGas:y,maxPriorityFeePerGas:x,accessList:v,data:w}=e;(0,f.assertTransactionEIP4844)(e);let T=e.blobVersionedHashes,E=e.sidecars;if(e.blobs&&(void 0===T||void 0===E)){let t="string"==typeof e.blobs[0]?e.blobs:e.blobs.map(e=>(0,l.bytesToHex)(e)),r=e.kzg,s=(0,n.blobsToCommitments)({blobs:t,kzg:r});if(void 0===T&&(T=(0,o.commitmentsToVersionedHashes)({commitments:s})),void 0===E){let e=(0,i.blobsToProofs)({blobs:t,commitments:s,kzg:r});E=(0,a.toBlobSidecars)({blobs:t,commitments:s,proofs:e})}}let A=m(v),H=[(0,l.numberToHex)(r),d?(0,l.numberToHex)(d):"0x",x?(0,l.numberToHex)(x):"0x",y?(0,l.numberToHex)(y):"0x",c?(0,l.numberToHex)(c):"0x",h??"0x",p?(0,l.numberToHex)(p):"0x",w??"0x",A,g?(0,l.numberToHex)(g):"0x",T??[],...b(e,t)],B=[],N=[],k=[];if(E)for(let e=0;e<E.length;e++){let{blob:t,commitment:r,proof:n}=E[e];B.push(t),N.push(r),k.push(n)}return(0,s.concatHex)(["0x03",E?(0,u.toRlp)([H,B,N,k]):(0,u.toRlp)(H)])}(e,h):"eip7702"===p?function(e,t){let{authorizationList:n,chainId:i,gas:o,nonce:a,to:c,value:d,maxFeePerGas:h,maxPriorityFeePerGas:p,accessList:g,data:y}=e;(0,f.assertTransactionEIP7702)(e);let x=m(g),v=(0,r.serializeAuthorizationList)(n);return(0,s.concatHex)(["0x04",(0,u.toRlp)([(0,l.numberToHex)(i),a?(0,l.numberToHex)(a):"0x",p?(0,l.numberToHex)(p):"0x",h?(0,l.numberToHex)(h):"0x",o?(0,l.numberToHex)(o):"0x",c??"0x",d?(0,l.numberToHex)(d):"0x",y??"0x",x,v,...b(e,t)])])}(e,h):function(e,r){let{chainId:n=0,gas:i,data:o,nonce:a,to:s,value:d,gasPrice:h}=e;(0,f.assertTransactionLegacy)(e);let p=[a?(0,l.numberToHex)(a):"0x",h?(0,l.numberToHex)(h):"0x",i?(0,l.numberToHex)(i):"0x",s??"0x",d?(0,l.numberToHex)(d):"0x",o??"0x"];if(r){let e=(()=>
2{if(r.v>=35n)return(r.v-35n)/2n>0?r.v:27n+(35n===r.v?0n:1n);if(n>0)return BigInt(2*n)+BigInt(35n+r.v-27n);let e=27n+(27n===r.v?0n:1n);if(r.v!==e)throw new t.InvalidLegacyVError({v:r.v});return e})(),i=(0,c.trim)(r.r),o=(0,c.trim)(r.s);p=[...p,(0,l.numberToHex)(e),"0x00"===i?"0x":i,"0x00"===o?"0x":o]}else n>0&&(p=[...p,(0,l.numberToHex)(n),"0x","0x"]);return(0,u.toRlp)(p)}(e,h)}function b(e,t){let r=t??e,{v:n,yParity:i}=r;if(void 0===r.r||void 0===r.s||void 0===n&&void 0===i)return[];let o=(0,c.trim)(r.r),a=(0,c.trim)(r.s);return["number"==typeof i?i?(0,l.numberToHex)(1):"0x":0n===n?"0x":1n===n?(0,l.numberToHex)(1):27n===n?"0x":(0,l.numberToHex)(1),"0x00"===o?"0x":o,"0x00"===a?"0x":a]}e.s(["serializeAccessList",0,m],621490)},408155,e=>{"use strict";let t=e=>{let t,r=new Set,n=(e,n)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=n?n:"object"!=typeof i||null===i)?i:Object.assign({},t,i),r.forEach(r=>r(t,e))}},i=()=>t,o={setState:n,getState:i,getInitialState:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e))},a=t=e(n,i,o);return o};e.s(["createStore",0,e=>e?t(e):t])},768834,e=>{"use strict";var t=e.i(271645),r=e.i(408155);let n=e=>{let n=(0,r.createStore)(e),i=e=>(function(e,r=e=>e){let n=t.default.useSyncExternalStore(e.subscribe,t.default.useCallback(()=>r(e.getState()),[e,r]),t.default.useCallback(()=>r(e.getInitialState()),[e,r]));return t.default.useDebugValue(n),n})(n,e);return Object.assign(i,n),i};e.s(["create",0,e=>e?n(e):n])}]);
3
4//# debugId=323211c1-e047-1279-2577-0f3c2cfe53ba
5//# sourceMappingURL=0r3jv6ts989mz.js.map

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.