PageSourceSearch

https://devconnect.org/_next/static/chunks/8455.d7deba9e4c5c77f2.js

js devconnect.org collected 2026-10-03 21:04:29 UTC 21,355 bytes, 22 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8455],{478:(e,t,n)=>{n.d(t,{k:()=>c});var r=n(72899),i=n(71389),s=n(7452);let o=/^tuple(?<array>(\[(\d*)\])*)$/;function a(e){let t="",n=e.length;for(let r=0;r<n;r++)t+=function e(t){let n=t.type;if(o.test(t.type)&&"components"in t){n="(";let r=t.components.length;for(let i=0;i<r;i++)n+=e(t.components[i]),i<r-1&&(n+=", ");let i=(0,s.Yv)(o,t.type);return n+=`)${i?.array||""}`,e({...t,type:n})}return("indexed"in t&&t.indexed&&(n=`${n} indexed`),t.name)?`${n} ${t.name}`:n}(e[r]),r!==n-1&&(t+=", ");return t}var u=n(62656);function c(e){var t;return t=function(e){let t=!0,n="",r=0,i="",s=!1;for(let o=0;o<e.length;o++){let a=e[o];if(["(",")",","].includes(a)&&(t=!0),"("===a&&r++,")"===a&&r--,t){if(0===r){if(" "===a&&["event","function",""].includes(i))i="";else if(i+=a,")"===a){s=!0;break}continue}if(" "===a){","!==e[o-1]&&","!==n&&",("!==n&&(n="",t=!1);continue}i+=a,n+=a}}if(!s)throw new u.C("Unable to normalize signature.");return i}((()=>"string"==typeof e?e:"function"===e.type?`function ${e.name}(${a(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${a(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${a(e.inputs)})`:"error"===e.type?`error ${e.name}(${a(e.inputs)})`:"constructor"===e.type?`constructor(${a(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?`fallback() external${"payable"===e.stateMutability?" payable":""}`:"receive() external payable")()),(0,i.S)((0,r.ZJ)(t))}},6128:(e,t,n)=>{n.d(t,{P:()=>a});var r=n(42802),i=n(96744);let s=/^0x[a-fA-F0-9]{40}$/,o=new r.A(8192);function a(e,t){let{strict:n=!0}=t??{},r=`${e}.${n}`;if(o.has(r))return o.get(r);let a=!!s.test(e)&&(e.toLowerCase()===e||!n||(0,i.o)(e)===e);return o.set(r,a),a}},7452:(e,t,n)=>{function r(e,t){let n=e.exec(t);return n?.groups}n.d(t,{BD:()=>i,Ge:()=>s,Yv:()=>r,wj:()=>o});let i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,s=/^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)?$/,o=/^\(.+?\).*?$/},13118:(e,t,n)=>{n.d(t,{h:()=>y,k:()=>h});var r=n(78761),i=n(37923),s=n(62656),o=n(96388),a=n(6128),u=n(92934),c=n(89499),l=n(88439),d=n(614
vendor: 3,895 bytes, line 1
164),p=n(22149),f=n(17996);function y(e,t){if(e.length!==t.length)throw new r.YE({expectedLength:e.length,givenLength:t.length});let n=m(function({params:e,values:t}){let n=[];for(let y=0;y<e.length;y++)n.push(function e({param:t,value:n}){let y=h(t.type);if(y){let[i,s]=y;return function(t,{length:n,param:i}){let s=null===n;if(!Array.isArray(t))throw new r.dm(t);if(!s&&t.length!==n)throw new r.Nc({expectedLength:n,givenLength:t.length,type:`${i.type}[${n}]`});let o=!1,a=[];for(let n=0;n<t.length;n++){let r=e({param:i,value:t[n]});r.dynamic&&(o=!0),a.push(r)}if(s||o){let e=m(a);if(s){let t=(0,p.cK)(a.length,{size:32});return{dynamic:!0,encoded:a.length>0?(0,u.xW)([t,e]):t}}if(o)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,u.xW)(a.map(({encoded:e})=>e))}}(n,{length:i,param:{...t,type:s}})}if("tuple"===t.type)return function(t,{param:n}){let r=!1,i=[];for(let s=0;s<n.components.length;s++){let o=n.components[s],a=Array.isArray(t)?s:o.name,u=e({param:o,value:t[a]});i.push(u),u.dynamic&&(r=!0)}return{dynamic:r,encoded:r?m(i):(0,u.xW)(i.map(({encoded:e})=>e))}}(n,{param:t});if("address"===t.type){var b=n;if(!(0,a.P)(b))throw new i.M({address:b});return{dynamic:!1,encoded:(0,c.db)(b.toLowerCase())}}if("bool"===t.type){var g=n;if("boolean"!=typeof g)throw new s.C(`Invalid boolean value: "${g}" (type: ${typeof g}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,c.db)((0,p.$P)(g))}}if(t.type.startsWith("uint")||t.type.startsWith("int")){let e=t.type.startsWith("int"),[,,r="256"]=f.Ge.exec(t.type)??[];return function(e,{signed:t,size:n=256}){if("number"==typeof n){let r=2n**(BigInt(n)-(t?1n:0n))-1n,i=t?-r-1n:0n;if(e>r||e<i)throw new o.Ty({max:r.toString(),min:i.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:(0,p.cK)(e,{size:32,signed:t})}}(n,{signed:e,size:Number(r)})}if(t.type.startsWith("bytes"))return function(e,{param:t}){let[,n]=t.type.split("bytes"),i=(0,l.E)(e);if(!n){let t=e;return i%32!=0&&(t=(0,c.db)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,u.xW)([(0,c.db)((0,p.cK)(i,{size:32})),t])}}if(i!==Number.parseInt(n,10))throw new r.gH({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:(0,c.db)(e,{dir:"right"})}}(n,{param:t});if("string"===t.type){var v=n;let e=(0,p.i3)(v),t=Math.ceil((0,l.E)(e)/32),r=[];for(let n=0;n<t;n++)r.push((0,c.db)((0,d.di)(e,32*n,(n+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,u.xW)([(0,c.db)((0,p.cK)((0,l.E)(e),{size:32})),...r])}}throw new r.nK(t.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[y],value:t[y]}));return n}({params:e,values:t}));return 0===n.length?"0x":n}function m(e){let t=0;for(let n=0;n<e.length;n++){let{dynamic:r,encoded:i}=e[n];r?t+=32:t+=(0,l.E)(i)}let n=[],r=[],i=0;for(let s=0;s<e.length;s++){let{dynamic:o,encoded:a}=e[s];o?(n.push((0,p.cK)(t+i,{size:32})),r.push(a),i+=(0,l.E)(a)):n.push(a)}return(0,u.xW)([...n,...r])}function h(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}},14800:(e,t,n)=>{n.d(t,{h:()=>r});let r=n(478).k},16795:(e,t,n)=>{n.d(t,{iY:()=>u});var r=n(78761),i=n(62235),s=n(6128),o=n(14800),a=n(60378);function u(e){let t,{abi:n,args:u=[],name:c}=e,l=(0,i.q)(c,{strict:!1}),d=n.filter(e=>l?"function"===e.type?(0,a.V)(e)===c:"event"===e.type&&(0,o.h)(e)===c:"name"in e&&e.name===c);if(0!==d.length){if(1===d.length)return d[0];for(let e of d){if("inputs"in e){if(!u||0===u.length){if(!e.inputs||0===e.inputs.length)return e;continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===u.length&&u.every((t,n)=>{let r="inputs"in e&&e.inputs[n];return!!r&&function e(t,n){let r=typeof t,i=n.type;switch(i){case"address":return(0,s.P)(t,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:if("tuple"===i&&"components"in n)return Object.values(n.components).every((n,i)=>
1"object"===r&&e(Object.values(t)[i],n));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(i))return"number"===r||"bigint"===r;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(i))return"string"===r||t instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(i))return Array.isArray(t)&&t.every(t=>e(t,{...n,type:i.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,r)})){if(t&&"inputs"in t&&t.inputs){let n=function e(t,n,r){for(let i in t){let o=t[i],a=n[i];if("tuple"===o.type&&"tuple"===a.type&&"components"in o&&"components"in a)return e(o.components,a.components,r[i]);let u=[o.type,a.type];if(u.includes("address")&&u.includes("bytes20")||(u.includes("address")&&u.includes("string")||u.includes("address")&&u.includes("bytes"))&&(0,s.P)(r[i],{strict:!1}))return u}}(e.inputs,t.inputs,u);if(n)throw new r.nM({abiItem:e,type:n[0]},{abiItem:t,type:n[1]})}t=e}}}return t||d[0]}}},17996:(e,t,n)=>{n.d(t,{BD:()=>i,D5:()=>r,Ge:()=>s});let r=/^(.*)\[([0-9]*)\]$/,i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,s=/^(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)?$/},37923:(e,t,n)=>{n.d(t,{M:()=>i});var r=n(62656);class i extends r.C{constructor({address:e}){super(`Address "${e}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}},41621:(e,t,n)=>{n.d(t,{p:()=>l});var r=n(92934),i=n(13118),s=n(78761),o=n(60378),a=n(88210),u=n(16795);let c="/docs/contract/encodeFunctionData";function l(e){let{args:t}=e,{abi:n,functionName:l}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:function(e){let{abi:t,args:n,functionName:r}=e,i=t[0];if(r){let e=(0,u.iY)({abi:t,args:n,name:r});if(!e)throw new s.Iz(r,{docsPath:c});i=e}if("function"!==i.type)throw new s.Iz(void 0,{docsPath:c});return{abi:[i],functionName:(0,o.V)((0,a.B)(i))}}(e),d=n[0],p="inputs"in d&&d.inputs?(0,i.h)(d.inputs,t??[]):void 0;return(0,r.aP)([l,p??"0x"])}},60378:(e,t,n)=>{n.d(t,{V:()=>s});var r=n(61464),i=n(478);let s=e=>(0,r.di)((0,i.k)(e),0,4)},61464:(e,t,n)=>{n.d(t,{A1:()=>c,di:()=>o,iN:()=>l});var r=n(61965),i=n(62235),s=n(88439);function o(e,t,n,{strict:r}={}){return(0,i.q)(e,{strict:!1})?l(e,t,n,{strict:r}):c(e,t,n,{strict:r})}function a(e,t){if("number"==typeof t&&t>0&&t>(0,s.E)(e)-1)throw new r.ii({offset:t,position:"start",size:(0,s.E)(e)})}function u(e,t,n){if("number"==typeof t&&"number"==typeof n&&(0,s.E)(e)!==n-t)throw new r.ii({offset:n,position:"end",size:(0,s.E)(e)})}function c(e,t,n,{strict:r}={}){a(e,t);let i=e.slice(t,n);return r&&u(i,t,n),i}function l(e,t,n,{strict:r}={}){a(e,t);let i=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return r&&u(i,t,n),i}},71389:(e,t,n)=>{n.d(t,{S:()=>a});var r=n(12171),i=n(62235),s=n(72899),o=n(22149);function a(e,t){let n=(0,r.lY)((0,i.q)(e,{strict:!1})?(0,s.ZJ)(e):e);return"bytes"===(t||"hex")?n:(0,o.nj)(n)}},73201:(e,t,n)=>{n.d(t,{Zh:()=>b});var r=n(13118),i=n(92934),s=n(22149),o=n(71389),a=n(78761),u=n(37923),c=n(46786),l=n(62656);class d extends l.C{constructor({domain:e}){super(`Invalid domain "${(0,c.A)(e)}".`,{metaMessages:["Must be a valid EIP-712 domain."]})}}class p extends l.C{constructor({primaryType:e,types:t}){super(`Invalid primary type \`${e}\` must be one of \`${JSON.stringify(Object.keys(t))}\`.`,{docsPath:"/api/glossary/Errors#typeddatainvalidprimarytypeerror",metaMessages:["Check that the primary type is a key in `types`."]})}}class f extends l.C{constructor({type:e}){super(`Struct type "${e}" is invalid.`,{metaMessages:["Struct type must not be a Solidity type."],name:"InvalidStructTypeError"})}}var y=n(6128),m=n(88439),h=n(17996);function b(e){let{domain:t={},message:n,primaryType:r}=e,c={EIP712Domain:function({domain:e}){return["string"==typeof e?.name&&{name:"name",type:"string"},e?.version&&{name:"version",type:"string"},("number"==typeof e?.chainId||"bigint"==typeof e?.chainId)&&{name:"chainId",type:"uint256"},e?.verifyingContract&&{name:"verifyingContract",type:"address"},e?.salt&&{name:"salt",type:"bytes32"}
vendor: 4,092 bytes, lines 1-3
1].filter(Boolean)}({domain:t}),...e.types};!function(e){let{domain:t,message:n,primaryType:r,types:i}=e,o=(e,t)=>{for(let n of e){let{name:e,type:r}=n,c=t[e],l=r.match(h.Ge);if(l&&("number"==typeof c||"bigint"==typeof c)){let[e,t,n]=l;(0,s.cK)(c,{signed:"int"===t,size:Number.parseInt(n,10)/8})}if("address"===r&&"string"==typeof c&&!(0,y.P)(c))throw new u.M({address:c});let d=r.match(h.BD);if(d){let[e,t]=d;if(t&&(0,m.E)(c)!==Number.parseInt(t,10))throw new a.BI({expectedSize:Number.parseInt(t,10),givenSize:(0,m.E)(c)})}let p=i[r];p&&(function(e){if("address"===e||"bool"===e||"string"===e||e.startsWith("bytes")||e.startsWith("uint")||e.startsWith("int"))throw new f({type:e})}(r),o(p,c))}};if(i.EIP712Domain&&t){if("object"!=typeof t)throw new d({domain:t});o(i.EIP712Domain,t)}if("EIP712Domain"!==r)if(i[r])o(i[r],n);else throw new p({primaryType:r,types:i})}({domain:t,message:n,primaryType:r,types:c});let l=["0x1901"];return t&&l.push(function({domain:e,types:t}){return g({data:e,primaryType:"EIP712Domain",types:t})}({domain:t,types:c})),"EIP712Domain"!==r&&l.push(g({data:n,primaryType:r,types:c})),(0,o.S)((0,i.xW)(l))}function g({data:e,primaryType:t,types:n}){let i=function e({data:t,primaryType:n,types:i}){let a=[{type:"bytes32"}],u=[function({primaryType:e,types:t}){let n=(0,s.nj)(function({primaryType:e,types:t}){let n="",r=function e({primaryType:t,types:n},r=new Set){let i=t.match(/^\w*/u),s=i?.[0];if(r.has(s)||void 0===n[s])return r;for(let t of(r.add(s),n[s]))e({primaryType:t.type,types:n},r);return r}({primaryType:e,types:t});for(let i of(r.delete(e),[e,...Array.from(r).sort()]))n+=`${i}(${t[i].map(({name:e,type:t})=>`${t} ${e}`).join(",")})`;return n}({primaryType:e,types:t}));return(0,o.S)(n)}({primaryType:n,types:i})];for(let c of i[n]){let[n,l]=function t({types:n,name:i,type:a,value:u}){if(void 0!==n[a])return[{type:"bytes32"},(0,o.S)(e({data:u,primaryType:a,types:n}))];if("bytes"===a)return[{type:"bytes32"},(0,o.S)(u)];if("string"===a)return[{type:"bytes32"},(0,o.S)((0,s.nj)(u))];if(a.lastIndexOf("]")===a.length-1){let e=a.slice(0,a.lastIndexOf("[")),s=u.map(r=>t({name:i,type:e,types:n,value:r}));return[{type:"bytes32"},(0,o.S)((0,r.h)(s.map(([e])=>e),s.map(([,e])=>e)))]}return[{type:a},u]}({types:i,name:c.name,type:c.type,value:t[c.name]});a.push(n),u.push(l)}return(0,r.h)(a,u)}({data:e,primaryType:t,types:n});return(0,o.S)(i)}},78761:(e,t,n)=>{n.d(t,{BI:()=>A,EB:()=>x,Iy:()=>u,Iz:()=>v,MR:()=>$,M_:()=>g,Nc:()=>l,O:()=>c,Wl:()=>k,Wq:()=>m,YE:()=>p,YF:()=>a,YW:()=>o,ZP:()=>f,_z:()=>h,d_:()=>P,dm:()=>M,fo:()=>E,gH:()=>d,j:()=>B,kE:()=>b,l3:()=>I,nK:()=>C,nM:()=>w,yy:()=>y});var r=n(88210),i=n(88439),s=n(62656);class o extends s.C{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 a extends s.C{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"})}}s.C;class u extends s.C{constructor({data:e,params:t,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,r.A)(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 s.C{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError"})}}class l extends s.C{constructor({expectedLength:e,givenLength:t,type:n}){super(`ABI encoding array length mismatch for type ${n}.
2Expected length: ${e}
3Given length: ${t}
3`,{name:"AbiEncodingArrayLengthMismatchError"})}}class d extends s.C{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,i.E)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class p extends s.C{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch.
4Expected length (params): ${e}
5Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class f extends s.C{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 y extends s.C{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 m extends s.C{constructor(e,{docsPath:t}){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"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class h extends s.C{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class b extends s.C{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 g extends s.C{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 v extends s.C{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 $ extends s.C{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 x extends s.C{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 w extends s.C{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,r.B)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,r.B)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class A extends s.C{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class E extends s.C{constructor({abiItem:e,data:t,params:n,size:i}){super(`Data size of ${i} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,r.A)(n,{includeName:!0})})`,`Data:   ${t} (${i} 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=i}}class I extends s.C{constructor({abiItem:e,param:t}){super(`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,r.B)(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class C extends s.C{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type.
19Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class B extends s.C{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type.
20Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class M extends s.C{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class P extends s.C{constructor(e){super(`"${e}" is not a valid definition type.
21Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}class k extends s.C{constructor(e){super(`Type "${e}" is not supported for packed encoding.`,{name:"UnsupportedPackedAbiType"})}}},88210:(e,t,n)=>{n.d(t,{A:()=>s,B:()=>i});var r=n(78761);function i(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new r.d_(e.type);return`${e.name}(${s(e.inputs,{includeName:t})})`}function s(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${s(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},92934:(e,t,n)=>{function r(e){return"string"==typeof e[0]?i(e):function(e){let t=0;for(let n of e)t+=n.length;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}(e)}function i(e){return`0x${e.reduce((e,t)=>
21e+t.replace("0x",""),"")}`}n.d(t,{aP:()=>i,xW:()=>r})},96744:(e,t,n)=>{n.d(t,{b:()=>l,o:()=>c});var r=n(37923),i=n(72899),s=n(71389),o=n(42802),a=n(6128);let u=new o.A(8192);function c(e,t){if(u.has(`${e}.${t}`))return u.get(`${e}.${t}`);let n=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),r=(0,s.S)((0,i.Af)(n),"bytes"),o=(t?n.substring(`${t}0x`.length):n).split("");for(let e=0;e<40;e+=2)r[e>>1]>>4>=8&&o[e]&&(o[e]=o[e].toUpperCase()),(15&r[e>>1])>=8&&o[e+1]&&(o[e+1]=o[e+1].toUpperCase());let a=`0x${o.join("")}`;return u.set(`${e}.${t}`,a),a}function l(e,t){if(!(0,a.P)(e,{strict:!1}))throw new r.M({address:e});return c(e,t)}},98587:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(71389),i=n(92934),s=n(88439),o=n(22149);function a(e,t){let n,a;return(0,r.S)((n="string"==typeof e?(0,o.i3)(e):"string"==typeof e.raw?e.raw:(0,o.My)(e.raw),a=(0,o.i3)(`\x19Ethereum Signed Message:
22${(0,s.E)(n)}`),(0,i.xW)([a,n])),t)}}}]);

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.