PageSourceSearch

https://smart-wallet-demo.vercel.app/_next/static/chunks/01j4xtzh~6hya.js

js smart-wallet-demo.vercel.app collected 2026-10-03 07:45:40 UTC 81,978 bytes, 28 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89991,52012,e=>{"use strict";e.s(["parseAccount",0,function(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}],89991);let t=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{name:"addr",type:"address"}],name:"getEthBalance",outputs:[{name:"balance",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockTimestamp",outputs:[{internalType:"uint256",name:"timestamp",type:"uint256"}],stateMutability:"view",type:"function"}],r=[{name:"query",type:"function",stateMutability:"view",inputs:[{type:"tuple[]",name:"queries",components:[{type:"address",name:"sender"},{type:"string[]",name:"urls"},{type:"bytes",name:"data"}]}],outputs:[{type:"bool[]",name:"failures"},{type:"bytes[]",name:"responses"}]},{name:"HttpError",type:"error",inputs:[{type:"uint16",name:"status"},{type:"string",name:"message"}]}],n=[{inputs:[{name:"dns",type:"bytes"}],name:"DNSDecodingFailed",type:"error"},{inputs:[{name:"ens",type:"string"}],name:"DNSEncodingFailed",type:"error"},{inputs:[],name:"EmptyAddress",type:"error"},{inputs:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"HttpError",type:"error"},{inputs:[],name:"InvalidBatchGatewayResponse",type:"error"},{inputs:[{name:"errorData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{name:"name",type:"bytes"},{name:"resolver",type:"address"}],name:"ResolverNotContract",type:"error"},{inputs:[{name:"name",type:"bytes"}],name:"ResolverNotFound",type:"error"},{inputs:[{name:"primary",type:"string"},{name:"primaryAddress",type:"bytes"}],name:"ReverseAddressMismatch",type:"error"},{inputs:[{internalType:"bytes4",name:"selector",type:"bytes4"}],name:"UnsupportedResolverProfile",type:"error"}],a=[...n,{name:"resolveWithGateways",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],o=[...n,{name:"reverseWithGateways",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"uint256",name:"coinType"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolver"},{type:"address",name:"reverseResolver"}]}];e.s(["addressResolverAbi",0,[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],"batchGatewayAbi",0,r,"erc1271Abi",0,[{name:"isValidSignature",type:"function",stateMutability:"view",inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],outputs:[{name:"",type:"bytes4"}]}],"erc6492SignatureValidatorAbi",0,[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function",name:"isValidSig"}],"multicall3Abi",0,t,"textResolverAbi",0,[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],"universalResolverResolveAbi",0,a,"universalResolverReverseAbi",0,o],52012)},70204,32881,e=>{"use strict";function t(e,{includeName:n=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new F(e.type);return`${e.name}(${r(e.inputs,{includeName:n})})`}function r(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${r(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}e.s(["AbiConstructorNotFoundError",()=>o,"AbiConstructorParamsNotFoundError",()=>i,"AbiDecodingDataSizeTooSmallError",()=>s,"AbiDecodingZeroDataError",()=>
1c,"AbiEncodingArrayLengthMismatchError",()=>f,"AbiEncodingBytesSizeMismatchError",()=>u,"AbiEncodingLengthMismatchError",()=>d,"AbiErrorInputsNotFoundError",()=>b,"AbiErrorNotFoundError",()=>l,"AbiErrorSignatureNotFoundError",()=>p,"AbiEventNotFoundError",()=>y,"AbiEventSignatureEmptyTopicsError",()=>h,"AbiEventSignatureNotFoundError",()=>m,"AbiFunctionNotFoundError",()=>g,"AbiFunctionOutputsNotFoundError",()=>v,"AbiFunctionSignatureNotFoundError",()=>w,"AbiItemAmbiguityError",()=>E,"BytesSizeMismatchError",()=>x,"DecodeLogDataMismatch",()=>A,"DecodeLogTopicsMismatch",()=>$,"InvalidAbiDecodingTypeError",()=>P,"InvalidAbiEncodingTypeError",()=>B,"InvalidArrayError",()=>T,"InvalidDefinitionTypeError",()=>F,"UnsupportedPackedAbiType",()=>C],70204),e.s(["formatAbiItem",()=>t,"formatAbiParams",()=>r],32881);var n=e.i(1319),a=e.i(69934);class o extends a.BaseError{constructor({docsPath:e}){super("A constructor was not found on the ABI.\nMake sure you are using the correct ABI and that the constructor exists on it.",{docsPath:e,name:"AbiConstructorNotFoundError"})}}class i extends a.BaseError{constructor({docsPath:e}){super("Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\nMake sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.",{docsPath:e,name:"AbiConstructorParamsNotFoundError"})}}a.BaseError;class s extends a.BaseError{constructor({data:e,params:t,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${r(t,{includeName:!0})})`,`Data:   ${e} (${n} bytes)`],name:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e,this.params=t,this.size=n}}class c extends a.BaseError{constructor({cause:e}={}){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError",cause:e})}}class f extends a.BaseError{constructor({expectedLength:e,givenLength:t,type:r}){super(`ABI encoding array length mismatch for type ${r}.
2Expected length: ${e}
3Given length: ${t}`,{name:"AbiEncodingArrayLengthMismatchError"})}}class u extends a.BaseError{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,n.size)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class d extends a.BaseError{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch.
4Expected length (params): ${e}
5Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class b extends a.BaseError{constructor(e,{docsPath:t}){super(`Arguments (\`args\`) were provided to "${e}", but "${e}" on the ABI does not contain any parameters (\`inputs\`).
6Cannot encode error result without knowing what the parameter types are.
7Make sure you are using the correct ABI and that the inputs exist on it.`,{docsPath:t,name:"AbiErrorInputsNotFoundError"})}}class l extends a.BaseError{constructor(e,{docsPath:t}={}){super(`Error ${e?`"${e}" `:""}not found on ABI.
8Make sure you are using the correct ABI and that the error exists on it.`,{docsPath:t,name:"AbiErrorNotFoundError"})}}class p extends a.BaseError{constructor(e,{docsPath:t,cause:r}){super(`Encoded error signature "${e}" not found on ABI.
9Make sure you are using the correct ABI and that the error exists on it.
10You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError",cause:r}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class h extends a.BaseError{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class m extends a.BaseError{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI.
11Make sure you are using the correct ABI and that the event exists on it.
12You can look up the signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class y extends a.BaseError{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI.
13Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class g extends a.BaseError{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI.
14Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionNotFoundError"})}}class v extends a.BaseError{constructor(e,{docsPath:t}){super(`Function "${e}" does not contain any \`outputs\` on ABI.
15Cannot decode function result without knowing what the parameter types are.
16Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class w extends a.BaseError{constructor(e,{docsPath:t}){super(`Encoded function signature "${e}" not found on ABI.
17Make sure you are using the correct ABI and that the function exists on it.
18You can look up the signature here: https://4byte.sourcify.dev/?q=${e}.`,{docsPath:t,name:"AbiFunctionSignatureNotFoundError"})}}class E extends a.BaseError{constructor(e,r){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${t(e.abiItem)}\`, and`,`\`${r.type}\` in \`${t(r.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class x extends a.BaseError{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class A extends a.BaseError{constructor({abiItem:e,data:t,params:n,size:a}){super(`Data size of ${a} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${r(n,{includeName:!0})})`,`Data:   ${t} (${a} bytes)`],name:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e,this.data=t,this.params=n,this.size=a}}class $ extends a.BaseError{constructor({abiItem:e,param:r}){super(`Expected a topic for indexed event parameter${r.name?` "${r.name}"`:""} on event "${t(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class B extends a.BaseError{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type.
19Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class P extends a.BaseError{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type.
20Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class T extends a.BaseError{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class F extends a.BaseError{constructor(e){super(`"${e}" is not a valid definition type.
21Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}class C extends a.BaseError{constructor(e){super(`Type "${e}" is not supported for packed encoding.`,{name:"UnsupportedPackedAbiType"})}}},8861,e=>{"use strict";var t=e.i(69934);class r extends t.BaseError{constructor({address:e}){super(`Address "${e}
21" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}e.s(["InvalidAddressError",0,r])},69936,31095,e=>{"use strict";var t=e.i(69934),r=e.i(80841),n=e.i(22411),a=e.i(50323),o=e.i(75107);let i=new TextEncoder;function s(e,t={}){var i,c;return"number"==typeof e||"bigint"==typeof e?(i=e,c=t,f((0,o.numberToHex)(i,c))):"boolean"==typeof e?function(e,t={}){let r=new Uint8Array(1);return(r[0]=Number(e),"number"==typeof t.size)?((0,a.assertSize)(r,{size:t.size}),(0,n.pad)(r,{size:t.size})):r}(e,t):(0,r.isHex)(e)?f(e,t):u(e,t)}function c(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,r={}){let o=e;r.size&&((0,a.assertSize)(o,{size:r.size}),o=(0,n.pad)(o,{dir:"right",size:r.size}));let i=o.slice(2);i.length%2&&(i=`0${i}`);let s=i.length/2,u=new Uint8Array(s);for(let e=0,r=0;e<s;e++){let n=c(i.charCodeAt(r++)),a=c(i.charCodeAt(r++));if(void 0===n||void 0===a)throw new t.BaseError(`Invalid byte sequence ("${i[r-2]}${i[r-1]}" in "${i}").`);u[e]=16*n+a}return u}function u(e,t={}){let r=i.encode(e);return"number"==typeof t.size?((0,a.assertSize)(r,{size:t.size}),(0,n.pad)(r,{dir:"right",size:t.size})):r}e.s(["hexToBytes",0,f,"stringToBytes",0,u,"toBytes",0,s],69936);var d=e.i(45535);e.s(["keccak256",0,function(e,t){let n=(0,d.keccak_256)((0,r.isHex)(e,{strict:!1})?s(e):e);return"bytes"===(t||"hex")?n:(0,o.toHex)(n)}],31095)},23838,76677,96516,93429,795,e=>{"use strict";e.s(["checksumAddress",()=>f,"getAddress",()=>u],23838);var t=e.i(8861),r=e.i(69936),n=e.i(31095);class a extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){let t=super.get(e);return super.has(e)&&(super.delete(e),super.set(e,t)),t}set(e,t){if(super.has(e)&&super.delete(e),super.set(e,t),this.maxSize&&this.size>this.maxSize){let e=super.keys().next().value;void 0!==e&&super.delete(e)}return this}}e.s(["LruMap",0,a],76677),e.s(["isAddress",()=>s],96516);let o=/^0x[a-fA-F0-9]{40}$/,i=new a(8192);function s(e,t){let{strict:r=!0}=t??{},n=`${e}.${r}`;if(i.has(n))return i.get(n);let a=!!o.test(e)&&(e.toLowerCase()===e||!r||f(e)===e);return i.set(n,a),a}let c=new a(8192);function f(e,t){if(c.has(`${e}.${t}`))return c.get(`${e}.${t}`);let a=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),o=(0,n.keccak256)((0,r.stringToBytes)(a),"bytes"),i=(t?a.substring(`${t}0x`.length):a).split("");for(let e=0;e<40;e+=2)o[e>>1]>>4>=8&&i[e]&&(i[e]=i[e].toUpperCase()),(15&o[e>>1])>
21=8&&i[e+1]&&(i[e+1]=i[e+1].toUpperCase());let s=`0x${i.join("")}`;return c.set(`${e}.${t}`,s),s}function u(e,r){if(!s(e,{strict:!1}))throw new t.InvalidAddressError({address:e});return f(e,r)}var d=e.i(69934);class b extends d.BaseError{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class l extends d.BaseError{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class p extends d.BaseError{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}e.s(["NegativeOffsetError",0,b,"PositionOutOfBoundsError",0,l,"RecursiveReadLimitExceededError",0,p],93429);let h={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 p({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new l({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new b({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 b({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 r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+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 r=this.inspectBytes(e);return this.position+=t??e,r},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++}};e.s(["createCursor",0,function(e,{recursiveReadLimit:t=8192}={}){let r=Object.create(h);return r.bytes=e,r.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r}],795)},90063,e=>{"use strict";var t=e.i(87286),r=e.i(80841),n=e.i(1319);function a(e,r){if("number"==typeof r&&r>0&&r>(0,n.size)(e)-1)throw new t.SliceOffsetOutOfBoundsError({offset:r,position:"start",size:(0,n.size)(e)})}function o(e,r,a){if("number"==typeof r&&"number"==typeof a&&(0,n.size)(e)!==a-r)throw new t.SliceOffsetOutOfBoundsError({offset:a,position:"end",size:(0,n.size)(e)})}function i(e,t,r,{strict:n}={}){a(e,t);let s=e.slice(t,r);return n&&o(s,t,r),s}function s(e,t,r,{strict:n}={}){a(e,t);let i=`0x${e.replace("0x","").slice((t??0)*2,(r??e.length)*2)}`;return n&&o(i,t,r),i}e.s(["slice",0,function(e,t,n,{strict:a}={}){return(0,r.isHex)(e,{strict:!1})?s(e,t,n,{strict:a}):i(e,t,n,{strict:a})},"sliceBytes",0,i,"sliceHex",0,s])},49311,47526,42692,4434,e=>{"use strict";var t=e.i(70204),r=e.i(23838),n=e.i(795),a=e.i(1319),o=e.i(90063),i=e.i(8406),s=e.i(564),c=e.i(50323),f=e.i(75107);function u(e,t={}){void 0!==t.size&&(0,c.assertSize)(e,{size:t.size});let r=(0,f.bytesToHex)(e,t);return(0,c.hexToNumber)(r,t)}var d=e.i(69936),b=e.i(8861),l=e.i(69934),p=e.i(96516);function h(e){return"string"==typeof e[0]?m(e):function(e){let t=0;
21for(let r of e)t+=r.length;let r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.length;return r}(e)}function m(e){return`0x${e.reduce((e,t)=>e+t.replace("0x",""),"")}`}e.s(["concat",0,h,"concatHex",0,m],47526);var y=e.i(22411);let g=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;e.s(["arrayRegex",0,/^(.*)\[([0-9]*)\]$/,"bytesRegex",0,/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,"integerRegex",0,g],42692);function v(e){let t=0;for(let r=0;r<e.length;r++){let{dynamic:n,encoded:o}=e[r];n?t+=32:t+=(0,a.size)(o)}let r=[],n=[],o=0;for(let i=0;i<e.length;i++){let{dynamic:s,encoded:c}=e[i];s?(r.push((0,f.numberToHex)(t+o,{size:32})),n.push(c),o+=(0,a.size)(c)):r.push(c)}return h([...r,...n])}function w(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}e.s(["encodeAbiParameters",0,function(e,r){if(e.length!==r.length)throw new t.AbiEncodingLengthMismatchError({expectedLength:e.length,givenLength:r.length});let n=v(function({params:e,values:r}){let n=[];for(let i=0;i<e.length;i++)n.push(function e({param:r,value:n}){let i=w(r.type);if(i){let[a,o]=i;return function(r,{length:n,param:a}){let o=null===n;if(!Array.isArray(r))throw new t.InvalidArrayError(r);if(!o&&r.length!==n)throw new t.AbiEncodingArrayLengthMismatchError({expectedLength:n,givenLength:r.length,type:`${a.type}[${n}]`});let i=!1,s=[];for(let t=0;t<r.length;t++){let n=e({param:a,value:r[t]});n.dynamic&&(i=!0),s.push(n)}if(o||i){let e=v(s);if(o){let t=(0,f.numberToHex)(s.length,{size:32});return{dynamic:!0,encoded:s.length>0?h([t,e]):t}}if(i)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:h(s.map(({encoded:e})=>e))}}(n,{length:a,param:{...r,type:o}})}if("tuple"===r.type)return function(t,{param:r}){let n=!1,a=[];for(let o=0;o<r.components.length;o++){let i=r.components[o],s=Array.isArray(t)?o:i.name,c=e({param:i,value:t[s]});a.push(c),c.dynamic&&(n=!0)}return{dynamic:n,encoded:n?v(a):h(a.map(({encoded:e})=>e))}}(n,{param:r});if("address"===r.type){var c=n;if(!(0,p.isAddress)(c))throw new b.InvalidAddressError({address:c});return{dynamic:!1,encoded:(0,y.padHex)(c.toLowerCase())}}if("bool"===r.type){var u=n;if("boolean"!=typeof u)throw new l.BaseError(`Invalid boolean value: "${u}" (type: ${typeof u}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,y.padHex)((0,f.boolToHex)(u))}}if(r.type.startsWith("uint")||r.type.startsWith("int")){let e=r.type.startsWith("int"),[,,t="256"]=g.exec(r.type)??[];return function(e,{signed:t,size:r=256}){if("number"==typeof r){let n=2n**(BigInt(r)-(t?1n:0n))-1n,a=t?-n-1n:0n;if(e>n||e<a)throw new s.IntegerOutOfRangeError({max:n.toString(),min:a.toString(),signed:t,size:r/8,value:e.toString()})}return{dynamic:!1,encoded:(0,f.numberToHex)(e,{size:32,signed:t})}}(n,{signed:e,size:Number(t)})}if(r.type.startsWith("bytes"))return function(e,{param:r}){let[,n]=r.type.split("bytes"),o=(0,a.size)(e);if(!n){let t=e;return o%32!=0&&(t=(0,y.padHex)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:h([(0,y.padHex)((0,f.numberToHex)(o,{size:32})),t])}}if(o!==Number.parseInt(n,10))throw new t.AbiEncodingBytesSizeMismatchError({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:(0,y.padHex)(e,{dir:"right"})}}(n,{param:r});if("string"===r.type){var d=n;let e=(0,f.stringToHex)(d),t=Math.ceil((0,a.size)(e)/32),r=[];for(let n=0;n<t;n++)r.push((0,y.padHex)((0,o.slice)(e,32*n,(n+1)*32),{dir:"right"}));return{dynamic:!0,encoded:h([(0,y.padHex)((0,f.numberToHex)((0,a.size)(e),{size:32})),...r])}}throw new t.InvalidAbiEncodingTypeError(r.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[i],value:r[i]}));return n}({params:e,values:r}));return 0===n.length?"0x":n},"getArrayComponents",0,w],4434);function E(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(E);let r=w(e.type);return!!(r&&E({...e,type:r[1]}))}e.s(["decodeAbiParameters",0,function(e,b){let l="string"==typeof b?(0,d.hexToBytes)(b):b,p=(0,n.createCursor)(l);if(0===(0,a.size)(l)&&e.length>0)throw new t.AbiDecodingZeroDataError;if((0,a.size)(b)&&32>(0,a.size)(b))throw new t.AbiDecodingDataSizeTooSmallError({data:"string"==typeof b?b:(0,f.bytesToHex)(b),params:e,size:(0,a.size)(b)});let h=0,m=[];for(let n=0;n<e.length;++n){let a=e[n];p.setPosition(h);let[d,b]=function e(n,a,{staticPosition:d}){let b=w(a.type);if(b){let[t,r]=b;return function(t,r,{length:n,staticPosition:a}
vendor: 3,226 bytes, line 21
21){if(!n){let n=a+u(t.readBytes(32)),o=n+32;t.setPosition(n);let i=u(t.readBytes(32)),s=E(r),c=0,f=[];for(let n=0;n<i;++n){t.setPosition(o+(s?32*n:c));let[a,i]=e(t,r,{staticPosition:o});c+=i,f.push(a)}return t.setPosition(a+32),[f,32]}if(E(r)){let o=a+u(t.readBytes(32)),i=[];for(let a=0;a<n;++a){t.setPosition(o+32*a);let[n]=e(t,r,{staticPosition:o});i.push(n)}return t.setPosition(a+32),[i,32]}let o=0,i=[];for(let s=0;s<n;++s){let[n,s]=e(t,r,{staticPosition:a+o});o+=s,i.push(n)}return[i,o]}(n,{...a,type:r},{length:t,staticPosition:d})}if("tuple"===a.type)return function(t,r,{staticPosition:n}){let a=0===r.components.length||r.components.some(({name:e})=>!e),o=a?[]:{},i=0;if(E(r)){let s=n+u(t.readBytes(32));for(let n=0;n<r.components.length;++n){let c=r.components[n];t.setPosition(s+i);let[f,u]=e(t,c,{staticPosition:s});i+=u,o[a?n:c?.name]=f}return t.setPosition(n+32),[o,32]}for(let s=0;s<r.components.length;++s){let c=r.components[s],[f,u]=e(t,c,{staticPosition:n});o[a?s:c?.name]=f,i+=u}return[o,i]}(n,a,{staticPosition:d});if("address"===a.type){let e;return e=n.readBytes(32),[(0,r.checksumAddress)((0,f.bytesToHex)((0,o.sliceBytes)(e,-20))),32]}if("bool"===a.type)return[function(e,t={}){let r=e;if(void 0!==t.size&&((0,c.assertSize)(r,{size:t.size}),r=(0,i.trim)(r)),r.length>1||r[0]>1)throw new s.InvalidBytesBooleanError(r);return!!r[0]}(n.readBytes(32),{size:32}),32];if(a.type.startsWith("bytes"))return function(e,t,{staticPosition:r}){let[n,a]=t.type.split("bytes");if(!a){let t=u(e.readBytes(32));e.setPosition(r+t);let n=u(e.readBytes(32));if(0===n)return e.setPosition(r+32),["0x",32];let a=e.readBytes(n);return e.setPosition(r+32),[(0,f.bytesToHex)(a),32]}return[(0,f.bytesToHex)(e.readBytes(Number.parseInt(a,10),32)),32]}(n,a,{staticPosition:d});if(a.type.startsWith("uint")||a.type.startsWith("int")){var l,p;let e,t,r;return l=n,e=(p=a).type.startsWith("int"),t=Number.parseInt(p.type.split("int")[1]||"256",10),r=l.readBytes(32),[t>48?function(e,t={}){void 0!==t.size&&(0,c.assertSize)(e,{size:t.size});let r=(0,f.bytesToHex)(e,t);return(0,c.hexToBigInt)(r,t)}(r,{signed:e}):u(r,{signed:e}),32]}if("string"===a.type)return function(e,{staticPosition:t}){let r=u(e.readBytes(32));e.setPosition(t+r);let n=u(e.readBytes(32));if(0===n)return e.setPosition(t+32),["",32];let a=e.readBytes(n,32),o=function(e,t={}){let r=e;return void 0!==t.size&&((0,c.assertSize)(r,{size:t.size}),r=(0,i.trim)(r,{dir:"right"})),new TextDecoder().decode(r)}((0,i.trim)(a));return e.setPosition(t+32),[o,32]}(n,{staticPosition:d});throw new t.InvalidAbiDecodingTypeError(a.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(p,a,{staticPosition:0});h+=b,m.push(d)}return m}],49311)},26336,e=>{"use strict";var t=e.i(69936),r=e.i(31095),n=e.i(66564),a=e.i(69934);e.s(["toSignatureHash",0,function(e){var o;return o=function(e){let t=!0,r="",n=0,o="",i=!1;for(let a=0;a<e.length;a++){let s=e[a];if(["(",")",","].includes(s)&&(t=!0),"("===s&&n++,")"===s&&n--,t){if(0===n){if(" "===s&&["event","function",""].includes(o))o="";else if(o+=s,")"===s){i=!0;break}continue}if(" "===s){","!==e[a-1]&&","!==r&&",("!==r&&(r="",t=!1);continue}o+=s,r+=s}}if(!i)throw new a.BaseError("Unable to normalize signature.");return o}
21("string"==typeof e?e:(0,n.formatAbiItem)(e)),(0,r.keccak256)((0,t.toBytes)(o))}],26336)},74620,e=>{"use strict";let t=e.i(26336).toSignatureHash;e.s(["toEventSelector",0,t])},79617,e=>{"use strict";var t=e.i(90063),r=e.i(26336);e.s(["toFunctionSelector",0,e=>(0,t.slice)((0,r.toSignatureHash)(e),0,4)])},27173,e=>{"use strict";var t=e.i(70204),r=e.i(80841),n=e.i(96516),a=e.i(74620),o=e.i(79617);e.s(["getAbiItem",0,function(e){let i,{abi:s,args:c=[],name:f}=e,u=(0,r.isHex)(f,{strict:!1}),d=s.filter(e=>u?"function"===e.type?(0,o.toFunctionSelector)(e)===f:"event"===e.type&&(0,a.toEventSelector)(e)===f:"name"in e&&e.name===f);if(0!==d.length){if(1===d.length)return d[0];for(let e of d){if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===c.length&&c.every((t,r)=>{let a="inputs"in e&&e.inputs[r];return!!a&&function e(t,r){let a=typeof t,o=r.type;switch(o){case"address":return(0,n.isAddress)(t,{strict:!1});case"bool":return"boolean"===a;case"function":case"string":return"string"===a;default:if("tuple"===o&&"components"in r)return Object.values(r.components).every((r,n)=>"object"===a&&e(Object.values(t)[n],r));if(/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(o))return"number"===a||"bigint"===a;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(o))return"string"===a||t instanceof Uint8Array;
21if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(o))return Array.isArray(t)&&t.every(t=>e(t,{...r,type:o.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,a)})){if(i&&"inputs"in i&&i.inputs){let r=function e(t,r,a){for(let o in t){let i=t[o],s=r[o];if("tuple"===i.type&&"tuple"===s.type&&"components"in i&&"components"in s)return e(i.components,s.components,a[o]);let c=[i.type,s.type];if(c.includes("address")&&c.includes("bytes20")||(c.includes("address")&&c.includes("string")||c.includes("address")&&c.includes("bytes"))&&(0,n.isAddress)(a[o],{strict:!1}))return c}}(e.inputs,i.inputs,c);if(r)throw new t.AbiItemAmbiguityError({abiItem:e,type:r[0]},{abiItem:i,type:r[1]})}i=e}}}return i||d[0]}}])},547,e=>{"use strict";var t=e.i(70204),r=e.i(49311),n=e.i(27173);let a="/docs/contract/decodeFunctionResult";e.s(["decodeFunctionResult",0,function(e){let{abi:o,args:i,functionName:s,data:c}=e,f=o[0];if(s){let e=(0,n.getAbiItem)({abi:o,args:i,name:s});if(!e)throw new t.AbiFunctionNotFoundError(s,{docsPath:a});f=e}if("function"!==f.type)throw new t.AbiFunctionNotFoundError(void 0,{docsPath:a});if(!f.outputs)throw new t.AbiFunctionOutputsNotFoundError(f.name,{docsPath:a});let u=(0,r.decodeAbiParameters)(f.outputs,c);return u&&u.length>1?u:u&&1===u.length?u[0]:void 0}])},56679,e=>{"use strict";var t=e.i(47526),r=e.i(4434),n=e.i(70204),a=e.i(79617),o=e.i(32881),i=e.i(27173);let s="/docs/contract/encodeFunctionData";e.s(["encodeFunctionData",0,function(e){let{args:c}=e,{abi:f,functionName:u}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:function(e){let{abi:t,args:r,functionName:c}=e,f=t[0];if(c){let e=(0,i.getAbiItem)({abi:t,args:r,name:c});if(!e)throw new n.AbiFunctionNotFoundError(c,{docsPath:s});f=e}if("function"!==f.type)throw new n.AbiFunctionNotFoundError(void 0,{docsPath:s});return{abi:[f],functionName:(0,a.toFunctionSelector)((0,o.formatAbiItem)(f))}}(e),d=f[0],b="inputs"in d&&d.inputs?(0,r.encodeAbiParameters)(d.inputs,c??[]):void 0;return(0,t.concatHex)([u,b??"0x"])}],56679)},5880,e=>{"use strict";var t=e.i(69934);class r extends t.BaseError{constructor({blockNumber:e,chain:t,contract:r}){super(`Chain "${t.name}" does not support contract "${r.name}".`,{metaMessages:["This could be due to any of the following:",...e&&r.blockCreated&&r.blockCreated>e?[`- The contract "${r.name}" was not deployed until block ${r.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${r.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class n extends t.BaseError{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 a extends t.BaseError{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 t.BaseError{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}t.BaseError,e.s(["ChainDoesNotSupportContract",0,r,"ChainMismatchError",0,n,"ChainNotFoundError",0,a,"ClientChainNotConfiguredError",0,o])},4195,e=>{"use strict";var t=e.i(5880);e.s(["getChainContractAddress",0,function({blockNumber:e,chain:r,contract:n}){let a=r?.contracts?.[n];if(!a)throw new t.ChainDoesNotSupportContract({chain:r,contract:{name:n}});if(e&&a.blockCreated&&a.blockCreated>e)throw new t.ChainDoesNotSupportContract({blockNumber:e,chain:r,contract:{name:n,blockCreated:a.blockCreated}});return a.address}])},92651,e=>{"use strict";e.s(["panicReasons",0,{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."},"solidityError",0,{inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},"solidityPanic",0,{inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}])},59953,34888,61295,e=>{"use strict";var t=e.i(92651),r=e.i(70204),n=e.i(90063),a=e.i(79617),o=e.i(49311),i=e.i(32881);e.s(["decodeErrorResult",0,function(e){let{abi:s,data:c,cause:f}=e,u=(0,n.slice)(c,0,4);if("0x"===u)throw new r.AbiDecodingZeroDataError({cause:f});let d=[...s||[],t.solidityError,t.solidityPanic].find(e=>"error"===e.type&&u===(0,a.toFunctionSelector)((0,i.formatAbiItem)(e)));if(!d)throw new r.AbiErrorSignatureNotFoundError(u,{docsPath:"/docs/contract/decodeErrorResult",cause:f});return{abiItem:d,args:"inputs"in d&&d.inputs&&d.inputs.length>0?(0,o.decodeAbiParameters)(d.inputs,(0,n.slice)(c,4)):void 0,errorName:d.name}}],59953);let s=(e,t,r)=>
21JSON.stringify(e,(e,r)=>{let n="bigint"==typeof r?r.toString():r;return"function"==typeof t?t(e,n):n},r);e.s(["stringify",0,s],34888),e.s(["formatAbiItemWithArgs",0,function({abiItem:e,args:t,includeFunctionName:r=!0,includeName:n=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${r?e.name:""}(${e.inputs.map((e,r)=>`${n&&e.name?`${e.name}: `:""}${"object"==typeof t[r]?s(t[r]):t[r]}`).join(", ")})`}],61295)},78023,55723,44616,85973,76486,62570,93702,63710,e=>{"use strict";var t=e.i(89991),r=e.i(92651),n=e.i(59953),a=e.i(32881),o=e.i(61295),i=e.i(27173);let s={gwei:9,wei:18},c={ether:-9,wei:9};function f(e,t){let r=e.toString(),n=r.startsWith("-");n&&(r=r.slice(1));let[a,o]=[(r=r.padStart(t,"0")).slice(0,r.length-t),r.slice(r.length-t)];return o=o.replace(/(0+)$/,""),`${n?"-":""}${a||"0"}${o?`.${o}`:""}`}function u(e,t="wei"){return f(e,s[t])}function d(e,t="wei"){return f(e,c[t])}e.s(["etherUnits",0,s,"gweiUnits",0,c],55723),e.s(["formatUnits",0,f],44616),e.s(["formatEther",0,u],85973),e.s(["formatGwei",0,d],76486);var b=e.i(70204),l=e.i(69934),p=l;class h extends p.BaseError{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class m extends p.BaseError{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function y(e){return e.reduce((e,{slot:t,value:r})=>`${e}        ${t}: ${r}
22`,"")}function g(e){return e.reduce((e,{address:t,...r})=>{let n=`${e}    ${t}:
23`;return r.nonce&&(n+=`      nonce: ${r.nonce}
24`),r.balance&&(n+=`      balance: ${r.balance}
25`),r.code&&(n+=`      code: ${r.code}
26`),r.state&&(n+="      state:\n",n+=y(r.state)),r.stateDiff&&(n+="      stateDiff:\n",n+=y(r.stateDiff)),n},"  State Override:\n").slice(0,-1)}e.s(["AccountStateConflictError",0,h,"StateAssignmentConflictError",0,m,"prettyStateOverride",0,g],62570);var v=l;function w(e){let t=Object.entries(e).map(([e,t])=>void 0===t||!1===t?null:[e,t]).filter(Boolean),r=t.reduce((e,[t])=>Math.max(e,t.length),0);return t.map(([e,t])=>`  ${`${e}:`.padEnd(r+1)}  ${t}`).join("\n")}v.BaseError,v.BaseError;class E extends v.BaseError{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",w(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"})}}v.BaseError,v.BaseError,v.BaseError;class x extends v.BaseError{constructor(e,{account:t,docsPath:r,chain:n,data:a,gas:o,gasPrice:i,maxFeePerGas:s,maxPriorityFeePerGas:c,nonce:f,to:b,value:l}){const p=w({chain:n&&`${n?.name} (id: ${n?.id})`,from:t?.address,to:b,value:void 0!==l&&`${u(l)} ${n?.nativeCurrency?.symbol||"ETH"}`,data:a,gas:o,gasPrice:void 0!==i&&`${d(i)} gwei`,maxFeePerGas:void 0!==s&&`${d(s)} gwei`,maxPriorityFeePerGas:void 0!==c&&`${d(c)} gwei`,nonce:f});super(e.shortMessage,{cause:e,docsPath:r,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 A extends v.BaseError{constructor({blockHash:e,blockNumber:t,blockTag:r,hash:n,index:a}){let o="Transaction";r&&void 0!==a&&(o=`Transaction at block time "${r}" at index "${a}"`),e&&void 0!==a&&(o=`Transaction at block hash "${e}" at index "${a}"`),t&&void 0!==a&&(o=`Transaction at block number "${t}" at index "${a}"`),n&&(o=`Transaction with hash "${n}"`),super(`${o} could not be found.`,{name:"TransactionNotFoundError"})}}class $ extends v.BaseError{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 B extends v.BaseError{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 P extends v.BaseError{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}e.s(["InvalidSerializableTransactionError",0,E,"TransactionExecutionError",0,x,"TransactionNotFoundError",0,A,"TransactionReceiptNotFoundError",0,$,"TransactionReceiptRevertedError",0,B,"WaitForTransactionReceiptTimeoutError",0,P,"prettyPrint",0,w],93702);let T=e=>e;e.s(["getAbortError",0,function(e){if(e?.reason)return e.reason;if("function"==typeof DOMException)return new DOMException("This operation was aborted","AbortError");let t=Error("This operation was aborted");return t.name="AbortError",t},"getContractAddress",0,T,"getUrl",0,e=>{try{let t=new URL(e);if(!t.username&&!t.password)return e;return t.username="",t.password="",t.toString()}catch{return e}},"isAbortError",0,function(e){return"object"==typeof e&&null!==e&&"name"in e&&"AbortError"===e.name}],63710);class F extends l.BaseError{constructor(e,{account:r,docsPath:n,chain:a,data:o,gas:i,gasPrice:s,maxFeePerGas:c,maxPriorityFeePerGas:f,nonce:b,to:l,value:p,stateOverride:h}){const m=r?(0,t.parseAccount)(r):void 0;let y=w({from:m?.address,to:l,value:void 0!==p&&`${u(p)} ${a?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:i,gasPrice:void 0!==s&&`${d(s)} gwei`,maxFeePerGas:void 0!==c&&`${d(c)} gwei`,maxPriorityFeePerGas:void 0!==f&&`${d(f)} gwei`,nonce:b});h&&(y+=`
27${g(h)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",y].filter(
27Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class C extends l.BaseError{constructor(e,{abi:t,args:r,contractAddress:n,docsPath:s,functionName:c,sender:f}){const u=(0,i.getAbiItem)({abi:t,args:r,name:c}),d=u?(0,o.formatAbiItemWithArgs)({abiItem:u,args:r,includeFunctionName:!1,includeName:!1}):void 0,b=u?(0,a.formatAbiItem)(u,{includeName:!0}):void 0,l=w({address:n&&T(n),function:b,args:d&&"()"!==d&&`${[...Array(c?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:f});super(e.shortMessage||`An unknown error occurred while executing the contract function "${c}".`,{cause:e,docsPath:s,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],l&&"Contract Call:",l].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=r,this.cause=e,this.contractAddress=n,this.functionName=c,this.sender=f}}class I extends l.BaseError{constructor({abi:e,data:t,functionName:i,message:s,cause:c}){let f,u,d,l,p;if(t&&"0x"!==t)try{const{abiItem:i,errorName:s,args:f}=u=(0,n.decodeErrorResult)({abi:e,data:t,cause:c});if("Error"===s)l=f[0];else if("Panic"===s){const[e]=f;l=r.panicReasons[e]}else{const e=i?(0,a.formatAbiItem)(i,{includeName:!0}):void 0,t=i&&f?(0,o.formatAbiItemWithArgs)({abiItem:i,args:f,includeFunctionName:!1,includeName:!1}):void 0;d=[e?`Error: ${e}`:"",t&&"()"!==t?`       ${[...Array(s?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){f=e}else s&&(l=s);f instanceof b.AbiErrorSignatureNotFoundError&&(p=f.signature,d=[`Unable to decode signature "${p}" 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=${p}.`]),super(l&&"execution reverted"!==l||p?[`The contract function "${i}" reverted with the following ${p?"signature":"reason"}:`,l||p].join("\n"):`The contract function "${i}" reverted.`,{cause:f??c,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=u,this.raw=t,this.reason=l,this.signature=p}}class N extends l.BaseError{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 M extends l.BaseError{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 z extends l.BaseError{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}}e.s(["CallExecutionError",0,F,"ContractFunctionExecutionError",0,C,"ContractFunctionRevertedError",0,I,"ContractFunctionZeroDataError",0,N,"CounterfactualDeploymentFailedError",0,M,"RawContractError",0,z],78023)},61147,16819,e=>{"use strict";var t=e.i(52012),r=e.i(92651),n=e.i(70204),a=e.i(90063),o=e.i(79617),i=e.i(49311),s=e.i(32881);function c(e){let{abi:t,data:r}=e,c=(0,a.slice)(r,0,4),f=t.find(e=>"function"===e.type&&c===(0,o.toFunctionSelector)((0,s.formatAbiItem)(e)));if(!f)throw new n.AbiFunctionSignatureNotFoundError(c,{docsPath:"/docs/contract/decodeFunctionData"});
27return{functionName:f.name,args:"inputs"in f&&f.inputs&&f.inputs.length>0?(0,i.decodeAbiParameters)(f.inputs,(0,a.slice)(r,4)):void 0}}e.s(["decodeFunctionData",0,c],16819);var f=e.i(47526),u=e.i(4434),d=e.i(27173);let b="/docs/contract/encodeErrorResult";function l(e){let{abi:t,errorName:r,args:a}=e,i=t[0];if(r){let e=(0,d.getAbiItem)({abi:t,args:a,name:r});if(!e)throw new n.AbiErrorNotFoundError(r,{docsPath:b});i=e}if("error"!==i.type)throw new n.AbiErrorNotFoundError(void 0,{docsPath:b});let c=(0,s.formatAbiItem)(i),l=(0,o.toFunctionSelector)(c),p="0x";if(a&&a.length>0){if(!i.inputs)throw new n.AbiErrorInputsNotFoundError(i.name,{docsPath:b});p=(0,u.encodeAbiParameters)(i.inputs,a)}return(0,f.concatHex)([l,p])}let p="/docs/contract/encodeFunctionResult",h="x-batch-gateway:true";async function m(e){let{data:a,ccipRequest:o}=e,{args:[i]}=c({abi:t.batchGatewayAbi,data:a}),s=[],f=[];return await Promise.all(i.map(async(e,n)=>{try{f[n]=e.urls.includes(h)?await m({data:e.data,ccipRequest:o}):await o(e),s[n]=!1}catch(e){var a;s[n]=!0,f[n]="HttpRequestError"===(a=e).name&&a.status?l({abi:t.batchGatewayAbi,errorName:"HttpError",args:[a.status,a.shortMessage]}):l({abi:[r.solidityError],errorName:"Error",args:["shortMessage"in a?a.shortMessage:a.message]})}})),function(e){let{abi:t,functionName:r,result:a}=e,o=t[0];if(r){let e=(0,d.getAbiItem)({abi:t,name:r});if(!e)throw new n.AbiFunctionNotFoundError(r,{docsPath:p});o=e}if("function"!==o.type)throw new n.AbiFunctionNotFoundError(void 0,{docsPath:p});if(!o.outputs)throw new n.AbiFunctionOutputsNotFoundError(o.name,{docsPath:p});let i=(()=>{if(0===o.outputs.length)return[];if(1===o.outputs.length)return[a];if(Array.isArray(a))return a;throw new n.InvalidArrayError(a)})();return(0,u.encodeAbiParameters)(o.outputs,i)}({abi:t.batchGatewayAbi,functionName:"query",result:[s,f]})}e.s(["localBatchGatewayRequest",0,m,"localBatchGatewayUrl",0,h],61147)},95767,e=>{"use strict";var t=e.i(34888),r=e.i(69934),n=e.i(63710);class a extends r.BaseError{constructor({body:e,cause:r,details:a,headers:o,status:i,url:s}){super("HTTP request failed.",{cause:r,details:a,metaMessages:[i&&`Status: ${i}`,`URL: ${(0,n.getUrl)(s)}`,e&&`Request body: ${(0,t.stringify)(e)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=o,this.status=i,this.url=s}}r.BaseError;class o extends r.BaseError{constructor({body:e,error:r,url:a}){super("RPC Request failed.",{cause:r,details:r.message,metaMessages:[`URL: ${(0,n.getUrl)(a)}`,`Request body: ${(0,t.stringify)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=r.code,this.data=r.data,this.url=a}}r.BaseError;class i extends r.BaseError{constructor({body:e,url:r}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,n.getUrl)(r)}`,`Request body: ${(0,t.stringify)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=r}}e.s(["HttpRequestError",0,a,"RpcRequestError",0,o,"TimeoutError",0,i])},4119,46744,e=>{"use strict";e.s(["aggregate3Signature",0,"0x82ad56cb"],4119),e.s(["deploylessCallViaBytecodeBytecode",0,"0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b
27602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe","deploylessCallViaFactoryBytecode",0,"0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe","erc6492SignatureValidatorByteCode",0,"0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848
27603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572","multicall3Bytecode",0,"0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9
27150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033"],46744)},89169,e=>{"use strict";var t=e.i(70204),r=e.i(47526),n=e.i(4434);let a="/docs/contract/encodeDeployData";e.s(["encodeDeployData",0,function(e){let{abi:o,args:i,bytecode:s}=e;if(!i||0===i.length)return s;let c=o.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new t.AbiConstructorNotFoundError({docsPath:a});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new t.AbiConstructorParamsNotFoundError({docsPath:a});let f=(0,n.encodeAbiParameters)(c.inputs,i);return(0,r.concatHex)([s,f])}])},6685,6580,e=>{"use strict";var t=e.i(8861),r=e.i(96516);e.s(["isAddressEqual",0,function(e,n){if(!(0,r.isAddress)(e,{strict:!1}))throw new t.InvalidAddressError({address:e});if(!(0,r.isAddress)(n,{strict:!1}))throw new t.InvalidAddressError({address:n});return e.toLowerCase()===n.toLowerCase()}],6685);var n=e.i(69934),a=e.i(75107);e.s(["formatBlockParameter",0,function(e){let{blockHash:t,blockNumber:r,blockTag:o,requireCanonical:i}=e;if(void 0!==i&&!t)throw new n.BaseError("`requireCanonical` can only be provided when `blockHash` is set.");return t?i?{blockHash:t,requireCanonical:i}:{blockHash:t}:"bigint"==typeof r?(0,a.numberToHex)(r):o??"latest"}],6580)},89509,53532,67078,79690,64404,45024,90521,9486,71706,26051,74768,53464,e=>{"use strict";var t=e.i(37195),r=e.i(44318),n=e.i(89991),a=e.i(52012),o=e.i(4119),i=e.i(46744),s=e.i(69934),c=e.i(5880),f=e.i(78023),u=e.i(63710),d=e.i(547),b=e.i(89169),l=e.i(56679),p=e.i(6685),h=e.i(6580),m=e.i(4195),y=e.i(76486),g=s;class v extends g.BaseError{constructor({cause:e,message:t}={}){const r=t?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${r?`with reason: ${r}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(v,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class w extends g.BaseError{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,y.formatGwei)(t)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(w,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class E extends g.BaseError{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,y.formatGwei)(t)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(E,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class x extends g.BaseError{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}
27Object.defineProperty(x,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class A extends g.BaseError{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is lower than the current nonce of the account.
28Try increasing the nonce or find the latest nonce with \`getTransactionCount\`.`,{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(A,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class $ extends g.BaseError{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty($,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class B extends g.BaseError{constructor({cause:e}={}){super("The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.",{cause:e,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(B,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class P extends g.BaseError{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(P,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class T extends g.BaseError{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(T,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class F extends g.BaseError{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(F,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class C extends g.BaseError{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:r}={}){super(`The provided tip (\`maxPriorityFeePerGas\`${t?` = ${(0,y.formatGwei)(t)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${r?` = ${(0,y.formatGwei)(r)} gwei`:""}).`,{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(C,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class I extends g.BaseError{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}function N(e,t){let r=(e.details||"").toLowerCase(),n=e instanceof s.BaseError?e.walk(e=>e?.code===v.code):e;return n instanceof s.BaseError?new v({cause:e,message:n.details}):v.nodeMessage.test(r)?new v({cause:e,message:e.details}):w.nodeMessage.test(r)?new w({cause:e,maxFeePerGas:t?.maxFeePerGas}):E.nodeMessage.test(r)?new E({cause:e,maxFeePerGas:t?.maxFeePerGas}):x.nodeMessage.test(r)?new x({cause:e,nonce:t?.nonce}):A.nodeMessage.test(r)?new A({cause:e,nonce:t?.nonce}):$.nodeMessage.test(r)?new $({cause:e,nonce:t?.nonce}):B.nodeMessage.test(r)?new B({cause:e}):P.nodeMessage.test(r)?new P({cause:e,gas:t?.gas}):T.nodeMessage.test(r)?new T({cause:e,gas:t?.gas}):F.nodeMessage.test(r)?new F({cause:e}):C.nodeMessage.test(r)?new C({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new I({cause:e})}function M(e,{docsPath:t,...r}){let n,a=(n=N(e,r))instanceof I?e:n;return new f.CallExecutionError(a,{docsPath:t,...r})}function z(e,{format:t}){if(!t)return{};let r={};return!function t(n){for(let a of Object.keys(n))a in e&&(r[a]=e[a]),n[a]&&"object"==typeof n[a]&&!Array.isArray(n[a])&&t(n[a])}(t(e||{})),r}e.s(["ExecutionRevertedError",0,v,"FeeCapTooHighError",0,w,"FeeCapTooLowError",0,E,"InsufficientFundsError",0,B,"IntrinsicGasTooHighError",0,P,"IntrinsicGasTooLowError",0,T,"NonceMaxValueError",0,$,"NonceTooHighError",0,x,"NonceTooLowError",0,A,"TipAboveFeeCapError",0,C,"TransactionTypeNotSupportedError",0,F,"UnknownNodeError",0,I],53532),e.s(["getNodeError",0,N],67078),e.s(["getCallError",0,M],79690),e.s(["extract",0,z],64404);var R=e.i(75107);e.s(["defineFormatter",0,function(e,t){return({exclude:r,format:n})=>({exclude:r,format:(e,a)=>{let o=t(e,a);if(r)for(let e of r)delete o[e];return{...o,...n(e,a)}},type:e})}],45024);let S={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function O(e,t){let r={};return void 0!==e.authorizationList&&(r.authorizationList=e.authorizationList.map(e=>({address:e.address,r:e.r?(0,R.numberToHex)(BigInt(e.r)):e.r,s:e.s?(0,R.numberToHex)(BigInt(e.s)):e.s,chainId:(0,R.numberToHex)(e.chainId),nonce:(0,R.numberToHex)(e.nonce),...void 0!==e.yParity?{yParity:(0,R.numberToHex)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,R.numberToHex)(e.v)}:{}}))),void 0!==e.accessList&&(r.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(r.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?r.blobs=e.blobs.map(e=>(0,R.bytesToHex)(e)):r.blobs=e.blobs),void 0!==e.data&&(r.data=e.data),e.account&&(r.from=e.account.address),void 0!==e.from&&(r.from=e.from),void 0!==e.gas&&(r.gas=(0,R.numberToHex)(e.gas)),void 0!==e.gasPrice&&(r.gasPrice=(0,R.numberToHex)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(r.maxFeePerBlobGas=(0,R.numberToHex)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(r.maxFeePerGas=(0,R.numberToHex)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=(0,R.numberToHex)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(r.nonce=(0,R.numberToHex)(e.nonce)),void 0!==e.to&&(r.to=e.to),void 0!==e.type&&(r.type=S[e.type]),void 0!==e.value&&(r.value=(0,R.numberToHex)(e.value)),r}function D(){let e=()=>void 0,t=()=>void 0;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}e.s(["formatTransactionRequest",0,O],90521),e.s(["withResolvers",0,D],9486);let k=new Map;
28function H({fn:e,id:t,shouldSplitBatch:r,wait:n=0,sort:a}){let o=async()=>{let t=s();i();let r=t.map(({args:e})=>e);0!==r.length&&e(r).then(e=>{a&&Array.isArray(e)&&e.sort(a);for(let r=0;r<t.length;r++){let{resolve:n}=t[r];n?.([e[r],e])}}).catch(e=>{for(let r=0;r<t.length;r++){let{reject:n}=t[r];n?.(e)}})},i=()=>k.delete(t),s=()=>k.get(t)||[],c=e=>k.set(t,[...s(),e]);return{flush:i,async schedule(e){let{promise:t,resolve:a,reject:i}=D();return(r?.([...s().map(({args:e})=>e),e])&&o(),s().length>0)?c({args:e,resolve:a,reject:i}):(c({args:e,resolve:a,reject:i}),setTimeout(o,n)),t}}}e.s(["createBatchScheduler",0,H],71706);var j=e.i(8861),L=e.i(87286),U=e.i(62570),G=e.i(96516);function q(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:r})=>{if(66!==t.length)throw new L.InvalidBytesLengthError({size:t.length,targetSize:66,type:"hex"});if(66!==r.length)throw new L.InvalidBytesLengthError({size:r.length,targetSize:66,type:"hex"});return e[t]=r,e},{})}function V(e){if(!e)return;let t={};for(let{address:r,...n}of e){if(!(0,G.isAddress)(r,{strict:!1}))throw new j.InvalidAddressError({address:r});if(t[r])throw new U.AccountStateConflictError({address:r});t[r]=function(e){let{balance:t,nonce:r,state:n,stateDiff:a,code:o}=e,i={};if(void 0!==o&&(i.code=o),void 0!==t&&(i.balance=(0,R.numberToHex)(t)),void 0!==r&&(i.nonce=(0,R.numberToHex)(r)),void 0!==n&&(i.state=q(n)),void 0!==a){if(i.state)throw new U.StateAssignmentConflictError;i.stateDiff=q(a)}return i}(n)}return t}e.s(["serializeStateOverride",0,V],26051);let W=2n**256n-1n;function _(e){let{account:t,maxFeePerGas:r,maxPriorityFeePerGas:a,to:o}=e,i=t?(0,n.parseAccount)(t):void 0;if(i&&!(0,G.isAddress)(i.address))throw new j.InvalidAddressError({address:i.address});if(o&&!(0,G.isAddress)(o))throw new j.InvalidAddressError({address:o});if(r&&r>W)throw new w({maxFeePerGas:r});if(a&&r&&a>r)throw new C({maxFeePerGas:r,maxPriorityFeePerGas:a})}async function Z(a,d){let{account:l=a.account,authorizationList:m,batch:y=!!a.batch?.multicall,blockHash:g,blockNumber:v,blockTag:w=a.experimental_blockTag??"latest",requireCanonical:E,accessList:x,blobs:A,blockOverrides:$,code:B,data:P,factory:T,factoryData:F,gas:C,gasPrice:I,maxFeePerBlobGas:N,maxFeePerGas:R,maxPriorityFeePerGas:S,nonce:D,requestOptions:k,to:H,value:j,stateOverride:L,...U}=d,G=l?(0,n.parseAccount)(l):void 0;if(B&&(T||F))throw new s.BaseError("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(B&&H)throw new s.BaseError("Cannot provide both `code` & `to` as parameters.");let q=B&&P,W=T&&F&&H&&P,Z=q||W,Y=q?X({code:B,data:P}):W?function(e){let{data:r,factory:n,factoryData:a,to:o}=e;return(0,b.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(address, bytes, address, bytes)"]),bytecode:i.deploylessCallViaFactoryBytecode,args:[o,r,n,a]})}({data:P,factory:T,factoryData:F,to:H}):P;try{let e;_(d);let t=(0,h.formatBlockParameter)({blockHash:g,blockNumber:v,blockTag:w,requireCanonical:E}),n=$?r.toRpc($):void 0,i=V(L),s=a.chain?.formatters?.transactionRequest?.format,f=(s||O)({...z(U,{format:s}),accessList:x,account:G,authorizationList:m,blobs:A,data:Y,gas:C,gasPrice:I,maxFeePerBlobGas:N,maxFeePerGas:R,maxPriorityFeePerGas:S,nonce:D,to:Z?void 0:H,value:j},"call");if(y&&function({request:e}){let{data:t,to:r,...n}=e;return!(!t||t.startsWith(o.aggregate3Signature))&&!!r&&!(Object.values(n).filter(e=>void 0!==e).length>0)}({request:f})&&!n&&void 0===g)try{var J,ee;let{deployless:e=!1}="object"==typeof a.batch?.multicall?a.batch.multicall:{},t=Q(a,{blockNumber:v,deployless:e});if(!t||(J=i,ee=t,!(J&&Object.keys(J).some(e=>(0,p.isAddressEqual)(e,ee)))))return await K(a,{...f,blockHash:g,blockNumber:v,blockTag:w,multicallAddress:t,requestOptions:k,requireCanonical:E,rpcStateOverride:i})}catch(e){if(!(e instanceof c.ClientChainNotConfiguredError)&&!(e instanceof c.ChainDoesNotSupportContract))throw e}let u=(e=[f,t],i&&n?[...e,i,n]:i?[...e,i]:n?[...e,{},n]:e),b=await a.request({method:"eth_call",params:u},k);if("0x"===b)return{data:void 0};return{data:b}}catch(o){if(k?.signal?.aborted)throw(0,u.getAbortError)(k.signal);if((0,u.isAbortError)(o))throw o;let t=function(e){if(!(e instanceof s.BaseError))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(o),{offchainLookup:r,offchainLookupSignature:n}=await e.A(1139);if(!1!==a.ccipRead&&t?.slice(0,10)===n&&H)return{data:await r(a,{data:t,requestOptions:k,to:H})};if(Z&&t?.slice(0,10)==="0x101bb98d")throw new f.CounterfactualDeploymentFailedError({factory:T});throw M(o,{...d,account:G,chain:a.chain})}}e.s(["maxUint16",0,2n**16n-1n,"maxUint256",0,W],74768),e.s(["assertRequest",0,_],53464);let Y=0,J=new WeakMap;async function K(e,t){let{batchSize:r=1024,deployless:n=!1,wait:o=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockHash:s,blockNumber:c,blockTag:u=e.experimental_blockTag??"latest",requireCanonical:b,data:p,multicallAddress:m,requestOptions:y,rpcStateOverride:g,to:v}=t,w=void 0!==m?m:Q(e,{blockNumber:c,deployless:n}),E=(0,h.formatBlockParameter)({blockHash:s,blockNumber:c,blockTag:u,requireCanonical:b}),x="string"==typeof E?E:JSON.stringify(E),A=g?`.${JSON.stringify(g)}`:"",{schedule:$}=H({id:`${e.uid}.${x}.${function(e){if(!e)return"default";let t=J.get(e);if(void 0!==t)return t;let r=Y++;return J.set(e,r),r}(y)}${A}`,wait:o,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*r,fn:async t=>{let r=t.map(e=>
28({allowFailure:!0,callData:e.data,target:e.to})),n=(0,l.encodeFunctionData)({abi:a.multicall3Abi,args:[r],functionName:"aggregate3"}),o={...null===w?{data:X({code:i.multicall3Bytecode,data:n})}:{to:w,data:n}},s=await e.request({method:"eth_call",params:g?[o,E,g]:[o,E]},y);return(0,d.decodeFunctionResult)({abi:a.multicall3Abi,args:[r],functionName:"aggregate3",data:s||"0x"})}}),[{returnData:B,success:P}]=await $({data:p,to:v});if(!P)throw new f.RawContractError({data:B});return"0x"===B?{data:void 0}:{data:B}}function Q(e,t){let{blockNumber:r,deployless:n}=t;if(n)return null;if(e.chain)return(0,m.getChainContractAddress)({blockNumber:r,chain:e.chain,contract:"multicall3"});throw new c.ClientChainNotConfiguredError}function X(e){let{code:r,data:n}=e;return(0,b.encodeDeployData)({abi:(0,t.parseAbi)(["constructor(bytes, bytes)"]),bytecode:i.deploylessCallViaBytecodeBytecode,args:[r,n]})}e.s(["call",0,Z],89509)}]);

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.