PageSourceSearch

https://portal.gizmolab.io/_next/static/chunks/1496-424ce5b98080c6ad.js

js gizmolab.io collected 2026-09-29 16:05:08 UTC 26,871 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1496],{1864:(e,t,a)=>{a.d(t,{n:()=>w});var r=a(9471),n=a(96002),i=a(49586),o=a(28992),s=a(45437),c=a(7528),l=a(91497),u=a(42073),d=a(33828),f=a(50636),h=a(57513);async function w(e,t){let a,w,p,m,y,{checkReplacement:g=!0,confirmations:b=1,hash:v,onReplaced:P,retryCount:T=6,retryDelay:x=({count:e})=>200*~~(1<<e),timeout:F=18e4}=t,k=(0,l.A)(["waitForTransactionReceipt",e.uid,v]),G=t.pollingInterval?t.pollingInterval:e.chain?.experimental_preconfirmationTime?e.chain.experimental_preconfirmationTime:e.pollingInterval,B=!1,{promise:M,resolve:q,reject:R}=(0,s.Y)(),C=F?setTimeout(()=>{y?.(),m?.(),R(new n.WA({hash:v}))},F):void 0;return m=(0,o.lB)(k,{onReplaced:P,resolve:q,reject:R},async t=>{if((p=await (0,i.T)(e,f.h,"getTransactionReceipt")({hash:v}).catch(()=>void 0))&&b<=1){clearTimeout(C),t.resolve(p),m?.();return}y=(0,i.T)(e,h.q,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:G,async onBlockNumber(o){let s=e=>{clearTimeout(C),y?.(),e(),m?.()},l=o;if(!B)try{if(p){if(b>1&&(!p.blockNumber||l-p.blockNumber+1n<b))return;s(()=>t.resolve(p));return}if(g&&!a&&(B=!0,await (0,c.b)(async()=>{(a=await (0,i.T)(e,d.x,"getTransaction")({hash:v})).blockNumber&&(l=a.blockNumber)},{delay:x,retryCount:T}),B=!1),p=await (0,i.T)(e,f.h,"getTransactionReceipt")({hash:v}),b>1&&(!p.blockNumber||l-p.blockNumber+1n<b))return;s(()=>t.resolve(p))}catch(o){if(o instanceof n.Kz||o instanceof n.Kc){if(!a){B=!1;return}try{w=a,B=!0;let n=await (0,c.b)(()=>(0,i.T)(e,u.g,"getBlock")({blockNumber:l,includeTransactions:!0}),{delay:x,retryCount:T,shouldRetry:({error:e})=>e instanceof r.l});B=!1;let o=n.transactions.find(({from:e,nonce:t})=>e===w.from&&t===w.nonce);if(!o||(p=await (0,i.T)(e,f.h,"getTransactionReceipt")({hash:o.hash}),b>1&&(!p.blockNumber||l-p.blockNumber+1n<b)))return;let d="replaced";o.to===w.to&&o.value===w.value&&o.input===w.input?d="repriced":o.from===o.to&&0n===o.value&&(d="cancelled"),s(()=>{t.onReplaced?.({reason:d,replacedTransaction:w,transaction:o,transactionReceipt:p}),t.resolve(p)})}catch(e){s(()=>t.reject(e))}}else s(()=>t.reject(o))}}})}),M}},7528:(e,t,a)=>{a.d(t,{b:()=>n});var r=a(46269);function n(e,{delay:t=100,retryCount:a=2,shouldRetry:i=()=>!0}={}){return new Promise((n,o)=>{let s=async({count:c=0}={})=>{let l=async({error:e})=>{let a="function"==typeof t?t({count:c,error:e}):t;a&&await (0,r.u)(a),s({count:c+1})};try{let t=await e();n(t)}catch(e){if(c<a&&await i({count:c,error:e}))return l({error:e});o(e)}};s()})}},9471:(e,t,a)=>{a.d(t,{l:()=>n});var r=a(66568);class n extends r.C{constructor({blockHash:e,blockNumber:t}){let a="Block";e&&(a=`Block at hash "${e}"`),t&&(a=`Block at number "${t}"`),super(`${a} could not be found.`,{name:"BlockNotFoundError"})}}},10155:(e,t,a)=>{a.d(t,{O:()=>l,_:()=>c});var r=a(50474),n=a(49586),i=a(14124),o=a(42073),s=a(94310);async function c(e,t){return l(e,t)}async function l(e,t){let{block:a,chain:c=e.chain,request:l,type:u="eip1559"}=t||{},d=await (async()=>"function"==typeof c?.fees?.baseFeeMultiplier?c.fees.baseFeeMultiplier({block:a,client:e,request:l}):c?.fees?.baseFeeMultiplier??1.2)();if(d<1)throw new r.sM;let f=d.toString().split(".")[1]?.length??0,h=10**f,w=e=>e*BigInt(Math.ceil(d*h))/BigInt(h),p=a||await (0,n.T)(e,o.g,"getBlock")({});if("function"==typeof c?.fees?.estimateFeesPerGas){let t=await c.fees.estimateFeesPerGas({block:a,client:e,multiply:w,request:l,type:u});if(null!==t)return t}if("eip1559"===u){if("bigint"!=typeof p.baseFeePerGas)throw new r.pw;let t="bigint"==typeof l?.maxPriorityFeePerGas?l.maxPriorityFeePerGas:await (0,i.N)(e,{block:p,chain:c,request:l}),a=w(p.baseFeePerGas);return{maxFeePerGas:l?.maxFeePerGas??a+t,maxPriorityFeePerGas:t}}return{gasPrice:l?.gasPrice??w(await (0,n.T)(e,s.L,"getGasPrice")({}))}}},14124:(e,t,a)=>{a.d(t,{N:()=>l,b:()=>c});var r=a(50474),n=a(94747),i=a(49586),o=a(42073),s=a(94310);async function c(e,t){return l(e,t)}async function l(e,t){let{block:a,chain:c=e.chain,request:l}=t||{};try{let t=c?.fees?.maxPriorityFeePerGas??c?.fees?.defaultPriorityFee;if("function"==typeof t){let r=a||await (0,i.T)(e,o.g,"getBlock")({}),n=await t({block:r,client:e,request:l});if(null===n)throw Error();return n}if(void 0!==t)return t;let r=await e.request({method:"eth_maxPriorityFeePerGas"});return(0,n.uU)(r)}catch{let[t,n]=await Promise.all([a?Promise.resolve(a):(0,i.T)(e,o.g,"getBlock")({}),(0,i.T)(e,s.L,"getGasPrice")({})]);if("bigint"!=typeof t.baseFeePerGas)throw new r.pw;let c=n-t.baseFeePerGas;if(c<0n)return 0n;return c}}},17626:(e,t,a)=>{a.d(t,{G:()=>o});let r=new Map,n=new Map;async function i(e,{cacheKey:t,cacheTime:a=1/0}
1){let i,o,s,c=(o=(i=(e,t)=>({clear:()=>t.delete(e),get:()=>t.get(e),set:a=>t.set(e,a)}))(t,r),{clear:()=>{o.clear(),s.clear()},promise:o,response:s=i(t,n)}),l=c.response.get();if(l&&a>0&&Date.now()-l.created.getTime()<a)return l.data;let u=c.promise.get();u||(u=e(),c.promise.set(u));try{let e=await u;return c.response.set({created:new Date,data:e}),e}finally{c.promise.clear()}}async function o(e,{cacheTime:t=e.cacheTime}={}){let a;return BigInt(await i(()=>e.request({method:"eth_blockNumber"}),{cacheKey:(a=e.uid,`blockNumber.${a}`),cacheTime:t}))}},27426:(e,t,a)=>{a.d(t,{v:()=>b});var r=a(51011),n=a(6593),i=a(66568),o=a(46149),s=a(81278),c=a(76429),l=a(70969),u=a(89649),d=a(58637),f=a(49586),h=a(86301),w=a(97948),p=a(69960),m=a(29562),y=a(45312);let g=new h.A(128);async function b(e,t){let{account:a=e.account,assertChainId:h=!0,chain:b=e.chain,accessList:v,authorizationList:P,blobs:T,data:x,dataSuffix:F="string"==typeof e.dataSuffix?e.dataSuffix:e.dataSuffix?.value,gas:k,gasPrice:G,maxFeePerBlobGas:B,maxFeePerGas:M,maxPriorityFeePerGas:q,nonce:R,type:C,value:E,...N}=t;if(void 0===a)throw new n.T({docsPath:"/docs/actions/wallet/sendTransaction"});let I=a?(0,r.J)(a):null;try{(0,w.c)(t);let a=await (async()=>t.to?t.to:null!==t.to&&P&&P.length>0?await (0,o.g)({authorization:P[0]}).catch(()=>{throw new i.C("`to` is required. Could not infer from `authorizationList`.")}):void 0)();if(I?.type==="json-rpc"||null===I){let t;null!==b&&(t=await (0,f.T)(e,p.T,"getChainId")({}),h&&(0,s.v)({currentChainId:t,chain:b}));let r=e.chain?.formatters?.transactionRequest?.format,n=(r||d.Bv)({...(0,u.o)(N,{format:r}),accessList:v,account:I,authorizationList:P,blobs:T,chainId:t,data:F?(0,c.xW)([x??"0x",F]):x,gas:k,gasPrice:G,maxFeePerBlobGas:B,maxFeePerGas:M,maxPriorityFeePerGas:q,nonce:R,to:a,type:C,value:E},"sendTransaction"),i=g.get(e.uid);try{return await e.request({method:i?"wallet_sendTransaction":"eth_sendTransaction",params:[n]},{retryCount:0})}catch(t){if(!1===i)throw t;if("InvalidInputRpcError"===t.name||"InvalidParamsRpcError"===t.name||"MethodNotFoundRpcError"===t.name||"MethodNotSupportedRpcError"===t.name)return await e.request({method:"wallet_sendTransaction",params:[n]},{retryCount:0}).then(t=>(g.set(e.uid,!0),t)).catch(a=>{if("MethodNotFoundRpcError"===a.name||"MethodNotSupportedRpcError"===a.name)throw g.set(e.uid,!1),t;throw a});throw t}}if(I?.type==="local"){let t=await (0,f.T)(e,m.ft,"prepareTransactionRequest")({account:I,accessList:v,authorizationList:P,blobs:T,chain:b,data:F?(0,c.xW)([x??"0x",F]):x,gas:k,gasPrice:G,maxFeePerBlobGas:B,maxFeePerGas:M,maxPriorityFeePerGas:q,nonce:R,nonceManager:I.nonceManager,parameters:[...m.MM,"sidecars"],type:C,value:E,...N,to:a}),r=b?.serializers?.transaction,n=await I.signTransaction(t,{serializer:r});return await (0,f.T)(e,y.L,"sendRawTransaction")({serializedTransaction:n})}if(I?.type==="smart")throw new n.Z({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"});throw new n.Z({docsPath:"/docs/actions/wallet/sendTransaction",type:I?.type})}catch(e){if(e instanceof n.Z)throw e;throw(0,l.p)(e,{...t,account:I,chain:t.chain||void 0})}}},28992:(e,t,a)=>{a.d(t,{lB:()=>o});let r=new Map,n=new Map,i=0;function o(e,t,a){let o=++i,s=()=>r.get(e)||[],c=()=>{let t,a=s();if(!a.some(e=>e.id===o))return;let i=n.get(e);if(1===a.length&&i){let e=i();e instanceof Promise&&e.catch(()=>{})}t=s(),r.set(e,t.filter(e=>e.id!==o))},l=s();if(r.set(e,[...l,{id:o,fns:t}]),l&&l.length>0)return c;let u={};for(let e in t)u[e]=(...t)=>{let a=s();if(0!==a.length)for(let r of a)r.fns[e]?.(...t)};let d=a(u);return"function"==typeof d&&n.set(e,d),c}},29562:(e,t,a)=>{a.d(t,{MM:()=>b,ft:()=>T});var r=a(51011),n=a(10155),i=a(73062),o=a(42073),s=a(80771),c=a(50474),l=a(94073),u=a(77022),d=a(78071),f=a(57723),h=a(49586),w=a(86301),p=a(97948),m=a(72401),y=a(49155),g=a(69960);let b=["blobVersionedHashes","chainId","fees","gas","nonce","type"],v=new Map,P=new w.A(128);async function T(e,t){let a,w,T=t;T.account??=e.account,T.parameters??=b;let{account:x,chain:F=e.chain,nonceManager:k,parameters:G}=T,B="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 M(){return a?a:void 0!==T.chainId?T.chainId:F?F.id:a=await (0,h.T)(e,g.T,"getChainId")({})}let q=x?(0,r.J)(x):x,R=T.nonce;if(G.includes("nonce")&&void 0===R&&q&&k){let t=await M();R=await k.consume({address:q.address,chainId:t,client:e})}B?.fn&&B.runAt?.includes("beforeFillTransaction")&&(T=await B.fn({...T,chain:F},{phase:"beforeFillTransaction"}),R??=T.nonce);let C=(!(G.includes("blobVersionedHashes")||G.includes("sidecars"))||!T.kzg||!T.blobs)&&!1!==P.get(e.uid)&&["fees","gas"].some(e=>G.includes(e))&&(G.includes("chainId")&&"number"!=typeof T.chainId||G.includes("nonce")&&"number"!=typeof R||G.includes("fees")&&"bigint"!=typeof T.gasPrice&&("bigint"!=typeof T.maxFeePerGas||"bigint"!=typeof T.maxPriorityFeePerGas)||G.includes("gas")&&"bigint"!=typeof T.gas)?await (0,h.T)(e,y.a,"fillTransaction")({...T,nonce:R}).then(t=>{let{chainId:a,from:r,gas:n,gasPrice:i,nonce:o,maxFeePerBlobGas:s,maxFeePerGas:c,maxPriorityFeePerGas:l,type:u,...d}=t.transaction;return P.set(e.uid,!0),{...T,...r?{from:r}:{},...u&&!T.type?{type:u}:{},...void 0!==a?{chainId:a}:{},...void 0!==n?{gas:n}:{},...void 0!==i?{gasPrice:i}:{},...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}:{}}}).catch(t=>("TransactionExecutionError"!==t.name||t.walk?.(e=>"MethodNotFoundRpcError"===e.name||"MethodNotSupportedRpcError"===e.name||e.message?.includes("eth_fillTransaction is not available"))&&P.set(e.uid,!1),T)):T;R??=C.nonce;let{blobs:E,gas:N,kzg:I,type:_}=T={...C,...q?{from:q?.address}:{},...R?{nonce:R}:{}};async function A(){return w||(w=await (0,h.T)(e,o.g,"getBlock")({blockTag:"latest"}))}if(B?.fn&&B.runAt?.includes("beforeFillParameters")&&(T=await B.fn({...T,chain:F},{phase:"beforeFillParameters"})),G.includes("nonce")&&void 0===R&&q&&!k&&(T.nonce=await (0,h.T)(e,s.y,"getTransactionCount")({address:q.address,blockTag:"pending"})),(G.includes("blobVersionedHashes")||G.includes("sidecars"))&&E&&I){let e=(0,l.S)({blobs:E,kzg:I});if(G.includes("blobVersionedHashes")){let t=(0,d.d)({commitments:e,to:"hex"});T.blobVersionedHashes=t}if(G.includes("sidecars")){let t=(0,u.t)({blobs:E,commitments:e,kzg:I}),a=(0,f.T)({blobs:E,commitments:e,proofs:t,to:"hex"});T.sidecars=a}}if(G.includes("chainId")&&(T.chainId=await M()),(G.includes("fees")||G.includes("type"))&&void 0===_)try{T.type=(0,m.L)(T)}catch{let t=v.get(e.uid);if(void 0===t){let a=await A();t="bigint"==typeof a?.baseFeePerGas,v.set(e.uid,t)}T.type=t?"eip1559":"legacy"}if(G.includes("fees"))if("legacy"!==T.type&&"eip2930"!==T.type){if(void 0===T.maxFeePerGas||void 0===T.maxPriorityFeePerGas){let t=await A(),{maxFeePerGas:a,maxPriorityFeePerGas:r}=await (0,n.O)(e,{block:t,chain:F,request:T});if(void 0===T.maxPriorityFeePerGas&&T.maxFeePerGas&&T.maxFeePerGas<r)throw new c.RR({maxPriorityFeePerGas:r});T.maxPriorityFeePerGas=r,T.maxFeePerGas=a}}else{if(void 0!==T.maxFeePerGas||void 0!==T.maxPriorityFeePerGas)throw new c.pw;if(void 0===T.gasPrice){let t=await A(),{gasPrice:a}=await (0,n.O)(e,{block:t,chain:F,request:T,type:"legacy"});T.gasPrice=a}}return G.includes("gas")&&void 0===N&&(T.gas=await (0,h.T)(e,i.Q,"estimateGas")({...T,account:q,prepare:q?.type==="local"?[]:["blobVersionedHashes"]})),B?.fn&&B.runAt?.includes("afterFillParameters")&&(T=await B.fn({...T,chain:F},{phase:"afterFillParameters"})),(0,p.c)(T),delete T.parameters,T}},33828:(e,t,a)=>{a.d(t,{x:()=>o});var r=a(96002),n=a(84428),i=a(43748);async function o(e,{blockHash:t,blockNumber:a,blockTag:o,hash:s,index:c,sender:l,nonce:u}){let d=o||"latest",f=void 0!==a?(0,n.cK)(a):void 0,h=null;if(s?h=await e.request({method:"eth_getTransactionByHash",params:[s]},{dedupe:!0}):t?h=await e.request({method:"eth_getTransactionByBlockHashAndIndex",params:[t,(0,n.cK)(c)]},{dedupe:!0}):(f||d)&&"number"==typeof c?h=await e.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[f||d,(0,n.cK)(c)]},{dedupe:!!f}):l&&"number"==typeof u&&(h=await e.request({method:"eth_getTransactionBySenderAndNonce",params:[l,(0,n.cK)(u)]},{dedupe:!0})),!h)throw new r.Kz({blockHash:t,blockNumber:a,blockTag:d,hash:s,index:c});return(e.chain?.formatters?.transaction?.format||i.uP)(h,"getTransaction")}},42073:(e,t,a)=>{a.d(t,{g:()=>o});var r=a(9471),n=a(84428),i=a(89529);async function o(e,{blockHash:t,blockNumber:a,blockTag:s=e.experimental_blockTag??"latest",includeTransactions:c}={}){let l=c??!1,u=void 0!==a?(0,n.cK)(a):void 0,d=null;if(!(d=t?await e.request({method:"eth_getBlockByHash",params:[t,l]},{dedupe:!0}):await e.request({method:"eth_getBlockByNumber",params:[u||s,l]},{dedupe:!!u})))throw new r.l({blockHash:t,blockNumber:a});return(e.chain?.formatters?.block?.format||i.$)(d,"getBlock")}},43609:(e,t,a)=>{a.d(t,{w:()=>n});var r=a(46269);function n(e,{emitOnBegin:t,initialWaitTime:a,interval:n}){let i=!0,o=()=>i=!1;return(async()=>{let s;t&&(s=await e({unpoll:o}));let c=await a?.(s)??n;await (0,r.u)(c);let l=async()=>
1{i&&(await e({unpoll:o}),await (0,r.u)(n),l())};l()})(),o}},44551:(e,t,a)=>{a.d(t,{C:()=>c});var r=a(76429),n=a(22106),i=a(84428),o=a(7211),s=a(18860);function c(e){let{chainId:t,nonce:a,to:c}=e,l=e.contractAddress??e.address,u=(0,s.S)((0,r.aP)(["0x05",(0,o.EQ)([t?(0,i.cK)(t):"0x",l,a?(0,i.cK)(a):"0x"])]));return"bytes"===c?(0,n.aT)(u):u}},45312:(e,t,a)=>{a.d(t,{L:()=>r});async function r(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}},46149:(e,t,a)=>{a.d(t,{g:()=>i});var r=a(90964),n=a(44551);async function i(e){let{authorization:t,signature:a}=e;return(0,r.x)({hash:(0,n.C)(t),signature:a??t})}},46269:(e,t,a)=>{a.d(t,{u:()=>r});async function r(e){return new Promise(t=>setTimeout(t,e))}},49155:(e,t,a)=>{a.d(t,{a:()=>h});var r=a(51011),n=a(50474),i=a(70969),o=a(89649),s=a(43748),c=a(58637),l=a(49586),u=a(97948),d=a(42073),f=a(69960);async function h(e,t){let{account:a=e.account,accessList:h,authorizationList:w,chain:p=e.chain,blobVersionedHashes:m,blobs:y,data:g,gas:b,gasPrice:v,maxFeePerBlobGas:P,maxFeePerGas:T,maxPriorityFeePerGas:x,nonce:F,nonceManager:k,to:G,type:B,value:M,...q}=t,R=await (async()=>{if(!a||!k||void 0!==F)return F;let t=(0,r.J)(a),n=p?p.id:await (0,l.T)(e,f.T,"getChainId")({});return await k.consume({address:t.address,chainId:n,client:e})})();(0,u.c)(t);let C=p?.formatters?.transactionRequest?.format,E=(C||c.Bv)({...(0,o.o)(q,{format:C}),account:a?(0,r.J)(a):void 0,accessList:h,authorizationList:w,blobs:y,blobVersionedHashes:m,data:g,gas:b,gasPrice:v,maxFeePerBlobGas:P,maxFeePerGas:T,maxPriorityFeePerGas:x,nonce:R,to:G,type:B,value:M},"fillTransaction");try{let a=await e.request({method:"eth_fillTransaction",params:[E]}
1),r=(p?.formatters?.transaction?.format||s.uP)(a.tx);delete r.blockHash,delete r.blockNumber,delete r.r,delete r.s,delete r.transactionIndex,delete r.v,delete r.yParity,r.data=r.input,r.gas&&(r.gas=t.gas??r.gas),r.gasPrice&&(r.gasPrice=t.gasPrice??r.gasPrice),r.maxFeePerBlobGas&&(r.maxFeePerBlobGas=t.maxFeePerBlobGas??r.maxFeePerBlobGas),r.maxFeePerGas&&(r.maxFeePerGas=t.maxFeePerGas??r.maxFeePerGas),r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=t.maxPriorityFeePerGas??r.maxPriorityFeePerGas),r.nonce&&(r.nonce=t.nonce??r.nonce);let i=await (async()=>{if("function"==typeof p?.fees?.baseFeeMultiplier){let a=await (0,l.T)(e,d.g,"getBlock")({});return p.fees.baseFeeMultiplier({block:a,client:e,request:t})}return p?.fees?.baseFeeMultiplier??1.2})();if(i<1)throw new n.sM;let o=i.toString().split(".")[1]?.length??0,c=10**o,u=e=>e*BigInt(Math.ceil(i*c))/BigInt(c);return r.maxFeePerGas&&!t.maxFeePerGas&&(r.maxFeePerGas=u(r.maxFeePerGas)),r.gasPrice&&!t.gasPrice&&(r.gasPrice=u(r.gasPrice)),{raw:a.raw,transaction:{from:E.from,...r}}}catch(a){throw(0,i.p)(a,{...t,chain:e.chain})}}},50474:(e,t,a)=>{a.d(t,{RR:()=>s,pw:()=>o,sM:()=>i});var r=a(22160),n=a(66568);class i extends n.C{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class o extends n.C{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class s extends n.C{constructor({maxPriorityFeePerGas:e}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,r.Q)(e)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}},50636:(e,t,a)=>{a.d(t,{h:()=>i});var r=a(96002),n=a(73260);async function i(e,{hash:t}){let a=await e.request({method:"eth_getTransactionReceipt",params:[t]},{dedupe:!0});if(!a)throw new r.Kc({hash:t});return(e.chain?.formatters?.transactionReceipt?.format||n.uL)(a,"getTransactionReceipt")}},57513:(e,t,a)=>{a.d(t,{q:()=>l});var r=a(94747),n=a(49586),i=a(28992),o=a(43609),s=a(91497),c=a(17626);function l(e,{emitOnBegin:t=!1,emitMissed:a=!1,onBlockNumber:l,onError:u,poll:d,pollingInterval:f=e.pollingInterval}){let h,w,p;return(void 0!==d?d:"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))?(w=(0,s.A)(["watchBlockNumber",e.uid,t,a,f]),(0,i.lB)(w,{onBlockNumber:l,onError:u},r=>(0,o.w)(async()=>{try{let t=await (0,n.T)(e,c.G,"getBlockNumber")({cacheTime:0});if(void 0!==h){if(t===h)return;if(t-h>1&&a)for(let e=h+1n;e<t;e++)r.onBlockNumber(e,h),h=e}(void 0===h||t>h)&&(r.onBlockNumber(t,h),h=t)}catch(e){r.onError?.(e)}},{emitOnBegin:t,interval:f}))):(p=(0,s.A)(["watchBlockNumber",e.uid,t,a]),(0,i.lB)(p,{onBlockNumber:l,onError:u},t=>{let a=!0,n=()=>a=!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(!a)return;let n=(0,r.uU)(e.result?.number);t.onBlockNumber(n,h),h=n},onError(e){t.onError?.(e)}});n=o,a||n()}catch(e){u?.(e)}})(),()=>n()}))}},69960:(e,t,a)=>{a.d(t,{T:()=>n});var r=a(94747);async function n(e){let t=await e.request({method:"eth_chainId"},{dedupe:!0});return(0,r.ME)(t)}},70969:(e,t,a)=>{a.d(t,{p:()=>o});var r=a(4174),n=a(96002),i=a(31750);function o(e,{docsPath:t,...a}){let o,s=(o=(0,i.l)(e,a))instanceof r.RM?e:o;return new n.$s(s,{docsPath:t,...a})}},73062:(e,t,a)=>{a.d(t,{Q:()=>g});var r=a(51011),n=a(66568),i=a(46149),o=a(84428),s=a(70536),c=a(22160),l=a(96002);class u extends n.C{constructor(e,{account:t,docsPath:a,chain:r,data:n,gas:i,gasPrice:o,maxFeePerGas:u,maxPriorityFeePerGas:d,nonce:f,to:h,value:w}){const p=(0,l.aO)({from:t?.address,to:h,value:void 0!==w&&`${(0,s.c)(w)} ${r?.nativeCurrency?.symbol||"ETH"}`,data:n,gas:i,gasPrice:void 0!==o&&`${(0,c.Q)(o)} gwei`,maxFeePerGas:void 0!==u&&`${(0,c.Q)(u)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,c.Q)(d)} gwei`,nonce:f});super(e.shortMessage,{cause:e,docsPath:a,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Estimate Gas Arguments:",p].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}var d=a(4174),f=a(31750),h=a(89649),w=a(58637),p=a(77309),m=a(97948),y=a(29562);async function g(e,t){let{account:a=e.account,prepare:s=!0}=t,c=a?(0,r.J)(a):void 0,l=Array.isArray(s)?s:c?.type!=="local"?["blobVersionedHashes"]:void 0;try{let a=await (async()=>t.to?t.to:t.authorizationList&&t.authorizationList.length>0?await (0,i.g)({authorization:t.authorizationList[0]}).catch(()=>{throw new n.C("`to` is required. Could not infer from `authorizationList`")}):void 0)(),{accessList:r,authorizationList:u,blobs:d,blobVersionedHashes:f,blockNumber:g,blockTag:b,data:v,gas:P,gasPrice:T,maxFeePerBlobGas:x,maxFeePerGas:F,maxPriorityFeePerGas:k,nonce:G,value:B,stateOverride:M,...q}=s?await (0,y.ft)(e,{...t,parameters:l,to:a}):t;if(P&&t.gas!==P)return P;let R=("bigint"==typeof g?(0,o.cK)(g):void 0)||b,C=(0,p.yH)(M);(0,m.c)(t);let E=e.chain?.formatters?.transactionRequest?.format,N=(E||w.Bv)({...(0,h.o)(q,{format:E}),account:c,accessList:r,authorizationList:u,blobs:d,blobVersionedHashes:f,data:v,gasPrice:T,maxFeePerBlobGas:x,maxFeePerGas:F,maxPriorityFeePerGas:k,nonce:G,to:a,value:B},"estimateGas");return BigInt(await e.request({method:"eth_estimateGas",params:C?[N,R??e.experimental_blockTag??"latest",C]:R?[N,R]:[N]}))}catch(a){throw function(e,{docsPath:t,...a}){let r;return new u((r=(0,f.l)(e,a))instanceof d.RM?e:r,{docsPath:t,...a})}(a,{...t,account:c,chain:e.chain})}}},74696:(e,t,a)=>{a.d(t,{U:()=>i});var r=a(51011),n=a(85622);function i(e){let{batch:t,chain:a,ccipRead:i,dataSuffix:o,key:s="base",name:c="Base Client",type:l="base"}=e,u=e.experimental_blockTag??("number"==typeof a?.experimental_preconfirmationTime?"pending":void 0),d=Math.min(Math.max(Math.floor((a?.blockTime??12e3)/2),500),4e3),f=e.pollingInterval??d,h=e.cacheTime??f,w=e.account?(0,r.J)(e.account):void 0,{config:p,request:m,value:y}=e.transport({account:w,chain:a,pollingInterval:f}),g={account:w,batch:t,cacheTime:h,ccipRead:i,chain:a,dataSuffix:o,key:s,name:c,pollingInterval:f,request:m,transport:{...p,...y},type:l,uid:(0,n.L)(),...u?{experimental_blockTag:u}:{}};return Object.assign(g,{extend:function e(t){return a=>{let r=a(t);for(let e in g)delete r[e];let n={...t,...r};return Object.assign(n,{extend:e(n)})}}(g)})}},79829:(e,t,a)=>{a.d(t,{I:()=>n});var r=a(85177);function n(e,t={}){let{key:a="custom",methods:i,name:o="Custom Provider",retryDelay:s}=t;return({retryCount:n})=>(0,r.o)({key:a,methods:i,name:o,request:e.request.bind(e),retryCount:t.retryCount??n,retryDelay:s,type:"custom"})}},80771:(e,t,a)=>{a.d(t,{y:()=>i});var r=a(94747),n=a(84428);async function i(e,{address:t,blockTag:a="latest",blockNumber:i}){let o=await e.request({method:"eth_getTransactionCount",params:[t,"bigint"==typeof i?(0,n.cK)(i):a]},{dedupe:!!i});return(0,r.ME)(o)}},81278:(e,t,a)=>{a.d(t,{v:()=>n});var r=a(4879);function n({chain:e,currentChainId:t}){if(!e)throw new r.jF;if(t!==e.id)throw new r.EH({chain:e,currentChainId:t})}},85177:(e,t,a)=>{a.d(t,{o:()=>d});var r=a(66568),n=a(93247),i=a(65261),o=a(84428);let s=new(a(86301)).A(8192);var c=a(7528),l=a(91497),u=a(85622);function d({key:e,methods:t,name:a,request:d,retryCount:f=3,retryDelay:h=150,timeout:w,type:p},m){return{config:{key:e,methods:t,name:a,request:d,retryCount:f,retryDelay:h,timeout:w,type:p},request:function(e,t={}){return async(a,u={})=>{let{dedupe:d=!1,methods:f,retryDelay:h=150,retryCount:w=3,uid:p}={...t,...u},{method:m}=a;if(f?.exclude?.includes(m)||f?.include&&!f.include.includes(m))throw new i.ab(Error("method not supported"),{method:m});let y=d?(0,o.i3)(`${p}.${(0,l.A)(a)}`):void 0;return function(e,{enabled:t=!0,id:a}){if(!t||!a)return e();if(s.get(a))return s.get(a);let r=e().finally(()=>s.delete(a));return s.set(a,r),r}(()=>(0,c.b)(async()=>{try{return await e(a)}catch(e){switch(e.code){case i.XU.code:throw new i.XU(e);case i.CL.code:throw new i.CL(e);case i.Gi.code:throw new i.Gi(e,{method:a.method});case i.D5.code:throw new i.D5(e);case i.bq.code:throw new i.bq(e);case i.Di.code:throw new i.Di(e);case i.hA.code:throw new i.hA(e);case i.qZ.code:throw new i.qZ(e);case i.YW.code:throw new i.YW(e);case i.ab.code:throw new i.ab(e,{method:a.method});case i.s0.code:throw new i.s0(e);case i.xQ.code:throw new i.xQ(e);case i.vx.code:throw new i.vx(e);case i.sV.code:throw new i.sV(e);case i.Sf.code:throw new i.Sf(e);case i.RV.code:throw new i.RV(e);case i.xq.code:throw new i.xq(e);case i.ch.code:throw new i.ch(e);case i.L5.code:throw new i.L5(e);case i.WT.code:throw new i.WT(e);case i.hl.code:throw new i.hl(e);case i.cg.code:throw new i.cg(e);case i.uL.code:throw new i.uL(e);case i.G1.code:throw new i.G1(e);case i.jz.code:throw new i.jz(e);case 5e3:throw new i.vx(e);case i.nR.code:throw new i.nR(e);default:if(e instanceof r.C)throw e;throw new i.MI(e)}}},{delay:({count:e,error:t})=>{if(t&&t instanceof n.Ci){let e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<e)*h},retryCount:w,shouldRetry:({error:e})=>{var t;return"code"in(t=e)&&"number"==typeof t.code?-1===t.code||t.code===i.s0.code||t.code===i.bq.code:!(t instanceof n.Ci)||!t.status||403===t.status||408===t.status||413===t.status||429===t.status||500===t.status||502===t.status||503===t.status||504===t.status||!1}}),{enabled:d,id:y})}}(d,{methods:t,retryCount:f,retryDelay:h,uid:(0,u.L)()}),value:m}}},85622:(e,t,a)=>{let r;a.d(t,{L:()=>i});let n=256;function i(e=11){if(!r||n+e>512){r="",n=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(n,n+++e)}},90964:(e,t,a)=>{a.d(t,{x:()=>d});var r=a(96685),n=a(18860),i=a(89762),o=a(45696),s=a(94747),c=a(84428);async function l({hash:e,signature:t}){let r=(0,i.q)(e)?e:(0,c.nj)(e),{secp256k1:n}=await Promise.all([a.e(5274),a.e(510)]).then(a.bind(a,25274)),l=(()=>
1{if("object"==typeof t&&"r"in t&&"s"in t){let{r:e,s:a,v:r,yParity:i}=t,o=u(Number(i??r));return new n.Signature((0,s.uU)(e),(0,s.uU)(a)).addRecoveryBit(o)}let e=(0,i.q)(t)?t:(0,c.nj)(t);if(65!==(0,o.E)(e))throw Error("invalid signature length");let a=u((0,s.ME)(`0x${e.slice(130)}`));return n.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(a)})().recoverPublicKey(r.substring(2)).toHex(!1);return`0x${l}`}function u(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 d({hash:e,signature:t}){var a;let i;return a=await l({hash:e,signature:t}),i=(0,n.S)(`0x${a.substring(4)}`).substring(26),(0,r.o)(`0x${i}`)}},94310:(e,t,a)=>{a.d(t,{L:()=>r});async function r(e){return BigInt(await e.request({method:"eth_gasPrice"}))}}}]);

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.