PageSourceSearch

https://topagentx402.vercel.app/_next/static/immutable/chunks/1uh1obxv7hzrg.js

js topagentx402.vercel.app collected 2026-10-03 07:53:34 UTC 41,374 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,81740,537096,e=>{"use strict";function t(e,{method:r}){let a={};return"fallback"===e.transport.type&&e.transport.onResponse?.(({method:e,response:t,status:i,transport:n})=>{"success"===i&&r===e&&(a[t]=n.request)}),t=>a[t]||e.request}async function r(e){let r=t(e,{method:"eth_newPendingTransactionFilter"}),a=await e.request({method:"eth_newPendingTransactionFilter"});return{id:a,request:r(a),type:"transaction"}}e.s(["createFilterRequestScope",0,t],537096),e.s(["createPendingTransactionFilter",0,r],81740)},972960,111047,194720,e=>{"use strict";var t=e.i(170222),r=e.i(467125),a=e.i(450323),i=e.i(915588);async function n(e){return BigInt(await e.request({method:"eth_gasPrice"}))}async function o(e,t){return s(e,t)}async function s(e,o){let{block:s,chain:c=e.chain,request:l}=o||{};try{let t=c?.fees?.maxPriorityFeePerGas??c?.fees?.defaultPriorityFee;if("function"==typeof t){let a=s||await (0,r.getAction)(e,i.getBlock,"getBlock")({}),n=await t({block:a,client:e,request:l});if(null===n)throw Error();return n}if(void 0!==t)return t;let n=await e.request({method:"eth_maxPriorityFeePerGas"});return(0,a.hexToBigInt)(n)}catch{let[a,o]=await Promise.all([s?Promise.resolve(s):(0,r.getAction)(e,i.getBlock,"getBlock")({}),(0,r.getAction)(e,n,"getGasPrice")({})]);if("bigint"!=typeof a.baseFeePerGas)throw new t.Eip1559FeesNotSupportedError;let c=o-a.baseFeePerGas;if(c<0n)return 0n;return c}}async function c(e,t){return l(e,t)}async function l(e,a){let{block:o,chain:c=e.chain,request:l,type:u="eip1559"}=a||{},d=await (async()=>"function"==typeof c?.fees?.baseFeeMultiplier?c.fees.baseFeeMultiplier({block:o,client:e,request:l}):c?.fees?.baseFeeMultiplier??1.2)();if(d<1)throw new t.BaseFeeScalarError;let f=d.toString().split(".")[1]?.length??0,m=10**f,p=e=>e*BigInt(Math.round(d*m))/BigInt(m),g=o||await (0,r.getAction)(e,i.getBlock,"getBlock")({});if("function"==typeof c?.fees?.estimateFeesPerGas){let t=await c.fees.estimateFeesPerGas({block:o,client:e,multiply:p,request:l,type:u});if(null!==t)return t}if("eip1559"===u){if("bigint"!=typeof g.baseFeePerGas)throw new t.Eip1559FeesNotSupportedError;let r="bigint"==typeof l?.maxPriorityFeePerGas?l.maxPriorityFeePerGas:await s(e,{block:g,chain:c,request:l}),a=p(g.baseFeePerGas);return{maxFeePerGas:l?.maxFeePerGas??a+r,maxPriorityFeePerGas:r}}return{gasPrice:l?.gasPrice??p(await (0,r.getAction)(e,n,"getGasPrice")({}))}}e.s(["getGasPrice",0,n],111047),e.s(["estimateMaxPriorityFeePerGas",0,o,"internal_estimateMaxPriorityFeePerGas",0,s],194720),e.s(["estimateFeesPerGas",0,c,"internal_estimateFeesPerGas",0,l],972960)},484734,e=>{"use strict";e.s(["estimateGas",()=>d]);var t=e.i(189991),r=e.i(569934),a=e.i(290392),i=e.i(675107),n=e.i(205789),o=e.i(264404),s=e.i(190521),c=e.i(826051),l=e.i(353464),u=e.i(368941);async function d(e,d){let{account:f=e.account,prepare:m=!0}=d,p=f?(0,t.parseAccount)(f):void 0,g=Array.isArray(m)?m:p?.type!=="local"?["blobVersionedHashes"]:void 0;try{let t=await (async()=>d.to?d.to:d.authorizationList&&d.authorizationList.length>0?await (0,a.recoverAuthorizationAddress)({authorization:d.authorizationList[0]}).catch(()=>{throw new r.BaseError("`to` is required. Could not infer from `authorizationList`")}):void 0)(),{accessList:n,authorizationList:f,blobs:b,blobVersionedHashes:y,blockNumber:h,blockTag:v,data:x,gas:P,gasPrice:w,maxFeePerBlobGas:T,maxFeePerGas:B,maxPriorityFeePerGas:F,nonce:k,value:E,stateOverride:G,...A}=m?await (0,u.prepareTransactionRequest)(e,{...d,parameters:g,to:t}):d;if(P&&d.gas!==P)return P;let I=("bigint"==typeof h?(0,i.numberToHex)(h):void 0)||v,N=(0,c.serializeStateOverride)(G);(0,l.assertRequest)(d);let R=e.chain?.formatters?.transactionRequest?.format,S=(R||s.formatTransactionRequest)({...(0,o.extract)(A,{format:R}),account:p,accessList:n,authorizationList:f,blobs:b,blobVersionedHashes:y,data:x,gasPrice:w,maxFeePerBlobGas:T,maxFeePerGas:B,maxPriorityFeePerGas:F,nonce:k,to:t,value:E},"estimateGas");return BigInt(await e.request({method:"eth_estimateGas",params:N?[S,I??e.experimental_blockTag??"latest",N]:I?[S,I]:[S]}))}catch(t){throw(0,n.getEstimateGasError)(t,{...d,account:p,chain:e.chain})}}},818249,975948,e=>{"use strict";var t=e.i(189991),r=e.i(170222),a=e.i(393702),i=e.i(10725),n=e.i(264404),o=e.i(982191),s=e.i(190521),c=e.i(467125),l=e.i(353464),u=e.i(915588),d=e.i(450323);async function f(e){let t=await e.request({method:"eth_chainId"},{dedupe:!0});return(0,d.hexToNumber)(t)}async function m(e,d){let{account:m=e.account,accessList:p,authorizationList:g,chain:b=e.chain,blobVersionedHashes:y,blobs:h,data:v,gas:x,gasPrice:P,maxFeePerBlobGas:w,maxFeePerGas:T,maxPriorityFeePerGas:B,nonce:F,nonceManager:k,to:E,type:G,value:A,...I}=d,N=await (async()=>
1{if(!m||!k||void 0!==F)return F;let r=(0,t.parseAccount)(m),a=b?b.id:await (0,c.getAction)(e,f,"getChainId")({});return await k.consume({address:r.address,chainId:a,client:e})})();(0,l.assertRequest)(d);let R=b?.formatters?.transactionRequest?.format,S=(R||s.formatTransactionRequest)({...(0,n.extract)(I,{format:R}),account:m?(0,t.parseAccount)(m):void 0,accessList:p,authorizationList:g,blobs:h,blobVersionedHashes:y,data:v,gas:x,gasPrice:P,maxFeePerBlobGas:w,maxFeePerGas:T,maxPriorityFeePerGas:B,nonce:N,to:E,type:G,value:A},"fillTransaction");try{let t=await e.request({method:"eth_fillTransaction",params:[S]}),i=(b?.formatters?.transaction?.format||o.formatTransaction)(t.tx);delete i.blockHash,delete i.blockNumber,delete i.r,delete i.s,delete i.transactionIndex,delete i.v,delete i.yParity,i.data=i.input;let n=void 0!==i.feePayerSignature&&null!==i.feePayerSignature;if(n&&void 0!==N&&i.nonce!==N)throw new a.FeePayerNonceMismatchError({filledNonce:i.nonce,requestedNonce:N});if(!n){i.gas&&(i.gas=d.gas??i.gas),i.gasPrice&&(i.gasPrice=d.gasPrice??i.gasPrice),i.maxFeePerBlobGas&&(i.maxFeePerBlobGas=d.maxFeePerBlobGas??i.maxFeePerBlobGas),i.maxFeePerGas&&(i.maxFeePerGas=d.maxFeePerGas??i.maxFeePerGas),i.maxPriorityFeePerGas&&(i.maxPriorityFeePerGas=d.maxPriorityFeePerGas??i.maxPriorityFeePerGas),void 0!==i.nonce&&(i.nonce=d.nonce??i.nonce);let t=await (async()=>{if("function"==typeof b?.fees?.baseFeeMultiplier){let t=await (0,c.getAction)(e,u.getBlock,"getBlock")({});return b.fees.baseFeeMultiplier({block:t,client:e,request:d})}return b?.fees?.baseFeeMultiplier??1.2})();if(t<1)throw new r.BaseFeeScalarError;let a=t.toString().split(".")[1]?.length??0,n=10**a,o=e=>e*BigInt(Math.round(t*n))/BigInt(n);i.maxFeePerGas&&!d.maxFeePerGas&&(i.maxFeePerGas=o(i.maxFeePerGas)),i.gasPrice&&!d.gasPrice&&(i.gasPrice=o(i.gasPrice))}return{raw:t.raw,transaction:{from:S.from,...i},...t.capabilities?{capabilities:t.capabilities}:{}}}catch(t){throw(0,i.getTransactionError)(t,{...d,chain:e.chain})}}e.s(["getChainId",0,f],975948),e.s(["fillTransaction",0,m],818249)},153077,e=>{"use strict";var t=e.i(752012),r=e.i(240605),a=e.i(656679),i=e.i(606580),n=e.i(467125),o=e.i(989509);async function s(e,{address:c,blockHash:l,blockNumber:u,blockTag:d=e.experimental_blockTag??"latest",requireCanonical:f}){let m=(0,i.formatBlockParameter)({blockHash:l,blockNumber:u,blockTag:d,requireCanonical:f});if(e.batch?.multicall&&e.chain?.contracts?.multicall3){let i=e.chain.contracts.multicall3.address,s=(0,a.encodeFunctionData)({abi:t.multicall3Abi,functionName:"getEthBalance",args:[c]}),{data:m}=await (0,n.getAction)(e,o.call,"call")({to:i,data:s,blockHash:l,blockNumber:u,blockTag:d,requireCanonical:f});return(0,r.decodeFunctionResult)({abi:t.multicall3Abi,functionName:"getEthBalance",args:[c],data:m||"0x"})}return BigInt(await e.request({method:"eth_getBalance",params:[c,m]}))}e.s(["getBalance",0,s])},915588,557874,e=>{"use strict";var t=e.i(57351),r=e.i(675107),a=e.i(445024),i=e.i(982191);function n(e,t){let r=(e.transactions??[]).map(e=>"string"==typeof e?e:(0,i.formatTransaction)(e));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:r,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}let o=(0,a.defineFormatter)("block",n);async function s(e,{blockHash:a,blockNumber:i,blockTag:o=e.experimental_blockTag??"latest",includeTransactions:c}={}){let l=c??!1,u=void 0!==i?(0,r.numberToHex)(i):void 0,d=null;if(!(d=a?await e.request({method:"eth_getBlockByHash",params:[a,l]},{dedupe:!0}):await e.request({method:"eth_getBlockByNumber",params:[u||o,l]},{dedupe:!!u})))throw new t.BlockNotFoundError({blockHash:a,blockNumber:i});return(e.chain?.formatters?.block?.format||n)(d,"getBlock")}e.s(["defineBlock",0,o,"formatBlock",0,n],557874),e.s(["getBlock",0,s],915588)},712371,e=>{"use strict";let t=new Map,r=new Map;async function a(e,{cacheKey:i,cacheTime:n=1/0}){let o,s,c,l=(s=(o=(e,t)=>({clear:()=>t.delete(e),get:()=>t.get(e),set:r=>t.set(e,r)}))(i,t),{clear:()=>{s.clear(),c.clear()},promise:s,response:c=o(i,r)}),u=l.response.get();if(u&&n>0&&Date.now()-u.created.getTime()<n)return u.data;let d=l.promise.get();d||(d=e(),l.promise.set(d));try{let e=await d;return l.response.set({created:new Date,data:e}),e}finally{l.promise.clear()}}async function i(e,{cacheTime:t=e.cacheTime}={}){let r;return BigInt(await a(()=>e.request({method:"eth_blockNumber"}),{cacheKey:(r=e.uid,`blockNumber.${r}`),cacheTime:t}))}e.s(["getBlockNumber",0,i],712371)},209050,e=>{"use strict";var t=e.i(897282),r=e.i(856324);async function a(e,{filter:i}){let n="strict"in i&&i.strict,o=await i.request({method:"eth_getFilterChanges",params:[i.id]});if("string"==typeof o[0])return o;let s=o.map(e=>(0,r.formatLog)(e));return"abi"in i&&i.abi?(0,t.parseEventLogs)({abi:i.abi,logs:s,strict:n}):s}e.s(["getFilterChanges",0,a])},579917,e=>{"use strict";var t=e.i(393702),r=e.i(675107),a=e.i(982191);async function i(e,{blockHash:n,blockNumber:o,blockTag:s,hash:c,index:l,sender:u,nonce:d}){let f=s||"latest",m=void 0!==o?(0,r.numberToHex)(o):void 0,p=null;if(c?p=await e.request({method:"eth_getTransactionByHash",params:[c]},{dedupe:!0}):n?p=await e.request({method:"eth_getTransactionByBlockHashAndIndex",params:[n,(0,r.numberToHex)(l)]},{dedupe:!0}):(m||f)&&"number"==typeof l?p=await e.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[m||f,(0,r.numberToHex)(l)]},{dedupe:!!m}):u&&"number"==typeof d&&(p=await e.request({method:"eth_getTransactionBySenderAndNonce",params:[u,(0,r.numberToHex)(d)]},{dedupe:!0})),!p)throw new t.TransactionNotFoundError({blockHash:n,blockNumber:o,blockTag:f,hash:c,index:l});return(e.chain?.formatters?.transaction?.format||a.formatTransaction)(p,"getTransaction")}e.s(["getTransaction",0,i])},937445,94371,49810,280355,883031,556047,86741,310538,576213,e=>{"use strict";var t=e.i(606580),r=e.i(450323);async function a(e,{address:i,blockHash:n,blockNumber:o,blockTag:s="latest",requireCanonical:c}){let l=(0,t.formatBlockParameter)({blockHash:n,blockNumber:o,blockTag:s,requireCanonical:c}),u=await e.request({method:"eth_getTransactionCount",params:[i,l]},{dedupe:"bigint"==typeof o||void 0!==n});return(0,r.hexToNumber)(u)}e.s(["getTransactionCount",0,a],937445);var i=e.i(769936),n=e.i(675107);function o(e){let{kzg:t}=e,r=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),a="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,i.hexToBytes)(e)):e.blobs,o=[];for(let e of a)o.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===r?o:o.map(e=>(0,n.bytesToHex)(e))}function s(e){let{kzg:t}=e,r=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),a="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,i.hexToBytes)(e)):e.blobs,o="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,i.hexToBytes)(e)):e.commitments,s=[];for(let e=0;e<a.length;e++){let r=a[e],i=o[e];s.push(Uint8Array.from(t.computeBlobKzgProof(r,i)))}return"bytes"===r?s:s.map(e=>(0,n.bytesToHex)(e))}e.s(["blobsToCommitments",0,o],94371),e.s(["blobsToProofs",0,s],49810);var c=e.i(44314);c.SHA256;let l=c.sha256;c.SHA224,c.sha224,e.s(["sha256",0,l],280355);var u=e.i(880841);
1e.s(["commitmentsToVersionedHashes",0,function(e){let{commitments:t,version:r}=e,a=e.to??("string"==typeof t[0]?"hex":"bytes"),o=[];for(let e of t)o.push(function(e){let{commitment:t,version:r=1}=e,a=e.to??("string"==typeof t?"hex":"bytes"),o=l((0,u.isHex)(t,{strict:!1})?(0,i.toBytes)(t):t);return o.set([r],0),"bytes"===a?o:(0,n.bytesToHex)(o)}({commitment:e,to:a,version:r}));return o}],883031);e.s(["versionedHashVersionKzg",0,1],556047);var d=e.i(569934);class f extends d.BaseError{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`],name:"BlobSizeTooLargeError"})}}class m extends d.BaseError{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class p extends d.BaseError{constructor({hash:e,size:t}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${t}`],name:"InvalidVersionedHashSizeError"})}}class g extends d.BaseError{constructor({hash:e,version:t}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:["Expected: 1",`Received: ${t}`],name:"InvalidVersionedHashVersionError"})}}e.s(["BlobSizeTooLargeError",0,f,"EmptyBlobError",0,m,"InvalidVersionedHashSizeError",0,p,"InvalidVersionedHashVersionError",0,g],86741);var b=e.i(795),y=e.i(401319);e.s(["toBlobSidecars",0,function(e){let{data:t,kzg:r,to:a}=e,c=e.blobs??function(e){let t=e.to??("string"==typeof e.data?"hex":"bytes"),r="string"==typeof e.data?(0,i.hexToBytes)(e.data):e.data,a=(0,y.size)(r);if(!a)throw new m;if(a>761855)throw new f({maxSize:761855,size:a});let o=[],s=!0,c=0;for(;s;){let e=(0,b.createCursor)(new Uint8Array(131072)),t=0;for(;t<4096;){let a=r.slice(c,c+31);if(e.pushByte(0),e.pushBytes(a),a.length<31){e.pushByte(128),s=!1;break}t++,c+=31}o.push(e)}return"bytes"===t?o.map(e=>e.bytes):o.map(e=>(0,n.bytesToHex)(e.bytes))}({data:t,to:a}),l=e.commitments??o({blobs:c,kzg:r,to:a}),u=e.proofs??s({blobs:c,commitments:l,kzg:r,to:a}),d=[];for(let e=0;e<c.length;e++)d.push({blob:c[e],commitment:l[e],proof:u[e]});return d}],310538);var h=e.i(393702);e.s(["getTransactionType",0,function(e){if(e.type)return e.type;if(void 0!==e.authorizationList)return"eip7702";if(void 0!==e.blobs||void 0!==e.blobVersionedHashes||void 0!==e.maxFeePerBlobGas||void 0!==e.sidecars)return"eip4844";if(void 0!==e.maxFeePerGas||void 0!==e.maxPriorityFeePerGas)return"eip1559";if(void 0!==e.gasPrice)return void 0!==e.accessList?"eip2930":"legacy";throw new h.InvalidSerializableTransactionError({transaction:e})}],576213)},568307,e=>{"use strict";var t=e.i(393702),r=e.i(839080);async function a(e,{hash:i}){let n=await e.request({method:"eth_getTransactionReceipt",params:[i]},{dedupe:!0});if(!n)throw new t.TransactionReceiptNotFoundError({hash:i});return(e.chain?.formatters?.transactionReceipt?.format||r.formatTransactionReceipt)(n,"getTransactionReceipt")}e.s(["getTransactionReceipt",0,a])},708412,e=>{"use strict";async function t(e,{filter:r}){return r.request({method:"eth_uninstallFilter",params:[r.id]})}e.s(["uninstallFilter",0,t])},948789,127465,e=>{"use strict";var t=e.i(57351),r=e.i(393702),a=e.i(467125),i=e.i(20101),n=e.i(509486),o=e.i(204202),s=e.i(34888),c=e.i(915588),l=e.i(579917),u=e.i(568307),d=e.i(450323),f=e.i(976215),m=e.i(712371);function p(e,{emitOnBegin:t=!1,emitMissed:r=!1,onBlockNumber:n,onError:o,poll:c,pollingInterval:l=e.pollingInterval}){let u,g,b;return(void 0!==c?c:"webSocket"!==e.transport.type&&"ipc"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].c
1onfig.type&&"ipc"!==e.transport.transports[0].config.type))?(g=(0,s.stringify)(["watchBlockNumber",e.uid,t,r,l]),(0,i.observe)(g,{onBlockNumber:n,onError:o},i=>(0,f.poll)(async()=>{try{let t=await (0,a.getAction)(e,m.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}))):(b=(0,s.stringify)(["watchBlockNumber",e.uid,t,r]),(0,i.observe)(b,{onBlockNumber:n,onError:o},t=>{let r=!0,a=()=>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:n}=await i.subscribe({params:["newHeads"],onData(e){if(!r)return;let a=(0,d.hexToBigInt)(e.result?.number);t.onBlockNumber(a,u),u=a},onError(e){t.onError?.(e)}});a=n,r||a()}catch(e){o?.(e)}})(),()=>a()}))}async function g(e,d){let f,m,g,b,y,{checkReplacement:h=e.chain?.supportsTransactionReplacementDetection??!0,confirmations:v=1,hash:x,onReplaced:P,retryCount:w=6,retryDelay:T=({count:e})=>200*~~(1<<e),timeout:B=18e4}=d,F=(0,s.stringify)(["waitForTransactionReceipt",e.uid,x]),k=d.pollingInterval?d.pollingInterval:e.chain?.experimental_preconfirmationTime?e.chain.experimental_preconfirmationTime:e.pollingInterval,E=!1,{promise:G,resolve:A,reject:I}=(0,n.withResolvers)(),N=B?setTimeout(()=>{y?.(),b?.(),I(new r.WaitForTransactionReceiptTimeoutError({hash:x}))},B):void 0;return b=(0,i.observe)(F,{onReplaced:P,resolve:A,reject:I},async i=>{if((g=await (0,a.getAction)(e,u.getTransactionReceipt,"getTransactionReceipt")({hash:x}).catch(()=>void 0))&&v<=1){clearTimeout(N),i.resolve(g),b?.();return}y=(0,a.getAction)(e,p,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:k,async onBlockNumber(n){let s=e=>{clearTimeout(N),y?.(),e(),b?.()},d=n;if(!E)try{if(g){if(v>1&&(!g.blockNumber||d-g.blockNumber+1n<v))return;s(()=>i.resolve(g));return}if(h&&!f&&(E=!0,await (0,o.withRetry)(async()=>{(f=await (0,a.getAction)(e,l.getTransaction,"getTransaction")({hash:x})).blockNumber&&(d=f.blockNumber)},{delay:T,retryCount:w}),E=!1),g=await (0,a.getAction)(e,u.getTransactionReceipt,"getTransactionReceipt")({hash:x}),v>1&&(!g.blockNumber||d-g.blockNumber+1n<v))return;s(()=>i.resolve(g))}catch(n){if(n instanceof r.TransactionNotFoundError||n instanceof r.TransactionReceiptNotFoundError){if(!f){E=!1;return}try{m=f,E=!0;let r=await (0,o.withRetry)(()=>(0,a.getAction)(e,c.getBlock,"getBlock")({blockNumber:d,includeTransactions:!0}),{delay:T,retryCount:w,shouldRetry:({error:e})=>e instanceof t.BlockNotFoundError});E=!1;let n=r.transactions.find(({from:e,nonce:t})=>e===m.from&&t===m.nonce);if(!n||(g=await (0,a.getAction)(e,u.getTransactionReceipt,"getTransactionReceipt")({hash:n.hash}),v>1&&(!g.blockNumber||d-g.blockNumber+1n<v)))return;let l="replaced";n.to===m.to&&n.value===m.value&&n.input===m.input?l="repriced":n.from===n.to&&0n===n.value&&(l="cancelled"),s(()=>{i.onReplaced?.({reason:l,replacedTransaction:m,transaction:n,transactionReceipt:g}),i.resolve(g)})}catch(e){s(()=>i.reject(e))}}else s(()=>i.reject(n))}}})}),G}e.s(["watchBlockNumber",0,p],127465),e.s(["waitForTransactionReceipt",0,g],948789)},395024,e=>{"use strict";var t=e.i(467125),r=e.i(20101),a=e.i(976215),i=e.i(34888),n=e.i(81740),o=e.i(209050),s=e.i(708412);e.s(["watchPendingTransactions",0,function(e,{batch:c=!0,onError:l,onTransactions:u,poll:d,pollingInterval:f=e.pollingInterval}){let m,p,g;return(void 0!==d?d:"webSocket"!==e.transport.type&&"ipc"!==e.transport.type)?(m=(0,i.stringify)(["watchPendingTransactions",e.uid,c,f]),(0,r.observe)(m,{onTransactions:u,onError:l},r=>{let i,l=(0,a.poll)(async()=>{try{if(!i)try{i=await (0,t.getAction)(e,n.createPendingTransactionFilter,"createPendingTransactionFilter")({});return}catch(e){throw l(),e}let a=await (0,t.getAction)(e,o.getFilterChanges,"getFilterChanges")({filter:i});if(0===a.length)return;if(c)r.onTransactions(a);else for(let e of a)r.onTransactions([e])}catch(e){r.onError?.(e)}},{emitOnBegin:!0,interval:f});return async()=>{i&&await (0,t.getAction)(e,s.uninstallFilter,"uninstallFilter")({filter:i}),l()}})):(p=!0,g=()=>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)}});g=t,p||g()}catch(e){l?.(e)}})(),()=>g())}])},368941,e=>{"use strict";e.s(["defaultParameters",()=>h,"prepareTransactionRequest",()=>P]);var t=e.i(189991),r=e.i(972960),a=e.i(484734),i=e.i(915588),n=e.i(937445),o=e.i(170222),s=e.i(393702),c=e.i(94371),l=e.i(49810),u=e.i(883031),d=e.i(310538),f=e.i(467125),m=e.i(976677),p=e.i(353464),g=e.i(576213),b=e.i(818249),y=e.i(975948);let h=["blobVersionedHashes","chainId","fees","gas","nonce","type"],v=new Map,x=new m.LruMap(128);async function P(e,m){let P,w,T=m;T.account??=e.account,T.parameters??=h;let{account:B,chain:F=e.chain,nonceManager:k,parameters:E}=T,G="function"==typeof F?.prepareTransactionRequest?{fn:F.prepareTransactionRequest,runAt:["beforeFillTransaction"]}:Array.isArray(F?.prepareTransactionRequest)?{fn:F.prepareTransactionRequest[0],runAt:F.prepareTransactionRequest[1].runAt}:void 0;async function A(){return P||(void 0!==T.chainId?T.chainId:F?F.id:P=await (0,f.getAction)(e,y.getChainId,"getChainId")({}))}let I=B?(0,t.parseAccount)(B):B,N=T.nonce;if(G?.fn&&G.runAt?.includes("beforeFillTransaction")){T=await G.fn({...T,chain:F},{client:e,phase:"beforeFillTransaction"}),N??=T.nonce;let r=T.account??T.from;I=r?(0,t.parseAccount)(r):void 0}if(E.includes("nonce")&&void 0===N&&I&&k){let t=await A();N=await k.consume({address:I.address,chainId:t,client:e})}let R=(!(E.includes("blobVersionedHashes")||E.includes("sidecars"))||!T.kzg||!T.blobs)&&(E.length>0&&"feePayer"in T&&T.feePayer&&(!("feePayerSignature"in T)||!T.feePayerSignature)||!1!==x.get(e.uid)&&["fees","gas"].some(e=>E.includes(e))&&(E.includes("chainId")&&"number"!=typeof T.chainId||E.includes("nonce")&&"number"!=typeof N||E.includes("fees")&&"bigint"!=typeof T.gasPrice&&("bigint"!=typeof T.maxFeePerGas||"bigint"!=typeof T.maxPriorityFeePerGas)||E.includes("gas")&&"bigint"!=typeof T.gas))?await (0,f.getAction)(e,b.fillTransaction,"fillTransaction")({...T,nonce:N}).then(t=>{let{chainId:r,from:a,gas:i,gasPrice:n,nonce:o,maxFeePerBlobGas:s,maxFeePerGas:c,maxPriorityFeePerGas:l,type:u,...d}=t.transaction,f="feeToken"in d?d.feeToken:void 0,m="feePayerSignature"in d&&null!==d.feePayerSignature&&void 0!==d.feePayerSignature,p=null!=f&&(!("feeToken"in T)||m);return x.set(e.uid,!0),{...T,...a?{from:a}:{},...u&&!T.type?{type:u}:{},...void 0!==r?{chainId:r}:{},...void 0!==i?{gas:i}:{},...void 0!==n?{gasPrice:n}:{},...void 0!==o?{nonce:o}:{},...void 0!==s&&"legacy"!==T.type&&"eip2930"!==T.type?{maxFeePerBlobGas:s}:{},...void 0!==c&&"legacy"!==T.type&&"eip2930"!==T.type?{maxFeePerGas:c}:{},...void 0!==l&&"legacy"!==T.type&&"eip2930"!==T.type?{maxPriorityFeePerGas:l}:{},..."nonceKey"in d&&void 0!==d.nonceKey?{nonceKey:d.nonceKey}:{},..."keyAuthorization"in d&&void 0!==d.keyAuthorization&&null!==d.keyAuthorization&&!("keyAuthorization"in T)?{keyAuthorization:d.keyAuthorization}:{},..."feePayerSignature"in d&&void 0!==d.feePayerSignature&&null!==d.feePayerSignature?{feePayerSignature:d.feePayerSignature}:{},...p?{feeToken:f}:{},...t.capabilities?{_capabilities:t.capabilities}:{}}}).catch(t=>{if("TransactionExecutionError"!==t.name)return T;if(t.walk?.(e=>
1e instanceof s.FeePayerNonceMismatchError)||t.walk?.(e=>"ExecutionRevertedError"===e.name))throw t;return t.walk?.(e=>"MethodNotFoundRpcError"===e.name||"MethodNotSupportedRpcError"===e.name||e.message?.includes("eth_fillTransaction is not available"))&&x.set(e.uid,!1),T}):T;N??=R.nonce;let{blobs:S,gas:H,kzg:q,type:z}=T={...R,...I?{from:I?.address}:{},...void 0!==N?{nonce:N}:{}};async function M(){return w||(w=await (0,f.getAction)(e,i.getBlock,"getBlock")({blockTag:"latest"}))}if(G?.fn&&G.runAt?.includes("beforeFillParameters")&&(T=await G.fn({...T,chain:F},{client:e,phase:"beforeFillParameters"})),E.includes("nonce")&&void 0===N&&I&&!k&&(T.nonce=await (0,f.getAction)(e,n.getTransactionCount,"getTransactionCount")({address:I.address,blockTag:"pending"})),(E.includes("blobVersionedHashes")||E.includes("sidecars"))&&S&&q){let e=(0,c.blobsToCommitments)({blobs:S,kzg:q});if(E.includes("blobVersionedHashes")){let t=(0,u.commitmentsToVersionedHashes)({commitments:e,to:"hex"});T.blobVersionedHashes=t}if(E.includes("sidecars")){let t=(0,l.blobsToProofs)({blobs:S,commitments:e,kzg:q}),r=(0,d.toBlobSidecars)({blobs:S,commitments:e,proofs:t,to:"hex"});T.sidecars=r}}if(E.includes("chainId")&&(T.chainId=await A()),(E.includes("fees")||E.includes("type"))&&void 0===z)try{T.type=(0,g.getTransactionType)(T)}catch{let t=v.get(e.uid);if(void 0===t){let r=await M();t="bigint"==typeof r?.baseFeePerGas,v.set(e.uid,t)}T.type=t?"eip1559":"legacy"}if(E.includes("fees"))if("legacy"!==T.type&&"eip2930"!==T.type){if(void 0===T.maxFeePerGas||void 0===T.maxPriorityFeePerGas){let t=await M(),{maxFeePerGas:a,maxPriorityFeePerGas:i}=await (0,r.internal_estimateFeesPerGas)(e,{block:t,chain:F,request:T});if(void 0===T.maxPriorityFeePerGas&&T.maxFeePerGas&&T.maxFeePerGas<i)throw new o.MaxFeePerGasTooLowError({maxPriorityFeePerGas:i});T.maxPriorityFeePerGas=i,T.maxFeePerGas=a}}else{if(void 0!==T.maxFeePerGas||void 0!==T.maxPriorityFeePerGas)throw new o.Eip1559FeesNotSupportedError;if(void 0===T.gasPrice){let t=await M(),{gasPrice:a}=await (0,r.internal_estimateFeesPerGas)(e,{block:t,chain:F,request:T,type:"legacy"});T.gasPrice=a}}return E.includes("gas")&&void 0===H&&(T.gas=await (0,f.getAction)(e,a.estimateGas,"estimateGas")({...T,account:I,prepare:I?.type==="local"?[]:["blobVersionedHashes"]})),G?.fn&&G.runAt?.includes("afterFillParameters")&&(T=await G.fn({...T,chain:F},{client:e,phase:"afterFillParameters"})),(0,p.assertRequest)(T),delete T.parameters,T}},638291,e=>{"use strict";async function t(e,{serializedTransaction:r}){return e.request({method:"eth_sendRawTransaction",params:[r]},{retryCount:0})}e.s(["sendRawTransaction",0,t])},363625,e=>{"use strict";var t=e.i(189991),r=e.i(606624);function a(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}e.s(["bindActionDecorators",0,function(e,t){let r=(r={})=>t(e,r);for(let a of["call","calls","callWithPeriod","estimateGas","prepare","prepareRecipient","predict","simulate"])if(Object.hasOwn(t,a)){let i=t[a];r[a]=(t={})=>1===i.length?i(t):i(e,t)}for(let e of["extractEvent","extractEvents"])Object.hasOwn(t,e)&&(r[e]=t[e]);return r},"createClient",0,function(e){let{batch:i,chain:n,ccipRead:o,dataSuffix:s,key:c="base",name:l="Base Client",tokens:u,type:d="base"}=e,f=e.experimental_blockTag??("number"==typeof n?.experimental_preconfirmationTime?"pending":void 0),m=Math.min(Math.max(Math.floor((n?.blockTime??12e3)/2),500),4e3),p=e.pollingInterval??m,g=e.cac
1heTime??p,b=e.account?(0,t.parseAccount)(e.account):void 0,{config:y,request:h,value:v}=e.transport({account:b,chain:n,pollingInterval:p}),x={account:b,batch:i,cacheTime:g,ccipRead:o,chain:n,dataSuffix:s,key:c,name:l,pollingInterval:p,request:h,tokens:u,transport:{...y,...v},type:d,uid:(0,r.uid)(),...f?{experimental_blockTag:f}:{}};return Object.assign(x,{extend:function e(t){return r=>{let i=r(t);for(let e in x)delete i[e];let n={...t,...i};for(let e in i){let r=t[e],o=i[e];a(r)&&a(o)&&(n[e]={...r,...o})}return Object.assign(n,{extend:e(n)})}}(x)})}])},611573,e=>{"use strict";var t=e.i(569934);class r extends t.BaseError{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}class a extends t.BaseError{constructor({docsPath:e,metaMessages:t,type:r}){super(`Account type "${r}" is not supported.`,{docsPath:e,metaMessages:t,name:"AccountTypeNotSupportedError"})}}e.s(["AccountNotFoundError",0,r,"AccountTypeNotSupportedError",0,a])},57351,e=>{"use strict";var t=e.i(569934);class r extends t.BaseError{constructor({blockHash:e,blockNumber:t}){let r="Block";e&&(r=`Block at hash "${e}"`),t&&(r=`Block at number "${t}"`),super(`${r} could not be found.`,{name:"BlockNotFoundError"})}}e.s(["BlockNotFoundError",0,r])},170222,e=>{"use strict";var t=e.i(976486),r=e.i(569934);class a extends r.BaseError{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class i extends r.BaseError{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class n extends r.BaseError{constructor({maxPriorityFeePerGas:e}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,t.formatGwei)(e)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}e.s(["BaseFeeScalarError",0,a,"Eip1559FeesNotSupportedError",0,i,"MaxFeePerGasTooLowError",0,n])},897282,222427,e=>{"use strict";var t=e.i(806685),r=e.i(769936),a=e.i(856324),i=e.i(831095),n=e.i(774620),o=e.i(70204),s=e.i(493429),c=e.i(401319),l=e.i(249311),u=e.i(332881);let d="/docs/contract/decodeEventLog";function f(e){let{abi:t,data:r,strict:a,topics:i}=e,f=a??!0,[m,...p]=i;if(!m)throw new o.AbiEventSignatureEmptyTopicsError({docsPath:d});let g=t.find(e=>"event"===e.type&&m===(0,n.toEventSelector)((0,u.formatAbiItem)(e)));if(!(g&&"name"in g)||"event"!==g.type)throw new o.AbiEventSignatureNotFoundError(m,{docsPath:d});let{name:b,inputs:y}=g,h=y?.some(e=>!("name"in e&&e.name)),v=h?[]:{},x=y.map((e,t)=>[e,t]).filter(([e])=>"indexed"in e&&e.indexed),P=[];for(let e=0;e<x.length;e++){let[t,r]=x[e],a=p[e];if(!a){if(f)throw new o.DecodeLogTopicsMismatch({abiItem:g,param:t});P.push([t,r]);continue}v[h?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:a})}let w=y.filter(e=>!("indexed"in e&&e.indexed)),T=f?w:[...P.map(([e])=>e),...w];if(T.length>0){if(r&&"0x"!==r)try{let e=(0,l.decodeAbiParameters)(T,r);if(e){let t=0;if(!f)for(let[r,a]of P)v[h?a:r.name||a]=e[t++];if(h)for(let r=0;r<y.length;r++)void 0===v[r]&&t<e.length&&(v[r]=e[t++]);else for(let r=0;r<w.length;r++)v[w[r].name]=e[t++]}}catch(e){if(f){if(e instanceof o.AbiDecodingDataSizeTooSmallError||e instanceof s.PositionOutOfBoundsError)throw new o.DecodeLogDataMismatch({abiItem:g,data:r,params:T,size:(0,c.size)(r)});throw e}}else if(f)throw new o.DecodeLogDataMismatch({abiItem:g,data:"0x",params:T,size:0})}return{eventName:b,args:Object.values(v).length>0?v:void 0}}e.s(["decodeEventLog",0,f],222427),e.s(["parseEventLogs",0,function(e){let{abi:o,args:s,logs:c,strict:l=!0}=e,u=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})(),d=o.filter(e=>"event"===e.type).map(e=>({abi:e,selector:(0,n.toEventSelector)(e)}));return c.map(e=>{let n,o,c="string"==typeof e.blockNumber?(0,a.formatLog)(e):e,m=d.filter(e=>c.topics[0]===e.selector);if(0===m.length)return null;for(let e of m)try{n=f({...c,abi:[e.abi],strict:!0}),o=e;break}catch{}if(!n&&!l){o=m[0];try{n=f({data:c.data,topics:c.topics,abi:[o.abi],strict:!1})}catch{let e=o.abi.inputs?.some(e=>!("name"in e&&e.name));return{...c,args:e?[]:{},eventName:o.abi.name}}}return n&&o&&(!u||u.includes(n.eventName))&&function(e){let{args:a,inputs:n,matchArgs:o}=e;if(!o)return!0;
1if(!a)return!1;function s(e,a,n){try{if("address"===e.type)return(0,t.isAddressEqual)(a,n);if("string"===e.type||"bytes"===e.type)return(0,i.keccak256)((0,r.toBytes)(a))===n;return a===n}catch{return!1}}return Array.isArray(a)&&Array.isArray(o)?o.every((e,t)=>{if(null==e)return!0;let r=n[t];return!!r&&(Array.isArray(e)?e:[e]).some(e=>s(r,e,a[t]))}):!("object"!=typeof a||Array.isArray(a)||"object"!=typeof o||Array.isArray(o))&&Object.entries(o).every(([e,t])=>{if(null==t)return!0;let r=n.find(t=>t.name===e);return!!r&&(Array.isArray(t)?t:[t]).some(t=>s(r,t,a[e]))})}({args:n.args,inputs:o.abi.inputs,matchArgs:s})?{...n,...c}:null}).filter(Boolean)}],897282)},290392,704433,418217,70326,656450,205789,e=>{"use strict";var t=e.i(823838),r=e.i(831095);function a(e){let a=(0,r.keccak256)(`0x${e.substring(4)}`).substring(26);return(0,t.checksumAddress)(`0x${a}`)}e.s(["publicKeyToAddress",0,a],704433);var i=e.i(880841),n=e.i(401319),o=e.i(450323),s=e.i(675107);async function c({hash:t,signature:r}){let a=(0,i.isHex)(t)?t:(0,s.toHex)(t),{secp256k1:u}=await e.A(389892),d=(()=>{if("object"==typeof r&&"r"in r&&"s"in r){let{r:e,s:t,v:a,yParity:i}=r,n=l(Number(i??a));return new u.Signature((0,o.hexToBigInt)(e),(0,o.hexToBigInt)(t)).addRecoveryBit(n)}let e=(0,i.isHex)(r)?r:(0,s.toHex)(r);if(65!==(0,n.size)(e))throw Error("invalid signature length");let t=l((0,o.hexToNumber)(`0x${e.slice(130)}`));return u.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(t)})().recoverPublicKey(a.substring(2)).toHex(!1);return`0x${d}`}function l(e){if(0===e||1===e)return e;if(27===e)return 0;if(28===e)return 1;throw Error("Invalid yParityOrV value")}async function u({hash:e,signature:t}){return a(await c({hash:e,signature:t}))}e.s(["recoverAddress",0,u],418217);var d=e.i(147526),f=e.i(769936),m=e.i(569934),p=e.i(795);function g(e,t="hex"){let r=function e(t){var r,a;let i,n,o,s;return Array.isArray(t)?(n=b(i=(r=t.map(t=>e(t))).reduce((e,t)=>e+t.length,0)),{length:i<=55?1+i:1+n+i,encode(e){for(let{encode:t}of(i<=55?e.pushByte(192+i):(e.pushByte(247+n),1===n?e.pushUint8(i):2===n?e.pushUint16(i):3===n?e.pushUint24(i):e.pushUint32(i)),r))t(e)}}):(s=b((o="string"==typeof(a=t)?(0,f.hexToBytes)(a):a).length),{length:1===o.length&&o[0]<128?1:o.length<=55?1+o.length:1+s+o.length,encode(e){1===o.length&&o[0]<128||(o.length<=55?e.pushByte(128+o.length):(e.pushByte(183+s),1===s?e.pushUint8(o.length):2===s?e.pushUint16(o.length):3===s?e.pushUint24(o.length):e.pushUint32(o.length))),e.pushBytes(o)}})}(e),a=(0,p.createCursor)(new Uint8Array(r.length));return(r.encode(a),"hex"===t)?(0,s.bytesToHex)(a.bytes):a.bytes}function b(e){if(e<256)return 1;if(e<65536)return 2;if(e<0x1000000)return 3;if(e<0x100000000)return 4;throw new m.BaseError("Length is too large.")}function y(e){let{chainId:t,nonce:a,to:i}=e,n=e.contractAddress??e.address,o=(0,r.keccak256)((0,d.concatHex)(["0x05",g([t?(0,s.numberToHex)(t):"0x",n,a?(0,s.numberToHex)(a):"0x"])]));return"bytes"===i?(0,f.hexToBytes)(o):o}async function h(e){let{authorization:t,signature:r}=e;return u({hash:y(t),signature:r??t})}e.s(["toRlp",0,g],70326),e.s(["hashAuthorization",0,y],656450),e.s(["recoverAuthorizationAddress",0,h],290392);var v=e.i(285973),x=e.i(976486),P=m,w=e.i(393702);class T extends P.BaseError{constructor(e,{account:t,docsPath:r,chain:a,data:i,gas:n,gasPrice:o,maxFeePerGas:s,maxPriorityFeePerGas:c,nonce:l,to:u,value:d}){const f=(0,w.prettyPrint)({from:t?.address,to:u,value:void 0!==d&&`${(0,v.formatEther)(d)} ${a?.nativeCurrency?.symbol||"ETH"}`,data:i,gas:n,gasPrice:void 0!==o&&`${(0,x.formatGwei)(o)} gwei`,maxFeePerGas:void 0!==s&&`${(0,x.formatGwei)(s)} gwei`,maxPriorityFeePerGas:void 0!==c&&`${(0,x.formatGwei)(c)} gwei`,nonce:l});super(e.shortMessage,{cause:e,docsPath:r,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Estimate Gas Arguments:",f].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}var B=e.i(853532),F=e.i(467078);e.s(["getEstimateGasError",0,function(e,{docsPath:t,...r}){let a;return new T((a=(0,F.getNodeError)(e,r))instanceof B.UnknownNodeError?e:a,{docsPath:t,...r})}],205789)},538463,e=>{"use strict";e.s(["defineChain",0,function(e){let t={formatters:void 0,fees:void 0,serializers:void 0,...e};return Object.assign(t,{extend:function e(t){return r=>{let a="function"==typeof r?r(t):r,i={...t,...a};return Object.assign(i,{extend:e(i)})}}(t)})}])},807749,e=>{"use strict";var t=e.i(70204),r=e.i(569934),a=e.i(878023),i=e.i(95767),n=e.i(383856);e.s(["getContractError",0,function(e,{abi:o,address:s,args:c,docsPath:l,functionName:u,sender:d}){let f=e instanceof a.RawContractError?e:e instanceof r.BaseError?e.walk(e=>"data"in e)||e.walk():{},{code:m,data:p,details:g,message:b,shortMessage:y}=f,h=e instanceof t.AbiDecodingZeroDataError?new a.ContractFunctionZeroDataError({functionName:u,cause:e}):[3,n.InternalRpcError.code].includes(m)&&(p||g||b||y)||m===n.InvalidInputRpcError.code&&"execution reverted"===g&&p?new a.ContractFunctionRevertedError({abi:o,data:"object"==typeof p?p.data:p,functionName:u,message:f instanceof i.RpcRequestError?g:y??b,cause:e}):e;return new a.ContractFunctionExecutionError(h,{abi:o,args:c,contractAddress:s,docsPath:l,functionName:u,sender:d})}])},10725,e=>{"use strict";var t=e.i(853532),r=e.i(393702),a=e.i(467078);e.s(["getTransactionError",0,function(e,{docsPath:i,...n}){let o,s=(o=(0,a.getNodeError)(e,n))instanceof t.UnknownNodeError?e:o;return new r.TransactionExecutionError(s,{docsPath:i,...n})}])},856324,e=>{"use strict";e.s(["formatLog",0,function(e,{args:t,eventName:r}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,blockTimestamp:e.blockTimestamp?BigInt(e.blockTimestamp):null===e.blockTimestamp?null:void 0,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...r?{args:t,eventName:r}:{}}}])},982191,e=>{"use strict";var t=e.i(450323),r=e.i(445024);let a={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function i(e,r){let i={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,...null!=e.blockTimestamp&&{blockTimestamp:BigInt(e.blockTimestamp)},chainId:e.chainId?(0,t.hexToNumber)(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?(0,t.hexToNumber)(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?a[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(i.authorizationList=e.authorizationList.map(e=>({address:e.address,chainId:Number(e.chainId),nonce:Number(e.nonce),r:e.r,s:e.s,yParity:Number(e.yParity)}))),i.yParity=(()=>
1{if(e.yParity)return Number(e.yParity);if("bigint"==typeof i.v){if(0n===i.v||27n===i.v)return 0;if(1n===i.v||28n===i.v)return 1;if(i.v>=35n)return+(i.v%2n===0n)}})(),"legacy"===i.type&&(delete i.accessList,delete i.maxFeePerBlobGas,delete i.maxFeePerGas,delete i.maxPriorityFeePerGas,delete i.yParity),"eip2930"===i.type&&(delete i.maxFeePerBlobGas,delete i.maxFeePerGas,delete i.maxPriorityFeePerGas),"eip1559"===i.type&&delete i.maxFeePerBlobGas,i}let n=(0,r.defineFormatter)("transaction",i);e.s(["defineTransaction",0,n,"formatTransaction",0,i,"transactionType",0,a])},839080,e=>{"use strict";var t=e.i(450323),r=e.i(445024),a=e.i(856324),i=e.i(982191);let n={"0x0":"reverted","0x1":"success"};function o(e,r){let o={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(e=>(0,a.formatLog)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,t.hexToNumber)(e.transactionIndex):null,status:e.status?n[e.status]:null,type:e.type?i.transactionType[e.type]||e.type:null};return e.blobGasPrice&&(o.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(o.blobGasUsed=BigInt(e.blobGasUsed)),o}let s=(0,r.defineFormatter)("transactionReceipt",o);e.s(["defineTransactionReceipt",0,s,"formatTransactionReceipt",0,o,"receiptStatuses",0,n])},467125,e=>{"use strict";e.s(["getAction",0,function(e,t,r){let a=e[t.name];if("function"==typeof a)return a;let i=e[r];return"function"==typeof i?i:r=>t(e,r)}])},20101,e=>{"use strict";let t=new Map,r=new Map,a=0;e.s(["observe",0,function(e,i,n){let o=++a,s=()=>t.get(e)||[],c=()=>{let a=s();if(!a.some(e=>e.id===o))return;let i=r.get(e);if(1===a.length&&i){let e=i();e instanceof Promise&&e.catch(()=>{})}(()=>{let a=s().filter(e=>e.id!==o);if(0===a.length){t.delete(e),r.delete(e);return}t.set(e,a)})()},l=s();if(t.set(e,[...l,{id:o,fns:i}]),l&&l.length>0)return c;let u={};for(let e in i)u[e]=(...t)=>{let r=s();if(0!==r.length)for(let a of r)a.fns[e]?.(...t)};let d=n(u);return"function"==typeof d&&r.set(e,d),c}])},976215,e=>{"use strict";var t=e.i(588233);e.s(["poll",0,function(e,{emitOnBegin:r,initialWaitTime:a,interval:i}){let n=!0,o=()=>n=!1;return(async()=>{let s;r&&(s=await e({unpoll:o}));let c=await a?.(s)??i;await (0,t.wait)(c);let l=async()=>{n&&(await e({unpoll:o}),await (0,t.wait)(i),l())};l()})(),o}])},668375,e=>{"use strict";var t=e.i(657256);e.s(["parseUnits",0,function(e,r){return t.from(e,r)}])}]);

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.