1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60270],{2453:(e,t,n)=>{n.d(t,{W:()=>c});var i=n(39418),r=n(49235),a=n(27334),s=n(86468),o=n(79391),f=n(4316);function c(e){let{abi:t,data:n,cause:c}=e,b=(0,a.di)(n,0,4);if("0x"===b)throw new r.O({cause:c});let d=[...t||[],i.Mc,i.J9].find(e=>"error"===e.type&&b===(0,s.V)((0,f.B)(e)));if(!d)throw new r.Wq(b,{docsPath:"/docs/contract/decodeErrorResult",cause:c});return{abiItem:d,args:"inputs"in d&&d.inputs&&d.inputs.length>0?(0,o.n)(d.inputs,(0,a.di)(n,4)):void 0,errorName:d.name}}},2626:(e,t,n)=>{n.d(t,{zX:()=>m,bG:()=>y,M:()=>v,rR:()=>w,Po:()=>x,$S:()=>P});var i=n(12902),r=n(39418),a=n(2453),s=n(4316),o=n(70744);function f({abiItem:e,args:t,includeFunctionName:n=!0,includeName:i=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((e,n)=>`${i&&e.name?`${e.name}: `:""}${"object"==typeof t[n]?(0,o.A)(t[n]):t[n]}`).join(", ")})`}var c=n(95565),b=n(9023),d=n(75297),l=n(49235),u=n(79089),h=n(46208),p=n(41849),g=n(46104);class m extends u.C{constructor(e,{account:t,docsPath:n,chain:r,data:a,gas:s,gasPrice:o,maxFeePerGas:f,maxPriorityFeePerGas:c,nonce:l,to:u,value:g,stateOverride:m}){const y=t?(0,i.J)(t):void 0;let v=(0,p.aO)({from:y?.address,to:u,value:void 0!==g&&`${(0,b.c)(g)} ${r?.nativeCurrency?.symbol||"ETH"}`,data:a,gas:s,gasPrice:void 0!==o&&`${(0,d.Q)(o)} gwei`,maxFeePerGas:void 0!==f&&`${(0,d.Q)(f)} gwei`,maxPriorityFeePerGas:void 0!==c&&`${(0,d.Q)(c)} gwei`,nonce:l});m&&(v+=` 2${(0,h.uj)(m)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",v].filter(
vendor: 4,463 bytes, line 2
2Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class y extends u.C{constructor(e,{abi:t,args:n,contractAddress:i,docsPath:r,functionName:a,sender:o}){const b=(0,c.iY)({abi:t,args:n,name:a}),d=b?f({abiItem:b,args:n,includeFunctionName:!1,includeName:!1}):void 0,l=b?(0,s.B)(b,{includeName:!0}):void 0,u=(0,p.aO)({address:i&&(0,g.R)(i),function:l,args:d&&"()"!==d&&`${[...Array(a?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:o});super(e.shortMessage||`An unknown error occurred while executing the contract function "${a}".`,{cause:e,docsPath:r,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],u&&"Contract Call:",u].filter(Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=t,this.args=n,this.cause=e,this.contractAddress=i,this.functionName=a,this.sender=o}}class v extends u.C{constructor({abi:e,data:t,functionName:n,message:i,cause:o}){let c,b,d,u,h;if(t&&"0x"!==t)try{const{abiItem:n,errorName:i,args:c}=b=(0,a.W)({abi:e,data:t,cause:o});if("Error"===i)u=c[0];else if("Panic"===i){const[e]=c;u=r.fD[e]}else{const e=n?(0,s.B)(n,{includeName:!0}):void 0,t=n&&c?f({abiItem:n,args:c,includeFunctionName:!1,includeName:!1}):void 0;d=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(i?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){c=e}else i&&(u=i);c instanceof l.Wq&&(h=c.signature,d=[`Unable to decode signature "${h}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${h}.`]),super(u&&"execution reverted"!==u||h?[`The contract function "${n}" reverted with the following ${h?"signature":"reason"}:`,u||h].join("\n"):`The contract function "${n}" reverted.`,{cause:c??o,metaMessages:d,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=b,this.raw=t,this.reason=u,this.signature=h}}class w extends u.C{constructor({functionName:e,cause:t}){super(`The contract function "${e}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${e}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError",cause:t})}}class x extends u.C{constructor({factory:e}){super(`Deployment for counterfactual contract call failed${e?` for factory "${e}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class P extends u.C{constructor({data:e,message:t}){super(t||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e}}},2918:(e,t,n)=>{n.d(t,{M:()=>r});var i=n(33920);function r({blockNumber:e,chain:t,contract:n}){let r=t?.contracts?.[n];if(!r)throw new i.rj({chain:t,contract:{name:n}});if(e&&r.blockCreated&&r.blockCreated>e)throw new i.rj({blockNumber:e,chain:t,contract:{name:n,blockCreated:r.blockCreated}});return r.address}},8195:(e,t,n)=>{n.d(t,{E:()=>i});let i=1}
2,9023:(e,t,n)=>{n.d(t,{c:()=>a});var i=n(88537),r=n(27220);function a(e,t="wei"){return(0,r.J)(e,i.eL[t])}},11657:(e,t,n)=>{n.d(t,{C:()=>i});class i extends Error{static setStaticOptions(e){i.prototype.docsOrigin=e.docsOrigin,i.prototype.showVersion=e.showVersion,i.prototype.version=e.version}constructor(e,t={}){const n=(()=>{if(t.cause instanceof i){if(t.cause.details)return t.cause.details;if(t.cause.shortMessage)return t.cause.shortMessage}return t.cause&&"details"in t.cause&&"string"==typeof t.cause.details?t.cause.details:t.cause?.message?t.cause.message:t.details})(),r=t.cause instanceof i&&t.cause.docsPath||t.docsPath,a=t.docsOrigin??i.prototype.docsOrigin,s=`${a}${r??""}`,o=!!(t.version??i.prototype.showVersion),f=t.version??i.prototype.version;super([e||"An error occurred.",...t.metaMessages?["",...t.metaMessages]:[],...n||r||o?["",n?`Details: ${n}`:void 0,r?`See: ${s}`:void 0,o?`Version: ${f}`:void 0]:[]].filter(e=>"string"==typeof e).join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsOrigin",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"showVersion",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.cause=t.cause,this.details=n,this.docs=s,this.docsOrigin=a,this.docsPath=r,this.shortMessage=e,this.showVersion=o,this.version=f}walk(e){return function e(t,n){return n?.(t)?t:t&&"object"==typeof t&&"cause"in t&&t.cause?e(t.cause,n):n?null:t}(this,e)}}Object.defineProperty(i,"defaultStaticOptions",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:"https://oxlib.sh",showVersion:!1,version:"[email protected]"}}),i.setStaticOptions(i.defaultStaticOptions)},12902:(e,t,n)=>{n.d(t,{J:()=>i});function i(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}},17911:(e,t,n)=>{n.d(t,{l:()=>a});var i=n(79089),r=n(13135);function a(e,t){let n=(e.details||"").toLowerCase(),a=e instanceof i.C?e.walk(e=>e?.code===r.A7.code):e;return a instanceof i.C?new r.A7({cause:e,message:a.details}):r.A7.nodeMessage.test(n)?new r.A7({cause:e,message:e.details}):r.BG.nodeMessage.test(n)?new r.BG({cause:e,maxFeePerGas:t?.maxFeePerGas}):r.jj.nodeMessage.test(n)?new r.jj({cause:e,maxFeePerGas:t?.maxFeePerGas}):r.K0.nodeMessage.test(n)?new r.K0({cause:e,nonce:t?.nonce}):r.Oh.nodeMessage.test(n)?new r.Oh({cause:e,nonce:t?.nonce}):r.vW.nodeMessage.test(n)?new r.vW({cause:e,nonce:t?.nonce}):r.k5.nodeMessage.test(n)?new r.k5({cause:e}):r.lY.nodeMessage.test(n)?new r.lY({cause:e,gas:t?.gas}):r.Fo.nodeMessage.test(n)?new r.Fo({cause:e,gas:t?.gas}):r.uC.nodeMessage.test(n)?new r.uC({cause:e}):r.lN.nodeMessage.test(n)?new r.lN({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new r.RM({cause:e})}},21273:(e,t,n)=>{n.d(t,{l:()=>a});var i=n(22381);let r={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:1/0,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new i.hX({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new i.SK({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new i.B4({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new i.B4({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===1/0)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function a(e,{recursiveReadLimit:t=8192}={}){let n=Object.create(r);return n.bytes=e,n.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}}
2,21898:(e,t,n)=>{n.d(t,{Ao:()=>r,Au:()=>i});let i=2n**16n-1n,r=2n**256n-1n},22381:(e,t,n)=>{n.d(t,{B4:()=>r,SK:()=>a,hX:()=>s});var i=n(79089);class r extends i.C{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class a extends i.C{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class s extends i.C{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}},23778:(e,t,n)=>{n.d(t,{x:()=>d});var i=n(93834),r=n(1235),a=n(39677),s=n(17313),o=n(5304),f=n(21439);async function c({hash:e,signature:t}){let i=(0,a.q)(e)?e:(0,f.nj)(e),{secp256k1:r}=await n.e(23275).then(n.bind(n,23275)),c=(()=>{if("object"==typeof t&&"r"in t&&"s"in t){let{r:e,s:n,v:i,yParity:a}=t,s=b(Number(a??i));return new r.Signature((0,o.uU)(e),(0,o.uU)(n)).addRecoveryBit(s)}let e=(0,a.q)(t)?t:(0,f.nj)(t);if(65!==(0,s.E)(e))throw Error("invalid signature length");let n=b((0,o.ME)(`0x${e.slice(130)}`));return r.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(n)})().recoverPublicKey(i.substring(2)).toHex(!1);return`0x${c}`}function b(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 n;let a;return n=await c({hash:e,signature:t}),a=(0,r.S)(`0x${n.substring(4)}`).substring(26),(0,i.o)(`0x${a}`)}},24657:(e,t,n)=>{n.d(t,{WB:()=>c,uL:()=>f});var i=n(5304),r=n(34501),a=n(70785),s=n(81343);let o={"0x0":"reverted","0x1":"success"};function f(e,t){let n={...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.e)(e)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,i.ME)(e.transactionIndex):null,status:e.status?o[e.status]:null,type:e.type?s.b4[e.type]||e.type:null};return e.blobGasPrice&&(n.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(n.blobGasUsed=BigInt(e.blobGasUsed)),n}let c=(0,r.q)("transactionReceipt",f)},25082:(e,t,n)=>{n.d(t,{d:()=>a});var i=n(21439),r=n(61923);function a(e){let{commitments:t,version:n}=e,a=e.to??("string"==typeof t[0]?"hex":"bytes"),s=[];for(let e of t)s.push(function(e){let{commitment:t,version:n=1}=e,a=e.to??("string"==typeof t?"hex":"bytes"),s=(0,r.s)(t,"bytes");return s.set([n],0),"bytes"===a?s:(0,i.My)(s)}({commitment:e,to:a,version:n}));return s}},26485:(e,t,n)=>{n.d(t,{j:()=>f});var i=n(49235),r=n(79089),a=n(2626),s=n(19380),o=n(62890);function f(e,{abi:t,address:n,args:f,docsPath:c,functionName:b,sender:d}){let l=e instanceof a.$S?e:e instanceof r.C?e.walk(e=>"data"in e)||e.walk():{},{code:u,data:h,details:p,message:g,shortMessage:m}=l,y=e instanceof i.O?new a.rR({functionName:b,cause:e}):[3,o.bq.code].includes(u)&&(h||p||g||m)||u===o.Di.code&&"execution reverted"===p&&h?new a.M({abi:t,data:"object"==typeof h?h.data:h,functionName:b,message:l instanceof s.J8?p:m??g,cause:e}):e;return new a.bG(y,{abi:t,args:f,contractAddress:n,docsPath:c,functionName:b,sender:d})}},26738:(e,t,n)=>{n.d(t,{Ez:()=>s,LX:()=>i,WN:()=>r,fT:()=>a});let i="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b
2602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",r="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",a="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848
2603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572",s="0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9
2150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033"},31838:(e,t,n)=>{n.d(t,{As:()=>i});function i(e,t,n){return JSON.stringify(e,(e,n)=>"function"==typeof t?t(e,n):"bigint"==typeof n?n.toString()+"#__bigint":n,n)}},33663:(e,t,n)=>{n.d(t,{$T:()=>B,Dg:()=>v,Ej:()=>m,Fl:()=>M,G4:()=>w,HT:()=>l,Mr:()=>$,Ro:()=>x,aD:()=>u,dI:()=>P,di:()=>y,ii:()=>j,n4:()=>p,sH:()=>h,tf:()=>E,u:()=>z,xW:()=>d,yT:()=>g});var i=n(68217),r=n(11657),a=n(37357),s=n(44845),o=n(52995),f=n(31838);let c=new TextDecoder,b=new TextEncoder;function d(...e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t);for(let t=0,i=0;t<e.length;t++){let r=e[t];n.set(r,i),i+=r.length}return n}function l(e){var t;return e instanceof Uint8Array?e:"string"==typeof e?u(e):(t=e)instanceof Uint8Array?t:new Uint8Array(t)}function u(e,t={}){let{size:n}=t,i=e;n&&(o.Sl(e,n),i=a.M7(e,n));let f=i.slice(2);f.length%2&&(f=`0${f}`);
2let c=f.length/2,b=new Uint8Array(c);for(let e=0,t=0;e<c;e++){let n=s.t7(f.charCodeAt(t++)),i=s.t7(f.charCodeAt(t++));if(void 0===n||void 0===i)throw new r.C(`Invalid byte sequence ("${f[t-2]}${f[t-1]}" in "${f}").`);b[e]=n<<4|i}return b}function h(e,t={}){var n,i;let{size:r}=t,a=b.encode(e);return"number"==typeof r?(s.Sl(a,r),n=a,i=r,s.eV(n,{dir:"right",size:i})):a}function p(e,t){return(0,i.ex)(e,t)}function g(e){return crypto.getRandomValues(new Uint8Array(e))}function m(e){return e.length}function y(e,t,n,i={}){let{strict:r}=i;s.kK(e,t);let a=e.slice(t,n);return r&&s.X(a,t,n),a}function v(e,t={}){let{size:n}=t;void 0!==n&&s.Sl(e,n);let i=a.uK(e,t);return a.Dg(i,t)}function w(e,t={}){let{size:n}=t,i=e;if(void 0!==n&&(s.Sl(i,n),i=$(i)),i.length>1||i[0]>1)throw new C(i);return!!i[0]}function x(e,t={}){let{size:n}=t;void 0!==n&&s.Sl(e,n);let i=a.uK(e,t);return a.Ro(i,t)}function P(e,t={}){let{size:n}=t,i=e;return void 0!==n&&(s.Sl(i,n),i=B(i)),c.decode(i)}function $(e){return s.Bq(e,{dir:"left"})}function B(e){return s.Bq(e,{dir:"right"})}function E(e){try{if(!(e instanceof Uint8Array)&&(!e||"object"!=typeof e||!("BYTES_PER_ELEMENT"in e)||1!==e.BYTES_PER_ELEMENT||"Uint8Array"!==e.constructor.name))throw new I(e);return!0}catch{return!1}}class C extends r.C{constructor(e){super(`Bytes value \`${e}\` is not a valid boolean.`,{metaMessages:["The bytes array must contain a single byte of either a `0` or `1` value."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesBooleanError"})}}class I extends r.C{constructor(e){super(`Value \`${"object"==typeof e?f.As(e):e}\` of type \`${typeof e}\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}class z extends r.C{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}class j extends r.C{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SliceOffsetOutOfBoundsError"})}}class M extends r.C{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}},33821:(e,t,n)=>{n.d(t,{T:()=>P});var i=n(83358),r=n(90013),a=n(12902),s=n(59140),o=n(26738),f=n(79089),c=n(33920),b=n(2626),d=n(42803),l=n(79317),u=n(36978),h=n(2918),p=n(21439),g=n(48211),m=n(56006),y=n(46716),v=n(28884),w=n(92228),x=n(36677);async function P(e,t){let{account:s=e.account,authorizationList:d,batch:u=!!e.batch?.multicall,blockNumber:h,blockTag:v=e.experimental_blockTag??"latest",accessList:P,blobs:E,blockOverrides:C,code:I,data:z,factory:j,factoryData:M,gas:T,gasPrice:O,maxFeePerBlobGas:A,maxFeePerGas:F,maxPriorityFeePerGas:S,nonce:G,to:U,value:k,stateOverride:R,...N}=t,L=s?(0,a.J)(s):void 0;if(I&&(j||M))throw new f.C("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(I&&U)throw new f.C("Cannot provide both `code` & `to` as parameters.");let V=I&&z,H=j&&M&&U&&z,D=V||H,K=V?B({code:I,data:z}):H?function(e){let{data:t,factory:n,factoryData:r,to:a}=e;return(0,l.m)({abi:(0,i.U)(["constructor(address, bytes, address, bytes)"]),bytecode:o.WN,args:[a,t,n,r]})}({data:z,factory:j,factoryData:M,to:U}):z;try{let n;(0,x.c)(t);let i=("bigint"==typeof h?(0,p.cK)(h):void 0)||v,a=C?r.J(C):void 0,s=(0,w.yH)(R),o=e.chain?.formatters?.transactionRequest?.format,f=(o||y.Bv)({...(0,m.o)(N,{format:o}),accessList:P,account:L,authorizationList:d,blobs:E,data:K,gas:T,gasPrice:O,maxFeePerBlobGas:A,maxFeePerGas:F,maxPriorityFeePerGas:S,nonce:G,to:D?void 0:U,value:k},"call");if(u&&function({request:e}){let{data:t,to:n,...i}=e;return!(!t||t.startsWith("0x82ad56cb"))&&!!n&&!(Object.values(i).filter(e=>void 0!==e).length>0)}({request:f})&&!s&&!a)try{return await $(e,{...f,blockNumber:h,blockTag:v})}catch(e){if(!(e instanceof c.YE)&&!(e instanceof c.rj))throw e}let b=(n=[f,i],s&&a?[...n,s,a]:s?[...n,s]:a?[...n,{},a]:n),l=await e.request({method:"eth_call",params:b});if("0x"===l)return{data:void 0};return{data:l}}catch(s){let i=function(e){if(!(e instanceof f.C))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(s),{offchainLookup:r,offchainLookupSignature:a}=await n.e(38155).then(n.bind(n,38155));if(!1!==e.ccipRead&&i?.slice(0,10)===a&&U)return{data:await r(e,{data:i,to:U})};if(D&&i?.slice(0,10)==="0x101bb98d")throw new b.Po({factory:j});throw(0,g.d)(s,{...t,account:L,chain:e.chain})}}async function $(e,t){let{batchSize:n=1024,deployless:i=!1,wait:r=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:a,blockTag:f=e.experimental_blockTag??"latest",data:l,to:g}=t,m=(()=>
vendor: 2,132 bytes, line 2
2{if(i)return null;if(t.multicallAddress)return t.multicallAddress;if(e.chain)return(0,h.M)({blockNumber:a,chain:e.chain,contract:"multicall3"});throw new c.YE})(),y=("bigint"==typeof a?(0,p.cK)(a):void 0)||f,{schedule:w}=(0,v.u)({id:`${e.uid}.${y}`,wait:r,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*n,fn:async t=>{let n=t.map(e=>({allowFailure:!0,callData:e.data,target:e.to})),i=(0,u.p)({abi:s.v2,args:[n],functionName:"aggregate3"}),r=await e.request({method:"eth_call",params:[{...null===m?{data:B({code:o.Ez,data:i})}:{to:m,data:i}},y]});return(0,d.e)({abi:s.v2,args:[n],functionName:"aggregate3",data:r||"0x"})}}),[{returnData:x,success:P}]=await w({data:l,to:g});if(!P)throw new b.$S({data:x});return"0x"===x?{data:void 0}:{data:x}}function B(e){let{code:t,data:n}=e;return(0,l.m)({abi:(0,i.U)(["constructor(bytes, bytes)"]),bytecode:o.LX,args:[t,n]})}},33920:(e,t,n)=>{n.d(t,{EH:()=>a,YE:()=>o,jF:()=>s,qD:()=>f,rj:()=>r});var i=n(79089);class r extends i.C{constructor({blockNumber:e,chain:t,contract:n}){super(`Chain "${t.name}" does not support contract "${n.name}".`,{metaMessages:["This could be due to any of the following:",...e&&n.blockCreated&&n.blockCreated>e?[`- The contract "${n.name}" was not deployed until block ${n.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${n.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class a extends i.C{constructor({chain:e,currentChainId:t}){super(`The current chain of the wallet (id: ${t}) does not match the target chain for the transaction (id: ${e.id} â ${e.name}).`,{metaMessages:[`Current Chain ID: ${t}`,`Expected Chain ID: ${e.id} â ${e.name}`],name:"ChainMismatchError"})}}class s extends i.C{constructor(){super("No chain was provided to the request.\nPlease provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient.",{name:"ChainNotFoundError"})}}class o extends i.C{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class f extends i.C{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}
2" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}},34501:(e,t,n)=>{n.d(t,{q:()=>i});function i(e,t){return({exclude:n,format:i})=>({exclude:n,format:(e,r)=>{let a=t(e,r);if(n)for(let e of n)delete a[e];return{...a,...i(e,r)}},type:e})}},36677:(e,t,n)=>{n.d(t,{c:()=>f});var i=n(12902),r=n(21898),a=n(82089),s=n(13135),o=n(41134);function f(e){let{account:t,maxFeePerGas:n,maxPriorityFeePerGas:f,to:c}=e,b=t?(0,i.J)(t):void 0;if(b&&!(0,o.P)(b.address))throw new a.M({address:b.address});if(c&&!(0,o.P)(c))throw new a.M({address:c});if(n&&n>r.Ao)throw new s.BG({maxFeePerGas:n});if(f&&n&&f>n)throw new s.lN({maxFeePerGas:n,maxPriorityFeePerGas:f})}},37357:(e,t,n)=>{n.d(t,{Dg:()=>$,Ej:()=>x,Fl:()=>F,HT:()=>l,Ho:()=>m,M7:()=>y,Mr:()=>P,Ro:()=>E,Ty:()=>z,ZJ:()=>B,dI:()=>C,di:()=>w,ii:()=>A,o4:()=>T,oB:()=>p,sH:()=>g,tf:()=>I,u:()=>O,uK:()=>h,vA:()=>b,xW:()=>d,xb:()=>u,yT:()=>v});var i=n(33663),r=n(11657),a=n(44845),s=n(52995),o=n(31838);let f=new TextEncoder,c=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function b(e,t={}){let{strict:n=!1}=t;if(!e||"string"!=typeof e)throw new j(e);if(n&&!/^0x[0-9a-fA-F]*$/.test(e)||!e.startsWith("0x"))throw new M(e)}function d(...e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}function l(e){return e instanceof Uint8Array?h(e):Array.isArray(e)?h(new Uint8Array(e)):e}function u(e,t={}){let n=`0x${Number(e)}`;return"number"==typeof t.size?(s.Sl(n,t.size),m(n,t.size)):n}function h(e,t={}){let n="";for(let t=0;t<e.length;t++)n+=c[e[t]];let i=`0x${n}`;return"number"==typeof t.size?(s.Sl(i,t.size),y(i,t.size)):i}function p(e,t={}){let n,{signed:i,size:r}=t,a=BigInt(e);r?n=i?(1n<<8n*BigInt(r)-1n)-1n:2n**(8n*BigInt(r))-1n:"number"==typeof e&&(n=BigInt(Number.MAX_SAFE_INTEGER));let s="bigint"==typeof n&&i?-n-1n:0;if(n&&a>n||a<s){let t="bigint"==typeof e?"n":"";throw new z({max:n?`${n}${t}`:void 0,min:`${s}${t}`,signed:i,size:r,value:`${e}${t}`})}let o=(i&&a<0?BigInt.asUintN(8*r,BigInt(a)):a).toString(16),f=`0x${o}`;return r?m(f,r):f}function g(e,t={}){return h(f.encode(e),t)}function m(e,t){return s.eV(e,{dir:"left",size:t})}function y(e,t){return s.eV(e,{dir:"right",size:t})}function v(e){return h(i.yT(e))}function w(e,t,n,i={}){let{strict:r}=i;s.kK(e,t);let a=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return r&&s.X(a,t,n),a}function x(e){return Math.ceil((e.length-2)/2)}function P(e){return s.Bq(e,{dir:"left"})}function $(e,t={}){let{signed:n}=t;t.size&&s.Sl(e,t.size);let i=BigInt(e);if(!n)return i;let r=(1n<<8n*BigInt((e.length-2)/2))-1n;return i<=r>>1n?i:i-r-1n}function B(e,t={}){return i.aD(e,t)}function E(e,t={}){let{signed:n,size:i}=t;return n||i?Number($(e,t)):Number(e)}function C(e,t={}){let{size:n}=t,r=i.aD(e);return n&&(a.Sl(r,n),r=i.$T(r)),new TextDecoder().decode(r)}function I(e,t={}){let{strict:n=!1}=t;try{return b(e,{strict:n}),!0}catch{return!1}}class z extends r.C{constructor({max:e,min:t,signed:n,size:i,value:r}){super(`Number \`${r}\` is not in safe${i?` ${8*i}-bit`:""}${n?" signed":" unsigned"} integer range ${e?`(\`${t}\` to \`${e}\`)`:`(above \`${t}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}r.C;class j extends r.C{constructor(e){super(`Value \`${"object"==typeof e?o.As(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class M extends r.C{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class T extends r.C{constructor(e){super(`Hex value \`"${e}"\` is an odd length (${e.length-2} nibbles).`,{metaMessages:["It must be an even length."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidLengthError"})}}class O extends r.C{constructor({givenSize:e,maxSize:t}
2){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class A extends r.C{constructor({offset:e,position:t,size:n}){super(`Slice ${"start"===t?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class F extends r.C{constructor({size:e,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}},39418:(e,t,n)=>{n.d(t,{J9:()=>a,Mc:()=>r,fD:()=>i});let i={1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},r={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},a={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}},41849:(e,t,n)=>{n.d(t,{$s:()=>b,Kc:()=>l,Kz:()=>d,Sq:()=>u,Vg:()=>f,WA:()=>h,aO:()=>s,fZ:()=>c,zW:()=>o});var i=n(9023),r=n(75297),a=n(79089);function s(e){let t=Object.entries(e).map(([e,t])=>void 0===t||!1===t?null:[e,t]).filter(Boolean),n=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>` ${`${e}:`.padEnd(n+1)} ${t}`).join("\n")}a.C;class o extends a.C{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class f extends a.C{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",s(e),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}a.C,a.C;class c extends a.C{constructor({storageKey:e}){super(`Size for storage key "${e}" is invalid. Expected 32 bytes. Got ${Math.floor((e.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class b extends a.C{constructor(e,{account:t,docsPath:n,chain:a,data:o,gas:f,gasPrice:c,maxFeePerGas:b,maxPriorityFeePerGas:d,nonce:l,to:u,value:h}){const p=s({chain:a&&`${a?.name} (id: ${a?.id})`,from:t?.address,to:u,value:void 0!==h&&`${(0,i.c)(h)} ${a?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:f,gasPrice:void 0!==c&&`${(0,r.Q)(c)} gwei`,maxFeePerGas:void 0!==b&&`${(0,r.Q)(b)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,r.Q)(d)} gwei`,nonce:l});super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",p].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class d extends a.C{constructor({blockHash:e,blockNumber:t,blockTag:n,hash:i,index:r}){let a="Transaction";n&&void 0!==r&&(a=`Transaction at block time "${n}" at index "${r}"`),e&&void 0!==r&&(a=`Transaction at block hash "${e}" at index "${r}"`),t&&void 0!==r&&(a=`Transaction at block number "${t}" at index "${r}"`),i&&(a=`Transaction with hash "${i}"`),super(`${a} could not be found.`,{name:"TransactionNotFoundError"})}}class l extends a.C{constructor({hash:e}){super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`,{name:"TransactionReceiptNotFoundError"})}}class u extends a.C{constructor({receipt:e}){super(`Transaction with hash "${e.transactionHash}" reverted.`,{metaMessages:['The receipt marked the transaction as "reverted". This could mean that the function on the contract you are trying to call threw an error.'," ","You can attempt to extract the revert reason by:","- calling the `simulateContract` or `simulateCalls` Action with the `abi` and `functionName` of the contract","- using the `call` Action with raw `data`"],name:"TransactionReceiptRevertedError"}),Object.defineProperty(this,"receipt",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.receipt=e}}class h extends a.C{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}}
2,42088:(e,t,n)=>{n.d(t,{g:()=>c});var i=n(23778),r=n(57316),a=n(26865),s=n(21439),o=n(98604),f=n(1235);async function c(e){let{authorization:t,signature:n}=e;return(0,i.x)({hash:function(e){let{chainId:t,nonce:n,to:i}=e,c=e.contractAddress??e.address,b=(0,f.S)((0,r.aP)(["0x05",(0,o.EQ)([t?(0,s.cK)(t):"0x",c,n?(0,s.cK)(n):"0x"])]));return"bytes"===i?(0,a.aT)(b):b}(t),signature:n??t})}},42803:(e,t,n)=>{n.d(t,{e:()=>o});var i=n(49235),r=n(79391),a=n(95565);let s="/docs/contract/decodeFunctionResult";function o(e){let{abi:t,args:n,functionName:o,data:f}=e,c=t[0];if(o){let e=(0,a.iY)({abi:t,args:n,name:o});if(!e)throw new i.Iz(o,{docsPath:s});c=e}if("function"!==c.type)throw new i.Iz(void 0,{docsPath:s});if(!c.outputs)throw new i.MR(c.name,{docsPath:s});let b=(0,r.n)(c.outputs,f);return b&&b.length>1?b:b&&1===b.length?b[0]:void 0}},44845:(e,t,n)=>{n.d(t,{Bq:()=>c,Sl:()=>r,X:()=>s,eV:()=>f,kK:()=>a,t7:()=>o});var i=n(33663);function r(e,t){if(i.Ej(e)>t)throw new i.u({givenSize:i.Ej(e),maxSize:t})}function a(e,t){if("number"==typeof t&&t>0&&t>i.Ej(e)-1)throw new i.ii({offset:t,position:"start",size:i.Ej(e)})}function s(e,t,n){if("number"==typeof t&&"number"==typeof n&&i.Ej(e)!==n-t)throw new i.ii({offset:n,position:"end",size:i.Ej(e)})}function o(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:void 0}function f(e,t={}){let{dir:n,size:r=32}=t;if(0===r)return e;if(e.length>r)throw new i.Fl({size:e.length,targetSize:r,type:"Bytes"});let a=new Uint8Array(r);for(let t=0;t<r;t++){let i="right"===n;a[i?t:r-t-1]=e[i?t:e.length-t-1]}return a}function c(e,t={}){let{dir:n="left"}=t,i=e,r=0;for(let e=0;e<i.length-1;e++)if("0"===i["left"===n?e:i.length-e-1].toString())r++;else break;return"left"===n?i.slice(r):i.slice(0,i.length-r)}},46208:(e,t,n)=>{n.d(t,{Hi:()=>r,ft:()=>a,uj:()=>o});var i=n(79089);class r extends i.C{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class a extends i.C{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function s(e){return e.reduce((e,{slot:t,value:n})=>`${e} ${t}: ${n} 3`,"")}function o(e){return e.reduce((e,{address:t,...n})=>{let i=`${e} ${t}: 4`;return n.nonce&&(i+=` nonce: ${n.nonce} 5`),n.balance&&(i+=` balance: ${n.balance} 6`),n.code&&(i+=` code: ${n.code} 7`),n.state&&(i+=" state:\n",i+=s(n.state)),n.stateDiff&&(i+=" stateDiff:\n",i+=s(n.stateDiff)),i}," State Override:\n").slice(0,-1)}},46716:(e,t,n)=>{n.d(t,{Bv:()=>s,bm:()=>o});var i=n(21439),r=n(34501);let a={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function s(e,t){let n={};return void 0!==e.authorizationList&&(n.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,i.cK)(BigInt(e.r)):e.r,s:e.s?(0,i.cK)(BigInt(e.s)):e.s,chainId:(0,i.cK)(e.chainId),nonce:(0,i.cK)(e.nonce),...void 0!==e.yParity?{yParity:(0,i.cK)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,i.cK)(e.v)}:{}}))),void 0!==e.accessList&&(n.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(n.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?n.blobs=e.blobs.map(e=>(0,i.My)(e)):n.blobs=e.blobs),void 0!==e.data&&(n.data=e.data),e.account&&(n.from=e.account.address),void 0!==e.from&&(n.from=e.from),void 0!==e.gas&&(n.gas=(0,i.cK)(e.gas)),void 0!==e.gasPrice&&(n.gasPrice=(0,i.cK)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(n.maxFeePerBlobGas=(0,i.cK)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(n.maxFeePerGas=(0,i.cK)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(n.maxPriorityFeePerGas=(0,i.cK)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(n.nonce=(0,i.cK)(e.nonce)),void 0!==e.to&&(n.to=e.to),void 0!==e.type&&(n.type=a[e.type]),void 0!==e.value&&(n.value=(0,i.cK)(e.value)),n}let o=(0,r.q)("transactionRequest",s)},48211:(e,t,n)=>{n.d(t,{d:()=>s});var i=n(2626),r=n(13135),a=n(17911);function s(e,{docsPath:t,...n}){let s,o=(s=(0,a.l)(e,n))instanceof r.RM?e:s;return new i.zX(o,{docsPath:t,...n})}},52995:(e,t,n)=>{n.d(t,{Bq:()=>f,Sl:()=>r,X:()=>s,eV:()=>o,kK:()=>a});var i=n(37357);function r(e,t){if(i.Ej(e)>t)throw new i.u({givenSize:i.Ej(e),maxSize:t})}function a(e,t){if("number"==typeof t&&t>0&&t>i.Ej(e)-1)throw new i.ii({offset:t,position:"start",size:i.Ej(e)})}function s(e,t,n){if("number"==typeof t&&"number"==typeof n&&i.Ej(e)!==n-t)throw new i.ii({offset:n,position:"end",size:i.Ej(e)})}function o(e,t={}){let{dir:n,size:r=32}=t;if(0===r)return e;let a=e.replace("0x","");if(a.length>2*r)throw new i.Fl({size:Math.ceil(a.length/2),targetSize:r,type:"Hex"});return`0x${a["right"===n?"padEnd":"padStart"](2*r,"0")}`}function f(e,t={}){let{dir:n="left"}=t,i=e.replace("0x",""),r=0;for(let e=0;e<i.length-1;e++)if("0"===i["left"===n?e:i.length-e-1].toString())r++;else break;return"0"===(i="left"===n?i.slice(r):i.slice(0,i.length-r))?"0x":"right"===n&&i.length%2==1?`0x${i}0`:`0x${i}`}},56006:(e,t,n)=>{n.d(t,{o:()=>i});function i(e,{format:t}){if(!t)return{};let n={};return!function t(i){for(let r of Object.keys(i))r in e&&(n[r]=e[r]),i[r]&&"object"==typeof i[r]&&!Array.isArray(i[r])&&t(i[r])}(t(e||{})),n}}
vendor: 5,546 bytes, line 7
7,57089:(e,t,n)=>{n.d(t,{t:()=>a});var i=n(26865),r=n(21439);function a(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),a="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,i.aT)(e)):e.blobs,s="string"==typeof e.commitments[0]?e.commitments.map(e=>(0,i.aT)(e)):e.commitments,o=[];for(let e=0;e<a.length;e++){let n=a[e],i=s[e];o.push(Uint8Array.from(t.computeBlobKzgProof(n,i)))}return"bytes"===n?o:o.map(e=>(0,r.My)(e))}},60940:(e,t,n)=>{n.d(t,{PK:()=>f,iq:()=>a,uP:()=>o,zF:()=>s});var i=n(8195),r=n(79089);class a extends r.C{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`],name:"BlobSizeTooLargeError"})}}class s extends r.C{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class o extends r.C{constructor({hash:e,size:t}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${t}`],name:"InvalidVersionedHashSizeError"})}}class f extends r.C{constructor({hash:e,version:t}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${i.E}`,`Received: ${t}`],name:"InvalidVersionedHashVersionError"})}}},61923:(e,t,n)=>{n.d(t,{s:()=>o});var i=n(87314),r=n(39677),a=n(26865),s=n(21439);function o(e,t){let n=(0,i.sc)((0,r.q)(e,{strict:!1})?(0,a.ZJ)(e):e);return"bytes"===(t||"hex")?n:(0,s.nj)(n)}},70785:(e,t,n)=>{n.d(t,{e:()=>i});function i(e,{args:t,eventName:n}={}){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,...n?{args:t,eventName:n}:{}}}},79317:(e,t,n)=>{n.d(t,{m:()=>o});var i=n(49235),r=n(57316),a=n(98516);let s="/docs/contract/encodeDeployData";function o(e){let{abi:t,args:n,bytecode:o}=e;if(!n||0===n.length)return o;let f=t.find(e=>"type"in e&&"constructor"===e.type);if(!f)throw new i.YW({docsPath:s});if(!("inputs"in f)||!f.inputs||0===f.inputs.length)throw new i.YF({docsPath:s});let c=(0,a.h)(f.inputs,n);return(0,r.aP)([o,c])}},79391:(e,t,n)=>{n.d(t,{n:()=>p});var i=n(49235),r=n(93834),a=n(21273),s=n(17313),o=n(27334),f=n(91780),c=n(81822),b=n(5304),d=n(21439);function l(e,t={}){void 0!==t.size&&(0,b.Sl)(e,{size:t.size});let n=(0,d.My)(e,t);return(0,b.ME)(n,t)}var u=n(26865),h=n(98516);function p(e,t){let n="string"==typeof t?(0,u.aT)(t):t,p=(0,a.l)(n);if(0===(0,s.E)(n)&&e.length>0)throw new i.O;if((0,s.E)(t)&&32>(0,s.E)(t))throw new i.Iy({data:"string"==typeof t?t:(0,d.My)(t),params:e,size:(0,s.E)(t)});let m=0,y=[];for(let t=0;t<e.length;++t){let n=e[t];p.setPosition(m);let[a,s]=function e(t,n,{staticPosition:a}){let s=(0,h.k)(n.type);if(s){let[i,r]=s;return function(t,n,{length:i,staticPosition:r}){if(!i){let i=r+l(t.readBytes(32)),a=i+32;t.setPosition(i);let s=l(t.readBytes(32)),o=g(n),f=0,c=[];for(let i=0;i<s;++i){t.setPosition(a+(o?32*i:f));let[r,s]=e(t,n,{staticPosition:a});f+=s,c.push(r)}return t.setPosition(r+32),[c,32]}if(g(n)){let a=r+l(t.readBytes(32)),s=[];for(let r=0;r<i;++r){t.setPosition(a+32*r);let[i]=e(t,n,{staticPosition:a});s.push(i)}return t.setPosition(r+32),[s,32]}let a=0,s=[];for(let o=0;o<i;++o){let[i,o]=e(t,n,{staticPosition:r+a});a+=o,s.push(i)}return[s,a]}(t,{...n,type:r},{length:i,staticPosition:a})}if("tuple"===n.type)return function(t,n,{staticPosition:i}){let r=0===n.components.length||n.components.some(({name:e})=>!e),a=r?[]:{},s=0;if(g(n)){let o=i+l(t.readBytes(32));for(let i=0;i<n.components.length;++i){let f=n.components[i];t.setPosition(o+s);let[c,b]=e(t,f,{staticPosition:o});s+=b,a[r?i:f?.name]=c}return t.setPosition(i+32),[a,32]}for(let o=0;o<n.components.length;++o){let f=n.components[o],[c,b]=e(t,f,{staticPosition:i});a[r?o:f?.name]=c,s+=b}return[a,s]}(t,n,{staticPosition:a});if("address"===n.type){let e;return e=t.readBytes(32),[(0,r.o)((0,d.My)((0,o.A1)(e,-20))),32]}if("bool"===n.type)return[function(e,t={}){let n=e;if(void 0!==t.size&&((0,b.Sl)(n,{size:t.size}),n=(0,f.B)(n)),n.length>1||n[0]>1)throw new c.xO(n);return!!n[0]}(t.readBytes(32),{size:32}),32];if(n.type.startsWith("bytes"))return function(e,t,{staticPosition:n}){let[i,r]=t.type.split("bytes");if(!r){let t=l(e.readBytes(32));e.setPosition(n+t);let i=l(e.readBytes(32));if(0===i)return e.setPosition(n+32),["0x",32];let r=e.readBytes(i);return e.setPosition(n+32),[(0,d.My)(r),32]}return[(0,d.My)(e.readBytes(Number.parseInt(r,10),32)),32]}(t,n,{staticPosition:a});if(n.type.startsWith("uint")||n.type.startsWith("int")){var u,p;let e,i,r;return u=t,e=(p=n).type.startsWith("int"),i=Number.parseInt(p.type.split("int")[1]||"256",10),r=u.readBytes(32),[i>48?function(e,t={}){void 0!==t.size&&(0,b.Sl)(e,{size:t.size});let n=(0,d.My)(e,t);return(0,b.uU)(n,t)}(r,{signed:e}):l(r,{signed:e}),32]}if("string"===n.type)return function(e,{staticPosition:t}){let n=l(e.readBytes(32));e.setPosition(t+n);let i=l(e.readBytes(32));if(0===i)return e.setPosition(t+32),["",32];let r=e.readBytes(i,32),a=function(e,t={}){let n=e;return void 0!==t.size&&((0,b.Sl)(n,{size:t.size}),n=(0,f.B)(n,{dir:"right"})),new TextDecoder().decode(n)}((0,f.B)(r));return e.setPosition(t+32),[a,32]}(t,{staticPosition:a});throw new i.j(n.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(p,n,{staticPosition:0});m+=s,y.push(a)}return y}function g(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;
7if("tuple"===t)return e.components?.some(g);let n=(0,h.k)(e.type);return!!(n&&g({...e,type:n[1]}))}},79946:(e,t,n)=>{n.d(t,{$:()=>a,R:()=>s});var i=n(34501),r=n(81343);function a(e,t){let n=(e.transactions??[]).map(e=>"string"==typeof e?e:(0,r.uP)(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:n,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}let s=(0,i.q)("block",a)},81343:(e,t,n)=>{n.d(t,{b4:()=>a,gU:()=>o,uP:()=>s});var i=n(5304),r=n(34501);let a={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function s(e,t){let n={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,i.ME)(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,i.ME)(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&&(n.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)}))),n.yParity=(()=>{if(e.yParity)return Number(e.yParity);if("bigint"==typeof n.v){if(0n===n.v||27n===n.v)return 0;if(1n===n.v||28n===n.v)return 1;if(n.v>=35n)return+(n.v%2n===0n)}})(),"legacy"===n.type&&(delete n.accessList,delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas,delete n.yParity),"eip2930"===n.type&&(delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas),"eip1559"===n.type&&delete n.maxFeePerBlobGas,n}let o=(0,r.q)("transaction",s)},82916:(e,t,n)=>{n.d(t,{T:()=>b});var i=n(87072),r=n(57089),a=n(60940),s=n(21273),o=n(17313),f=n(26865),c=n(21439);function b(e){let{data:t,kzg:n,to:b}=e,d=e.blobs??function(e){let t=e.to??("string"==typeof e.data?"hex":"bytes"),n="string"==typeof e.data?(0,f.aT)(e.data):e.data,i=(0,o.E)(n);if(!i)throw new a.zF;if(i>761855)throw new a.iq({maxSize:761855,size:i});let r=[],b=!0,d=0;for(;b;){let e=(0,s.l)(new Uint8Array(131072)),t=0;for(;t<4096;){let i=n.slice(d,d+31);if(e.pushByte(0),e.pushBytes(i),i.length<31){e.pushByte(128),b=!1;break}t++,d+=31}r.push(e)}return"bytes"===t?r.map(e=>e.bytes):r.map(e=>(0,c.My)(e.bytes))}({data:t,to:b}),l=e.commitments??(0,i.S)({blobs:d,kzg:n,to:b}),u=e.proofs??(0,r.t)({blobs:d,commitments:l,kzg:n,to:b}),h=[];for(let e=0;e<d.length;e++)h.push({blob:d[e],commitment:l[e],proof:u[e]});return h}},84355:(e,t,n)=>{n.d(t,{T:()=>i});function i(e,t,n){let i=e[t.name];if("function"==typeof i)return i;let r=e[n];return"function"==typeof r?r:n=>t(e,n)}},87072:(e,t,n)=>{n.d(t,{S:()=>a});var i=n(26865),r=n(21439);function a(e){let{kzg:t}=e,n=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),a="string"==typeof e.blobs[0]?e.blobs.map(e=>(0,i.aT)(e)):e.blobs,s=[];for(let e of a)s.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===n?s:s.map(e=>(0,r.My)(e))}},90013:(e,t,n)=>{n.d(t,{J:()=>a});var i=n(37357);function r(e){return{address:e.address,amount:i.oB(e.amount),index:i.oB(e.index),validatorIndex:i.oB(e.validatorIndex)}}function a(e){return{..."bigint"==typeof e.baseFeePerGas&&{baseFeePerGas:i.oB(e.baseFeePerGas)},..."bigint"==typeof e.blobBaseFee&&{blobBaseFee:i.oB(e.blobBaseFee)},..."string"==typeof e.feeRecipient&&{feeRecipient:e.feeRecipient}
vendor: 2,481 bytes, line 7
7,..."bigint"==typeof e.gasLimit&&{gasLimit:i.oB(e.gasLimit)},..."bigint"==typeof e.number&&{number:i.oB(e.number)},..."bigint"==typeof e.prevRandao&&{prevRandao:i.oB(e.prevRandao)},..."bigint"==typeof e.time&&{time:i.oB(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(r)}}}},92228:(e,t,n)=>{n.d(t,{yH:()=>c});var i=n(82089),r=n(97799),a=n(46208),s=n(41134),o=n(21439);function f(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:n})=>{if(66!==t.length)throw new r.NV({size:t.length,targetSize:66,type:"hex"});if(66!==n.length)throw new r.NV({size:n.length,targetSize:66,type:"hex"});return e[t]=n,e},{})}function c(e){if(!e)return;let t={};for(let{address:n,...r}of e){if(!(0,s.P)(n,{strict:!1}))throw new i.M({address:n});if(t[n])throw new a.Hi({address:n});t[n]=function(e){let{balance:t,nonce:n,state:i,stateDiff:r,code:s}=e,c={};if(void 0!==s&&(c.code=s),void 0!==t&&(c.balance=(0,o.cK)(t)),void 0!==n&&(c.nonce=(0,o.cK)(n)),void 0!==i&&(c.state=f(i)),void 0!==r){if(c.state)throw new a.ft;c.stateDiff=f(r)}return c}(r)}return t}},98604:(e,t,n)=>{n.d(t,{EQ:()=>o});var i=n(79089),r=n(21273),a=n(26865),s=n(21439);function o(e,t="hex"){let n=function e(t){var n,i;let r,s,o,c;return Array.isArray(t)?(s=f(r=(n=t.map(t=>e(t))).reduce((e,t)=>e+t.length,0)),{length:r<=55?1+r:1+s+r,encode(e){for(let{encode:t}of(r<=55?e.pushByte(192+r):(e.pushByte(247+s),1===s?e.pushUint8(r):2===s?e.pushUint16(r):3===s?e.pushUint24(r):e.pushUint32(r)),n))t(e)}}):(c=f((o="string"==typeof(i=t)?(0,a.aT)(i):i).length),{length:1===o.length&&o[0]<128?1:o.length<=55?1+o.length:1+c+o.length,encode(e){1===o.length&&o[0]<128||(o.length<=55?e.pushByte(128+o.length):(e.pushByte(183+c),1===c?e.pushUint8(o.length):2===c?e.pushUint16(o.length):3===c?e.pushUint24(o.length):e.pushUint32(o.length))),e.pushBytes(o)}})}(e),i=(0,r.l)(new Uint8Array(n.length));return(n.encode(i),"hex"===t)?(0,s.My)(i.bytes):i.bytes}function f(e){if(e<256)return 1;if(e<65536)return 2;if(e<0x1000000)return 3;if(e<0x100000000)return 4;throw new i.C("Length is too large.")}},99210:(e,t,n)=>{n.d(t,{L:()=>r});var i=n(41849);function r(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 i.Vg({transaction:e})}}}]);
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.