From 64e99137c8d3da9c8c163640ffded15705b7fcae Mon Sep 17 00:00:00 2001 From: Github Pages Overwriter Date: Thu, 1 Aug 2024 13:50:11 +0000 Subject: [PATCH] Automated publish --- .gitignore | 4 ---- build/comets.js | 2 ++ build/comets.js.LICENSE.txt | 9 +++++++++ publish_date.txt | 1 + 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 .gitignore create mode 100644 build/comets.js create mode 100644 build/comets.js.LICENSE.txt create mode 100644 publish_date.txt diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e54b9fc..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.vscode -npm-debug*.* -node_modules -build/ diff --git a/build/comets.js b/build/comets.js new file mode 100644 index 0000000..ac894dc --- /dev/null +++ b/build/comets.js @@ -0,0 +1,2 @@ +/*! For license information please see comets.js.LICENSE.txt */ +(()=>{var e={73562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCurve=t.getHash=void 0;const n=r(39615),o=r(99175),a=r(91705);function i(e){return{hash:e,hmac:(t,...r)=>(0,n.hmac)(e,t,(0,o.concatBytes)(...r)),randomBytes:o.randomBytes}}t.getHash=i,t.createCurve=function(e,t){const r=t=>(0,a.weierstrass)({...e,...i(t)});return Object.freeze({...r(t),create:r})}},62422:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateBasic=t.wNAF=void 0;const n=r(24967),o=r(91484),a=BigInt(0),i=BigInt(1);t.wNAF=function(e,t){const r=(e,t)=>{const r=t.negate();return e?r:t},n=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:r,unsafeLadder(t,r){let n=e.ZERO,o=t;for(;r>a;)r&i&&(n=n.add(o)),o=o.double(),r>>=i;return n},precomputeWindow(e,t){const{windows:r,windowSize:o}=n(t),a=[];let i=e,s=i;for(let e=0;e>=f,n>c&&(n-=p,a+=i);const s=t,m=t+Math.abs(n)-1,b=e%2!=0,h=n<0;0===n?l=l.add(r(b,o[s])):u=u.add(r(h,o[m]))}return{p:u,f:l}},wNAFCached(e,t,r,n){const o=e._WINDOW_SIZE||1;let a=t.get(e);return a||(a=this.precomputeWindow(e,o),1!==o&&t.set(e,n(a))),this.wNAF(o,a,r)}}},t.validateBasic=function(e){return(0,n.validateField)(e.Fp),(0,o.validateObject)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,n.nLength)(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}},71761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHasher=t.isogenyMap=t.hash_to_field=t.expand_message_xof=t.expand_message_xmd=void 0;const n=r(24967),o=r(91484),a=o.bytesToNumberBE;function i(e,t){if(e<0||e>=1<<8*t)throw new Error(`bad I2OSP call: value=${e} length=${t}`);const r=Array.from({length:t}).fill(0);for(let n=t-1;n>=0;n--)r[n]=255&e,e>>>=8;return new Uint8Array(r)}function s(e,t){const r=new Uint8Array(e.length);for(let n=0;n255&&(t=n((0,o.concatBytes)((0,o.utf8ToBytes)("H2C-OVERSIZE-DST-"),t)));const{outputLen:a,blockLen:u}=n,l=Math.ceil(r/a);if(l>255)throw new Error("Invalid xmd length");const d=(0,o.concatBytes)(t,i(t.length,1)),p=i(0,u),f=i(r,2),m=new Array(l),b=n((0,o.concatBytes)(p,e,f,i(0,1),d));m[0]=n((0,o.concatBytes)(b,i(1,1),d));for(let e=1;e<=l;e++){const t=[s(b,m[e-1]),i(e+1,1),d];m[e]=n((0,o.concatBytes)(...t))}return(0,o.concatBytes)(...m).slice(0,r)}function l(e,t,r,n,a){if((0,o.abytes)(e),(0,o.abytes)(t),c(r),t.length>255){const e=Math.ceil(2*n/8);t=a.create({dkLen:e}).update((0,o.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(t).digest()}if(r>65535||t.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return a.create({dkLen:r}).update(e).update(i(r,2)).update(t).update(i(t.length,1)).digest()}function d(e,t,r){(0,o.validateObject)(r,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:i,k:s,m:d,hash:p,expand:f,DST:m}=r;(0,o.abytes)(e),c(t);const b="string"==typeof m?(0,o.utf8ToBytes)(m):m,h=i.toString(2).length,y=Math.ceil((h+s)/8),g=t*d*y;let v;if("xmd"===f)v=u(e,b,g,p);else if("xof"===f)v=l(e,b,g,s,p);else{if("_internal_pass"!==f)throw new Error('expand must be "xmd" or "xof"');v=e}const x=new Array(t);for(let e=0;eArray.from(e).reverse()));return(t,n)=>{const[o,a,i,s]=r.map((r=>r.reduce(((r,n)=>e.add(e.mul(r,t),n)))));return t=e.div(o,a),n=e.mul(n,e.div(i,s)),{x:t,y:n}}},t.createHasher=function(e,t,r){if("function"!=typeof t)throw new Error("mapToCurve() must be defined");return{hashToCurve(n,o){const a=d(n,2,{...r,DST:r.DST,...o}),i=e.fromAffine(t(a[0])),s=e.fromAffine(t(a[1])),c=i.add(s).clearCofactor();return c.assertValidity(),c},encodeToCurve(n,o){const a=d(n,1,{...r,DST:r.encodeDST,...o}),i=e.fromAffine(t(a[0])).clearCofactor();return i.assertValidity(),i}}}},24967:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapHashToField=t.getMinHashLength=t.getFieldBytesLength=t.hashToPrivateScalar=t.FpSqrtEven=t.FpSqrtOdd=t.Field=t.nLength=t.FpIsSquare=t.FpDiv=t.FpInvertBatch=t.FpPow=t.validateField=t.isNegativeLE=t.FpSqrt=t.tonelliShanks=t.invert=t.pow2=t.pow=t.mod=void 0;const n=r(91484),o=BigInt(0),a=BigInt(1),i=BigInt(2),s=BigInt(3),c=BigInt(4),u=BigInt(5),l=BigInt(8);function d(e,t){const r=e%t;return r>=o?r:t+r}function p(e,t,r){if(r<=o||t 0");if(r===a)return o;let n=a;for(;t>o;)t&a&&(n=n*e%r),e=e*e%r,t>>=a;return n}function f(e,t){if(e===o||t<=o)throw new Error(`invert: expected positive integers, got n=${e} mod=${t}`);let r=d(e,t),n=t,i=o,s=a,c=a,u=o;for(;r!==o;){const e=n/r,t=n%r,o=i-c*e,a=s-u*e;n=r,r=t,i=c,s=u,c=o,u=a}if(n!==a)throw new Error("invert: does not exist");return d(i,t)}function m(e){const t=(e-a)/i;let r,n,s;for(r=e-a,n=0;r%i===o;r/=i,n++);for(s=i;so;)n*=n,n%=r;return n},t.invert=f,t.tonelliShanks=m,t.FpSqrt=b,t.isNegativeLE=(e,t)=>(d(e,t)&a)===a;const h=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function y(e,t,r){if(r 0");if(r===o)return e.ONE;if(r===a)return t;let n=e.ONE,i=t;for(;r>o;)r&a&&(n=e.mul(n,i)),i=e.sqr(i),r>>=a;return n}function g(e,t){const r=new Array(t.length),n=t.reduce(((t,n,o)=>e.is0(n)?t:(r[o]=t,e.mul(t,n))),e.ONE),o=e.inv(n);return t.reduceRight(((t,n,o)=>e.is0(n)?t:(r[o]=e.mul(t,r[o]),e.mul(t,n))),o),r}function v(e,t){const r=void 0!==t?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function x(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function E(e){const t=x(e);return t+Math.ceil(t/2)}t.validateField=function(e){const t=h.reduce(((e,t)=>(e[t]="function",e)),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,n.validateObject)(e,t)},t.FpPow=y,t.FpInvertBatch=g,t.FpDiv=function(e,t,r){return e.mul(t,"bigint"==typeof r?f(r,e.ORDER):e.inv(r))},t.FpIsSquare=function(e){const t=(e.ORDER-a)/i;return r=>{const n=e.pow(r,t);return e.eql(n,e.ZERO)||e.eql(n,e.ONE)}},t.nLength=v,t.Field=function(e,t,r=!1,i={}){if(e<=o)throw new Error(`Expected Field ORDER > 0, got ${e}`);const{nBitLength:s,nByteLength:c}=v(e,t);if(c>2048)throw new Error("Field lengths over 2048 bytes are not supported");const u=b(e),l=Object.freeze({ORDER:e,BITS:s,BYTES:c,MASK:(0,n.bitMask)(s),ZERO:o,ONE:a,create:t=>d(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("Invalid field element: expected bigint, got "+typeof t);return o<=t&&te===o,isOdd:e=>(e&a)===a,neg:t=>d(-t,e),eql:(e,t)=>e===t,sqr:t=>d(t*t,e),add:(t,r)=>d(t+r,e),sub:(t,r)=>d(t-r,e),mul:(t,r)=>d(t*r,e),pow:(e,t)=>y(l,e,t),div:(t,r)=>d(t*f(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>f(t,e),sqrt:i.sqrt||(e=>u(l,e)),invertBatch:e=>g(l,e),cmov:(e,t,r)=>r?t:e,toBytes:e=>r?(0,n.numberToBytesLE)(e,c):(0,n.numberToBytesBE)(e,c),fromBytes:e=>{if(e.length!==c)throw new Error(`Fp.fromBytes: expected ${c}, got ${e.length}`);return r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e)}});return Object.freeze(l)},t.FpSqrtOdd=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?r:e.neg(r)},t.FpSqrtEven=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");const r=e.sqrt(t);return e.isOdd(r)?e.neg(r):r},t.hashToPrivateScalar=function(e,t,r=!1){const o=(e=(0,n.ensureBytes)("privateHash",e)).length,i=v(t).nByteLength+8;if(i<24||o1024)throw new Error(`hashToPrivateScalar: expected ${i}-1024 bytes of input, got ${o}`);return d(r?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-a)+a},t.getFieldBytesLength=x,t.getMinHashLength=E,t.mapHashToField=function(e,t,r=!1){const o=e.length,i=x(t),s=E(t);if(o<16||o1024)throw new Error(`expected ${s}-1024 bytes of input, got ${o}`);const c=d(r?(0,n.bytesToNumberBE)(e):(0,n.bytesToNumberLE)(e),t-a)+a;return r?(0,n.numberToBytesLE)(c,i):(0,n.numberToBytesBE)(c,i)}},91484:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateObject=t.createHmacDrbg=t.bitMask=t.bitSet=t.bitGet=t.bitLen=t.utf8ToBytes=t.equalBytes=t.concatBytes=t.ensureBytes=t.numberToVarBytesBE=t.numberToBytesLE=t.numberToBytesBE=t.bytesToNumberLE=t.bytesToNumberBE=t.hexToBytes=t.hexToNumber=t.numberToHexUnpadded=t.bytesToHex=t.abytes=t.isBytes=void 0;const r=BigInt(0),n=BigInt(1),o=BigInt(2);function a(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function i(e){if(!a(e))throw new Error("Uint8Array expected")}t.isBytes=a,t.abytes=i;const s=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function c(e){i(e);let t="";for(let r=0;r=d._0&&e<=d._9?e-d._0:e>=d._A&&e<=d._F?e-(d._A-10):e>=d._a&&e<=d._f?e-(d._a-10):void 0}function f(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let t=0,o=0;tr;e>>=n,t+=1);return t},t.bitGet=function(e,t){return e>>BigInt(t)&n},t.bitSet=function(e,t,o){return e|(o?n:r)<(o<new Uint8Array(e),y=e=>Uint8Array.from(e);t.createHmacDrbg=function(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let n=h(e),o=h(e),a=0;const i=()=>{n.fill(1),o.fill(0),a=0},s=(...e)=>r(o,n,...e),c=(e=h())=>{o=s(y([0]),e),n=s(),0!==e.length&&(o=s(y([1]),e),n=s())},u=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let e=0;const r=[];for(;e{let r;for(i(),c(e);!(r=t(u()));)c();return i(),r}};const g={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||a(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};t.validateObject=function(e,t,r={}){const n=(t,r,n)=>{const o=g[r];if("function"!=typeof o)throw new Error(`Invalid validator "${r}", expected function`);const a=e[t];if(!(n&&void 0===a||o(a,e)))throw new Error(`Invalid param ${String(t)}=${a} (${typeof a}), expected ${r}`)};for(const[e,r]of Object.entries(t))n(e,r,!1);for(const[e,t]of Object.entries(r))n(e,t,!0);return e}},91705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToCurveSimpleSWU=t.SWUFpSqrtRatio=t.weierstrass=t.weierstrassPoints=t.DER=void 0;const n=r(24967),o=r(91484),a=r(91484),i=r(62422),{bytesToNumberBE:s,hexToBytes:c}=o;t.DER={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){const{Err:r}=t.DER;if(e.length<2||2!==e[0])throw new r("Invalid signature integer tag");const n=e[1],o=e.subarray(2,n+2);if(!n||o.length!==n)throw new r("Invalid signature integer: wrong length");if(128&o[0])throw new r("Invalid signature integer: negative");if(0===o[0]&&!(128&o[1]))throw new r("Invalid signature integer: unnecessary leading zero");return{d:s(o),l:e.subarray(n+2)}},toSig(e){const{Err:r}=t.DER,n="string"==typeof e?c(e):e;o.abytes(n);let a=n.length;if(a<2||48!=n[0])throw new r("Invalid signature tag");if(n[1]!==a-2)throw new r("Invalid signature: incorrect length");const{d:i,l:s}=t.DER._parseInt(n.subarray(2)),{d:u,l}=t.DER._parseInt(s);if(l.length)throw new r("Invalid signature: left bytes after parsing");return{r:i,s:u}},hexFromSig(e){const t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,r=e=>{const t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(r(e.s)),o=t(r(e.r)),a=n.length/2,i=o.length/2,s=r(a),c=r(i);return`30${r(i+a+4)}02${c}${o}02${s}${n}`}};const u=BigInt(0),l=BigInt(1),d=BigInt(2),p=BigInt(3),f=BigInt(4);function m(e){const t=function(e){const t=(0,i.validateBasic)(e);o.validateObject(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:r,Fp:n,a}=t;if(r){if(!n.eql(a,n.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:r}=t,s=t.toBytes||((e,t,n)=>{const a=t.toAffine();return o.concatBytes(Uint8Array.from([4]),r.toBytes(a.x),r.toBytes(a.y))}),c=t.fromBytes||(e=>{const t=e.subarray(1);return{x:r.fromBytes(t.subarray(0,r.BYTES)),y:r.fromBytes(t.subarray(r.BYTES,2*r.BYTES))}});function d(e){const{a:n,b:o}=t,a=r.sqr(e),i=r.mul(a,e);return r.add(r.add(i,r.mul(e,n)),o)}if(!r.eql(r.sqr(t.Gy),d(t.Gx)))throw new Error("bad generator point: equation left != right");function f(e){return"bigint"==typeof e&&ur.eql(e,r.ZERO);return o(t)&&o(n)?g.ZERO:new g(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){const t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(g.fromAffine)}static fromHex(e){const t=g.fromAffine(c((0,a.ensureBytes)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return g.BASE.multiply(b(e))}_setWindowSize(e){this._WINDOW_SIZE=e,h.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!r.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:e,y:n}=this.toAffine();if(!r.isValid(e)||!r.isValid(n))throw new Error("bad point: x or y not FE");const o=r.sqr(n),a=d(e);if(!r.eql(o,a))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:e}=this.toAffine();if(r.isOdd)return!r.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){y(e);const{px:t,py:n,pz:o}=this,{px:a,py:i,pz:s}=e,c=r.eql(r.mul(t,s),r.mul(a,o)),u=r.eql(r.mul(n,s),r.mul(i,o));return c&&u}negate(){return new g(this.px,r.neg(this.py),this.pz)}double(){const{a:e,b:n}=t,o=r.mul(n,p),{px:a,py:i,pz:s}=this;let c=r.ZERO,u=r.ZERO,l=r.ZERO,d=r.mul(a,a),f=r.mul(i,i),m=r.mul(s,s),b=r.mul(a,i);return b=r.add(b,b),l=r.mul(a,s),l=r.add(l,l),c=r.mul(e,l),u=r.mul(o,m),u=r.add(c,u),c=r.sub(f,u),u=r.add(f,u),u=r.mul(c,u),c=r.mul(b,c),l=r.mul(o,l),m=r.mul(e,m),b=r.sub(d,m),b=r.mul(e,b),b=r.add(b,l),l=r.add(d,d),d=r.add(l,d),d=r.add(d,m),d=r.mul(d,b),u=r.add(u,d),m=r.mul(i,s),m=r.add(m,m),d=r.mul(m,b),c=r.sub(c,d),l=r.mul(m,f),l=r.add(l,l),l=r.add(l,l),new g(c,u,l)}add(e){y(e);const{px:n,py:o,pz:a}=this,{px:i,py:s,pz:c}=e;let u=r.ZERO,l=r.ZERO,d=r.ZERO;const f=t.a,m=r.mul(t.b,p);let b=r.mul(n,i),h=r.mul(o,s),v=r.mul(a,c),x=r.add(n,o),E=r.add(i,s);x=r.mul(x,E),E=r.add(b,h),x=r.sub(x,E),E=r.add(n,a);let w=r.add(i,c);return E=r.mul(E,w),w=r.add(b,v),E=r.sub(E,w),w=r.add(o,a),u=r.add(s,c),w=r.mul(w,u),u=r.add(h,v),w=r.sub(w,u),d=r.mul(f,E),u=r.mul(m,v),d=r.add(u,d),u=r.sub(h,d),d=r.add(h,d),l=r.mul(u,d),h=r.add(b,b),h=r.add(h,b),v=r.mul(f,v),E=r.mul(m,E),h=r.add(h,v),v=r.sub(b,v),v=r.mul(f,v),E=r.add(E,v),b=r.mul(h,E),l=r.add(l,b),b=r.mul(w,E),u=r.mul(x,u),u=r.sub(u,b),b=r.mul(x,h),d=r.mul(w,d),d=r.add(d,b),new g(u,l,d)}subtract(e){return this.add(e.negate())}is0(){return this.equals(g.ZERO)}wNAF(e){return x.wNAFCached(this,h,e,(e=>{const t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(g.fromAffine)}))}multiplyUnsafe(e){const n=g.ZERO;if(e===u)return n;if(m(e),e===l)return this;const{endo:o}=t;if(!o)return x.unsafeLadder(this,e);let{k1neg:a,k1:i,k2neg:s,k2:c}=o.splitScalar(e),d=n,p=n,f=this;for(;i>u||c>u;)i&l&&(d=d.add(f)),c&l&&(p=p.add(f)),f=f.double(),i>>=l,c>>=l;return a&&(d=d.negate()),s&&(p=p.negate()),p=new g(r.mul(p.px,o.beta),p.py,p.pz),d.add(p)}multiply(e){m(e);let n,o,a=e;const{endo:i}=t;if(i){const{k1neg:e,k1:t,k2neg:s,k2:c}=i.splitScalar(a);let{p:u,f:l}=this.wNAF(t),{p:d,f:p}=this.wNAF(c);u=x.constTimeNegate(e,u),d=x.constTimeNegate(s,d),d=new g(r.mul(d.px,i.beta),d.py,d.pz),n=u.add(d),o=l.add(p)}else{const{p:e,f:t}=this.wNAF(a);n=e,o=t}return g.normalizeZ([n,o])[0]}multiplyAndAddUnsafe(e,t,r){const n=g.BASE,o=(e,t)=>t!==u&&t!==l&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),a=o(this,t).add(o(e,r));return a.is0()?void 0:a}toAffine(e){const{px:t,py:n,pz:o}=this,a=this.is0();null==e&&(e=a?r.ONE:r.inv(o));const i=r.mul(t,e),s=r.mul(n,e),c=r.mul(o,e);if(a)return{x:r.ZERO,y:r.ZERO};if(!r.eql(c,r.ONE))throw new Error("invZ was invalid");return{x:i,y:s}}isTorsionFree(){const{h:e,isTorsionFree:r}=t;if(e===l)return!0;if(r)return r(g,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:e,clearCofactor:r}=t;return e===l?this:r?r(g,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),s(g,this,e)}toHex(e=!0){return o.bytesToHex(this.toRawBytes(e))}}g.BASE=new g(t.Gx,t.Gy,r.ONE),g.ZERO=new g(r.ZERO,r.ONE,r.ZERO);const v=t.nBitLength,x=(0,i.wNAF)(g,t.endo?Math.ceil(v/2):v);return{CURVE:t,ProjectivePoint:g,normPrivateKeyToScalar:b,weierstrassEquation:d,isWithinCurveOrder:f}}function b(e,t){const r=e.ORDER;let n=u;for(let e=r-l;e%d===u;e/=d)n+=l;const o=n,a=d<{let n=h,a=e.pow(r,m),i=e.sqr(a);i=e.mul(i,r);let s=e.mul(t,i);s=e.pow(s,c),s=e.mul(s,a),a=e.mul(s,r),i=e.mul(s,t);let u=e.mul(i,a);s=e.pow(u,b);let p=e.eql(s,e.ONE);a=e.mul(i,y),s=e.mul(u,n),i=e.cmov(a,i,p),u=e.cmov(s,u,p);for(let t=o;t>l;t--){let r=t-d;r=d<{let a=e.sqr(o);const i=e.mul(t,o);a=e.mul(a,i);let s=e.pow(a,r);s=e.mul(s,i);const c=e.mul(s,n),u=e.mul(e.sqr(s),o),l=e.eql(u,t);return{isValid:l,value:e.cmov(c,s,l)}}}return g}t.weierstrassPoints=m,t.weierstrass=function(e){const r=function(e){const t=(0,i.validateBasic)(e);return o.validateObject(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}(e),{Fp:s,n:c}=r,d=s.BYTES+1,p=2*s.BYTES+1;function f(e){return n.mod(e,c)}function b(e){return n.invert(e,c)}const{ProjectivePoint:h,normPrivateKeyToScalar:y,weierstrassEquation:g,isWithinCurveOrder:v}=m({...r,toBytes(e,t,r){const n=t.toAffine(),a=s.toBytes(n.x),i=o.concatBytes;return r?i(Uint8Array.from([t.hasEvenY()?2:3]),a):i(Uint8Array.from([4]),a,s.toBytes(n.y))},fromBytes(e){const t=e.length,r=e[0],n=e.subarray(1);if(t!==d||2!==r&&3!==r){if(t===p&&4===r)return{x:s.fromBytes(n.subarray(0,s.BYTES)),y:s.fromBytes(n.subarray(s.BYTES,2*s.BYTES))};throw new Error(`Point of length ${t} was invalid. Expected ${d} compressed bytes or ${p} uncompressed bytes`)}{const e=o.bytesToNumberBE(n);if(!(u<(a=e)&&ao.bytesToHex(o.numberToBytesBE(e,r.nByteLength));function E(e){return e>c>>l}const w=(e,t,r)=>o.bytesToNumberBE(e.slice(t,r));class P{constructor(e,t,r){this.r=e,this.s=t,this.recovery=r,this.assertValidity()}static fromCompact(e){const t=r.nByteLength;return e=(0,a.ensureBytes)("compactSignature",e,2*t),new P(w(e,0,t),w(e,t,2*t))}static fromDER(e){const{r,s:n}=t.DER.toSig((0,a.ensureBytes)("DER",e));return new P(r,n)}assertValidity(){if(!v(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!v(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new P(this.r,this.s,e)}recoverPublicKey(e){const{r:t,s:n,recovery:o}=this,i=C((0,a.ensureBytes)("msgHash",e));if(null==o||![0,1,2,3].includes(o))throw new Error("recovery id invalid");const c=2===o||3===o?t+r.n:t;if(c>=s.ORDER)throw new Error("recovery id 2 or 3 invalid");const u=1&o?"03":"02",l=h.fromHex(u+x(c)),d=b(c),p=f(-i*d),m=f(n*d),y=h.BASE.multiplyAndAddUnsafe(l,p,m);if(!y)throw new Error("point at infinify");return y.assertValidity(),y}hasHighS(){return E(this.s)}normalizeS(){return this.hasHighS()?new P(this.r,f(-this.s),this.recovery):this}toDERRawBytes(){return o.hexToBytes(this.toDERHex())}toDERHex(){return t.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return o.hexToBytes(this.toCompactHex())}toCompactHex(){return x(this.r)+x(this.s)}}const T={isValidPrivateKey(e){try{return y(e),!0}catch(e){return!1}},normPrivateKeyToScalar:y,randomPrivateKey:()=>{const e=n.getMinHashLength(r.n);return n.mapHashToField(r.randomBytes(e),r.n)},precompute:(e=8,t=h.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)};function k(e){const t=o.isBytes(e),r="string"==typeof e,n=(t||r)&&e.length;return t?n===d||n===p:r?n===2*d||n===2*p:e instanceof h}const O=r.bits2int||function(e){const t=o.bytesToNumberBE(e),n=8*e.length-r.nBitLength;return n>0?t>>BigInt(n):t},C=r.bits2int_modN||function(e){return f(O(e))},j=o.bitMask(r.nBitLength);function _(e){if("bigint"!=typeof e)throw new Error("bigint expected");if(!(u<=e&&ee in n)))throw new Error("sign() legacy options not supported");const{hash:i,randomBytes:c}=r;let{lowS:d,prehash:p,extraEntropy:m}=n;null==d&&(d=!0),e=(0,a.ensureBytes)("msgHash",e),p&&(e=(0,a.ensureBytes)("prehashed msgHash",i(e)));const g=C(e),x=y(t),w=[_(x),_(g)];if(null!=m&&!1!==m){const e=!0===m?c(s.BYTES):m;w.push((0,a.ensureBytes)("extraEntropy",e))}const T=o.concatBytes(...w),k=g;return{seed:T,k2sig:function(e){const t=O(e);if(!v(t))return;const r=b(t),n=h.BASE.multiply(t).toAffine(),o=f(n.x);if(o===u)return;const a=f(r*f(k+o*x));if(a===u)return;let i=(n.x===o?0:2)|Number(n.y&l),s=a;return d&&E(a)&&(s=function(e){return E(e)?f(-e):e}(a),i^=1),new P(o,s,i)}}}(e,t,n),d=r;return o.createHmacDrbg(d.hash.outputLen,d.nByteLength,d.hmac)(i,c)},verify:function(e,n,i,s=S){const c=e;if(n=(0,a.ensureBytes)("msgHash",n),i=(0,a.ensureBytes)("publicKey",i),"strict"in s)throw new Error("options.strict was renamed to lowS");const{lowS:u,prehash:l}=s;let d,p;try{if("string"==typeof c||o.isBytes(c))try{d=P.fromDER(c)}catch(e){if(!(e instanceof t.DER.Err))throw e;d=P.fromCompact(c)}else{if("object"!=typeof c||"bigint"!=typeof c.r||"bigint"!=typeof c.s)throw new Error("PARSE");{const{r:e,s:t}=c;d=new P(e,t)}}p=h.fromHex(i)}catch(e){if("PARSE"===e.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(u&&d.hasHighS())return!1;l&&(n=r.hash(n));const{r:m,s:y}=d,g=C(n),v=b(y),x=f(g*v),E=f(m*v),w=h.BASE.multiplyAndAddUnsafe(p,x,E)?.toAffine();return!!w&&f(w.x)===m},ProjectivePoint:h,Signature:P,utils:T}},t.SWUFpSqrtRatio=b,t.mapToCurveSimpleSWU=function(e,t){if(n.validateField(e),!e.isValid(t.A)||!e.isValid(t.B)||!e.isValid(t.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const r=b(e,t.Z);if(!e.isOdd)throw new Error("Fp.isOdd is not implemented!");return n=>{let o,a,i,s,c,u,l,d;o=e.sqr(n),o=e.mul(o,t.Z),a=e.sqr(o),a=e.add(a,o),i=e.add(a,e.ONE),i=e.mul(i,t.B),s=e.cmov(t.Z,e.neg(a),!e.eql(a,e.ZERO)),s=e.mul(s,t.A),a=e.sqr(i),u=e.sqr(s),c=e.mul(u,t.A),a=e.add(a,c),a=e.mul(a,i),u=e.mul(u,s),c=e.mul(u,t.B),a=e.add(a,c),l=e.mul(o,i);const{isValid:p,value:f}=r(a,u);d=e.mul(o,n),d=e.mul(d,f),l=e.cmov(l,i,p),d=e.cmov(d,f,p);const m=e.isOdd(n)===e.isOdd(d);return d=e.cmov(e.neg(d),d,m),l=e.div(l,s),{x:l,y:d}}}},8510:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeToCurve=t.hashToCurve=t.schnorr=t.secp256k1=void 0;const n=r(22623),o=r(99175),a=r(24967),i=r(91705),s=r(91484),c=r(71761),u=r(73562),l=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),d=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),p=BigInt(1),f=BigInt(2),m=(e,t)=>(e+t/f)/t;function b(e){const t=l,r=BigInt(3),n=BigInt(6),o=BigInt(11),i=BigInt(22),s=BigInt(23),c=BigInt(44),u=BigInt(88),d=e*e*e%t,p=d*d*e%t,m=(0,a.pow2)(p,r,t)*p%t,b=(0,a.pow2)(m,r,t)*p%t,y=(0,a.pow2)(b,f,t)*d%t,g=(0,a.pow2)(y,o,t)*y%t,v=(0,a.pow2)(g,i,t)*g%t,x=(0,a.pow2)(v,c,t)*v%t,E=(0,a.pow2)(x,u,t)*x%t,w=(0,a.pow2)(E,c,t)*v%t,P=(0,a.pow2)(w,r,t)*p%t,T=(0,a.pow2)(P,s,t)*g%t,k=(0,a.pow2)(T,n,t)*d%t,O=(0,a.pow2)(k,f,t);if(!h.eql(h.sqr(O),e))throw new Error("Cannot find square root");return O}const h=(0,a.Field)(l,void 0,void 0,{sqrt:b});t.secp256k1=(0,u.createCurve)({a:BigInt(0),b:BigInt(7),Fp:h,n:d,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=d,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-p*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=r,s=BigInt("0x100000000000000000000000000000000"),c=m(i*e,t),u=m(-n*e,t);let l=(0,a.mod)(e-c*r-u*o,t),f=(0,a.mod)(-c*n-u*i,t);const b=l>s,h=f>s;if(b&&(l=t-l),h&&(f=t-f),l>s||f>s)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:b,k1:l,k2neg:h,k2:f}}}},n.sha256);const y=BigInt(0),g=e=>"bigint"==typeof e&&y"bigint"==typeof e&&ye.charCodeAt(0))));r=(0,s.concatBytes)(t,t),x[e]=r}return(0,n.sha256)((0,s.concatBytes)(r,...t))}const w=e=>e.toRawBytes(!0).slice(1),P=e=>(0,s.numberToBytesBE)(e,32),T=e=>(0,a.mod)(e,l),k=e=>(0,a.mod)(e,d),O=t.secp256k1.ProjectivePoint,C=(e,t,r)=>O.BASE.multiplyAndAddUnsafe(e,t,r);function j(e){let r=t.secp256k1.utils.normPrivateKeyToScalar(e),n=O.fromPrivateKey(r);return{scalar:n.hasEvenY()?r:k(-r),bytes:w(n)}}function _(e){if(!g(e))throw new Error("bad x: need 0 < x < p");const t=T(e*e);let r=b(T(t*e+BigInt(7)));r%f!==y&&(r=T(-r));const n=new O(e,r,p);return n.assertValidity(),n}function A(...e){return k((0,s.bytesToNumberBE)(E("BIP0340/challenge",...e)))}function S(e,t,r){const n=(0,s.ensureBytes)("signature",e,64),o=(0,s.ensureBytes)("message",t),a=(0,s.ensureBytes)("publicKey",r,32);try{const e=_((0,s.bytesToNumberBE)(a)),t=(0,s.bytesToNumberBE)(n.subarray(0,32));if(!g(t))return!1;const r=(0,s.bytesToNumberBE)(n.subarray(32,64));if(!v(r))return!1;const i=A(P(t),w(e),o),c=C(e,r,k(-i));return!(!c||!c.hasEvenY()||c.toAffine().x!==t)}catch(e){return!1}}t.schnorr={getPublicKey:function(e){return j(e).bytes},sign:function(e,t,r=(0,o.randomBytes)(32)){const n=(0,s.ensureBytes)("message",e),{bytes:a,scalar:i}=j(t),c=(0,s.ensureBytes)("auxRand",r,32),u=P(i^(0,s.bytesToNumberBE)(E("BIP0340/aux",c))),l=E("BIP0340/nonce",u,a,n),d=k((0,s.bytesToNumberBE)(l));if(d===y)throw new Error("sign failed: k is zero");const{bytes:p,scalar:f}=j(d),m=A(p,a,n),b=new Uint8Array(64);if(b.set(p,0),b.set(P(k(f+m*i)),32),!S(b,n,a))throw new Error("sign: Invalid signature produced");return b},verify:S,utils:{randomPrivateKey:t.secp256k1.utils.randomPrivateKey,lift_x:_,pointToBytes:w,numberToBytesBE:s.numberToBytesBE,bytesToNumberBE:s.bytesToNumberBE,taggedHash:E,mod:a.mod}};const B=(()=>(0,c.isogenyMap)(h,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map((e=>e.map((e=>BigInt(e)))))))(),I=(()=>(0,i.mapToCurveSimpleSWU)(h,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:h.create(BigInt("-11"))}))(),M=(()=>(0,c.createHasher)(t.secp256k1.ProjectivePoint,(e=>{const{x:t,y:r}=I(h.create(e[0]));return B(t,r)}),{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:h.ORDER,m:1,k:128,expand:"xmd",hash:n.sha256}))();t.hashToCurve=M.hashToCurve,t.encodeToCurve=M.encodeToCurve},67557:(e,t)=>{"use strict";function r(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function n(e){if("boolean"!=typeof e)throw new Error(`boolean expected, not ${e}`)}function o(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function a(e,...t){if(!o(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function i(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");r(e.outputLen),r(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function c(e,t){a(e);const r=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HashMD=t.Maj=t.Chi=void 0;const n=r(67557),o=r(99175);t.Chi=(e,t,r)=>e&t^~e&r,t.Maj=(e,t,r)=>e&t^e&r^t&r;class a extends o.Hash{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,o.createView)(this.buffer)}update(e){(0,n.exists)(this);const{view:t,buffer:r,blockLen:a}=this,i=(e=(0,o.toBytes)(e)).length;for(let n=0;na-s&&(this.process(r,0),s=0);for(let e=s;e>o&a),s=Number(r&a),c=n?4:0,u=n?0:4;e.setUint32(t+c,i,n),e.setUint32(t+u,s,n)}(r,a-8,BigInt(8*this.length),i),this.process(r,0);const c=(0,o.createView)(e),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const l=u/4,d=this.get();if(l>d.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;const r=BigInt(2**32-1),n=BigInt(32);function o(e,t=!1){return t?{h:Number(e&r),l:Number(e>>n&r)}:{h:0|Number(e>>n&r),l:0|Number(e&r)}}function a(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let a=0;aBigInt(e>>>0)<>>0);t.toBig=i;const s=(e,t,r)=>e>>>r;t.shrSH=s;const c=(e,t,r)=>e<<32-r|t>>>r;t.shrSL=c;const u=(e,t,r)=>e>>>r|t<<32-r;t.rotrSH=u;const l=(e,t,r)=>e<<32-r|t>>>r;t.rotrSL=l;const d=(e,t,r)=>e<<64-r|t>>>r-32;t.rotrBH=d;const p=(e,t,r)=>e>>>r-32|t<<64-r;t.rotrBL=p;const f=(e,t)=>t;t.rotr32H=f;const m=(e,t)=>e;t.rotr32L=m;const b=(e,t,r)=>e<>>32-r;t.rotlSH=b;const h=(e,t,r)=>t<>>32-r;t.rotlSL=h;const y=(e,t,r)=>t<>>64-r;t.rotlBH=y;const g=(e,t,r)=>e<>>64-r;function v(e,t,r,n){const o=(t>>>0)+(n>>>0);return{h:e+r+(o/2**32|0)|0,l:0|o}}t.rotlBL=g,t.add=v;const x=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);t.add3L=x;const E=(e,t,r,n)=>t+r+n+(e/2**32|0)|0;t.add3H=E;const w=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);t.add4L=w;const P=(e,t,r,n,o)=>t+r+n+o+(e/2**32|0)|0;t.add4H=P;const T=(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0);t.add5L=T;const k=(e,t,r,n,o,a)=>t+r+n+o+a+(e/2**32|0)|0;t.add5H=k;const O={fromBig:o,split:a,toBig:i,shrSH:s,shrSL:c,rotrSH:u,rotrSL:l,rotrBH:d,rotrBL:p,rotr32H:f,rotr32L:m,rotlSH:b,rotlSL:h,rotlBH:y,rotlBL:g,add:v,add3L:x,add3H:E,add4L:w,add4H:P,add5H:k,add5L:T};t.default=O},25145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=void 0,t.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},39615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=t.HMAC=void 0;const n=r(67557),o=r(99175);class a extends o.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,n.hash)(e);const r=(0,o.toBytes)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const a=this.blockLen,i=new Uint8Array(a);i.set(r.length>a?e.create().update(r).digest():r);for(let e=0;enew a(e,t).update(r).digest(),t.hmac.create=(e,t)=>new a(e,t)},93238:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ripemd160=t.RIPEMD160=void 0;const n=r(37202),o=r(99175),a=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),i=new Uint8Array(new Array(16).fill(0).map(((e,t)=>t)));let s=[i],c=[i.map((e=>(9*e+5)%16))];for(let e=0;e<4;e++)for(let t of[s,c])t.push(t[e].map((e=>a[e])));const u=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>new Uint8Array(e))),l=s.map(((e,t)=>e.map((e=>u[t][e])))),d=c.map(((e,t)=>e.map((e=>u[t][e])))),p=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),f=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function m(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}const b=new Uint32Array(16);class h extends n.HashMD{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:t,h2:r,h3:n,h4:o}=this;return[e,t,r,n,o]}set(e,t,r,n,o){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|o}process(e,t){for(let r=0;r<16;r++,t+=4)b[r]=e.getUint32(t,!0);let r=0|this.h0,n=r,a=0|this.h1,i=a,u=0|this.h2,h=u,y=0|this.h3,g=y,v=0|this.h4,x=v;for(let e=0;e<5;e++){const t=4-e,E=p[e],w=f[e],P=s[e],T=c[e],k=l[e],O=d[e];for(let t=0;t<16;t++){const n=(0,o.rotl)(r+m(e,a,u,y)+b[P[t]]+E,k[t])+v|0;r=v,v=y,y=0|(0,o.rotl)(u,10),u=a,a=n}for(let e=0;e<16;e++){const r=(0,o.rotl)(n+m(t,i,h,g)+b[T[e]]+w,O[e])+x|0;n=x,x=g,g=0|(0,o.rotl)(h,10),h=i,i=r}}this.set(this.h1+u+g|0,this.h2+y+x|0,this.h3+v+n|0,this.h4+r+i|0,this.h0+a+h|0)}roundClean(){b.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}t.RIPEMD160=h,t.ripemd160=(0,o.wrapConstructor)((()=>new h))},22623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;const n=r(37202),o=r(99175),a=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),i=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),s=new Uint32Array(64);class c extends n.HashMD{constructor(){super(64,32,8,!1),this.A=0|i[0],this.B=0|i[1],this.C=0|i[2],this.D=0|i[3],this.E=0|i[4],this.F=0|i[5],this.G=0|i[6],this.H=0|i[7]}get(){const{A:e,B:t,C:r,D:n,E:o,F:a,G:i,H:s}=this;return[e,t,r,n,o,a,i,s]}set(e,t,r,n,o,a,i,s){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|o,this.F=0|a,this.G=0|i,this.H=0|s}process(e,t){for(let r=0;r<16;r++,t+=4)s[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){const t=s[e-15],r=s[e-2],n=(0,o.rotr)(t,7)^(0,o.rotr)(t,18)^t>>>3,a=(0,o.rotr)(r,17)^(0,o.rotr)(r,19)^r>>>10;s[e]=a+s[e-7]+n+s[e-16]|0}let{A:r,B:i,C:c,D:u,E:l,F:d,G:p,H:f}=this;for(let e=0;e<64;e++){const t=f+((0,o.rotr)(l,6)^(0,o.rotr)(l,11)^(0,o.rotr)(l,25))+(0,n.Chi)(l,d,p)+a[e]+s[e]|0,m=((0,o.rotr)(r,2)^(0,o.rotr)(r,13)^(0,o.rotr)(r,22))+(0,n.Maj)(r,i,c)|0;f=p,p=d,d=l,l=u+t|0,u=c,c=i,i=r,r=t+m|0}r=r+this.A|0,i=i+this.B|0,c=c+this.C|0,u=u+this.D|0,l=l+this.E|0,d=d+this.F|0,p=p+this.G|0,f=f+this.H|0,this.set(r,i,c,u,l,d,p,f)}roundClean(){s.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class u extends c{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,o.wrapConstructor)((()=>new c)),t.sha224=(0,o.wrapConstructor)((()=>new u))},32955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shake256=t.shake128=t.keccak_512=t.keccak_384=t.keccak_256=t.keccak_224=t.sha3_512=t.sha3_384=t.sha3_256=t.sha3_224=t.Keccak=t.keccakP=void 0;const n=r(67557),o=r(22318),a=r(99175),i=[],s=[],c=[],u=BigInt(0),l=BigInt(1),d=BigInt(2),p=BigInt(7),f=BigInt(256),m=BigInt(113);for(let e=0,t=l,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],i.push(2*(5*n+r)),s.push((e+1)*(e+2)/2%64);let o=u;for(let e=0;e<7;e++)t=(t<>p)*m)%f,t&d&&(o^=l<<(l<r>32?(0,o.rotlBH)(e,t,r):(0,o.rotlSH)(e,t,r),g=(e,t,r)=>r>32?(0,o.rotlBL)(e,t,r):(0,o.rotlSL)(e,t,r);function v(e,t=24){const r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){const n=(t+8)%10,o=(t+2)%10,a=r[o],i=r[o+1],s=y(a,i,1)^r[n],c=g(a,i,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=s,e[t+r+1]^=c}let t=e[2],o=e[3];for(let r=0;r<24;r++){const n=s[r],a=y(t,o,n),c=g(t,o,n),u=i[r];t=e[u],o=e[u+1],e[u]=a,e[u+1]=c}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=b[n],e[1]^=h[n]}r.fill(0)}t.keccakP=v;class x extends a.Hash{constructor(e,t,r,o=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=o,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.number)(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,a.u32)(this.state)}keccak(){a.isLE||(0,a.byteSwap32)(this.state32),v(this.state32,this.rounds),a.isLE||(0,a.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.exists)(this);const{blockLen:t,state:r}=this,o=(e=(0,a.toBytes)(e)).length;for(let n=0;n=r&&this.keccak();const a=Math.min(r-this.posOut,o-n);e.set(t.subarray(this.posOut,this.posOut+a),n),this.posOut+=a,n+=a}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.output)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:t,suffix:r,outputLen:n,rounds:o,enableXOF:a}=this;return e||(e=new x(t,r,n,a,o)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=o,e.suffix=r,e.outputLen=n,e.enableXOF=a,e.destroyed=this.destroyed,e}}t.Keccak=x;const E=(e,t,r)=>(0,a.wrapConstructor)((()=>new x(t,e,r)));t.sha3_224=E(6,144,28),t.sha3_256=E(6,136,32),t.sha3_384=E(6,104,48),t.sha3_512=E(6,72,64),t.keccak_224=E(1,144,28),t.keccak_256=E(1,136,32),t.keccak_384=E(1,104,48),t.keccak_512=E(1,72,64);const w=(e,t,r)=>(0,a.wrapXOFConstructorWithOpts)(((n={})=>new x(t,e,void 0===n.dkLen?r:n.dkLen,!0)));t.shake128=w(31,168,16),t.shake256=w(31,136,32)},99175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.byteSwap32=t.byteSwapIfBE=t.byteSwap=t.isLE=t.rotl=t.rotr=t.createView=t.u32=t.u8=t.isBytes=void 0;const n=r(25145),o=r(67557);t.isBytes=function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name},t.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),t.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),t.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),t.rotr=(e,t)=>e<<32-t|e>>>t,t.rotl=(e,t)=>e<>>32-t>>>0,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],t.byteSwap=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255,t.byteSwapIfBE=t.isLE?e=>e:e=>(0,t.byteSwap)(e),t.byteSwap32=function(e){for(let r=0;rt.toString(16).padStart(2,"0")));t.bytesToHex=function(e){(0,o.bytes)(e);let t="";for(let r=0;r=i&&e<=s?e-i:e>=c&&e<=u?e-(c-10):e>=l&&e<=d?e-(l-10):void 0}function f(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function m(e){return"string"==typeof e&&(e=f(e)),(0,o.bytes)(e),e}t.hexToBytes=function(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let t=0,o=0;t{},t.asyncLoop=async function(e,r,n){let o=Date.now();for(let a=0;a=0&&ee().update(m(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){const t=(t,r)=>e(r).update(m(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){const t=(t,r)=>e(r).update(m(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}},47168:(e,t,r)=>{var n;!function(o,a,i,s){"use strict";var c,u=["","webkit","Moz","MS","ms","o"],l=a.createElement("div"),d="function",p=Math.round,f=Math.abs,m=Date.now;function b(e,t,r){return setTimeout(w(e,r),t)}function h(e,t,r){return!!Array.isArray(e)&&(y(e,r[t],r),!0)}function y(e,t,r){var n;if(e)if(e.forEach)e.forEach(t,r);else if(e.length!==s)for(n=0;n\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",a=o.console&&(o.console.warn||o.console.log);return a&&a.call(o.console,n,r),e.apply(this,arguments)}}c="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r-1}function _(e){return e.trim().split(/\s+/g)}function A(e,t,r){if(e.indexOf&&!r)return e.indexOf(t);for(var n=0;nr[t]})):n.sort()),n}function I(e,t){for(var r,n,o=t[0].toUpperCase()+t.slice(1),a=0;a1&&!r.firstMultiple?r.firstMultiple=ne(t):1===o&&(r.firstMultiple=!1);var a=r.firstInput,i=r.firstMultiple,c=i?i.center:a.center,u=t.center=oe(n);t.timeStamp=m(),t.deltaTime=t.timeStamp-a.timeStamp,t.angle=ce(c,u),t.distance=se(c,u),function(e,t){var r=t.center,n=e.offsetDelta||{},o=e.prevDelta||{},a=e.prevInput||{};t.eventType!==L&&a.eventType!==$||(o=e.prevDelta={x:a.deltaX||0,y:a.deltaY||0},n=e.offsetDelta={x:r.x,y:r.y}),t.deltaX=o.x+(r.x-n.x),t.deltaY=o.y+(r.y-n.y)}(r,t),t.offsetDirection=ie(t.deltaX,t.deltaY);var l,d,p=ae(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=p.x,t.overallVelocityY=p.y,t.overallVelocity=f(p.x)>f(p.y)?p.x:p.y,t.scale=i?(l=i.pointers,se((d=n)[0],d[1],ee)/se(l[0],l[1],ee)):1,t.rotation=i?function(e,t){return ce(t[1],t[0],ee)+ce(e[1],e[0],ee)}(i.pointers,n):0,t.maxPointers=r.prevInput?t.pointers.length>r.prevInput.maxPointers?t.pointers.length:r.prevInput.maxPointers:t.pointers.length,function(e,t){var r,n,o,a,i=e.lastInterval||t,c=t.timeStamp-i.timeStamp;if(t.eventType!=q&&(c>D||i.velocity===s)){var u=t.deltaX-i.deltaX,l=t.deltaY-i.deltaY,d=ae(c,u,l);n=d.x,o=d.y,r=f(d.x)>f(d.y)?d.x:d.y,a=ie(u,l),e.lastInterval=t}else r=i.velocity,n=i.velocityX,o=i.velocityY,a=i.direction;t.velocity=r,t.velocityX=n,t.velocityY=o,t.direction=a}(r,t);var b=e.element;C(t.srcEvent.target,b)&&(b=t.srcEvent.target),t.target=b}(e,r),e.emit("hammer.input",r),e.recognize(r),e.session.prevInput=r}function ne(e){for(var t=[],r=0;r=f(t)?e<0?V:K:t<0?W:Z}function se(e,t,r){r||(r=Q);var n=t[r[0]]-e[r[0]],o=t[r[1]]-e[r[1]];return Math.sqrt(n*n+o*o)}function ce(e,t,r){r||(r=Q);var n=t[r[0]]-e[r[0]],o=t[r[1]]-e[r[1]];return 180*Math.atan2(o,n)/Math.PI}te.prototype={handler:function(){},init:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(F(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&O(this.element,this.evEl,this.domHandler),this.evTarget&&O(this.target,this.evTarget,this.domHandler),this.evWin&&O(F(this.element),this.evWin,this.domHandler)}};var ue={mousedown:L,mousemove:2,mouseup:$},le="mousedown",de="mousemove mouseup";function pe(){this.evEl=le,this.evWin=de,this.pressed=!1,te.apply(this,arguments)}E(pe,te,{handler:function(e){var t=ue[e.type];t&L&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=$),this.pressed&&(t&$&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:z,srcEvent:e}))}});var fe={pointerdown:L,pointermove:2,pointerup:$,pointercancel:q,pointerout:q},me={2:H,3:"pen",4:z,5:"kinect"},be="pointerdown",he="pointermove pointerup pointercancel";function ye(){this.evEl=be,this.evWin=he,te.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(be="MSPointerDown",he="MSPointerMove MSPointerUp MSPointerCancel"),E(ye,te,{handler:function(e){var t=this.store,r=!1,n=e.type.toLowerCase().replace("ms",""),o=fe[n],a=me[e.pointerType]||e.pointerType,i=a==H,s=A(t,e.pointerId,"pointerId");o&L&&(0===e.button||i)?s<0&&(t.push(e),s=t.length-1):o&($|q)&&(r=!0),s<0||(t[s]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:a,srcEvent:e}),r&&t.splice(s,1))}});var ge={touchstart:L,touchmove:2,touchend:$,touchcancel:q};function ve(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,te.apply(this,arguments)}function xe(e,t){var r=S(e.touches),n=S(e.changedTouches);return t&($|q)&&(r=B(r.concat(n),"identifier",!0)),[r,n]}E(ve,te,{handler:function(e){var t=ge[e.type];if(t===L&&(this.started=!0),this.started){var r=xe.call(this,e,t);t&($|q)&&r[0].length-r[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:r[0],changedPointers:r[1],pointerType:H,srcEvent:e})}}});var Ee={touchstart:L,touchmove:2,touchend:$,touchcancel:q},we="touchstart touchmove touchend touchcancel";function Pe(){this.evTarget=we,this.targetIds={},te.apply(this,arguments)}function Te(e,t){var r=S(e.touches),n=this.targetIds;if(t&(2|L)&&1===r.length)return n[r[0].identifier]=!0,[r,r];var o,a,i=S(e.changedTouches),s=[],c=this.target;if(a=r.filter((function(e){return C(e.target,c)})),t===L)for(o=0;o-1&&n.splice(e,1)}),ke)}}function _e(e){for(var t=e.srcEvent.clientX,r=e.srcEvent.clientY,n=0;n-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,r=this.state;function n(r){t.manager.emit(r,e)}r<8&&n(t.options.event+$e(r)),n(t.options.event),e.additionalEvent&&n(e.additionalEvent),r>=8&&n(t.options.event+$e(r))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=De},canEmit:function(){for(var e=0;et.threshold&&o&t.direction},attrTest:function(e){return Ve.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=qe(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),E(We,Ve,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Fe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),E(Ze,Le,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ie]},process:function(e){var t=this.options,r=e.pointers.length===t.pointers,n=e.distancet.time;if(this._input=e,!n||!r||e.eventType&($|q)&&!o)this.reset();else if(e.eventType&L)this.reset(),this._timer=b((function(){this.state=8,this.tryEmit()}),t.time,this);else if(e.eventType&$)return 8;return De},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&e.eventType&$?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=m(),this.manager.emit(this.options.event,this._input)))}}),E(Xe,Ve,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Fe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),E(Ye,Ve,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:X|Y,pointers:1},getTouchAction:function(){return Ke.prototype.getTouchAction.call(this)},attrTest:function(e){var t,r=this.options.direction;return r&(X|Y)?t=e.overallVelocity:r&X?t=e.overallVelocityX:r&Y&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&r&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&f(t)>this.options.velocity&&e.eventType&$},emit:function(e){var t=qe(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),E(Je,Le,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Me]},process:function(e){var t=this.options,r=e.pointers.length===t.pointers,n=e.distance=i.WIDTH-5||this.origin.x<=5?this.trigger("expired"):(this.moveTimer+=e,this.moveTimer>=1&&0!==this.velocity.y&&(this.velocity.y=0,this.moveTimer=0),this.moveTimer>=this.moveTime&&((0,c.random)(1,20)%2==0&&(this.velocity.y=this.origin.x%2==0?this.velocity.x:-this.velocity.x),this.moveTimer=0),this.bulletTimer+=e,this.bulletTimer>=this.bulletTime&&(this.fire(),this.bulletTimer=0))},t.prototype.render=function(e){this.draw(e)},t.prototype.draw=function(t){e.prototype.draw.call(this,t),t.draw.vectorShape([this.points[1],this.points[6]],this.origin.x,this.origin.y),t.draw.vectorShape([this.points[2],this.points[5]],this.origin.x,this.origin.y)},t}(s.Object2D);t.Alien=m;var b=function(e){function t(){var t=e.call(this,p)||this;return t.score=200,t.scale(7),t}return o(t,e),t.prototype.fire=function(){var e=u.Vector.fromAngle((0,c.random)(1,360),l),t=new a.Bullet(this.origin,e);this.trigger("fire",t)},t.prototype.destroy=function(){this.trigger("expired")},t}(m);t.BigAlien=b;var h=function(e){function t(t){var r=e.call(this,f)||this;return r.ship=t,r.bulletTime=1,r.score=1e3,r.scale(4),r}return o(t,e),t.prototype.fire=function(){var e;if(this.ship){var t=u.Vector.fromXY(this.ship.origin,this.origin,d);e=new a.Bullet(this.origin,t,2)}else t=u.Vector.fromAngle((0,c.random)(1,360),d),e=new a.Bullet(this.origin,t,2);this.trigger("fire",e)},t.prototype.destroy=function(){this.ship=null,this.trigger("expired")},t}(m);t.SmallAlien=h},12250:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AttractMode=void 0;var a=r(91097),i=r(54e3),s=r(81162),c=r(19943),u=r(70405),l=r(31610),d=r(47202),p=r(64008),f=function(e){function t(t,r){var n=e.call(this)||this;return n.isStarting=!1,n.modes=[new u.HighScoreMode(r),new s.DemoMode(t||new p.World)],n.currentMode=n.modes[0],d.Sound.stop(),d.Sound.off(),n}return o(t,e),t.prototype.update=function(e){var t=this;this.currentMode.update(e),l.Key.isEnterPressed()&&(this.isStarting||(this.isStarting=!0,(0,a.startGame)().then((function(e){console.log("Game started",e.logs[0].value),(0,i.addToStore)(i.StorageKey.GAME_ID,e.logs[0].value),t.isStarting=!1,t.trigger("done")})).catch((function(e){console.error("Error starting game",e.message)})).finally((function(){t.isStarting=!1,l.Key.clear()}))))},t.prototype.render=function(e,t){this.currentMode.render(e,t)},t}(c.EventSource);t.AttractMode=f},72354:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Bullet=void 0;var a=r(86853),i=function(e){function t(t,r,n){void 0===n&&(n=1.25);var o=e.call(this,t.x,t.y)||this;return o.life=n,o.frame=0,o.velocity=r,o}return o(t,e),t.prototype.render=function(e){this.draw(e)},t.prototype.update=function(e){this.frame++,this.move(e),this.life-=e,this.life<=0&&this.destroy()},t.prototype.draw=function(e){var t=this.frame<=1?8*a.OBJECT_SCALE:4*a.OBJECT_SCALE;e.draw.rect(this.origin.x-2,this.origin.y-2,t,t,"rgba(255,0,255,.5)"),e.draw.rect(this.origin.x-1,this.origin.y-1,t,t,"rgba(0,255,255,.5)"),e.draw.rect(this.origin.x,this.origin.y,t,t)},t.prototype.destroy=function(){this.trigger("expired")},Object.defineProperty(t.prototype,"vertices",{get:function(){return[this.origin]},enumerable:!1,configurable:!0}),t}(r(53295).Object2D);t.Bullet=i},14291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collisions=void 0;var n=r(86853),o=r(69741),a=r(55878),i=function(){function e(){this.tree=new o.Quadtree({x:0,y:0,width:n.WIDTH,height:n.HEIGHT})}return e.prototype.bulletCheck=function(e,t,r,n){var o=this;if(e&&e.length&&t&&t.length){var i=[],s=[];this.tree.clear(),t.forEach((function(e){o.tree.insert(e)}));for(var c=function(t){var o=e[t];i.length=0,i.push.apply(i,u.tree.retrieve(o)),i.forEach((function(i){if(i.collided(o))r(o,i);else if(n&&n(o,o,i),tt.vertices.length?e.vertices:t.vertices,n=e.vertices.length<=t.vertices.length?e.vertices:t.vertices,o=0,a=n.length;o=c||i[o]=c)&&(a[r]<=s||a[o]<=s)&&(u^=a[r]+(c-i[r])/(i[o]-i[r])*(a[o]-a[r])0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHIP_RECT=t.OFF_RECT=t.OBJECT_SCALE=t.HEIGHT=t.WIDTH=void 0,t.WIDTH=960,t.HEIGHT=720,t.OBJECT_SCALE=.75,t.OFF_RECT=120*t.OBJECT_SCALE,t.SHIP_RECT={x:t.WIDTH/2-t.OFF_RECT,y:t.HEIGHT/2-t.OFF_RECT,width:2*t.OFF_RECT,height:2*t.OFF_RECT}},81162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DemoMode=void 0;var n=r(14291),o=function(){function e(e){this.world=e,this.showPushStart=!0,this.pushStartTimer=0,this.init()}return e.prototype.init=function(){this.world.started||this.world.startLevel()},e.prototype.update=function(e,t){this.checkCollisions(),this.world.updateAlienTimer(e),this.world.rocks.length||this.world.scenery.length||this.world.alien||this.world.startLevel(),this.updatePushStartTimer(e),this.world.update(e,t)},e.prototype.updatePushStartTimer=function(e){this.pushStartTimer+=e,this.pushStartTimer>=.4&&(this.pushStartTimer=0,this.showPushStart=!this.showPushStart)},e.prototype.checkCollisions=function(){var e=this,t=this.world,r=t.alien,o=t.rocks,a=t.alienBullets;if(r||a.length){var i=new n.Collisions;i.check([r],o,!1,(function(t,r){e.world.shake(),e.world.alienDestroyed(),e.world.rockDestroyed(r)})),i.check(a,o,!1,(function(t,r){e.world.shake(),e.world.rockDestroyed(r)}))}},e.prototype.render=function(e,t){this.drawBackground(e),this.drawPushStart(e),this.world.render(e,t)},e.prototype.drawBackground=function(e){e.draw.background(),e.draw.scorePlayer1(this.world.score),e.draw.oneCoinOnePlay(),e.draw.stackr(),e.draw.copyright()},e.prototype.drawPushStart=function(e){this.showPushStart&&e.draw.pushStart()},e}();t.DemoMode=o},27280:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Draw=t.BACKGROUND_COLOR=void 0,t.magenta=u,t.cyan=l,t.white=function(e){return void 0===e&&(e=1),"rgba(255,255,255, ".concat(e,")")};var n=r(41768),o=r(45110),a=r(49969),i="rgba(255,255,255,.8)",s="rgba(255,255,255,.8)",c=String.fromCharCode(169);function u(e){return void 0===e&&(e=1),"rgba(255,0,255, ".concat(e,")")}function l(e){return void 0===e&&(e=1),"rgba(0,255,255, ".concat(e,")")}t.BACKGROUND_COLOR="#000000";var d=u(.5),p=l(.5),f=function(){function e(e,t){this.ctx=e,this.screen=t}return e.prototype.line=function(e,t,r,n,o,a){void 0===o&&(o=i),void 0===a&&(a=2);var s=this.ctx;s.beginPath(),s.lineWidth=a,s.moveTo(e,t),s.strokeStyle=o,s.lineTo(r,n),s.stroke(),s.closePath()},e.prototype.vectorline=function(e,t,r,n,o,s){void 0===o&&(o=i),void 0===s&&(s=2);var c=this.ctx,u=c.strokeStyle;a.default.burn&&(this.line(e-2,t,r-2,n,d),this.line(e-1,t-2,r-1,n-1,p)),this.line(e,t,r,n,o),c.strokeStyle=u},e.prototype.shape=function(e,t,r,n,o){void 0===n&&(n=i),void 0===o&&(o=!0);var a=e.length-1;this.ctx.save();for(var s=0;s=5&&this.trigger("done",this.world)),this.world.started?(this.lastCollisions=this.checkCollisions(e),this.world.updateAlienTimer(e),this.world.gameOver||(this.world.shouldTryToPlaceShip()&&this.world.tryPlaceShip(e),this.world.shouldCheckForNextLevel()&&(this.world.startLevel(),this.thumper.reset())),this.world.lives||(this.world.gameOver=!0),this.world.update(e,t)):this.world.levelTimer>=2&&(this.init(),this.world.started=!0)},r.prototype.render=function(e,t){c.default.paused||(this.renderStatic(e),this.world.render(e,t))},r.prototype.renderStatic=function(e){e.draw.background(),e.draw.copyright(),e.draw.stackr(),e.draw.scorePlayer1(this.world.score),e.draw.drawExtraLives(this.world.lives),this.world.ship&&(e.draw.vectorline(40,80,140,80,"rgba(255,255,255,.4)"),e.draw.vectorline(40,80,40+100*this.world.ship.shield,80,"rgba(255,255,255,.6)")),this.world.started||e.draw.player1(),this.world.gameOver&&e.draw.gameOver(),c.default.debug&&this.renderDebug(e),c.default.god&&e.draw.text2("god",e.font.small,(function(t){return{x:e.width-t-10,y:e.height-80}}))},r.prototype.renderDebug=function(e){if(e.draw.text2("debug mode",e.font.small,(function(t){return{x:e.width-t-10,y:e.height-40}})),this.bounds&&this.bounds.forEach((function(t){e.draw.bounds(t,"#fc058d")})),!this.world.ship&&this.world.lives){var t=e.shipRect;e.draw.bounds(t,"#00ff00")}this.world.ship&&(e.draw.text(this.world.ship.angle.toString(),this.world.ship.origin.x+20,this.world.ship.origin.y+20,10),e.draw.text(this.world.ship.velocity.x.toString(),this.world.ship.origin.x+20,this.world.ship.origin.y+40,10),e.draw.text(this.world.ship.velocity.y.toString(),this.world.ship.origin.x+20,this.world.ship.origin.y+60,10));var r=new Date(null);r.setSeconds(this.world.levelTimer),e.draw.text2(r.toISOString().substr(11,8),e.font.small,(function(t){return{x:10,y:e.height-40}})),this.lastCollisions&&e.draw.quadtree(this.lastCollisions.tree)},r.prototype.checkCollisions=function(e){var t=this,r=this.world,n=r.ship,o=r.rocks,i=r.shipBullets,s=r.alien,u=r.alienBullets,l=r.shockwaves;if(this.world.shouldCheckCollisions()){this.bounds.length=0;var d=new a.Collisions;d.bulletCheck(i,o,(function(e,r){t.world.shake(),t.world.addScore(r,"rock"),t.world.rockDestroyed(r),e.destroy()}),(function(e,r,n){c.default.debug&&t.bounds.push(n)})),d.bulletCheck(i,[s],(function(e,r){t.world.shake(),t.world.addScore(r,"alien"),t.world.alienDestroyed(),e.destroy()}),(function(e,r,n){c.default.debug&&t.bounds.push(n)}));var p=[];if(l.filter((function(e){return e.rocks.length})).forEach((function(e){return p.push.apply(p,e.rocks)})),p.length){var f=this.world.rocks.filter((function(e){return p.indexOf(e)<0}));d.check(p,f,!1,(function(e,r){t.world.addScore(e,"cowboy"),t.world.addScore(r,"indian"),t.world.rockDestroyed(e),t.world.rockDestroyed(r)}))}return c.default.god||(d.check([n],o,!0,(function(e,r){t.world.shake(),t.world.addScore(r,"rock in collision"),t.world.rockDestroyed(r),e.shield-=.25,e.shield<=0&&t.world.shipDestroyed()}),(function(e,r){c.default.debug&&t.bounds.push(r)})),d.check([n],[s],!0,(function(e,r){t.world.shake(),t.world.addScore(r,"alien in collision"),t.world.alienDestroyed(),e.shield-=.5,e.shield<=0&&t.world.shipDestroyed()}),(function(e,r){c.default.debug&&t.bounds.push(r)})),d.check(u,[n],!0,(function(e,r){t.world.shake(),r.shield-=1,r.shield<=0&&t.world.shipDestroyed(),e.destroy()}),(function(e,r){c.default.debug&&t.bounds.push(r)}))),d.check([s],o,!1,(function(e,r){t.world.shake(),t.world.alienDestroyed(),t.world.rockDestroyed(r)}),(function(e,r){c.default.debug&&t.bounds.push(r)})),d.check(u,o,!1,(function(e,r){t.world.shake(),t.world.rockDestroyed(r)}),(function(e,r){c.default.debug&&t.bounds.push(r)})),d}},r}(s.EventSource);t.GameMode=l},49969:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=new function(){this.debug=!1,this.paused=!1,this.god=!1,this.burn=!0}},70405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HighScoreMode=void 0;var n=r(69609),o=function(){function e(e){this.score=e,this.blink=0,this.showPushStart=!0}return e.prototype.update=function(e){this.blink+=e,this.blink>=.4&&(this.blink=0,this.showPushStart=!this.showPushStart)},e.prototype.render=function(e,t){this.drawBackground(e),this.drawPushStart(e),this.drawHighScores(e)},e.prototype.drawBackground=function(e){e.draw.background(),e.draw.stackr(),e.draw.scorePlayer1(this.score),e.draw.oneCoinOnePlay(),e.draw.copyright()},e.prototype.drawHighScores=function(e){var t=e.width/2,r=Math.ceil(e.height/4.5)+(e.font.xlarge+e.font.small),o=e.font.medium+e.font.small;if(e.draw.text2("Leaderboard",e.font.large,(function(r){return{x:t-r/2,y:e.height/4.5}})),0!==n.Highscores.scores.length)for(var a=function(a){var s,c=r+a*o,u="".concat(i.pad(a+1," ",2),".").concat(i.pad((s=n.Highscores.scores[a].address,"".concat(s.slice(0,6),"...").concat(s.slice(-4)))," ",6)," ").concat(i.pad(n.Highscores.scores[a].score," ",8));e.draw.text2(u,e.font.large,(function(e){return{x:t-e/2,y:c}}))},i=this,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Highscores=void 0;var n=r(54e3),o=new(function(){function e(){}return Object.defineProperty(e.prototype,"scores",{get:function(){return(0,n.getFromStore)(n.StorageKey.LEADERBOARD)||[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.scores[0]},enumerable:!1,configurable:!0}),e.prototype.qualifies=function(e){return!!o.scores.filter((function(t){return t.score{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Key=t._Key=t.Keys=void 0;var n=r(47168);t.Keys={HYPERSPACE:32,ROTATE_LEFT:37,ROTATE_LEFT_A:65,ROTATE_RIGHT:39,ROTATE_RIGHT_D:68,THRUST:38,THRUST_W:87,FIRE:17,DEBUG:90,PAUSE:80,GOD:71,MONITOR_BURN:66};var o=function(){function e(){var e=this;this.keys={},this.prev={},this.touched=!1,this.rotateLeft=function(r){e.keys[t.Keys.ROTATE_LEFT]=r,e.keys[t.Keys.ROTATE_LEFT_A]=r},this.rotateRight=function(r){e.keys[t.Keys.ROTATE_RIGHT]=r,e.keys[t.Keys.ROTATE_RIGHT_D]=r},this.thrust=function(r){e.keys[t.Keys.THRUST]=r},this.fire=function(r){e.keys[t.Keys.FIRE]=r},this.hyperspace=function(r){e.keys[t.Keys.HYPERSPACE]=r},window.onkeydown=function(t){e.keys[t.keyCode]=!0},window.onkeyup=function(t){e.keys[t.keyCode]=!1};var r=document.getElementById("game");this.mc=new n.Manager(r);var o=new n.Pan,a=new n.Tap,i=new n.Pinch({enable:!0});this.mc.add(o),this.mc.add(a,{interval:50}),this.mc.add(i),this.mc.on("panup",(function(t){e.thrust(!0)})),this.mc.on("panleft",(function(t){e.rotateLeft(!0)})),this.mc.on("panright",(function(t){e.rotateRight(!0)})),this.mc.on("panend",(function(t){e.thrust(!1),e.rotateLeft(!1),e.rotateRight(!1)})),this.mc.on("tap",(function(t){e.fire(!0),e.touched=!0})),this.mc.on("pinchout",(function(t){e.hyperspace(!0)})),this.mc.on("pinchend",(function(t){e.hyperspace(!1)}))}return e.prototype.update=function(){var e=this;Object.keys(this.keys).forEach((function(t){e.prev[t]=e.keys[t]})),this.touched&&this.fire(!1),this.touched=!this.touched},e.prototype.clear=function(){this.keys={},this.prev={}},e.prototype.isPressed=function(e){return!1===this.prev[e]&&!0===this.keys[e]},e.prototype.wasPressed=function(e){return this.prev[e]&&!this.keys[e]},e.prototype.isDown=function(e){return this.keys[e]},e.prototype.isEnterPressed=function(){return this.keys[13]},e.prototype.isRotateLeft=function(){return this.keys[t.Keys.ROTATE_LEFT]||this.keys[t.Keys.ROTATE_LEFT_A]},e.prototype.isRotateRight=function(){return this.keys[t.Keys.ROTATE_RIGHT]||this.keys[t.Keys.ROTATE_RIGHT_D]},e.prototype.isThrust=function(){return this.keys[t.Keys.THRUST]||this.keys[t.Keys.THRUST_W]},e.prototype.isFire=function(){return this.keys[t.Keys.FIRE]},e.prototype.isHyperspace=function(){return this.keys[t.Keys.HYPERSPACE]},e.prototype.wasRotateLeft=function(){return this.isPressed(t.Keys.ROTATE_LEFT)||this.isPressed(t.Keys.ROTATE_LEFT_A)},e.prototype.wasRotateRight=function(){return this.isPressed(t.Keys.ROTATE_RIGHT)||this.isPressed(t.Keys.ROTATE_RIGHT_D)},e.prototype.wasHyperspace=function(){return this.isPressed(t.Keys.HYPERSPACE)},e}();t._Key=o,t.Key=new o},55878:(e,t)=>{"use strict";function r(e,t,r,n){return 8&r?[e[0]+(t[0]-e[0])*(n[3]-e[1])/(t[1]-e[1]),n[3]]:4&r?[e[0]+(t[0]-e[0])*(n[1]-e[1])/(t[1]-e[1]),n[1]]:2&r?[n[2],e[1]+(t[1]-e[1])*(n[2]-e[0])/(t[0]-e[0])]:1&r?[n[0],e[1]+(t[1]-e[1])*(n[0]-e[0])/(t[0]-e[0])]:null}function n(e,t){var r=0;return e[0]t[2]&&(r|=2),e[1]t[3]&&(r|=8),r}Object.defineProperty(t,"__esModule",{value:!0}),t.lineclip=function(e,t,o){var a,i,s,c,u,l=e.length,d=n(e[0],t),p=[];for(o||(o=[]),a=1;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loop=void 0;var r,n=function(){var e;return(null===(e=window.performance)||void 0===e?void 0:e.now)?window.performance.now():(new Date).getTime()},o=0,a=n(),i=1/60;t.loop=function(e){!function(e){var t=function(){for(r=n(),o+=Math.min(1,(r-a)/1e3);o>i;)e.update(i),o-=i;e.render(o),a=r,requestAnimationFrame(t)};t()}(e)}},56701:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SIN=t.COS=t.RAD=void 0;var r={};t.RAD=r;var n={};t.COS=n;var o={};t.SIN=o;for(var a=Math.PI/180,i=0;i<=360;i++)r[i]=i*a,n[i]=Math.cos(r[i]),o[i]=Math.sin(r[i]),r[-i]=-i*a,n[-i]=Math.cos(r[-i]),o[-i]=Math.sin(r[-i])},53295:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Object2D=void 0;var a=r(86853),i=r(19943),s=r(56701),c=r(45513),u=function(e){function t(t,r){var n=e.call(this)||this;return n.angle=360,n.velocity=new c.Vector(0,0),n._xmin=0,n._xmax=0,n._ymin=0,n._ymax=0,n._width=0,n._height=0,n._score=0,n.origin=new c.Vector(t,r),n}return o(t,e),Object.defineProperty(t.prototype,"score",{get:function(){return this._score},set:function(e){this._score=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"points",{get:function(){return this._points},set:function(e){e.forEach((function(e){e.x*=a.OBJECT_SCALE,e.y*=a.OBJECT_SCALE})),this._points=e,this.calcBounds()},enumerable:!1,configurable:!0}),t.prototype.calcBounds=function(){var e=this;this._points.forEach((function(t){t.xe._xmax&&(e._xmax=t.x),t.ye._ymax&&(e._ymax=t.y)})),this._width=this._xmax-this._xmin,this._height=this._ymax-this._ymin},t.prototype.rotate=function(e){this.angle+=e,this.angle<1&&(this.angle+=360),this.angle>360&&(this.angle-=360);var t=s.COS[e],r=s.SIN[e];this.points.forEach((function(e){var n=t*e.x-r*e.y,o=r*e.x+t*e.y;e.x=n,e.y=o})),this.calcBounds()},t.prototype.move=function(e){e=e||1,this.origin.x+=this.velocity.x*e,this.origin.y+=this.velocity.y*e,this.origin.x>a.WIDTH&&(this.origin.x-=a.WIDTH),this.origin.x<0&&(this.origin.x+=a.WIDTH),this.origin.y>a.HEIGHT&&(this.origin.y-=a.HEIGHT),this.origin.y<0&&(this.origin.y+=a.HEIGHT)},t.prototype.scale=function(e){this.points.forEach((function(t){t.x*=e,t.y*=e})),this.calcBounds()},t.prototype.draw=function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r="rgba(255,255,255,.8)"),e.draw.vectorShape(this.points,this.origin.x,this.origin.y,r,t)},Object.defineProperty(t.prototype,"x",{get:function(){return this.origin.x+this._xmin},set:function(e){this.origin.x=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.origin.y+this._ymin},set:function(e){this.origin.y=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"vertices",{get:function(){var e=this;return this.points.map((function(t){return{x:e.origin.x+t.x,y:e.origin.y+t.y}}))},enumerable:!1,configurable:!0}),t.prototype.collided=function(e){return!!(e&&this.xe.x&&this.ye.y)},t.prototype.destroy=function(){for(var e in this.handlers)this.handlers[e]=null;this.handlers={}},t}(i.EventSource);t.Object2D=u},69741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Quadtree=void 0;var r=function(){function e(e,t,r,n){void 0===t&&(t=1),void 0===r&&(r=4),void 0===n&&(n=0),this.bounds=e,this.maxObjects=t,this.maxLevels=r,this.level=n,this.objects=[],this.nodes=[],this.width2=this.bounds.width/2,this.height2=this.bounds.height/2,this.xmid=this.bounds.x+this.width2,this.ymid=this.bounds.y+this.height2}return e.prototype.insert=function(e){var t=this;if(e){var r,n=0;if(this.nodes.length&&(r=this.getIndex(e)).length)r.forEach((function(r){t.nodes[r].insert(e)}));else if(this.objects.push(e),this.objects.length>this.maxObjects&&this.leveln;if(e.x<=r)if(o){t.push(1);var i=!1;e.x+e.width>r&&(t.push(0),i=!0),e.y+e.height>n&&(t.push(2),i&&t.push(3))}else a&&(t.push(2),e.x+e.width>r&&t.push(3));else e.x>r&&(o?(t.push(0),e.y+e.height>n&&t.push(3)):t.push(3));return t},e.prototype.split=function(){var t=this,r=Math.round(this.width2),n=Math.round(this.height2),o=Math.round(this.bounds.x),a=Math.round(this.bounds.y),i=function(o,a){return new e({x:o,y:a,width:r,height:n},t.maxObjects,t.maxLevels,t.level+1)};this.nodes=[i(o+r,a),i(o,a),i(o,a+n),i(o+r,a+n)]},e}();t.Quadtree=r},6522:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Rock=t.RockSize=void 0,t.createRocks=function(e){for(var t=[],r=Math.min(e+20,30),n=20,o=0;o0?e:360+e,Math.floor(e)},enumerable:!1,configurable:!0}),t.prototype.split=function(){switch(this.size){case a.Large:c.largeExplosion;break;case a.Medium:c.mediumExplosion;break;case a.Small:c.smallExplosion}if(this.size>a.Small){var e=(0,u.random)(this.direction,this.direction+80),r=(0,u.random)(this.direction-80,this.direction);e<0&&(e+=360),e>360&&(e-=360),r<0&&(r+=360),r>360&&(r-=360);var n=this.size===a.Large?a.Medium:a.Small,o=l.Vector.fromAngle(e),i=l.Vector.fromAngle(r),s=n===a.Medium?(0,u.random)(150,250):(0,u.random)(250,350),d=n===a.Medium?(0,u.random)(150,250):(0,u.random)(250,350);return[new t(this.origin.x,this.origin.y,o,n,s),new t(this.origin.x,this.origin.y,i,n,d)]}return[]},Object.defineProperty(t.prototype,"score",{get:function(){return this.size===a.Large?20:this.size===a.Medium?50:100},enumerable:!1,configurable:!0}),t}(s.Object2D);t.Rock=d},37532:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScoreMarker=void 0;var a=r(27280),i=function(e){function t(t,r){var n=e.call(this,t.origin.x,t.origin.y)||this;return n.text=r,n.life=1,n.velocity=t.velocity,n}return o(t,e),t.prototype.render=function(e){e.draw.text(this.text,this.origin.x,this.origin.y,50*this.life,(0,a.white)(this.life))},t.prototype.update=function(e){this.move(e),this.life-=e,this.life<=0&&this.destroy()},t.prototype.destroy=function(){this.life=0,this.trigger("expired")},t}(r(53295).Object2D);t.ScoreMarker=i},38798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Screen=void 0;var n=r(86853),o=r(27280),a=r(45110),i=function(){function e(){var e=this;this.x=0,this.y=0,this.canvas=document.getElementById("canvas"),this.ctx=this.canvas.getContext("2d"),this.draw=new o.Draw(this.ctx,this),this.init(),window.addEventListener("resize",(function(){console.log("resizing"),e.init()}))}return e.prototype.init=function(){this.canvas.width=n.WIDTH,this.canvas.height=n.HEIGHT,this.width=this.canvas.width,this.height=this.canvas.height,this.width2=this.width/2,this.height2=this.height/2,this._fontXL=48,this._fontL=24,this._fontM=18,this._fontS=10,this._objectScale=n.OBJECT_SCALE,this._pointSize=4*this._objectScale,this._shipRect=n.SHIP_RECT},Object.defineProperty(e.prototype,"font",{get:function(){var e=this;return{get xlarge(){return e._fontXL},get large(){return e._fontL},get medium(){return e._fontM},get small(){return e._fontS}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"objectScale",{get:function(){return this._objectScale},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pointSize",{get:function(){return this._pointSize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shipRect",{get:function(){return this._shipRect},enumerable:!1,configurable:!0}),e.prototype.preShake=function(){this.ctx.save();var e=10*(0,a.random)(0,1),t=10*(0,a.random)(0,1);this.ctx.translate(e,t)},e.prototype.postShake=function(){this.ctx.restore()},e}();t.Screen=i},41768:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o0&&(e.draw.shape(t.points,t.x,t.y,"rgba(255,0,255,".concat(t.alpha,")"),!0),e.draw.shape(t.points,t.x-1,t.y-1,"rgba(0,255,255,".concat(t.alpha,")"),!0),t.alpha-=.1)}))},t.prototype.update=function(e,t){this.move(e),this.flame.move(e),t.isThrust?(this.moving=!0,this.thrust()):this.moving=!1,t.wasRotateLeft&&this.rotate(-1),t.isRotateLeft&&this.rotate(-5),t.wasRotateRight&&this.rotate(1),t.isRotateRight&&this.rotate(5),t.isFire&&this.fire(),t.wasHyperspace&&this.hyperspace(),this.bulletTimer>=0&&(this.bulletTimer-=e),this.moving&&(Math.abs(this.velocity.x)>200||Math.abs(this.velocity.y)>200)?this.trails.push({points:a([],this.points,!0),x:this.origin.x,y:this.origin.y,alpha:.5}):this.trails.length=0,this.moving||(this.velocity.friction(.005),this.flame.velocity=this.velocity)},t.prototype.rotate=function(t){e.prototype.rotate.call(this,t),this.flame.rotate(t)},t.prototype.thrust=function(){var e=c.Vector.fromAngle(this.angle,.1*f);this.velocity.magnitude0&&(o=this.velocity.magnitude),o=Math.max(d,o+d),r.velocity.scale(o,o);var a=(this.angle+180)%360,i=c.Vector.fromAngle(a,5);this.origin.add(i),this.flame.origin.add(i),this.trigger("fire",r)}},t.prototype.hyperspace=function(){var e=(0,l.random)(40,i.WIDTH-40),t=(0,l.random)(40,i.HEIGHT-40);this.velocity=new c.Vector(0,0),this.flame.velocity=this.velocity,this.x=this.flame.x=e,this.y=this.flame.y=t},t.prototype.destroy=function(){this.trigger("expired")},t}(s.Object2D);t.Ship=b},80379:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Shockwave=void 0;var a=r(53295),i=r(45110),s=function(e){function t(t,r,n,o,a){void 0===a&&(a=1);var i=e.call(this,t,r)||this;return i.velocity=n,i.size=o,i.multiplier=a,i.life=1,i.frame=0,i.radius=1,i.rocks=[],i}return o(t,e),t.prototype.update=function(e){this.frame++,this.radius=this.size*(this.frame/10),this.life-=e,this.origin.x+=this.velocity.x*e,this.origin.y+=this.velocity.y*e,this.life<=.1&&(this.rocks.length=0,this.trigger("expired"))},t.prototype.render=function(e,t){if(1===this.frame){var r=this.size*(0,i.random)(25,55)/10,n=e.ctx;n.beginPath(),n.arc(this.origin.x,this.origin.y,r,0,2*Math.PI,!1),n.fillStyle="rgba(255, 255, 255, ".concat((0,i.random)(.2,.5),")"),n.fill(),n.stroke(),n.closePath(),e.draw.scanlines()}e.draw.circle(this.origin.x,this.origin.y,this.radius,"rgba(128,128,128,".concat(.3-this.frame/100,")"))},Object.defineProperty(t.prototype,"x",{get:function(){return this.origin.x-this.radius},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.origin.y-this.radius},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return 2*this.radius},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return 2*this.radius},enumerable:!1,configurable:!0}),t}(a.Object2D);t.Shockwave=s},54022:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.SlowMoTimer=void 0;var a=function(e){function t(t,r){var n=e.call(this)||this;return n.time=t,n.factor=r,n}return o(t,e),t.prototype.adjust=function(e){var t=e/this.factor;return this.time-=t,this.time<=0&&this.trigger("expired"),t},t}(r(19943).EventSource);t.SlowMoTimer=a},47202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sound=t.getPowerup=t.powerup=t.extraLife=t.thumpHi=t.thumpLo=t.smallAlien=t.largeAlien=t.smallExplosion=t.mediumExplosion=t.largeExplosion=t.alienFire=t.thrust=t.fire=t.all=void 0;var r=.5,n=!0;function o(e){var r=0,o={play:function(){},stop:function(){},volume:function(){},on:function(e,t){},off:function(){},_origVolume:0};o.on("end",(function(){e.max&&r--}));var a=o.play.bind(o);return e.max&&e.max,o.play=function(){n&&(e.max?r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Thumper=void 0;var r=function(){function e(){this.lo=!0,this.reset()}return e.prototype.reset=function(){this.thumpBeatTimer=0,this.thumpBeat=1,this.thumpTimer=0,this.thumpTime=10,this.max=!1},e.prototype.update=function(e){this.thumpTimer+=e,this.thumpBeatTimer+=e,this.thumpBeat-=2e-4,this.thumpBeat<=.15&&(this.thumpBeat=.15),this.thumpBeatTimer>=this.thumpBeat&&(this.lo,this.lo=!this.lo,this.thumpBeatTimer=0)},e}();t.Thumper=r},58925:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.random=function(e,t){return Math.floor(r*(t-e+1))+e},t.randomFloat=function(e,t){return r*(t-e)+e};var r=.8},45513:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Vector=void 0;for(var r={},n=2*Math.PI,o=0;o<=360;o++){var a=n*(o/360);r[o]={x:Math.cos(a),y:Math.sin(a)}}var i=function(){function e(e,t){this.x=e,this.y=t}return e.fromAngle=function(t,n){return void 0===n&&(n=1),new e(r[t].x*n,r[t].y*n)},e.fromXY=function(t,r,n){void 0===n&&(n=1);var o=t.x-r.x,a=t.y-r.y,i=Math.sqrt(o*o+a*a);return new e((o/=i)*n,(a/=i)*n)},e.prototype.add=function(e){this.x+=e.x,this.y+=e.y},e.prototype.copy=function(){return new e(this.x,this.y)},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.friction=function(e){this.x-=this.x*e,this.y-=this.y*e},e.prototype.scale=function(e,t){this.x*=e,this.y*=t},Object.defineProperty(e.prototype,"magnitude",{get:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},enumerable:!1,configurable:!0}),e}();t.Vector=i},64008:function(e,t,r){"use strict";var n=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o0?this.dramaticPauseTimer--:(this.shakeTimer>0&&(this.shakeTimer-=e),this.objects.forEach((function(r){r&&r.update(e,t)})))},e.prototype.render=function(e,t){this.slowMoTimer&&(t=this.slowMoTimer.adjust(t)),this.shakeTimer>0&&e.preShake(),this.objects.forEach((function(r){r&&r.render(e,t)})),this.shakeTimer>0&&e.postShake()},e.prototype.startLevel=function(){this.level++,this.levelTimer=0,this.powerupTimer=0,this.alienTimer||(this.alienTimer=(0,m.random)(10,15)),this.scenery.length=0,this.shipBullets.forEach((function(e){return e.destroy()})),this.addRocks()},e.prototype.addRocks=function(){this.rocks=(0,c.createRocks)(this.level)},e.prototype.addShip=function(e,t){var r=this;this.ship=new l.Ship(e,t),this.ship.on("fire",(function(e,t){t.on("expired",(function(){r.shipBullets=r.shipBullets.filter((function(e){return e!==t}))})),r.shipBullets.push(t)})),this.ship.on("expired",(function(){r.lives--,r.ship=null,r.shipBullets.length=0}))},e.prototype.createExplosion=function(e,t,r){var n=this;if(void 0===t&&(t=100),void 0===r&&(r=1),e){var o=new i.Explosion(e.origin.x,e.origin.y,t);h++,g.push(e.score),g.length>10&&g.pop(),h>y&&(y=h),o.on("expired",(function(){h--})),this.addScenery(o);var a=new d.Shockwave(e.origin.x,e.origin.y,e.velocity,t,r);return a.on("expired",(function(){n.shockwaves=n.shockwaves.filter((function(e){return e!==a}))})),this.shockwaves.push(a),{explosion:o,shockwave:a}}},e.prototype.setSlowMo=function(e,t){var r=this;this.slowMoTimer||(this.slowMoTimer=new p.SlowMoTimer(e,t),this.slowMoTimer.on("expired",(function(){return r.slowMoTimer=null})))},e.prototype.shipDestroyed=function(){this.ship&&(this.createExplosion(this.ship),this.addFlash(5),this.ship.destroy(),this.setSlowMo(.25,8))},e.prototype.alienDestroyed=function(){this.alien&&(this.addFlash(5),this.createExplosion(this.alien),this.alien.destroy())},e.prototype.addFlash=function(e){var t=new s.Flash(e);this.addScenery(t)},e.prototype.addScenery=function(e){var t=this;e.on("expired",(function(){t.scenery=t.scenery.filter((function(t){return t!==e}))})),this.scenery.push(e)},e.prototype.rockDestroyed=function(e,t){var r;void 0===t&&(t=1);var n=this.createExplosion(e,5*e.size,t),o=e.split();this.rocks=this.rocks.filter((function(t){return t!==e})),(r=this.rocks).push.apply(r,o),this.shockwaves.forEach((function(t){t.rocks=t.rocks.filter((function(t){return t!==e}))})),n.shockwave.rocks=o,e=null},e.prototype.addAlien=function(){var e=this,t=Math.min(this.level,14),r=!1;if(f.largeAlien,this.score>=4e4)r=!0;else switch(t){case 7:r=this.levelTimer>60&&2===(0,m.random)(1,3);break;case 8:r=this.levelTimer>30&&(0,m.random)(1,10)%2==0;break;default:r=(0,m.random)(1,10)<=t+2}r?(f.smallAlien,this.alien=new o.SmallAlien(this.ship)):this.alien=new o.BigAlien,this.alien.on("expired",(function(){e.alien=null,e.alienBullets.forEach((function(e){return e.destroy()})),e.alienBullets.length=0})),this.alien.on("fire",(function(t,r){r.on("expired",(function(){e.alienBullets=e.alienBullets.filter((function(e){return e!==r}))})),e.alienBullets.push(r)}))},e.prototype.addScore=function(e,t){console.log(e.score,t),this.score+=e.score,this.extraLifeScore+=e.score,this.extraLifeScore>=b&&(this.lives++,this.extraLifeScore-=b),this.addScenery(new u.ScoreMarker(e,"".concat(e.score)))},e.prototype.addPowerup=function(){},e.prototype.shake=function(){this.shakeTimer<=0&&(this.shakeTimer=.5)},e.prototype.tryPlaceShip=function(e){if(this.shipTimer+=e,!(this.shipTimer<=2)){var t=a.SHIP_RECT,r=!1;this.rocks.forEach((function(e){r=r||e.collided(t)})),this.alien&&(r=r||this.alien.collided(t)),r||(this.shipTimer=0,this.addShip(a.WIDTH/2,a.HEIGHT/2))}},e.prototype.updateAlienTimer=function(e){this.alien||(this.alienTimer-=e,this.alienTimer<=0&&(this.addAlien(),this.alienTimer=(0,m.random)(10,15)))},e.prototype.shouldTryToPlaceShip=function(){return!!this.shipTimer||!this.ship&&!!this.lives},e.prototype.shouldCheckForNextLevel=function(){return!this.rocks.length&&!!this.lives},e.prototype.shouldCheckCollisions=function(){return!!this.ship||!!this.shipBullets.length},e}();t.World=v},91097:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getFromStore=t.removeFromStore=t.addToStore=t.StorageKey=void 0,function(e){e.MRU_INFO="mru_info",e.GAME_ID="game_id",e.LEADERBOARD="leaderboard"}(r||(t.StorageKey=r={})),t.addToStore=function(e,t){localStorage.setItem(e,JSON.stringify(t))},t.removeFromStore=function(e){localStorage.removeItem(e)},t.getFromStore=function(e){return JSON.parse(localStorage.getItem(e)||"null")}},18260:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseError=void 0;const n=r(81656);class o extends Error{constructor(e,t={}){const r=t.cause instanceof o?t.cause.details:t.cause?.message?t.cause.message:t.details,a=t.cause instanceof o&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...a?[`Docs: https://abitype.dev${a}`]:[],...r?[`Details: ${r}`]:[],`Version: abitype@${n.version}`].join("\n")),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),t.cause&&(this.cause=t.cause),this.details=r,this.docsPath=a,this.metaMessages=t.metaMessages,this.shortMessage=e}}t.BaseError=o},76524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircularReferenceError=t.InvalidParenthesisError=t.UnknownSignatureError=t.InvalidSignatureError=t.InvalidStructSignatureError=t.InvalidAbiParameterError=t.InvalidAbiParametersError=t.InvalidParameterError=t.SolidityProtectedKeywordError=t.InvalidModifierError=t.InvalidFunctionModifierError=t.InvalidAbiTypeParameterError=t.UnknownSolidityTypeError=t.InvalidAbiItemError=t.UnknownTypeError=t.parseAbiParameters=t.parseAbiParameter=t.parseAbiItem=t.parseAbi=t.formatAbiParameters=t.formatAbiParameter=t.formatAbiItem=t.formatAbi=t.narrow=t.BaseError=void 0;var n=r(10821);Object.defineProperty(t,"BaseError",{enumerable:!0,get:function(){return n.BaseError}});var o=r(75617);Object.defineProperty(t,"narrow",{enumerable:!0,get:function(){return o.narrow}});var a=r(39150);Object.defineProperty(t,"formatAbi",{enumerable:!0,get:function(){return a.formatAbi}});var i=r(97905);Object.defineProperty(t,"formatAbiItem",{enumerable:!0,get:function(){return i.formatAbiItem}});var s=r(17087);Object.defineProperty(t,"formatAbiParameter",{enumerable:!0,get:function(){return s.formatAbiParameter}});var c=r(72026);Object.defineProperty(t,"formatAbiParameters",{enumerable:!0,get:function(){return c.formatAbiParameters}});var u=r(34178);Object.defineProperty(t,"parseAbi",{enumerable:!0,get:function(){return u.parseAbi}});var l=r(47341);Object.defineProperty(t,"parseAbiItem",{enumerable:!0,get:function(){return l.parseAbiItem}});var d=r(15195);Object.defineProperty(t,"parseAbiParameter",{enumerable:!0,get:function(){return d.parseAbiParameter}});var p=r(47054);Object.defineProperty(t,"parseAbiParameters",{enumerable:!0,get:function(){return p.parseAbiParameters}});var f=r(53200);Object.defineProperty(t,"UnknownTypeError",{enumerable:!0,get:function(){return f.UnknownTypeError}}),Object.defineProperty(t,"InvalidAbiItemError",{enumerable:!0,get:function(){return f.InvalidAbiItemError}}),Object.defineProperty(t,"UnknownSolidityTypeError",{enumerable:!0,get:function(){return f.UnknownSolidityTypeError}});var m=r(6992);Object.defineProperty(t,"InvalidAbiTypeParameterError",{enumerable:!0,get:function(){return m.InvalidAbiTypeParameterError}}),Object.defineProperty(t,"InvalidFunctionModifierError",{enumerable:!0,get:function(){return m.InvalidFunctionModifierError}}),Object.defineProperty(t,"InvalidModifierError",{enumerable:!0,get:function(){return m.InvalidModifierError}}),Object.defineProperty(t,"SolidityProtectedKeywordError",{enumerable:!0,get:function(){return m.SolidityProtectedKeywordError}}),Object.defineProperty(t,"InvalidParameterError",{enumerable:!0,get:function(){return m.InvalidParameterError}}),Object.defineProperty(t,"InvalidAbiParametersError",{enumerable:!0,get:function(){return m.InvalidAbiParametersError}}),Object.defineProperty(t,"InvalidAbiParameterError",{enumerable:!0,get:function(){return m.InvalidAbiParameterError}});var b=r(61923);Object.defineProperty(t,"InvalidStructSignatureError",{enumerable:!0,get:function(){return b.InvalidStructSignatureError}}),Object.defineProperty(t,"InvalidSignatureError",{enumerable:!0,get:function(){return b.InvalidSignatureError}}),Object.defineProperty(t,"UnknownSignatureError",{enumerable:!0,get:function(){return b.UnknownSignatureError}});var h=r(39361);Object.defineProperty(t,"InvalidParenthesisError",{enumerable:!0,get:function(){return h.InvalidParenthesisError}});var y=r(17872);Object.defineProperty(t,"CircularReferenceError",{enumerable:!0,get:function(){return y.CircularReferenceError}})},53200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownSolidityTypeError=t.UnknownTypeError=t.InvalidAbiItemError=void 0;const n=r(10821);class o extends n.BaseError{constructor({signature:e}){super("Failed to parse ABI item.",{details:`parseAbiItem(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiitem-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiItemError"})}}t.InvalidAbiItemError=o;class a extends n.BaseError{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}t.UnknownTypeError=a;class i extends n.BaseError{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}t.UnknownSolidityTypeError=i},6992:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidAbiTypeParameterError=t.InvalidFunctionModifierError=t.InvalidModifierError=t.SolidityProtectedKeywordError=t.InvalidParameterError=t.InvalidAbiParametersError=t.InvalidAbiParameterError=void 0;const n=r(10821);class o extends n.BaseError{constructor({param:e}){super("Failed to parse ABI parameter.",{details:`parseAbiParameter(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiparameter-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParameterError"})}}t.InvalidAbiParameterError=o;class a extends n.BaseError{constructor({params:e}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}t.InvalidAbiParametersError=a;class i extends n.BaseError{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}t.InvalidParameterError=i;class s extends n.BaseError{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}t.SolidityProtectedKeywordError=s;class c extends n.BaseError{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}t.InvalidModifierError=c;class u extends n.BaseError{constructor({param:e,type:t,modifier:r}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${r}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}t.InvalidFunctionModifierError=u;class l extends n.BaseError{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}t.InvalidAbiTypeParameterError=l},61923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidStructSignatureError=t.UnknownSignatureError=t.InvalidSignatureError=void 0;const n=r(10821);class o extends n.BaseError{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}t.InvalidSignatureError=o;class a extends n.BaseError{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}t.UnknownSignatureError=a;class i extends n.BaseError{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}t.InvalidStructSignatureError=i},39361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidParenthesisError=void 0;const n=r(10821);class o extends n.BaseError{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}t.InvalidParenthesisError=o},17872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircularReferenceError=void 0;const n=r(10821);class o extends n.BaseError{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}t.CircularReferenceError=o},39150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAbi=function(e){const t=[],r=e.length;for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAbiItem=function(e){return"function"===e.type?`function ${e.name}(${(0,n.formatAbiParameters)(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs.length?` returns (${(0,n.formatAbiParameters)(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${(0,n.formatAbiParameters)(e.inputs)})`:"error"===e.type?`error ${e.name}(${(0,n.formatAbiParameters)(e.inputs)})`:"constructor"===e.type?`constructor(${(0,n.formatAbiParameters)(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?"fallback()":"receive() external payable"};const n=r(72026)},17087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAbiParameter=function e(t){let r=t.type;if(o.test(t.type)&&"components"in t){r="(";const a=t.components.length;for(let n=0;n(\[(\d*)\])*)$/},72026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAbiParameters=function(e){let t="";const r=e.length;for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAbi=function(e){const t=(0,o.parseStructs)(e),r=[],i=e.length;for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAbiItem=function(e){let t;if("string"==typeof e)t=(0,i.parseSignature)(e);else{const r=(0,a.parseStructs)(e),n=e.length;for(let a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAbiParameter=function(e){let t;if("string"==typeof e)t=(0,i.parseAbiParameter)(e,{modifiers:o.modifiers});else{const r=(0,a.parseStructs)(e),n=e.length;for(let a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAbiParameters=function(e){const t=[];if("string"==typeof e){const r=(0,i.splitParameters)(e),n=r.length;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parameterCache=void 0,t.getParameterCacheKey=function(e,t){return t?`${t}:${e}`:e},t.parameterCache=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]])},6303:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.functionModifiers=t.eventModifiers=t.modifiers=void 0,t.isErrorSignature=function(e){return o.test(e)},t.execErrorSignature=function(e){return(0,n.execTyped)(o,e)},t.isEventSignature=function(e){return a.test(e)},t.execEventSignature=function(e){return(0,n.execTyped)(a,e)},t.isFunctionSignature=function(e){return i.test(e)},t.execFunctionSignature=function(e){return(0,n.execTyped)(i,e)},t.isStructSignature=function(e){return s.test(e)},t.execStructSignature=function(e){return(0,n.execTyped)(s,e)},t.isConstructorSignature=function(e){return c.test(e)},t.execConstructorSignature=function(e){return(0,n.execTyped)(c,e)},t.isFallbackSignature=function(e){return u.test(e)},t.isReceiveSignature=function(e){return l.test(e)};const n=r(48651),o=/^error (?[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)$/,a=/^event (?[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)$/,i=/^function (?[a-zA-Z$_][a-zA-Z0-9$_]*)\((?.*?)\)(?: (?external|public{1}))?(?: (?pure|view|nonpayable|payable{1}))?(?: returns\s?\((?.*?)\))?$/,s=/^struct (?[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?.*?)\}$/,c=/^constructor\((?.*?)\)(?:\s(?payable{1}))?$/,u=/^fallback\(\) external(?:\s(?payable{1}))?$/,l=/^receive\(\) external payable$/;t.modifiers=new Set(["memory","indexed","storage","calldata"]),t.eventModifiers=new Set(["indexed"]),t.functionModifiers=new Set(["calldata","memory","storage"])},85324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStructs=function(e){const t={},r=e.length;for(let n=0;n[a-zA-Z$_][a-zA-Z0-9$_]*)(?(?:\[\d*?\])+?)?$/;function d(e,t,r=new Set){const i=[],c=e.length;for(let p=0;p{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseSignature=function(e,t={}){if((0,u.isFunctionSignature)(e)){const r=(0,u.execFunctionSignature)(e);if(!r)throw new i.InvalidSignatureError({signature:e,type:"function"});const n=m(r.parameters),o=[],a=n.length;for(let e=0;e[a-zA-Z$_][a-zA-Z0-9$_]*)(?(?:\[\d*?\])+?)?(?:\s(?calldata|indexed|memory|storage{1}))?(?:\s(?[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,d=/^\((?.+?)\)(?(?:\[\d*?\])+?)?(?:\s(?calldata|indexed|memory|storage{1}))?(?:\s(?[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,p=/^u?int$/;function f(e,t){const r=(0,c.getParameterCacheKey)(e,t?.type);if(c.parameterCache.has(r))return c.parameterCache.get(r);const i=n.isTupleRegex.test(e),s=(0,n.execTyped)(i?d:l,e);if(!s)throw new a.InvalidParameterError({param:e});if(s.name&&y(s.name))throw new a.SolidityProtectedKeywordError({param:e,name:s.name});const h=s.name?{name:s.name}:{},v="indexed"===s.modifier?{indexed:!0}:{},x=t?.structs??{};let E,w={};if(i){E="tuple";const e=m(s.type),t=[],r=e.length;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.narrow=function(e){return e}},48651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTupleRegex=t.integerRegex=t.bytesRegex=void 0,t.execTyped=function(e,t){const r=e.exec(t);return r?.groups},t.bytesRegex=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,t.integerRegex=/^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)?$/,t.isTupleRegex=/^\(.+?\).*?$/},81656:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="1.0.5"},39006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAccount=function(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}},17911:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publicKeyToAddress=function(e){const t=(0,o.keccak256)(`0x${e.substring(4)}`).substring(26);return(0,n.checksumAddress)(`0x${t}`)};const n=r(78728),o=r(23625)},34096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnsAddress=async function(e,{blockNumber:t,blockTag:r,coinType:m,name:b,gatewayUrls:h,strict:y,universalResolverAddress:g}){let v=g;if(!v){if(!e.chain)throw new Error("client chain not configured. universalResolverAddress is required.");v=(0,i.getChainContractAddress)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}try{const i=(0,a.encodeFunctionData)({abi:n.addressResolverAbi,functionName:"addr",...null!=m?{args:[(0,l.namehash)(b),BigInt(m)]}:{args:[(0,l.namehash)(b)]}}),u={address:v,abi:n.universalResolverResolveAbi,functionName:"resolve",args:[(0,c.toHex)((0,d.packetToBytes)(b)),i],blockNumber:t,blockTag:r},y=(0,p.getAction)(e,f.readContract,"readContract"),g=h?await y({...u,args:[...u.args,h]}):await y(u);if("0x"===g[0])return null;const x=(0,o.decodeFunctionResult)({abi:n.addressResolverAbi,args:null!=m?[(0,l.namehash)(b),BigInt(m)]:void 0,functionName:"addr",data:g[0]});return"0x"===x||"0x00"===(0,s.trim)(x)?null:x}catch(e){if(y)throw e;if((0,u.isNullUniversalResolverError)(e,"resolve"))return null;throw e}};const n=r(73302),o=r(17541),a=r(76144),i=r(93454),s=r(7488),c=r(90985),u=r(25971),l=r(64931),d=r(10846),p=r(6207),f=r(15275)},72899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnsAvatar=async function(e,{blockNumber:t,blockTag:r,assetGatewayUrls:i,name:s,gatewayUrls:c,strict:u,universalResolverAddress:l}){const d=await(0,o.getAction)(e,a.getEnsText,"getEnsText")({blockNumber:t,blockTag:r,key:"avatar",name:s,universalResolverAddress:l,gatewayUrls:c,strict:u});if(!d)return null;try{return await(0,n.parseAvatarRecord)(e,{record:d,gatewayUrls:i})}catch{return null}};const n=r(96545),o=r(6207),a=r(3433)},54401:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnsName=async function(e,{address:t,blockNumber:r,blockTag:l,gatewayUrls:d,strict:p,universalResolverAddress:f}){let m=f;if(!m){if(!e.chain)throw new Error("client chain not configured. universalResolverAddress is required.");m=(0,o.getChainContractAddress)({blockNumber:r,chain:e.chain,contract:"ensUniversalResolver"})}const b=`${t.toLowerCase().substring(2)}.addr.reverse`;try{const o={address:m,abi:n.universalResolverReverseAbi,functionName:"reverse",args:[(0,a.toHex)((0,s.packetToBytes)(b))],blockNumber:r,blockTag:l},i=(0,c.getAction)(e,u.readContract,"readContract"),[p,f]=d?await i({...o,args:[...o.args,d]}):await i(o);return t.toLowerCase()!==f.toLowerCase()?null:p}catch(e){if(p)throw e;if((0,i.isNullUniversalResolverError)(e,"reverse"))return null;throw e}};const n=r(73302),o=r(93454),a=r(90985),i=r(25971),s=r(10846),c=r(6207),u=r(15275)},67112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnsResolver=async function(e,{blockNumber:t,blockTag:r,name:c,universalResolverAddress:u}){let l=u;if(!l){if(!e.chain)throw new Error("client chain not configured. universalResolverAddress is required.");l=(0,n.getChainContractAddress)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}const[d]=await(0,i.getAction)(e,s.readContract,"readContract")({address:l,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[(0,o.toHex)((0,a.packetToBytes)(c))],blockNumber:t,blockTag:r});return d};const n=r(93454),o=r(90985),a=r(10846),i=r(6207),s=r(15275)},3433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnsText=async function(e,{blockNumber:t,blockTag:r,name:f,key:m,gatewayUrls:b,strict:h,universalResolverAddress:y}){let g=y;if(!g){if(!e.chain)throw new Error("client chain not configured. universalResolverAddress is required.");g=(0,i.getChainContractAddress)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}try{const i={address:g,abi:n.universalResolverResolveAbi,functionName:"resolve",args:[(0,s.toHex)((0,l.packetToBytes)(f)),(0,a.encodeFunctionData)({abi:n.textResolverAbi,functionName:"text",args:[(0,u.namehash)(f),m]})],blockNumber:t,blockTag:r},c=(0,d.getAction)(e,p.readContract,"readContract"),h=b?await c({...i,args:[...i.args,b]}):await c(i);if("0x"===h[0])return null;const y=(0,o.decodeFunctionResult)({abi:n.textResolverAbi,functionName:"text",data:h[0]});return""===y?null:y}catch(e){if(h)throw e;if((0,c.isNullUniversalResolverError)(e,"resolve"))return null;throw e}};const n=r(73302),o=r(17541),a=r(76144),i=r(93454),s=r(90985),c=r(25971),u=r(64931),l=r(10846),d=r(6207),p=r(15275)},51877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContract=function({abi:e,address:t,client:r}){const f=r,[m,b]=f?"public"in f&&"wallet"in f?[f.public,f.wallet]:"public"in f?[f.public,void 0]:"wallet"in f?[void 0,f.wallet]:[f,f]:[void 0,void 0],h=null!=m,y=null!=b,g={};let v=!1,x=!1,E=!1;for(const t of e)if("function"===t.type?"view"===t.stateMutability||"pure"===t.stateMutability?v=!0:x=!0:"event"===t.type&&(E=!0),v&&x&&E)break;return h&&(v&&(g.read=new Proxy({},{get:(r,o)=>(...r)=>{const{args:a,options:i}=d(r);return(0,n.getAction)(m,s.readContract,"readContract")({abi:e,address:t,functionName:o,args:a,...i})}})),x&&(g.simulate=new Proxy({},{get:(r,o)=>(...r)=>{const{args:a,options:i}=d(r);return(0,n.getAction)(m,c.simulateContract,"simulateContract")({abi:e,address:t,functionName:o,args:a,...i})}})),E&&(g.createEventFilter=new Proxy({},{get:(r,a)=>(...r)=>{const i=e.find((e=>"event"===e.type&&e.name===a)),{args:s,options:c}=p(r,i);return(0,n.getAction)(m,o.createContractEventFilter,"createContractEventFilter")({abi:e,address:t,eventName:a,args:s,...c})}}),g.getEvents=new Proxy({},{get:(r,o)=>(...r)=>{const a=e.find((e=>"event"===e.type&&e.name===o)),{args:s,options:c}=p(r,a);return(0,n.getAction)(m,i.getContractEvents,"getContractEvents")({abi:e,address:t,eventName:o,args:s,...c})}}),g.watchEvent=new Proxy({},{get:(r,o)=>(...r)=>{const a=e.find((e=>"event"===e.type&&e.name===o)),{args:i,options:s}=p(r,a);return(0,n.getAction)(m,u.watchContractEvent,"watchContractEvent")({abi:e,address:t,eventName:o,args:i,...s})}}))),y&&x&&(g.write=new Proxy({},{get:(r,o)=>(...r)=>{const{args:a,options:i}=d(r);return(0,n.getAction)(b,l.writeContract,"writeContract")({abi:e,address:t,functionName:o,args:a,...i})}})),(h||y)&&x&&(g.estimateGas=new Proxy({},{get:(r,o)=>(...r)=>{const{args:i,options:s}=d(r),c=m??b;return(0,n.getAction)(c,a.estimateContractGas,"estimateContractGas")({abi:e,address:t,functionName:o,args:i,...s,account:s.account??b.account})}})),g.address=t,g.abi=e,g},t.getFunctionParameters=d,t.getEventParameters=p;const n=r(6207),o=r(52349),a=r(65304),i=r(27962),s=r(15275),c=r(56705),u=r(8714),l=r(46160);function d(e){const t=e.length&&Array.isArray(e[0]);return{args:t?e[0]:[],options:(t?e[1]:e[0])??{}}}function p(e,t){let r=!1;return Array.isArray(e[0])?r=!0:1===e.length?r=t.inputs.some((e=>e.indexed)):2===e.length&&(r=!0),{args:r?e[0]:void 0,options:(r?e[1]:e[0])??{}}}},37141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=async function(e,t){const{account:P=e.account,batch:T=Boolean(e.batch?.multicall),blockNumber:k,blockTag:O="latest",accessList:C,blobs:j,code:_,data:A,factory:S,factoryData:B,gas:I,gasPrice:M,maxFeePerBlobGas:F,maxFeePerGas:R,maxPriorityFeePerGas:U,nonce:N,to:H,value:z,stateOverride:D,...L}=t,$=P?(0,o.parseAccount)(P):void 0;if(_&&(S||B))throw new c.BaseError("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(_&&H)throw new c.BaseError("Cannot provide both `code` & `to` as parameters.");const q=_&&A,G=S&&B&&H&&A,V=q||G,K=q?function(e){const{code:t,data:r}=e;return(0,p.encodeDeployData)({abi:(0,n.parseAbi)(["constructor(bytes, bytes)"]),bytecode:s.deploylessCallViaBytecodeBytecode,args:[t,r]})}({code:_,data:A}):G?function(e){const{data:t,factory:r,factoryData:o,to:a}=e;return(0,p.encodeDeployData)({abi:(0,n.parseAbi)(["constructor(address, bytes, address, bytes)"]),bytecode:s.deploylessCallViaFactoryBytecode,args:[a,t,r,o]})}({data:A,factory:S,factoryData:B,to:H}):A;try{(0,E.assertRequest)(t);const r=(k?(0,b.numberToHex)(k):void 0)||O,n=(0,x.serializeStateOverride)(D),o=e.chain?.formatters?.transactionRequest?.format,s=(o||g.formatTransactionRequest)({...(0,y.extract)(L,{format:o}),from:$?.address,accessList:C,blobs:j,data:K,gas:I,gasPrice:M,maxFeePerBlobGas:F,maxFeePerGas:R,maxPriorityFeePerGas:U,nonce:N,to:V?void 0:H,value:z});if(T&&function({request:e}){const{data:t,to:r,...n}=e;return!(!t||t.startsWith(i.aggregate3Signature)||!r||Object.values(n).filter((e=>void 0!==e)).length>0)}({request:s})&&!n)try{return await async function(e,t){const{batchSize:r=1024,wait:n=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:o,blockTag:i="latest",data:s,multicallAddress:c,to:p}=t;let h=c;if(!h){if(!e.chain)throw new u.ClientChainNotConfiguredError;h=(0,m.getChainContractAddress)({blockNumber:o,chain:e.chain,contract:"multicall3"})}const y=(o?(0,b.numberToHex)(o):void 0)||i,{schedule:g}=(0,v.createBatchScheduler)({id:`${e.uid}.${y}`,wait:n,shouldSplitBatch(e){const t=e.reduce(((e,{data:t})=>e+(t.length-2)),0);return t>2*r},fn:async t=>{const r=t.map((e=>({allowFailure:!0,callData:e.data,target:e.to}))),n=(0,f.encodeFunctionData)({abi:a.multicall3Abi,args:[r],functionName:"aggregate3"}),o=await e.request({method:"eth_call",params:[{data:n,to:h},y]});return(0,d.decodeFunctionResult)({abi:a.multicall3Abi,args:[r],functionName:"aggregate3",data:o||"0x"})}}),[{returnData:x,success:E}]=await g({data:s,to:p});if(!E)throw new l.RawContractError({data:x});return"0x"===x?{data:void 0}:{data:x}}(e,{...s,blockNumber:k,blockTag:O})}catch(e){if(!(e instanceof u.ClientChainNotConfiguredError||e instanceof u.ChainDoesNotSupportContract))throw e}const c=await e.request({method:"eth_call",params:n?[s,r,n]:[s,r]});return"0x"===c?{data:void 0}:{data:c}}catch(n){const o=w(n),{offchainLookup:a,offchainLookupSignature:i}=await Promise.resolve().then((()=>r(45678)));if(!1!==e.ccipRead&&o?.slice(0,10)===i&&H)return{data:await a(e,{data:o,to:H})};if(V&&"0x101bb98d"===o?.slice(0,10))throw new l.CounterfactualDeploymentFailedError({factory:S});throw(0,h.getCallError)(n,{...t,account:$,chain:e.chain})}},t.getRevertErrorData=w;const n=r(76524),o=r(39006),a=r(73302),i=r(27435),s=r(66590),c=r(6246),u=r(94698),l=r(87677),d=r(17541),p=r(4687),f=r(76144),m=r(93454),b=r(90985),h=r(71403),y=r(10796),g=r(44712),v=r(85290),x=r(120),E=r(54969);function w(e){if(!(e instanceof c.BaseError))return;const t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}},96194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockFilter=async function(e){const t=(0,n.createFilterRequestScope)(e,{method:"eth_newBlockFilter"}),r=await e.request({method:"eth_newBlockFilter"});return{id:r,request:t(r),type:"block"}};const n=r(83044)},52349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createContractEventFilter=async function(e,t){const{address:r,abi:i,args:s,eventName:c,fromBlock:u,strict:l,toBlock:d}=t,p=(0,a.createFilterRequestScope)(e,{method:"eth_newFilter"}),f=c?(0,n.encodeEventTopics)({abi:i,args:s,eventName:c}):void 0,m=await e.request({method:"eth_newFilter",params:[{address:r,fromBlock:"bigint"==typeof u?(0,o.numberToHex)(u):u,toBlock:"bigint"==typeof d?(0,o.numberToHex)(d):d,topics:f}]});return{abi:i,args:s,eventName:c,id:m,request:p(m),strict:Boolean(l),type:"event"}};const n=r(378),o=r(90985),a=r(83044)},73383:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEventFilter=async function(e,{address:t,args:r,event:i,events:s,fromBlock:c,strict:u,toBlock:l}={}){const d=s??(i?[i]:void 0),p=(0,a.createFilterRequestScope)(e,{method:"eth_newFilter"});let f=[];if(d){const e=d.flatMap((e=>(0,n.encodeEventTopics)({abi:[e],eventName:e.name,args:r})));f=[e],i&&(f=f[0])}const m=await e.request({method:"eth_newFilter",params:[{address:t,fromBlock:"bigint"==typeof c?(0,o.numberToHex)(c):c,toBlock:"bigint"==typeof l?(0,o.numberToHex)(l):l,...f.length?{topics:f}:{}}]});return{abi:d,args:r,eventName:i?i.name:void 0,fromBlock:c,id:m,request:p(m),strict:Boolean(u),toBlock:l,type:"event"}};const n=r(378),o=r(90985),a=r(83044)},9358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPendingTransactionFilter=async function(e){const t=(0,n.createFilterRequestScope)(e,{method:"eth_newPendingTransactionFilter"}),r=await e.request({method:"eth_newPendingTransactionFilter"});return{id:r,request:t(r),type:"transaction"}};const n=r(83044)},65304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.estimateContractGas=async function(e,t){const{abi:r,address:c,args:u,functionName:l,...d}=t,p=(0,o.encodeFunctionData)({abi:r,args:u,functionName:l});try{return await(0,i.getAction)(e,s.estimateGas,"estimateGas")({data:p,to:c,...d})}catch(e){const t=d.account?(0,n.parseAccount)(d.account):void 0;throw(0,a.getContractError)(e,{abi:r,address:c,args:u,docsPath:"/docs/contract/estimateContractGas",functionName:l,sender:t?.address})}};const n=r(39006),o=r(76144),a=r(56173),i=r(6207),s=r(4678)},58470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.estimateFeesPerGas=async function(e,t){return c(e,t)},t.internal_estimateFeesPerGas=c;const n=r(29143),o=r(6207),a=r(54313),i=r(85364),s=r(15651);async function c(e,t){const{block:r,chain:c=e.chain,request:u,type:l="eip1559"}=t||{},d=await(async()=>"function"==typeof c?.fees?.baseFeeMultiplier?c.fees.baseFeeMultiplier({block:r,client:e,request:u}):c?.fees?.baseFeeMultiplier??1.2)();if(d<1)throw new n.BaseFeeScalarError;const p=10**(d.toString().split(".")[1]?.length??0),f=e=>e*BigInt(Math.ceil(d*p))/BigInt(p),m=r||await(0,o.getAction)(e,i.getBlock,"getBlock")({});if("function"==typeof c?.fees?.estimateFeesPerGas){const t=await c.fees.estimateFeesPerGas({block:r,client:e,multiply:f,request:u,type:l});if(null!==t)return t}if("eip1559"===l){if("bigint"!=typeof m.baseFeePerGas)throw new n.Eip1559FeesNotSupportedError;const t="bigint"==typeof u?.maxPriorityFeePerGas?u.maxPriorityFeePerGas:await(0,a.internal_estimateMaxPriorityFeePerGas)(e,{block:m,chain:c,request:u}),r=f(m.baseFeePerGas);return{maxFeePerGas:u?.maxFeePerGas??r+t,maxPriorityFeePerGas:t}}return{gasPrice:u?.gasPrice??f(await(0,o.getAction)(e,s.getGasPrice,"getGasPrice")({}))}}},4678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.estimateGas=async function(e,t){const r=t.account??e.account,d=r?(0,n.parseAccount)(r):void 0;try{const{accessList:r,blobs:n,blobVersionedHashes:a,blockNumber:p,blockTag:f,data:m,gas:b,gasPrice:h,maxFeePerBlobGas:y,maxFeePerGas:g,maxPriorityFeePerGas:v,nonce:x,to:E,value:w,stateOverride:P,...T}=await(0,l.prepareTransactionRequest)(e,{...t,parameters:"local"===d?.type?void 0:["blobVersionedHashes"]}),k=(p?(0,o.numberToHex)(p):void 0)||f,O=(0,c.serializeStateOverride)(P);(0,u.assertRequest)(t);const C=e.chain?.formatters?.transactionRequest?.format,j=(C||s.formatTransactionRequest)({...(0,i.extract)(T,{format:C}),from:d?.address,accessList:r,blobs:n,blobVersionedHashes:a,data:m,gas:b,gasPrice:h,maxFeePerBlobGas:y,maxFeePerGas:g,maxPriorityFeePerGas:v,nonce:x,to:E,value:w}),_=await e.request({method:"eth_estimateGas",params:O?[j,k??"latest",O]:k?[j,k]:[j]});return BigInt(_)}catch(r){throw(0,a.getEstimateGasError)(r,{...t,account:d,chain:e.chain})}};const n=r(39006),o=r(90985),a=r(93642),i=r(10796),s=r(44712),c=r(120),u=r(54969),l=r(28807)},54313:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.estimateMaxPriorityFeePerGas=async function(e,t){return c(e,t)},t.internal_estimateMaxPriorityFeePerGas=c;const n=r(29143),o=r(70294),a=r(6207),i=r(85364),s=r(15651);async function c(e,t){const{block:r,chain:c=e.chain,request:u}=t||{};if("function"==typeof c?.fees?.defaultPriorityFee){const t=r||await(0,a.getAction)(e,i.getBlock,"getBlock")({});return c.fees.defaultPriorityFee({block:t,client:e,request:u})}if(void 0!==c?.fees?.defaultPriorityFee)return c?.fees?.defaultPriorityFee;try{const t=await e.request({method:"eth_maxPriorityFeePerGas"});return(0,o.hexToBigInt)(t)}catch{const[t,o]=await Promise.all([r?Promise.resolve(r):(0,a.getAction)(e,i.getBlock,"getBlock")({}),(0,a.getAction)(e,s.getGasPrice,"getGasPrice")({})]);if("bigint"!=typeof t.baseFeePerGas)throw new n.Eip1559FeesNotSupportedError;const c=o-t.baseFeePerGas;return c<0n?0n:c}}},97609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBalance=async function(e,{address:t,blockNumber:r,blockTag:o="latest"}){const a=r?(0,n.numberToHex)(r):void 0,i=await e.request({method:"eth_getBalance",params:[t,a||o]});return BigInt(i)};const n=r(90985)},97403:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBlobBaseFee=async function(e){const t=await e.request({method:"eth_blobBaseFee"});return BigInt(t)}},85364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBlock=async function(e,{blockHash:t,blockNumber:r,blockTag:i,includeTransactions:s}={}){const c=i??"latest",u=s??!1,l=void 0!==r?(0,o.numberToHex)(r):void 0;let d=null;if(d=t?await e.request({method:"eth_getBlockByHash",params:[t,u]},{dedupe:!0}):await e.request({method:"eth_getBlockByNumber",params:[l||c,u]},{dedupe:Boolean(l)}),!d)throw new n.BlockNotFoundError({blockHash:t,blockNumber:r});return(e.chain?.formatters?.block?.format||a.formatBlock)(d)};const n=r(39642),o=r(90985),a=r(78900)},65729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockNumberCache=function(e){return(0,n.getCache)(o(e))},t.getBlockNumber=async function(e,{cacheTime:t=e.cacheTime}={}){const r=await(0,n.withCache)((()=>e.request({method:"eth_blockNumber"})),{cacheKey:o(e.uid),cacheTime:t});return BigInt(r)};const n=r(31861),o=e=>`blockNumber.${e}`},52071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockTransactionCount=async function(e,{blockHash:t,blockNumber:r,blockTag:a="latest"}={}){const i=void 0!==r?(0,o.numberToHex)(r):void 0;let s;return s=t?await e.request({method:"eth_getBlockTransactionCountByHash",params:[t]},{dedupe:!0}):await e.request({method:"eth_getBlockTransactionCountByNumber",params:[i||a]},{dedupe:Boolean(i)}),(0,n.hexToNumber)(s)};const n=r(70294),o=r(90985)},1093:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChainId=async function(e){const t=await e.request({method:"eth_chainId"},{dedupe:!0});return(0,n.hexToNumber)(t)};const n=r(70294)},51980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCode=async function(e,{address:t,blockNumber:r,blockTag:o="latest"}){const a=void 0!==r?(0,n.numberToHex)(r):void 0,i=await e.request({method:"eth_getCode",params:[t,a||o]},{dedupe:Boolean(a)});return"0x"===i?void 0:i};const n=r(90985)},27962:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContractEvents=async function(e,t){const{abi:r,address:i,args:s,blockHash:c,eventName:u,fromBlock:l,toBlock:d,strict:p}=t,f=u?(0,n.getAbiItem)({abi:r,name:u}):void 0,m=f?void 0:r.filter((e=>"event"===e.type));return(0,o.getAction)(e,a.getLogs,"getLogs")({address:i,args:s,blockHash:c,event:f,events:m,fromBlock:l,toBlock:d,strict:p})};const n=r(60775),o=r(6207),a=r(99914)},90405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEip712Domain=async function(e,t){const{address:r,factory:s,factoryData:c}=t;try{const[t,n,u,l,d,p,f]=await(0,o.getAction)(e,a.readContract,"readContract")({abi:i,address:r,functionName:"eip712Domain",factory:s,factoryData:c});return{domain:{name:n,version:u,chainId:Number(l),verifyingContract:d,salt:p},extensions:f,fields:t}}catch(e){const t=e;if("ContractFunctionExecutionError"===t.name&&"ContractFunctionZeroDataError"===t.cause.name)throw new n.Eip712DomainNotFoundError({address:r});throw t}};const n=r(35339),o=r(6207),a=r(15275),i=[{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}]},96589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeeHistory=async function(e,{blockCount:t,blockNumber:r,blockTag:a="latest",rewardPercentiles:i}){const s=r?(0,n.numberToHex)(r):void 0,c=await e.request({method:"eth_feeHistory",params:[(0,n.numberToHex)(t),s||a,i]},{dedupe:Boolean(s)});return(0,o.formatFeeHistory)(c)};const n=r(90985),o=r(5549)},3590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFilterChanges=async function(e,{filter:t}){const r="strict"in t&&t.strict,a=await t.request({method:"eth_getFilterChanges",params:[t.id]});if("string"==typeof a[0])return a;const i=a.map((e=>(0,o.formatLog)(e)));return"abi"in t&&t.abi?(0,n.parseEventLogs)({abi:t.abi,logs:i,strict:r}):i};const n=r(48),o=r(10095)},1716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFilterLogs=async function(e,{filter:t}){const r=t.strict??!1,a=(await t.request({method:"eth_getFilterLogs",params:[t.id]})).map((e=>(0,o.formatLog)(e)));return t.abi?(0,n.parseEventLogs)({abi:t.abi,logs:a,strict:r}):a};const n=r(48),o=r(10095)},15651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGasPrice=async function(e){const t=await e.request({method:"eth_gasPrice"});return BigInt(t)}},99914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLogs=async function(e,{address:t,blockHash:r,fromBlock:s,toBlock:c,event:u,events:l,args:d,strict:p}={}){const f=p??!1,m=l??(u?[u]:void 0);let b,h=[];if(m){const e=m.flatMap((e=>(0,n.encodeEventTopics)({abi:[e],eventName:e.name,args:l?void 0:d})));h=[e],u&&(h=h[0])}b=r?await e.request({method:"eth_getLogs",params:[{address:t,topics:h,blockHash:r}]}):await e.request({method:"eth_getLogs",params:[{address:t,topics:h,fromBlock:"bigint"==typeof s?(0,a.numberToHex)(s):s,toBlock:"bigint"==typeof c?(0,a.numberToHex)(c):c}]});const y=b.map((e=>(0,i.formatLog)(e)));return m?(0,o.parseEventLogs)({abi:m,args:d,logs:y,strict:f}):y};const n=r(378),o=r(48),a=r(90985),i=r(10095)},28171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProof=async function(e,{address:t,blockNumber:r,blockTag:a,storageKeys:i}){const s=a??"latest",c=void 0!==r?(0,n.numberToHex)(r):void 0,u=await e.request({method:"eth_getProof",params:[t,i,c||s]});return(0,o.formatProof)(u)};const n=r(90985),o=r(21707)},47469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStorageAt=async function(e,{address:t,blockNumber:r,blockTag:o="latest",slot:a}){const i=void 0!==r?(0,n.numberToHex)(r):void 0;return await e.request({method:"eth_getStorageAt",params:[t,a,i||o]})};const n=r(90985)},42401:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransaction=async function(e,{blockHash:t,blockNumber:r,blockTag:i,hash:s,index:c}){const u=i||"latest",l=void 0!==r?(0,o.numberToHex)(r):void 0;let d=null;if(s?d=await e.request({method:"eth_getTransactionByHash",params:[s]},{dedupe:!0}):t?d=await e.request({method:"eth_getTransactionByBlockHashAndIndex",params:[t,(0,o.numberToHex)(c)]},{dedupe:!0}):(l||u)&&(d=await e.request({method:"eth_getTransactionByBlockNumberAndIndex",params:[l||u,(0,o.numberToHex)(c)]},{dedupe:Boolean(l)})),!d)throw new n.TransactionNotFoundError({blockHash:t,blockNumber:r,blockTag:u,hash:s,index:c});return(e.chain?.formatters?.transaction?.format||a.formatTransaction)(d)};const n=r(3727),o=r(90985),a=r(49473)},66659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransactionConfirmations=async function(e,{hash:t,transactionReceipt:r}){const[i,s]=await Promise.all([(0,n.getAction)(e,o.getBlockNumber,"getBlockNumber")({}),t?(0,n.getAction)(e,a.getTransaction,"getTransaction")({hash:t}):void 0]),c=r?.blockNumber||s?.blockNumber;return c?i-c+1n:0n};const n=r(6207),o=r(65729),a=r(42401)},51998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransactionCount=async function(e,{address:t,blockTag:r="latest",blockNumber:a}){const i=await e.request({method:"eth_getTransactionCount",params:[t,a?(0,o.numberToHex)(a):r]},{dedupe:Boolean(a)});return(0,n.hexToNumber)(i)};const n=r(70294),o=r(90985)},36873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransactionReceipt=async function(e,{hash:t}){const r=await e.request({method:"eth_getTransactionReceipt",params:[t]},{dedupe:!0});if(!r)throw new n.TransactionReceiptNotFoundError({hash:t});return(e.chain?.formatters?.transactionReceipt?.format||o.formatTransactionReceipt)(r)};const n=r(3727),o=r(54537)},25996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multicall=async function(e,t){const{allowFailure:r=!0,batchSize:f,blockNumber:m,blockTag:b,multicallAddress:h,stateOverride:y}=t,g=t.contracts,v=f??("object"==typeof e.batch?.multicall&&e.batch.multicall.batchSize||1024);let x=h;if(!x){if(!e.chain)throw new Error("client chain not configured. multicallAddress is required.");x=(0,u.getChainContractAddress)({blockNumber:m,chain:e.chain,contract:"multicall3"})}const E=[[]];let w=0,P=0;for(let e=0;e0&&P>v&&E[w].length>0&&(w++,P=(e.length-2)/2,E[w]=[]),E[w]=[...E[w],{allowFailure:!0,callData:e,target:n}]}catch(e){const i=(0,l.getContractError)(e,{abi:t,address:n,args:o,docsPath:"/docs/contract/multicall",functionName:a});if(!r)throw i;E[w]=[...E[w],{allowFailure:!0,callData:"0x",target:n}]}}const T=await Promise.allSettled(E.map((t=>(0,d.getAction)(e,p.readContract,"readContract")({abi:n.multicall3Abi,address:x,args:[t],blockNumber:m,blockTag:b,functionName:"aggregate3",stateOverride:y})))),k=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readContract=async function(e,t){const{abi:r,address:c,args:u,functionName:l,...d}=t,p=(0,o.encodeFunctionData)({abi:r,args:u,functionName:l});try{const{data:t}=await(0,i.getAction)(e,s.call,"call")({...d,data:p,to:c});return(0,n.decodeFunctionResult)({abi:r,args:u,functionName:l,data:t||"0x"})}catch(e){throw(0,a.getContractError)(e,{abi:r,address:c,args:u,docsPath:"/docs/contract/readContract",functionName:l})}};const n=r(17541),o=r(76144),a=r(56173),i=r(6207),s=r(37141)},56705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.simulateContract=async function(e,t){const{abi:r,address:u,args:l,dataSuffix:d,functionName:p,...f}=t,m=f.account?(0,n.parseAccount)(f.account):e.account,b=(0,a.encodeFunctionData)({abi:r,args:l,functionName:p});try{const{data:n}=await(0,s.getAction)(e,c.call,"call")({batch:!1,data:`${b}${d?d.replace("0x",""):""}`,to:u,...f,account:m});return{result:(0,o.decodeFunctionResult)({abi:r,args:l,functionName:p,data:n||"0x"}),request:{abi:r.filter((e=>"name"in e&&e.name===t.functionName)),address:u,args:l,dataSuffix:d,functionName:p,...f,account:m}}}catch(e){throw(0,i.getContractError)(e,{abi:r,address:u,args:l,docsPath:"/docs/contract/simulateContract",functionName:p,sender:m?.address})}};const n=r(39006),o=r(17541),a=r(76144),i=r(56173),s=r(6207),c=r(37141)},61541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uninstallFilter=async function(e,{filter:t}){return t.request({method:"eth_uninstallFilter",params:[t.id]})}},78868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyHash=async function(e,t){const{address:r,factory:g,factoryData:v,hash:x,signature:E,...w}=t,P=(0,l.isHex)(E)?E:"object"==typeof E&&"r"in E&&"s"in E?(0,h.serializeSignature)(E):(0,d.bytesToHex)(E),T=await(async()=>g||v?(0,f.isErc6492Signature)(P)?P:(0,b.serializeErc6492Signature)({address:g,data:v,signature:P}):P)();try{const{data:t}=await(0,p.getAction)(e,y.call,"call")({data:(0,i.encodeDeployData)({abi:n.universalSignatureValidatorAbi,args:[r,x,T],bytecode:o.universalSignatureValidatorByteCode}),...w});return(0,u.isBytesEqual)(t??"0x0","0x1")}catch(e){try{if((0,c.isAddressEqual)((0,s.getAddress)(r),await(0,m.recoverAddress)({hash:x,signature:E})))return!0}catch{}if(e instanceof a.CallExecutionError)return!1;throw e}};const n=r(73302),o=r(66590),a=r(87677),i=r(4687),s=r(78728),c=r(64324),u=r(22137),l=r(36015),d=r(90985),p=r(6207),f=r(2803),m=r(22374),b=r(42599),h=r(81926),y=r(37141)},6377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyMessage=async function(e,{address:t,message:r,factory:a,factoryData:i,signature:s,...c}){const u=(0,n.hashMessage)(r);return(0,o.verifyHash)(e,{address:t,factory:a,factoryData:i,hash:u,signature:s,...c})};const n=r(92955),o=r(78868)},39242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyTypedData=async function(e,t){const{address:r,factory:a,factoryData:i,signature:s,message:c,primaryType:u,types:l,domain:d,...p}=t,f=(0,n.hashTypedData)({message:c,primaryType:u,types:l,domain:d});return(0,o.verifyHash)(e,{address:r,factory:a,factoryData:i,hash:f,signature:s,...p})};const n=r(59984),o=r(78868)},42917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.waitForTransactionReceipt=async function(e,{confirmations:t=1,hash:r,onReplaced:f,pollingInterval:m=e.pollingInterval,retryCount:b=6,retryDelay:h=({count:e})=>200*(1<{y&&setTimeout((()=>T(new o.WaitForTransactionReceiptTimeoutError({hash:r}))),y);const k=(0,i.observe)(g,{onReplaced:f,resolve:c,reject:T},(i=>{const c=(0,a.getAction)(e,p.watchBlockNumber,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:m,async onBlockNumber(p){const f=e=>{c(),e(),k()};let m=p;if(!P){w>b&&f((()=>i.reject(new o.WaitForTransactionReceiptTimeoutError({hash:r}))));try{if(E){if(t>1&&(!E.blockNumber||m-E.blockNumber+1ni.resolve(E)))}if(v||(P=!0,await(0,s.withRetry)((async()=>{v=await(0,a.getAction)(e,l.getTransaction,"getTransaction")({hash:r}),v.blockNumber&&(m=v.blockNumber)}),{delay:h,retryCount:b}),P=!1),E=await(0,a.getAction)(e,d.getTransactionReceipt,"getTransactionReceipt")({hash:r}),t>1&&(!E.blockNumber||m-E.blockNumber+1ni.resolve(E)))}catch(r){if(r instanceof o.TransactionNotFoundError||r instanceof o.TransactionReceiptNotFoundError){if(!v)return void(P=!1);try{x=v,P=!0;const r=await(0,s.withRetry)((()=>(0,a.getAction)(e,u.getBlock,"getBlock")({blockNumber:m,includeTransactions:!0})),{delay:h,retryCount:b,shouldRetry:({error:e})=>e instanceof n.BlockNotFoundError});P=!1;const o=r.transactions.find((({from:e,nonce:t})=>e===x.from&&t===x.nonce));if(!o)return;if(E=await(0,a.getAction)(e,d.getTransactionReceipt,"getTransactionReceipt")({hash:o.hash}),t>1&&(!E.blockNumber||m-E.blockNumber+1n{i.onReplaced?.({reason:c,replacedTransaction:x,transaction:o,transactionReceipt:E}),i.resolve(E)}))}catch(e){f((()=>i.reject(e)))}}else f((()=>i.reject(r)))}finally{w++}}}})}))}))};const n=r(39642),o=r(3727),a=r(6207),i=r(72093),s=r(71525),c=r(44900),u=r(85364),l=r(42401),d=r(36873),p=r(29828)},29828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watchBlockNumber=function(e,{emitOnBegin:t=!1,emitMissed:r=!1,onBlockNumber:u,onError:l,poll:d,pollingInterval:p=e.pollingInterval}){let f;return(void 0!==d?d:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type))?(()=>{const n=(0,s.stringify)(["watchBlockNumber",e.uid,t,r,p]);return(0,a.observe)(n,{onBlockNumber:u,onError:l},(n=>(0,i.poll)((async()=>{try{const t=await(0,o.getAction)(e,c.getBlockNumber,"getBlockNumber")({cacheTime:0});if(f){if(t===f)return;if(t-f>1&&r)for(let e=f+1n;ef)&&(n.onBlockNumber(t,f),f=t)}catch(e){n.onError?.(e)}}),{emitOnBegin:t,interval:p})))})():(()=>{const o=(0,s.stringify)(["watchBlockNumber",e.uid,t,r]);return(0,a.observe)(o,{onBlockNumber:u,onError:l},(t=>{let r=!0,o=()=>r=!1;return(async()=>{try{const a=(()=>{if("fallback"===e.transport.type){const t=e.transport.transports.find((e=>"webSocket"===e.config.type));return t?t.value:e.transport}return e.transport})(),{unsubscribe:i}=await a.subscribe({params:["newHeads"],onData(e){if(!r)return;const o=(0,n.hexToBigInt)(e.result?.number);t.onBlockNumber(o,f),f=o},onError(e){t.onError?.(e)}});o=i,r||o()}catch(e){l?.(e)}})(),()=>o()}))})()};const n=r(70294),o=r(6207),a=r(72093),i=r(53940),s=r(44900),c=r(65729)},75176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watchBlocks=function(e,{blockTag:t="latest",emitMissed:r=!1,emitOnBegin:u=!1,onBlock:l,onError:d,includeTransactions:p,poll:f,pollingInterval:m=e.pollingInterval}){const b=void 0!==f?f:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type),h=p??!1;let y;return b?(()=>{const n=(0,s.stringify)(["watchBlocks",e.uid,t,r,u,h,m]);return(0,a.observe)(n,{onBlock:l,onError:d},(n=>(0,i.poll)((async()=>{try{const a=await(0,o.getAction)(e,c.getBlock,"getBlock")({blockTag:t,includeTransactions:h});if(a.number&&y?.number){if(a.number===y.number)return;if(a.number-y.number>1&&r)for(let t=y?.number+1n;ty.number)&&(n.onBlock(a,y),y=a)}catch(e){n.onError?.(e)}}),{emitOnBegin:u,interval:m})))})():(()=>{let t=!0,r=()=>t=!1;return(async()=>{try{const o=(()=>{if("fallback"===e.transport.type){const t=e.transport.transports.find((e=>"webSocket"===e.config.type));return t?t.value:e.transport}return e.transport})(),{unsubscribe:a}=await o.subscribe({params:["newHeads"],onData(r){if(!t)return;const o=(e.chain?.formatters?.block?.format||n.formatBlock)(r.result);l(o,y),y=o},onError(e){d?.(e)}});r=a,t||r()}catch(e){d?.(e)}})(),()=>r()})()};const n=r(78900),o=r(6207),a=r(72093),i=r(53940),s=r(44900),c=r(85364)},8714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watchContractEvent=function(e,t){const{abi:r,address:y,args:g,batch:v=!0,eventName:x,fromBlock:E,onError:w,onLogs:P,poll:T,pollingInterval:k=e.pollingInterval,strict:O}=t;return(void 0!==T?T:"bigint"==typeof E||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type))?(()=>{const t=O??!1,n=(0,d.stringify)(["watchContractEvent",y,g,v,e.uid,x,k,t,E]);return(0,u.observe)(n,{onLogs:P,onError:w},(n=>{let a,i;void 0!==E&&(a=E-1n);let s=!1;const u=(0,l.poll)((async()=>{if(s)try{let o;if(i)o=await(0,c.getAction)(e,b.getFilterChanges,"getFilterChanges")({filter:i});else{const n=await(0,c.getAction)(e,f.getBlockNumber,"getBlockNumber")({});o=a&&a{i&&await(0,c.getAction)(e,h.uninstallFilter,"uninstallFilter")({filter:i}),u()}}))})():(()=>{const t=O??!1,o=(0,d.stringify)(["watchContractEvent",y,g,v,e.uid,x,k,t]);let c=!0,l=()=>c=!1;return(0,u.observe)(o,{onLogs:P,onError:w},(t=>((async()=>{try{const o=(()=>{if("fallback"===e.transport.type){const t=e.transport.transports.find((e=>"webSocket"===e.config.type));return t?t.value:e.transport}return e.transport})(),u=x?(0,i.encodeEventTopics)({abi:r,eventName:x,args:g}):[],{unsubscribe:d}=await o.subscribe({params:["logs",{address:y,topics:u}],onData(e){if(!c)return;const o=e.result;try{const{eventName:e,args:n}=(0,a.decodeEventLog)({abi:r,data:o.data,topics:o.topics,strict:O}),i=(0,s.formatLog)(o,{args:n,eventName:e});t.onLogs([i])}catch(e){let r,a;if(e instanceof n.DecodeLogDataMismatch||e instanceof n.DecodeLogTopicsMismatch){if(O)return;r=e.abiItem.name,a=e.abiItem.inputs?.some((e=>!("name"in e&&e.name)))}const i=(0,s.formatLog)(o,{args:a?[]:{},eventName:r});t.onLogs([i])}},onError(e){t.onError?.(e)}});l=d,c||l()}catch(e){w?.(e)}})(),()=>l())))})()};const n=r(66953),o=r(37992),a=r(18182),i=r(378),s=r(10095),c=r(6207),u=r(72093),l=r(53940),d=r(44900),p=r(52349),f=r(65729),m=r(27962),b=r(3590),h=r(61541)},58428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watchEvent=function(e,{address:t,args:r,batch:y=!0,event:g,events:v,fromBlock:x,onError:E,onLogs:w,poll:P,pollingInterval:T=e.pollingInterval,strict:k}){const O=void 0!==P?P:"bigint"==typeof x||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type),C=k??!1;return O?(()=>{const n=(0,i.stringify)(["watchEvent",t,r,y,e.uid,g,T,x]);return(0,o.observe)(n,{onLogs:w,onError:E},(n=>{let o,i;void 0!==x&&(o=x-1n);let s=!1;const u=(0,a.poll)((async()=>{if(s)try{let a;if(i)a=await(0,d.getAction)(e,m.getFilterChanges,"getFilterChanges")({filter:i});else{const n=await(0,d.getAction)(e,f.getBlockNumber,"getBlockNumber")({});a=o&&o!==n?await(0,d.getAction)(e,b.getLogs,"getLogs")({address:t,args:r,event:g,events:v,fromBlock:o+1n,toBlock:n}):[],o=n}if(0===a.length)return;if(y)n.onLogs(a);else for(const e of a)n.onLogs([e])}catch(e){i&&e instanceof c.InvalidInputRpcError&&(s=!1),n.onError?.(e)}else{try{i=await(0,d.getAction)(e,p.createEventFilter,"createEventFilter")({address:t,args:r,event:g,events:v,strict:C,fromBlock:x})}catch{}s=!0}}),{emitOnBegin:!0,interval:T});return async()=>{i&&await(0,d.getAction)(e,h.uninstallFilter,"uninstallFilter")({filter:i}),u()}}))})():(()=>{let o=!0,a=()=>o=!1;return(async()=>{try{const i=(()=>{if("fallback"===e.transport.type){const t=e.transport.transports.find((e=>"webSocket"===e.config.type));return t?t.value:e.transport}return e.transport})(),c=v??(g?[g]:void 0);let d=[];if(c){const e=c.flatMap((e=>(0,n.encodeEventTopics)({abi:[e],eventName:e.name,args:r})));d=[e],g&&(d=d[0])}const{unsubscribe:p}=await i.subscribe({params:["logs",{address:t,topics:d}],onData(e){if(!o)return;const t=e.result;try{const{eventName:e,args:r}=(0,u.decodeEventLog)({abi:c??[],data:t.data,topics:t.topics,strict:C}),n=(0,l.formatLog)(t,{args:r,eventName:e});w([n])}catch(e){let r,n;if(e instanceof s.DecodeLogDataMismatch||e instanceof s.DecodeLogTopicsMismatch){if(k)return;r=e.abiItem.name,n=e.abiItem.inputs?.some((e=>!("name"in e&&e.name)))}const o=(0,l.formatLog)(t,{args:n?[]:{},eventName:r});w([o])}},onError(e){E?.(e)}});a=p,o||a()}catch(e){E?.(e)}})(),()=>a()})()};const n=r(378),o=r(72093),a=r(53940),i=r(44900),s=r(66953),c=r(37992),u=r(18182),l=r(10095),d=r(6207),p=r(73383),f=r(65729),m=r(3590),b=r(99914),h=r(61541)},47150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watchPendingTransactions=function(e,{batch:t=!0,onError:r,onTransactions:l,poll:d,pollingInterval:p=e.pollingInterval}){return(void 0!==d?d:"webSocket"!==e.transport.type)?(()=>{const d=(0,i.stringify)(["watchPendingTransactions",e.uid,t,p]);return(0,o.observe)(d,{onTransactions:l,onError:r},(r=>{let o;const i=(0,a.poll)((async()=>{try{if(!o)try{return void(o=await(0,n.getAction)(e,s.createPendingTransactionFilter,"createPendingTransactionFilter")({}))}catch(e){throw i(),e}const a=await(0,n.getAction)(e,c.getFilterChanges,"getFilterChanges")({filter:o});if(0===a.length)return;if(t)r.onTransactions(a);else for(const e of a)r.onTransactions([e])}catch(e){r.onError?.(e)}}),{emitOnBegin:!0,interval:p});return async()=>{o&&await(0,n.getAction)(e,u.uninstallFilter,"uninstallFilter")({filter:o}),i()}}))})():(()=>{let t=!0,n=()=>t=!1;return(async()=>{try{const{unsubscribe:o}=await e.transport.subscribe({params:["newPendingTransactions"],onData(e){if(!t)return;const r=e.result;l([r])},onError(e){r?.(e)}});n=o,t||n()}catch(e){r?.(e)}})(),()=>n()})()};const n=r(6207),o=r(72093),a=r(53940),i=r(44900),s=r(9358),c=r(3590),u=r(61541)},71692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifySiweMessage=async function(e,t){const{address:r,domain:s,message:c,nonce:u,scheme:l,signature:d,time:p=new Date,...f}=t,m=(0,o.parseSiweMessage)(c);if(!m.address)return!1;if(!(0,a.validateSiweMessage)({address:r,domain:s,message:m,nonce:u,scheme:l,time:p}))return!1;const b=(0,n.hashMessage)(c);return(0,i.verifyHash)(e,{address:m.address,hash:b,signature:d,...f})};const n=r(92955),o=r(19694),a=r(96491),i=r(78868)},99771:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dropTransaction=async function(e,{hash:t}){await e.request({method:`${e.mode}_dropTransaction`,params:[t]})}},30079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dumpState=async function(e){return e.request({method:`${e.mode}_dumpState`})}},31684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAutomine=async function(e){return"ganache"===e.mode?await e.request({method:"eth_mining"}):await e.request({method:`${e.mode}_getAutomine`})}},71881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTxpoolContent=async function(e){return await e.request({method:"txpool_content"})}},17200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTxpoolStatus=async function(e){const{pending:t,queued:r}=await e.request({method:"txpool_status"});return{pending:(0,n.hexToNumber)(t),queued:(0,n.hexToNumber)(r)}};const n=r(70294)},54318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.impersonateAccount=async function(e,{address:t}){await e.request({method:`${e.mode}_impersonateAccount`,params:[t]})}},69283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.increaseTime=async function(e,{seconds:t}){return await e.request({method:"evm_increaseTime",params:[(0,n.numberToHex)(t)]})};const n=r(90985)},86394:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inspectTxpool=async function(e){return await e.request({method:"txpool_inspect"})}},70181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadState=async function(e,{state:t}){await e.request({method:`${e.mode}_loadState`,params:[t]})}},31449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mine=async function(e,{blocks:t,interval:r}){"ganache"===e.mode?await e.request({method:"evm_mine",params:[{blocks:(0,n.numberToHex)(t)}]}):await e.request({method:`${e.mode}_mine`,params:[(0,n.numberToHex)(t),(0,n.numberToHex)(r||0)]})};const n=r(90985)},81372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeBlockTimestampInterval=async function(e){await e.request({method:`${e.mode}_removeBlockTimestampInterval`})}},57039:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reset=async function(e,{blockNumber:t,jsonRpcUrl:r}={}){await e.request({method:`${e.mode}_reset`,params:[{forking:{blockNumber:Number(t),jsonRpcUrl:r}}]})}},99624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.revert=async function(e,{id:t}){await e.request({method:"evm_revert",params:[t]})}},86839:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendUnsignedTransaction=async function(e,t){const{accessList:r,data:a,from:i,gas:s,gasPrice:c,maxFeePerGas:u,maxPriorityFeePerGas:l,nonce:d,to:p,value:f,...m}=t,b=e.chain?.formatters?.transactionRequest?.format,h=(b||o.formatTransactionRequest)({...(0,n.extract)(m,{format:b}),accessList:r,data:a,from:i,gas:s,gasPrice:c,maxFeePerGas:u,maxPriorityFeePerGas:l,nonce:d,to:p,value:f});return await e.request({method:"eth_sendUnsignedTransaction",params:[h]})};const n=r(10796),o=r(44712)},85664:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setAutomine=async function(e,t){"ganache"===e.mode?t?await e.request({method:"miner_start"}):await e.request({method:"miner_stop"}):await e.request({method:"evm_setAutomine",params:[t]})}},98050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setBalance=async function(e,{address:t,value:r}){"ganache"===e.mode?await e.request({method:"evm_setAccountBalance",params:[t,(0,n.numberToHex)(r)]}):await e.request({method:`${e.mode}_setBalance`,params:[t,(0,n.numberToHex)(r)]})};const n=r(90985)},22407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setBlockGasLimit=async function(e,{gasLimit:t}){await e.request({method:"evm_setBlockGasLimit",params:[(0,n.numberToHex)(t)]})};const n=r(90985)},76998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setBlockTimestampInterval=async function(e,{interval:t}){const r="hardhat"===e.mode?1e3*t:t;await e.request({method:`${e.mode}_setBlockTimestampInterval`,params:[r]})}},97069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCode=async function(e,{address:t,bytecode:r}){await e.request({method:`${e.mode}_setCode`,params:[t,r]})}},45616:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCoinbase=async function(e,{address:t}){await e.request({method:`${e.mode}_setCoinbase`,params:[t]})}},90629:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setIntervalMining=async function(e,{interval:t}){const r="hardhat"===e.mode?1e3*t:t;await e.request({method:"evm_setIntervalMining",params:[r]})}},31246:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setLoggingEnabled=async function(e,t){await e.request({method:`${e.mode}_setLoggingEnabled`,params:[t]})}},61496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setMinGasPrice=async function(e,{gasPrice:t}){await e.request({method:`${e.mode}_setMinGasPrice`,params:[(0,n.numberToHex)(t)]})};const n=r(90985)},16785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setNextBlockBaseFeePerGas=async function(e,{baseFeePerGas:t}){await e.request({method:`${e.mode}_setNextBlockBaseFeePerGas`,params:[(0,n.numberToHex)(t)]})};const n=r(90985)},97174:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setNextBlockTimestamp=async function(e,{timestamp:t}){await e.request({method:"evm_setNextBlockTimestamp",params:[(0,n.numberToHex)(t)]})};const n=r(90985)},47477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setNonce=async function(e,{address:t,nonce:r}){await e.request({method:`${e.mode}_setNonce`,params:[t,(0,n.numberToHex)(r)]})};const n=r(90985)},22820:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setRpcUrl=async function(e,t){await e.request({method:`${e.mode}_setRpcUrl`,params:[t]})}},86462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setStorageAt=async function(e,{address:t,index:r,value:o}){await e.request({method:`${e.mode}_setStorageAt`,params:[t,"number"==typeof r?(0,n.numberToHex)(r):r,o]})};const n=r(90985)},97238:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.snapshot=async function(e){return await e.request({method:"evm_snapshot"})}},78171:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopImpersonatingAccount=async function(e,{address:t}){await e.request({method:`${e.mode}_stopImpersonatingAccount`,params:[t]})}},18101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addChain=async function(e,{chain:t}){const{id:r,name:o,nativeCurrency:a,rpcUrls:i,blockExplorers:s}=t;await e.request({method:"wallet_addEthereumChain",params:[{chainId:(0,n.numberToHex)(r),chainName:o,nativeCurrency:a,rpcUrls:i.default.http,blockExplorerUrls:s?Object.values(s).map((({url:e})=>e)):void 0}]},{dedupe:!0,retryCount:0})};const n=r(90985)},30044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deployContract=function(e,t){const{abi:r,args:a,bytecode:i,...s}=t,c=(0,n.encodeDeployData)({abi:r,args:a,bytecode:i});return(0,o.sendTransaction)(e,{...s,data:c})};const n=r(4687),o=r(76687)},34593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAddresses=async function(e){return"local"===e.account?.type?[e.account.address]:(await e.request({method:"eth_accounts"},{dedupe:!0})).map((e=>(0,n.checksumAddress)(e)))};const n=r(78728)},74521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPermissions=async function(e){return await e.request({method:"wallet_getPermissions"},{dedupe:!0})}},28807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultParameters=void 0,t.prepareTransactionRequest=async function(e,r){const{account:y=e.account,blobs:g,chain:v,gas:x,kzg:E,nonce:w,parameters:P=t.defaultParameters,type:T}=r,k=y?(0,n.parseAccount)(y):void 0,O={...r,...k?{from:k?.address}:{}};let C,j;async function _(){return C||(C=await(0,f.getAction)(e,i.getBlock,"getBlock")({blockTag:"latest"}),C)}async function A(){if(j)return j;if(v)return v.id;if(void 0!==r.chainId)return r.chainId;const t=await(0,f.getAction)(e,h.getChainId,"getChainId")({});return j=t,j}if((P.includes("blobVersionedHashes")||P.includes("sidecars"))&&g&&E){const e=(0,u.blobsToCommitments)({blobs:g,kzg:E});if(P.includes("blobVersionedHashes")){const t=(0,d.commitmentsToVersionedHashes)({commitments:e,to:"hex"});O.blobVersionedHashes=t}if(P.includes("sidecars")){const t=(0,l.blobsToProofs)({blobs:g,commitments:e,kzg:E}),r=(0,p.toBlobSidecars)({blobs:g,commitments:e,proofs:t,to:"hex"});O.sidecars=r}}if(P.includes("chainId")&&(O.chainId=await A()),P.includes("nonce")&&void 0===w&&k)if(k.nonceManager){const t=await A();O.nonce=await k.nonceManager.consume({address:k.address,chainId:t,client:e})}else O.nonce=await(0,f.getAction)(e,s.getTransactionCount,"getTransactionCount")({address:k.address,blockTag:"pending"});if((P.includes("fees")||P.includes("type"))&&void 0===T)try{O.type=(0,b.getTransactionType)(O)}catch{const e=await _();O.type="bigint"==typeof e?.baseFeePerGas?"eip1559":"legacy"}if(P.includes("fees"))if("legacy"!==O.type&&"eip2930"!==O.type){if(void 0===O.maxFeePerGas||void 0===O.maxPriorityFeePerGas){const t=await _(),{maxFeePerGas:n,maxPriorityFeePerGas:a}=await(0,o.internal_estimateFeesPerGas)(e,{block:t,chain:v,request:O});if(void 0===r.maxPriorityFeePerGas&&r.maxFeePerGas&&r.maxFeePerGas{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestAddresses=async function(e){return(await e.request({method:"eth_requestAccounts"},{dedupe:!0,retryCount:0})).map((e=>(0,n.getAddress)(e)))};const n=r(78728)},45442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestPermissions=async function(e,t){return e.request({method:"wallet_requestPermissions",params:[t]},{retryCount:0})}},89085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendRawTransaction=async function(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}},76687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendTransaction=async function(e,t){const{account:r=e.account,chain:m=e.chain,accessList:b,blobs:h,data:y,gas:g,gasPrice:v,maxFeePerBlobGas:x,maxFeePerGas:E,maxPriorityFeePerGas:w,nonce:P,to:T,value:k,...O}=t;if(!r)throw new o.AccountNotFoundError({docsPath:"/docs/actions/wallet/sendTransaction"});const C=(0,n.parseAccount)(r);try{let r;if((0,l.assertRequest)(t),null!==m&&(r=await(0,u.getAction)(e,d.getChainId,"getChainId")({}),(0,a.assertCurrentChain)({currentChainId:r,chain:m})),"json-rpc"===C.type){const t=e.chain?.formatters?.transactionRequest?.format,n=(t||c.formatTransactionRequest)({...(0,s.extract)(O,{format:t}),accessList:b,blobs:h,chainId:r,data:y,from:C.address,gas:g,gasPrice:v,maxFeePerBlobGas:x,maxFeePerGas:E,maxPriorityFeePerGas:w,nonce:P,to:T,value:k});return await e.request({method:"eth_sendTransaction",params:[n]},{retryCount:0})}if("local"===C.type){const t=await(0,u.getAction)(e,p.prepareTransactionRequest,"prepareTransactionRequest")({account:C,accessList:b,blobs:h,chain:m,chainId:r,data:y,gas:g,gasPrice:v,maxFeePerBlobGas:x,maxFeePerGas:E,maxPriorityFeePerGas:w,nonce:P,parameters:[...p.defaultParameters,"sidecars"],to:T,value:k,...O}),n=m?.serializers?.transaction,o=await C.signTransaction(t,{serializer:n});return await(0,u.getAction)(e,f.sendRawTransaction,"sendRawTransaction")({serializedTransaction:o})}if("smart"===C.type)throw new o.AccountTypeNotSupportedError({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"});throw new Error("incompatible account type.")}catch(e){if(e instanceof o.AccountTypeNotSupportedError)throw e;throw(0,i.getTransactionError)(e,{...t,account:C,chain:t.chain||void 0})}};const n=r(39006),o=r(32540),a=r(62779),i=r(42403),s=r(10796),c=r(44712),u=r(6207),l=r(54969),d=r(1093),p=r(28807),f=r(89085)},13137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signMessage=async function(e,{account:t=e.account,message:r}){if(!t)throw new o.AccountNotFoundError({docsPath:"/docs/actions/wallet/signMessage"});const i=(0,n.parseAccount)(t);if(i.signMessage)return i.signMessage({message:r});const s="string"==typeof r?(0,a.stringToHex)(r):r.raw instanceof Uint8Array?(0,a.toHex)(r.raw):r.raw;return e.request({method:"personal_sign",params:[s,i.address]},{retryCount:0})};const n=r(39006),o=r(32540),a=r(90985)},59978:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signTransaction=async function(e,t){const{account:r=e.account,chain:d=e.chain,...p}=t;if(!r)throw new o.AccountNotFoundError({docsPath:"/docs/actions/wallet/signTransaction"});const f=(0,n.parseAccount)(r);(0,u.assertRequest)({account:f,...t});const m=await(0,c.getAction)(e,l.getChainId,"getChainId")({});null!==d&&(0,a.assertCurrentChain)({currentChainId:m,chain:d});const b=d?.formatters||e.chain?.formatters,h=b?.transactionRequest?.format||s.formatTransactionRequest;return f.signTransaction?f.signTransaction({...p,chainId:m},{serializer:e.chain?.serializers?.transaction}):await e.request({method:"eth_signTransaction",params:[{...h(p),chainId:(0,i.numberToHex)(m),from:f.address}]},{retryCount:0})};const n=r(39006),o=r(32540),a=r(62779),i=r(90985),s=r(44712),c=r(6207),u=r(54969),l=r(1093)},60498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signTypedData=async function(e,t){const{account:r=e.account,domain:i,message:s,primaryType:c}=t;if(!r)throw new o.AccountNotFoundError({docsPath:"/docs/actions/wallet/signTypedData"});const u=(0,n.parseAccount)(r),l={EIP712Domain:(0,a.getTypesForEIP712Domain)({domain:i}),...t.types};if((0,a.validateTypedData)({domain:i,message:s,primaryType:c,types:l}),u.signTypedData)return u.signTypedData({domain:i,message:s,primaryType:c,types:l});const d=(0,a.serializeTypedData)({domain:i,message:s,primaryType:c,types:l});return e.request({method:"eth_signTypedData_v4",params:[u.address,d]},{retryCount:0})};const n=r(39006),o=r(32540),a=r(78377)},1348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchChain=async function(e,{id:t}){await e.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,n.numberToHex)(t)}]},{retryCount:0})};const n=r(90985)},76532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watchAsset=async function(e,t){return await e.request({method:"wallet_watchAsset",params:t},{retryCount:0})}},46160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.writeContract=async function(e,t){const{abi:r,address:i,args:s,dataSuffix:c,functionName:u,...l}=t,d=(0,n.encodeFunctionData)({abi:r,args:s,functionName:u});return(0,o.getAction)(e,a.sendTransaction,"sendTransaction")({data:`${d}${c?c.replace("0x",""):""}`,to:i,...l})};const n=r(76144),o=r(6207),a=r(76687)},50242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chainConfig=void 0;const n=r(41300),o=r(91194),a=r(94816);t.chainConfig={formatters:o.formatters,serializers:a.serializers,fees:n.fees}},41300:(e,t)=>{"use strict";async function r(e,t){const r=await e.request({method:"eth_gasPrice",params:[t]});return BigInt(r)}async function n(e,t){const r=await e.request({method:"eth_maxPriorityFeePerGas",params:[t]});return BigInt(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.fees=void 0,t.fees={estimateFeesPerGas:async e=>{if(!e.request?.feeCurrency)return null;const[t,o]=await Promise.all([r(e.client,e.request.feeCurrency),n(e.client,e.request.feeCurrency)]);return{maxFeePerGas:t,maxPriorityFeePerGas:o}}}},91194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatters=void 0;const n=r(70294),o=r(78900),a=r(49473),i=r(44712),s=r(13408);t.formatters={block:(0,o.defineBlock)({format(e){const t=e.transactions?.map((e=>"string"==typeof e?e:{...(0,a.formatTransaction)(e),...e.gatewayFee?{gatewayFee:(0,n.hexToBigInt)(e.gatewayFee),gatewayFeeRecipient:e.gatewayFeeRecipient}:{},feeCurrency:e.feeCurrency}));return{transactions:t,...e.randomness?{randomness:e.randomness}:{}}}}),transaction:(0,a.defineTransaction)({format(e){if("0x7e"===e.type)return{isSystemTx:e.isSystemTx,mint:e.mint?(0,n.hexToBigInt)(e.mint):void 0,sourceHash:e.sourceHash,type:"deposit"};const t={feeCurrency:e.feeCurrency};return"0x7b"===e.type?t.type="cip64":("0x7c"===e.type&&(t.type="cip42"),t.gatewayFee=e.gatewayFee?(0,n.hexToBigInt)(e.gatewayFee):null,t.gatewayFeeRecipient=e.gatewayFeeRecipient),t}}),transactionRequest:(0,i.defineTransactionRequest)({format(e){const t={};return e.feeCurrency&&(t.feeCurrency=e.feeCurrency),(0,s.isCIP64)(e)&&(t.type="0x7b"),t}})}},94816:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializers=void 0,t.serializeTransaction=b,t.assertTransactionCIP42=function(e){const{chainId:t,maxPriorityFeePerGas:r,gasPrice:s,maxFeePerGas:u,to:l,feeCurrency:d,gatewayFee:p,gatewayFeeRecipient:f}=e;if(t<=0)throw new a.InvalidChainIdError({chainId:t});if(l&&!(0,c.isAddress)(l))throw new n.InvalidAddressError({address:l});if(s)throw new o.BaseError("`gasPrice` is not a valid CIP-42 Transaction attribute.");if((0,m.isPresent)(u)&&u>h)throw new i.FeeCapTooHighError({maxFeePerGas:u});if((0,m.isPresent)(r)&&(0,m.isPresent)(u)&&r>u)throw new i.TipAboveFeeCapError({maxFeePerGas:u,maxPriorityFeePerGas:r});if((0,m.isPresent)(p)&&(0,m.isEmpty)(f)||(0,m.isPresent)(f)&&(0,m.isEmpty)(p))throw new o.BaseError("`gatewayFee` and `gatewayFeeRecipient` must be provided together.");if((0,m.isPresent)(d)&&!(0,c.isAddress)(d))throw new o.BaseError("`feeCurrency` MUST be a token address for CIP-42 transactions.");if((0,m.isPresent)(f)&&!(0,c.isAddress)(f))throw new n.InvalidAddressError(f);if((0,m.isEmpty)(d)&&(0,m.isEmpty)(f))throw new o.BaseError("Either `feeCurrency` or `gatewayFeeRecipient` must be provided for CIP-42 transactions.")},t.assertTransactionCIP64=y;const n=r(26311),o=r(6246),a=r(94698),i=r(62731),s=r(2963),c=r(89742),u=r(16776),l=r(90985),d=r(97926),p=r(71270),f=r(95886),m=r(13408);function b(e,t){return(0,m.isCIP64)(e)?function(e,t){y(e);const{chainId:r,gas:n,nonce:o,to:a,value:i,maxFeePerGas:s,maxPriorityFeePerGas:c,accessList:m,feeCurrency:b,data:h}=e,g=[(0,l.toHex)(r),o?(0,l.toHex)(o):"0x",c?(0,l.toHex)(c):"0x",s?(0,l.toHex)(s):"0x",n?(0,l.toHex)(n):"0x",a??"0x",i?(0,l.toHex)(i):"0x",h??"0x",(0,p.serializeAccessList)(m),b,...(0,f.toYParitySignatureArray)(e,t)];return(0,u.concatHex)(["0x7b",(0,d.toRlp)(g)])}(e,t):(0,s.serializeTransaction)(e,t)}t.serializers={transaction:b};const h=2n**256n-1n;function y(e){const{chainId:t,maxPriorityFeePerGas:r,gasPrice:s,maxFeePerGas:u,to:l,feeCurrency:d}=e;if(t<=0)throw new a.InvalidChainIdError({chainId:t});if(l&&!(0,c.isAddress)(l))throw new n.InvalidAddressError({address:l});if(s)throw new o.BaseError("`gasPrice` is not a valid CIP-64 Transaction attribute.");if((0,m.isPresent)(u)&&u>h)throw new i.FeeCapTooHighError({maxFeePerGas:u});if((0,m.isPresent)(r)&&(0,m.isPresent)(u)&&r>u)throw new i.TipAboveFeeCapError({maxFeePerGas:u,maxPriorityFeePerGas:r});if((0,m.isPresent)(d)&&!(0,c.isAddress)(d))throw new o.BaseError("`feeCurrency` MUST be a token address for CIP-64 transactions.");if((0,m.isEmpty)(d))throw new o.BaseError("`feeCurrency` must be provided for CIP-64 transactions.")}},13408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=o,t.isPresent=a,t.isEIP1559=i,t.isCIP64=function(e){return"cip64"===e.type||i(e)&&a(e.feeCurrency)};const n=r(7488);function o(e){return 0===e||0n===e||null==e||"0"===e||""===e||"string"==typeof e&&("0x"===(0,n.trim)(e).toLowerCase()||"0x00"===(0,n.trim)(e).toLowerCase())}function a(e){return!o(e)}function i(e){return void 0!==e.maxFeePerGas&&void 0!==e.maxPriorityFeePerGas}},73667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.acala=void 0;const n=r(95731);t.acala=(0,n.defineChain)({id:787,name:"Acala",network:"acala",nativeCurrency:{name:"Acala",symbol:"ACA",decimals:18},rpcUrls:{public:{http:["https://eth-rpc-acala.aca-api.network"],webSocket:["wss://eth-rpc-acala.aca-api.network"]},default:{http:["https://eth-rpc-acala.aca-api.network"],webSocket:["wss://eth-rpc-acala.aca-api.network"]}},blockExplorers:{default:{name:"Acala Blockscout",url:"https://blockscout.acala.network",apiUrl:"https://blockscout.acala.network/api"}},testnet:!1})},57547:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ancient8=void 0;const n=r(87329),o=r(95731),a=1;t.ancient8=(0,o.defineChain)({...n.chainConfig,id:888888888,name:"Ancient8",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.ancient8.gg"]}},blockExplorers:{default:{name:"Ancient8 explorer",url:"https://scan.ancient8.gg",apiUrl:"https://scan.ancient8.gg/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0xB09DC08428C8b4EFB4ff9C0827386CDF34277996"}},portal:{[a]:{address:"0x639F2AECE398Aa76b07e59eF6abe2cFe32bacb68",blockCreated:19070571}},l1StandardBridge:{[a]:{address:"0xd5e3eDf5b68135D559D572E26bF863FBC1950033",blockCreated:19070571}}},sourceId:1})},4238:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ancient8Sepolia=void 0;const n=r(87329),o=r(95731),a=11155111;t.ancient8Sepolia=(0,o.defineChain)({...n.chainConfig,id:28122024,name:"Ancient8 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpcv2-testnet.ancient8.gg"]}},blockExplorers:{default:{name:"Ancient8 Celestia Testnet explorer",url:"https://scanv2-testnet.ancient8.gg",apiUrl:"https://scanv2-testnet.ancient8.gg/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x942fD5017c0F60575930D8574Eaca13BEcD6e1bB"}},portal:{[a]:{address:"0xfa1d9E26A6aCD7b22115D27572c1221B9803c960",blockCreated:4972908}},l1StandardBridge:{[a]:{address:"0xF6Bc0146d3c74D48306e79Ae134A260E418C9335",blockCreated:4972908}}},sourceId:a})},87721:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anvil=void 0;const n=r(95731);t.anvil=(0,n.defineChain)({id:31337,name:"Anvil",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"],webSocket:["ws://127.0.0.1:8545"]}}})},42696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.apexTestnet=void 0;const n=r(95731);t.apexTestnet=(0,n.defineChain)({id:3993,name:"APEX Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.apexlayer.xyz"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp-testnet.apexlayer.xyz",apiUrl:"https://exp-testnet.apexlayer.xyz/api"}},contracts:{multicall3:{address:"0xf7642be33a6b18D16a995657adb5a68CD0438aE2",blockCreated:283775}},testnet:!0})},56797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arbitrum=void 0;const n=r(95731);t.arbitrum=(0,n.defineChain)({id:42161,name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://arbiscan.io",apiUrl:"https://api.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7654707}}})},13935:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arbitrumGoerli=void 0;const n=r(95731);t.arbitrumGoerli=(0,n.defineChain)({id:421613,name:"Arbitrum Goerli",nativeCurrency:{name:"Arbitrum Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://goerli-rollup.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://goerli.arbiscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:88114}},testnet:!0})},57763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arbitrumNova=void 0;const n=r(95731);t.arbitrumNova=(0,n.defineChain)({id:42170,name:"Arbitrum Nova",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://nova.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://nova.arbiscan.io",apiUrl:"https://api-nova.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1746963}}})},12564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arbitrumSepolia=void 0;const n=r(95731);t.arbitrumSepolia=(0,n.defineChain)({id:421614,name:"Arbitrum Sepolia",nativeCurrency:{name:"Arbitrum Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rollup.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://sepolia.arbiscan.io",apiUrl:"https://api-sepolia.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:81930}},testnet:!0})},11952:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areonNetwork=void 0;const n=r(95731);t.areonNetwork=(0,n.defineChain)({id:463,name:"Areon Network",nativeCurrency:{decimals:18,name:"AREA",symbol:"AREA"},rpcUrls:{default:{http:["https://mainnet-rpc.areon.network"],webSocket:["wss://mainnet-ws.areon.network"]}},blockExplorers:{default:{name:"Areonscan",url:"https://areonscan.com"}},testnet:!1})},58253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areonNetworkTestnet=void 0;const n=r(95731);t.areonNetworkTestnet=(0,n.defineChain)({id:462,name:"Areon Network Testnet",nativeCurrency:{decimals:18,name:"TAREA",symbol:"TAREA"},rpcUrls:{default:{http:["https://testnet-rpc.areon.network"],webSocket:["wss://testnet-ws.areon.network"]}},blockExplorers:{default:{name:"Areonscan",url:"https://areonscan.com"}},testnet:!0})},37985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.artelaTestnet=void 0;const n=r(95731);t.artelaTestnet=(0,n.defineChain)({id:11822,name:"Artela Testnet",nativeCurrency:{name:"ART",symbol:"ART",decimals:18},rpcUrls:{default:{http:["https://betanet-rpc1.artela.network"]}},blockExplorers:{default:{name:"Artela",url:"https://betanet-scan.artela.network",apiUrl:"https://betanet-scan.artela.network/api"}},contracts:{multicall3:{address:"0xd07c8635f76e8745Ee7092fbb6e8fbc5FeF09DD7",blockCreated:7001871}},testnet:!0})},23876:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.astar=void 0;const n=r(95731);t.astar=(0,n.defineChain)({id:592,name:"Astar",network:"astar-mainnet",nativeCurrency:{name:"Astar",symbol:"ASTR",decimals:18},rpcUrls:{default:{http:["https://astar.api.onfinality.io/public"]}},blockExplorers:{default:{name:"Astar Subscan",url:"https://astar.subscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:761794}},testnet:!1})},43793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.astarZkEVM=void 0;const n=r(95731);t.astarZkEVM=(0,n.defineChain)({id:3776,name:"Astar zkEVM",network:"AstarZkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.startale.com/astar-zkevm"]}},blockExplorers:{default:{name:"Astar zkEVM Explorer",url:"https://astar-zkevm.explorer.startale.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:93528}},testnet:!1})},91090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.astarZkyoto=void 0;const n=r(95731);t.astarZkyoto=(0,n.defineChain)({id:6038361,name:"Astar zkEVM Testnet zKyoto",network:"zKyoto",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.startale.com/zkyoto"]}},blockExplorers:{default:{name:"zKyoto Explorer",url:"https://zkyoto.explorer.startale.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:196153}},testnet:!0})},93187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aurora=void 0;const n=r(95731);t.aurora=(0,n.defineChain)({id:1313161554,name:"Aurora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://mainnet.aurora.dev"]}},blockExplorers:{default:{name:"Aurorascan",url:"https://aurorascan.dev",apiUrl:"https://aurorascan.dev/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:62907816}}})},91424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auroraTestnet=void 0;const n=r(95731);t.auroraTestnet=(0,n.defineChain)({id:1313161555,name:"Aurora Testnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://testnet.aurora.dev"]}},blockExplorers:{default:{name:"Aurorascan",url:"https://testnet.aurorascan.dev",apiUrl:"https://testnet.aurorascan.dev/api"}},testnet:!0})},4580:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auroria=void 0;const n=r(95731);t.auroria=(0,n.defineChain)({id:205205,name:"Auroria Testnet",network:"auroria",nativeCurrency:{name:"Auroria Stratis",symbol:"tSTRAX",decimals:18},rpcUrls:{default:{http:["https://auroria.rpc.stratisevm.com"]}},blockExplorers:{default:{name:"Auroria Testnet Explorer",url:"https://auroria.explorer.stratisevm.com"}},testnet:!0})},79242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.avalanche=void 0;const n=r(95731);t.avalanche=(0,n.defineChain)({id:43114,name:"Avalanche",nativeCurrency:{decimals:18,name:"Avalanche",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax.network/ext/bc/C/rpc"]}},blockExplorers:{default:{name:"SnowTrace",url:"https://snowtrace.io",apiUrl:"https://api.snowtrace.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:11907934}}})},56534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.avalancheFuji=void 0;const n=r(95731);t.avalancheFuji=(0,n.defineChain)({id:43113,name:"Avalanche Fuji",nativeCurrency:{decimals:18,name:"Avalanche Fuji",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax-test.network/ext/bc/C/rpc"]}},blockExplorers:{default:{name:"SnowTrace",url:"https://testnet.snowtrace.io",apiUrl:"https://api-testnet.snowtrace.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7096959}},testnet:!0})},52531:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bahamut=void 0;const n=r(95731);t.bahamut=(0,n.defineChain)({id:5165,network:"bahamut",name:"Bahamut",nativeCurrency:{name:"Fasttoken",symbol:"FTN",decimals:18},rpcUrls:{default:{http:["https://rpc1.bahamut.io","https://bahamut-rpc.publicnode.com","https://rpc2.bahamut.io"],webSocket:["wss://ws1.sahara.bahamutchain.com","wss://bahamut-rpc.publicnode.com","wss://ws2.sahara.bahamutchain.com"]},public:{http:["https://rpc1.bahamut.io","https://bahamut-rpc.publicnode.com","https://rpc2.bahamut.io"],webSocket:["wss://ws1.sahara.bahamutchain.com","wss://bahamut-rpc.publicnode.com","wss://ws2.sahara.bahamutchain.com"]}},blockExplorers:{default:{name:"Ftnscan",url:"https://www.ftnscan.com",apiUrl:"https://www.ftnscan.com/api"}}})},73078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base=void 0;const n=r(87329),o=r(95731),a=1;t.base=(0,o.defineChain)({...n.chainConfig,id:8453,name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://basescan.org",apiUrl:"https://api.basescan.org/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{[a]:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:17482143}},l1StandardBridge:{[a]:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:17482143}}},sourceId:1})},75116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baseGoerli=void 0;const n=r(87329),o=r(95731),a=5;t.baseGoerli=(0,o.defineChain)({...n.chainConfig,id:84531,name:"Base Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://goerli.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://goerli.basescan.org",apiUrl:"https://goerli.basescan.org/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x2A35891ff30313CcFa6CE88dcf3858bb075A2298"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1376988},portal:{[a]:{address:"0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA"}},l1StandardBridge:{[a]:{address:"0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a"}}},testnet:!0,sourceId:5})},1813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baseSepolia=void 0;const n=r(87329),o=r(95731),a=11155111;t.baseSepolia=(0,o.defineChain)({...n.chainConfig,id:84532,network:"base-sepolia",name:"Base Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://sepolia.basescan.org",apiUrl:"https://api-sepolia.basescan.org/api"}},contracts:{...n.chainConfig.contracts,disputeGameFactory:{[a]:{address:"0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1"}},l2OutputOracle:{[a]:{address:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"}},portal:{[a]:{address:"0x49f53e41452c74589e85ca1677426ba426459e85",blockCreated:4446677}},l1StandardBridge:{[a]:{address:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",blockCreated:4446677}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1059647}},testnet:!0,sourceId:a})},19620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.beam=void 0;const n=r(95731);t.beam=(0,n.defineChain)({id:4337,name:"Beam",network:"beam",nativeCurrency:{decimals:18,name:"Beam",symbol:"BEAM"},rpcUrls:{public:{http:["https://build.onbeam.com/rpc"],webSocket:["wss://build.onbeam.com/ws"]},default:{http:["https://build.onbeam.com/rpc"],webSocket:["wss://build.onbeam.com/ws"]}},blockExplorers:{default:{name:"Beam Explorer",url:"https://subnets.avax.network/beam"}},contracts:{multicall3:{address:"0x4956f15efdc3dc16645e90cc356eafa65ffc65ec",blockCreated:1}}})},62041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.beamTestnet=void 0;const n=r(95731);t.beamTestnet=(0,n.defineChain)({id:13337,name:"Beam Testnet",network:"beam",nativeCurrency:{decimals:18,name:"Beam",symbol:"BEAM"},rpcUrls:{public:{http:["https://build.onbeam.com/rpc/testnet"],webSocket:["wss://build.onbeam.com/ws/testnet"]},default:{http:["https://build.onbeam.com/rpc/testnet"],webSocket:["wss://build.onbeam.com/ws/testnet"]}},blockExplorers:{default:{name:"Beam Explorer",url:"https://subnets-test.avax.network/beam"}},contracts:{multicall3:{address:"0x9bf49b704ee2a095b95c1f2d4eb9010510c41c9e",blockCreated:3}},testnet:!0})},73864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bearNetworkChainMainnet=void 0;const n=r(95731);t.bearNetworkChainMainnet=(0,n.defineChain)({id:641230,name:"Bear Network Chain Mainnet",nativeCurrency:{decimals:18,name:"BearNetworkChain",symbol:"BRNKC"},rpcUrls:{default:{http:["https://brnkc-mainnet.bearnetwork.net"]}},blockExplorers:{default:{name:"BrnkScan",url:"https://brnkscan.bearnetwork.net",apiUrl:"https://brnkscan.bearnetwork.net/api"}}})},50735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bearNetworkChainTestnet=void 0;const n=r(95731);t.bearNetworkChainTestnet=(0,n.defineChain)({id:751230,name:"Bear Network Chain Testnet",nativeCurrency:{decimals:18,name:"tBRNKC",symbol:"tBRNKC"},rpcUrls:{default:{http:["https://brnkc-test.bearnetwork.net"]}},blockExplorers:{default:{name:"BrnkTestScan",url:"https://brnktest-scan.bearnetwork.net",apiUrl:"https://brnktest-scan.bearnetwork.net/api"}},testnet:!0})},41571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.berachainTestnet=void 0;const n=r(95731);t.berachainTestnet=(0,n.defineChain)({id:80085,name:"Berachain Artio",nativeCurrency:{decimals:18,name:"BERA Token",symbol:"BERA"},rpcUrls:{default:{http:["https://artio.rpc.berachain.com"]}},blockExplorers:{default:{name:"Berachain",url:"https://artio.beratrail.io"}},testnet:!0})},20892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.berachainTestnetbArtio=void 0;const n=r(95731);t.berachainTestnetbArtio=(0,n.defineChain)({id:80084,name:"Berachain bArtio",nativeCurrency:{decimals:18,name:"BERA Token",symbol:"BERA"},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:109269}},rpcUrls:{default:{http:["https://bartio.rpc.berachain.com"]}},blockExplorers:{default:{name:"Berachain bArtio Beratrail",url:"https://bartio.beratrail.io"}},testnet:!0})},74959:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bevmMainnet=void 0;const n=r(95731);t.bevmMainnet=(0,n.defineChain)({id:11501,name:"BEVM Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://rpc-mainnet-1.bevm.io"]}},blockExplorers:{default:{name:"Bevmscan",url:"https://scan-mainnet.bevm.io",apiUrl:"https://scan-mainnet-api.bevm.io/api"}}})},65340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitTorrent=void 0;const n=r(95731);t.bitTorrent=(0,n.defineChain)({id:199,name:"BitTorrent",network:"bittorrent-chain-mainnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},rpcUrls:{default:{http:["https://rpc.bittorrentchain.io"]},public:{http:["https://rpc.bittorrentchain.io"]}},blockExplorers:{default:{name:"Bttcscan",url:"https://bttcscan.com",apiUrl:"https://api.bttcscan.com/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:31078552}}})},36593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitTorrentTestnet=void 0;const n=r(95731);t.bitTorrentTestnet=(0,n.defineChain)({id:1028,name:"BitTorrent Chain Testnet",network:"bittorrent-chain-testnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},rpcUrls:{default:{http:["https://testrpc.bittorrentchain.io"]},public:{http:["https://testrpc.bittorrentchain.io"]}},blockExplorers:{default:{name:"Bttcscan",url:"https://testnet.bttcscan.com",apiUrl:"https://testnet.bttcscan.com/api"}},testnet:!0})},10076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitkub=void 0;const n=r(95731);t.bitkub=(0,n.defineChain)({id:96,name:"Bitkub",nativeCurrency:{name:"Bitkub",symbol:"KUB",decimals:18},rpcUrls:{default:{http:["https://rpc.bitkubchain.io"]}},blockExplorers:{default:{name:"Bitkub Chain Mainnet Explorer",url:"https://www.bkcscan.com",apiUrl:"https://www.bkcscan.com/api"}}})},33681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitkubTestnet=void 0;const n=r(95731);t.bitkubTestnet=(0,n.defineChain)({id:25925,name:"Bitkub Testnet",network:"Bitkub Testnet",nativeCurrency:{name:"Bitkub Test",symbol:"tKUB",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.bitkubchain.io"]}},blockExplorers:{default:{name:"Bitkub Chain Testnet Explorer",url:"https://testnet.bkcscan.com",apiUrl:"https://testnet.bkcscan.com/api"}},testnet:!0})},39773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.blast=void 0;const n=r(95731);t.blast=(0,n.defineChain)({id:81457,name:"Blast",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.blast.io"]}},blockExplorers:{default:{name:"Blastscan",url:"https://blastscan.io",apiUrl:"https://api.blastscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:212929}},sourceId:1})},21172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.blastSepolia=void 0;const n=r(95731);t.blastSepolia=(0,n.defineChain)({id:168587773,name:"Blast Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.blast.io"]}},blockExplorers:{default:{name:"Blastscan",url:"https://sepolia.blastscan.io",apiUrl:"https://api-sepolia.blastscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:756690}},testnet:!0,sourceId:11155111})},80360:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bob=void 0;const n=r(95731);t.bob=(0,n.defineChain)({id:60808,name:"BOB",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.gobob.xyz"],webSocket:["wss://rpc.gobob.xyz"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.gobob.xyz"}},contracts:{multicall3:{address:"0x63f8279bccDb75c0F38e0CD6B6A0c72a0a760FF9",blockCreated:457045}},testnet:!1})},57609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boba=void 0;const n=r(95731);t.boba=(0,n.defineChain)({id:288,name:"Boba Network",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://mainnet.boba.network"]}},blockExplorers:{default:{name:"BOBAScan",url:"https://bobascan.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:446859}}})},74560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bobaSepolia=void 0;const n=r(95731);t.bobaSepolia=(0,n.defineChain)({id:28882,name:"Boba Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.boba.network"]}},blockExplorers:{default:{name:"BOBAScan",url:"https://testnet.bobascan.com"}},testnet:!0})},62260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bronos=void 0;const n=r(95731);t.bronos=(0,n.defineChain)({id:1039,name:"Bronos",nativeCurrency:{decimals:18,name:"BRO",symbol:"BRO"},rpcUrls:{default:{http:["https://evm.bronos.org"]}},blockExplorers:{default:{name:"BronoScan",url:"https://broscan.bronos.org"}}})},61257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bronosTestnet=void 0;const n=r(95731);t.bronosTestnet=(0,n.defineChain)({id:1038,name:"Bronos Testnet",nativeCurrency:{decimals:18,name:"Bronos Coin",symbol:"tBRO"},rpcUrls:{default:{http:["https://evm-testnet.bronos.org"]}},blockExplorers:{default:{name:"BronoScan",url:"https://tbroscan.bronos.org"}},testnet:!0})},40779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bsc=void 0;const n=r(95731);t.bsc=(0,n.defineChain)({id:56,name:"BNB Smart Chain",nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://rpc.ankr.com/bsc"]}},blockExplorers:{default:{name:"BscScan",url:"https://bscscan.com",apiUrl:"https://api.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15921452}}})},5322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bscGreenfield=void 0;const n=r(95731);t.bscGreenfield=(0,n.defineChain)({id:1017,name:"BNB Greenfield Chain",nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://greenfield-chain.bnbchain.org"]}},blockExplorers:{default:{name:"BNB Greenfield Mainnet Scan",url:"https://greenfieldscan.com"}},testnet:!1})},18344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bscTestnet=void 0;const n=r(95731);t.bscTestnet=(0,n.defineChain)({id:97,name:"Binance Smart Chain Testnet",nativeCurrency:{decimals:18,name:"BNB",symbol:"tBNB"},rpcUrls:{default:{http:["https://data-seed-prebsc-1-s1.bnbchain.org:8545"]}},blockExplorers:{default:{name:"BscScan",url:"https://testnet.bscscan.com",apiUrl:"https://testnet.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:17422483}},testnet:!0})},35579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.btr=void 0;const n=r(95731);t.btr=(0,n.defineChain)({id:200901,name:"Bitlayer",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://rpc.bitlayer.org","https://rpc.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer"],webSocket:["wss://ws.bitlayer.org","wss://ws.bitlayer-rpc.com"]}},blockExplorers:{default:{name:"Bitlayer(BTR) Scan",url:"https://www.btrscan.com"}}})},92408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.btrTestnet=void 0;const n=r(95731);t.btrTestnet=(0,n.defineChain)({id:200810,name:"Bitlayer Testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://testnet-rpc.bitlayer.org"],webSocket:["wss://testnet-ws.bitlayer.org","wss://testnet-ws.bitlayer-rpc.com"]}},blockExplorers:{default:{name:"Bitlayer(BTR) Scan",url:"https://testnet.btrscan.com"}},testnet:!0})},92107:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bxn=void 0;const n=r(95731);t.bxn=(0,n.defineChain)({id:4999,name:"BlackFort Exchange Network",nativeCurrency:{name:"BlackFort Token",symbol:"BXN",decimals:18},rpcUrls:{default:{http:["https://mainnet.blackfort.network/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.blackfort.network",apiUrl:"https://explorer.blackfort.network/api"}}})},23944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bxnTestnet=void 0;const n=r(95731);t.bxnTestnet=(0,n.defineChain)({id:4777,name:"BlackFort Exchange Network Testnet",nativeCurrency:{name:"BlackFort Testnet Token",symbol:"TBXN",decimals:18},rpcUrls:{default:{http:["https://testnet.blackfort.network/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet-explorer.blackfort.network",apiUrl:"https://testnet-explorer.blackfort.network/api"}},testnet:!0})},29532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canto=void 0;const n=r(95731);t.canto=(0,n.defineChain)({id:7700,name:"Canto",nativeCurrency:{decimals:18,name:"Canto",symbol:"CANTO"},rpcUrls:{default:{http:["https://canto.gravitychain.io"]}},blockExplorers:{default:{name:"Tuber.Build (Blockscout)",url:"https://tuber.build"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:2905789}}})},52726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.celo=void 0;const n=r(50242),o=r(95731);t.celo=(0,o.defineChain)({...n.chainConfig,id:42220,name:"Celo",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO"},rpcUrls:{default:{http:["https://forno.celo.org"]}},blockExplorers:{default:{name:"Celo Explorer",url:"https://celoscan.io",apiUrl:"https://api.celoscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:13112599}},testnet:!1})},53427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.celoAlfajores=void 0;const n=r(50242),o=r(95731);t.celoAlfajores=(0,o.defineChain)({...n.chainConfig,id:44787,name:"Alfajores",nativeCurrency:{decimals:18,name:"CELO",symbol:"A-CELO"},rpcUrls:{default:{http:["https://alfajores-forno.celo-testnet.org"]}},blockExplorers:{default:{name:"Celo Explorer",url:"https://explorer.celo.org/alfajores",apiUrl:"https://explorer.celo.org/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:14569001}},testnet:!0})},86550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chiliz=void 0;const n=r(95731);t.chiliz=(0,n.defineChain)({id:88888,name:"Chiliz Chain",network:"chiliz-chain",nativeCurrency:{decimals:18,name:"CHZ",symbol:"CHZ"},rpcUrls:{default:{http:["https://rpc.ankr.com/chiliz","https://chiliz-rpc.publicnode.com"]}},blockExplorers:{default:{name:"Chiliz Explorer",url:"https://scan.chiliz.com",apiUrl:"https://scan.chiliz.com/api"}}})},26375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classic=void 0;const n=r(95731);t.classic=(0,n.defineChain)({id:61,name:"Ethereum Classic",nativeCurrency:{decimals:18,name:"ETC",symbol:"ETC"},rpcUrls:{default:{http:["https://etc.rivet.link"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.com/etc/mainnet"}}})},91235:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confluxESpace=void 0;const n=r(95731);t.confluxESpace=(0,n.defineChain)({id:1030,name:"Conflux eSpace",nativeCurrency:{name:"Conflux",symbol:"CFX",decimals:18},rpcUrls:{default:{http:["https://evm.confluxrpc.com"],webSocket:["wss://evm.confluxrpc.com/ws"]}},blockExplorers:{default:{name:"ConfluxScan",url:"https://evm.confluxscan.io"}},contracts:{multicall3:{address:"0xEFf0078910f638cd81996cc117bccD3eDf2B072F",blockCreated:68602935}}})},43680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confluxESpaceTestnet=void 0;const n=r(95731);t.confluxESpaceTestnet=(0,n.defineChain)({id:71,name:"Conflux eSpace Testnet",network:"cfx-espace-testnet",testnet:!0,nativeCurrency:{name:"Conflux",symbol:"CFX",decimals:18},rpcUrls:{default:{http:["https://evmtestnet.confluxrpc.com"],webSocket:["wss://evmtestnet.confluxrpc.com/ws"]}},blockExplorers:{default:{name:"ConfluxScan",url:"https://evmtestnet.confluxscan.io"}},contracts:{multicall3:{address:"0xEFf0078910f638cd81996cc117bccD3eDf2B072F",blockCreated:117499050}}})},23470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.coreDao=void 0;const n=r(95731);t.coreDao=(0,n.defineChain)({id:1116,name:"Core Dao",nativeCurrency:{decimals:18,name:"Core",symbol:"CORE"},rpcUrls:{default:{http:["https://rpc.coredao.org"]}},blockExplorers:{default:{name:"CoreDao",url:"https://scan.coredao.org"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:11907934}},testnet:!1})},43081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crab=void 0;const n=r(95731);t.crab=(0,n.defineChain)({id:44,name:"Crab Network",nativeCurrency:{decimals:18,name:"Crab Network Native Token",symbol:"CRAB"},rpcUrls:{default:{http:["https://crab-rpc.darwinia.network"],webSocket:["wss://crab-rpc.darwinia.network"]}},blockExplorers:{default:{name:"Blockscout",url:"https://crab-scan.darwinia.network"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:3032593}}})},81849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cronos=void 0;const n=r(95731);t.cronos=(0,n.defineChain)({id:25,name:"Cronos Mainnet",nativeCurrency:{decimals:18,name:"Cronos",symbol:"CRO"},rpcUrls:{default:{http:["https://evm.cronos.org"]}},blockExplorers:{default:{name:"Cronos Explorer",url:"https://explorer.cronos.org",apiUrl:"https://explorer-api.cronos.org/mainnet/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1963112}}})},56250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cronosTestnet=void 0;const n=r(95731);t.cronosTestnet=(0,n.defineChain)({id:338,name:"Cronos Testnet",nativeCurrency:{decimals:18,name:"CRO",symbol:"tCRO"},rpcUrls:{default:{http:["https://evm-t3.cronos.org"]}},blockExplorers:{default:{name:"Cronos Explorer",url:"https://cronos.org/explorer/testnet3"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:10191251}},testnet:!0})},63063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cronoszkEVMTestnet=void 0;const n=r(95731);t.cronoszkEVMTestnet=(0,n.defineChain)({id:282,name:"Cronos zkEVM Testnet",nativeCurrency:{decimals:18,name:"Cronos zkEVM Test Coin",symbol:"zkTCRO"},rpcUrls:{default:{http:["https://testnet.zkevm.cronos.org"]}},blockExplorers:{default:{name:"Cronos zkEVM Testnet Explorer",url:"https://explorer.zkevm.cronos.org/testnet"}},testnet:!0})},87674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crossbell=void 0;const n=r(95731);t.crossbell=(0,n.defineChain)({id:3737,name:"Crossbell",nativeCurrency:{decimals:18,name:"CSB",symbol:"CSB"},rpcUrls:{default:{http:["https://rpc.crossbell.io"]}},blockExplorers:{default:{name:"CrossScan",url:"https://scan.crossbell.io",apiUrl:"https://scan.crossbell.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:38246031}}})},70978:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cyber=void 0;const n=r(95731);t.cyber=(0,n.defineChain)({id:7560,name:"Cyber",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cyber.alt.technology"]}},blockExplorers:{default:{name:"Blockscout",url:"https://cyberscan.co",apiUrl:"https://cyberscan.co/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:0}}})},33027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cyberTestnet=void 0;const n=r(95731);t.cyberTestnet=(0,n.defineChain)({id:111557560,name:"Cyber Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cyber-testnet.alt.technology"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet.cyberscan.co",apiUrl:"https://testnet.cyberscan.co/api"}},contracts:{multicall3:{address:"0xffc391F0018269d4758AEA1a144772E8FB99545E",blockCreated:304545}},testnet:!0})},88026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.darwinia=void 0;const n=r(95731);t.darwinia=(0,n.defineChain)({id:46,name:"Darwinia Network",nativeCurrency:{decimals:18,name:"RING",symbol:"RING"},rpcUrls:{default:{http:["https://rpc.darwinia.network"],webSocket:["wss://rpc.darwinia.network"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.darwinia.network"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:69420}}})},43534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dchain=void 0;const n=r(87329),o=r(95731);t.dchain=(0,o.defineChain)({...n.chainConfig,id:0x9a697f88076c8,name:"Dchain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://dchain-2716446429837000-1.jsonrpc.sagarpc.io"]}},blockExplorers:{default:{name:"Dchain Explorer",url:"https://dchain-2716446429837000-1.sagaexplorer.io",apiUrl:"https://api-dchain-2716446429837000-1.sagaexplorer.io/api"}},contracts:{...n.chainConfig.contracts}})},34823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dchainTestnet=void 0;const n=r(87329),o=r(95731);t.dchainTestnet=(0,o.defineChain)({...n.chainConfig,id:0x9a379ba03cf10,name:"Dchain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://dchaintestnet-2713017997578000-1.jsonrpc.testnet.sagarpc.io"]}},blockExplorers:{default:{name:"Dchain Explorer",url:"https://dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io",apiUrl:"https://api-dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io/api"}},contracts:{...n.chainConfig.contracts}})},55668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defichainEvm=void 0;const n=r(95731);t.defichainEvm=(0,n.defineChain)({id:1130,network:"defichain-evm",name:"DeFiChain EVM Mainnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},rpcUrls:{default:{http:["https://eth.mainnet.ocean.jellyfishsdk.com"]},public:{http:["https://eth.mainnet.ocean.jellyfishsdk.com"]}},blockExplorers:{default:{name:"DeFiScan",url:"https://meta.defiscan.live"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:137852}}})},50409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defichainEvmTestnet=void 0;const n=r(95731);t.defichainEvmTestnet=(0,n.defineChain)({id:1131,network:"defichain-evm-testnet",name:"DeFiChain EVM Testnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},rpcUrls:{default:{http:["https://eth.testnet.ocean.jellyfishsdk.com"]},public:{http:["https://eth.testnet.ocean.jellyfishsdk.com"]}},blockExplorers:{default:{name:"DeFiScan",url:"https://meta.defiscan.live/?network=TestNet"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:156462}},testnet:!0})},59612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.degen=void 0;const n=r(95731);t.degen=(0,n.defineChain)({id:666666666,name:"Degen",nativeCurrency:{decimals:18,name:"Degen",symbol:"DEGEN"},rpcUrls:{default:{http:["https://rpc.degen.tips"],webSocket:["wss://rpc.degen.tips"]}},blockExplorers:{default:{name:"Degen Chain Explorer",url:"https://explorer.degen.tips",apiUrl:"https://explorer.degen.tips/api/v2"}}})},86940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dfk=void 0;const n=r(95731);t.dfk=(0,n.defineChain)({id:53935,name:"DFK Chain",nativeCurrency:{decimals:18,name:"Jewel",symbol:"JEWEL"},rpcUrls:{default:{http:["https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"]}},blockExplorers:{default:{name:"DFKSubnetScan",url:"https://subnets.avax.network/defi-kingdoms"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14790551}}})},40435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dodochainTestnet=void 0;const n=r(95731);t.dodochainTestnet=(0,n.defineChain)({id:53457,name:"DODOchain Testnet",nativeCurrency:{decimals:18,name:"DODO",symbol:"DODO"},rpcUrls:{default:{http:["https://dodochain-testnet.alt.technology"],webSocket:["wss://dodochain-testnet.alt.technology/ws"]}},blockExplorers:{default:{name:"DODOchain Testnet (Sepolia) Explorer",url:"https://testnet-scan.dodochain.com"}},testnet:!0})},16209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dogechain=void 0;const n=r(95731);t.dogechain=(0,n.defineChain)({id:2e3,name:"Dogechain",nativeCurrency:{decimals:18,name:"Wrapped Dogecoin",symbol:"WDOGE"},rpcUrls:{default:{http:["https://rpc.dogechain.dog"]}},blockExplorers:{default:{name:"DogeChainExplorer",url:"https://explorer.dogechain.dog",apiUrl:"https://explorer.dogechain.dog/api"}},contracts:{multicall3:{address:"0x68a8609a60a008EFA633dfdec592c03B030cC508",blockCreated:25384031}}})},24236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dreyerxMainnet=void 0;const n=r(95731);t.dreyerxMainnet=(0,n.defineChain)({id:23451,name:"DreyerX Mainnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},rpcUrls:{default:{http:["https://rpc.dreyerx.com"]}},blockExplorers:{default:{name:"DreyerX Scan",url:"https://scan.dreyerx.com"}}})},30715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dreyerxTestnet=void 0;const n=r(38083);t.dreyerxTestnet=(0,n.defineChain)({id:23452,name:"DreyerX Testnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},rpcUrls:{default:{http:["http://testnet-rpc.dreyerx.com"]}},blockExplorers:{default:{name:"DreyerX Testnet Scan",url:"https://testnet-scan.dreyerx.com"}},testnet:!0})},8655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edgeless=void 0;const n=r(95731);t.edgeless=(0,n.defineChain)({id:2026,name:"Edgeless Network",nativeCurrency:{name:"Edgeless Wrapped ETH",symbol:"EwETH",decimals:18},rpcUrls:{default:{http:["https://rpc.edgeless.network/http"],webSocket:["wss://rpc.edgeless.network/ws"]}},blockExplorers:{default:{name:"Edgeless Explorer",url:"https://explorer.edgeless.network"}}})},17156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edgelessTestnet=void 0;const n=r(95731);t.edgelessTestnet=(0,n.defineChain)({id:202,name:"Edgeless Testnet",nativeCurrency:{name:"Edgeless Wrapped ETH",symbol:"EwETH",decimals:18},rpcUrls:{default:{http:["https://edgeless-testnet.rpc.caldera.xyz/http"],webSocket:["wss://edgeless-testnet.rpc.caldera.xyz/ws"]}},blockExplorers:{default:{name:"Edgeless Testnet Explorer",url:"https://testnet.explorer.edgeless.network"}}})},90135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edgeware=void 0;const n=r(95731);t.edgeware=(0,n.defineChain)({id:2021,name:"Edgeware EdgeEVM Mainnet",nativeCurrency:{decimals:18,name:"Edgeware",symbol:"EDG"},rpcUrls:{default:{http:["https://edgeware-evm.jelliedowl.net"]}},blockExplorers:{default:{name:"Edgscan by Bharathcoorg",url:"https://edgscan.live",apiUrl:"https://edgscan.live/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:18117872}}})},95948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.edgewareTestnet=void 0;const n=r(95731);t.edgewareTestnet=(0,n.defineChain)({id:2022,name:"Beresheet BereEVM Testnet",nativeCurrency:{decimals:18,name:"Testnet EDG",symbol:"tEDG"},rpcUrls:{default:{http:["https://beresheet-evm.jelliedowl.net"]}},blockExplorers:{default:{name:"Edgscan by Bharathcoorg",url:"https://testnet.edgscan.live",apiUrl:"https://testnet.edgscan.live/api"}}})},51640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ekta=void 0;const n=r(95731);t.ekta=(0,n.defineChain)({id:1994,name:"Ekta",nativeCurrency:{decimals:18,name:"EKTA",symbol:"EKTA"},rpcUrls:{default:{http:["https://main.ekta.io"]}},blockExplorers:{default:{name:"Ektascan",url:"https://ektascan.io",apiUrl:"https://ektascan.io/api"}}})},7253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ektaTestnet=void 0;const n=r(95731);t.ektaTestnet=(0,n.defineChain)({id:1004,name:"Ekta Testnet",nativeCurrency:{decimals:18,name:"EKTA",symbol:"EKTA"},rpcUrls:{default:{http:["https://test.ekta.io:8545"]}},blockExplorers:{default:{name:"Test Ektascan",url:"https://test.ektascan.io",apiUrl:"https://test.ektascan.io/api"}},testnet:!0})},64965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eon=void 0;const n=r(95731);t.eon=(0,n.defineChain)({id:7332,name:"Horizen EON",nativeCurrency:{decimals:18,name:"ZEN",symbol:"ZEN"},rpcUrls:{default:{http:["https://eon-rpc.horizenlabs.io/ethv1"]}},blockExplorers:{default:{name:"EON Explorer",url:"https://eon-explorer.horizenlabs.io"}},contracts:{}})},48434:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eos=void 0;const n=r(95731);t.eos=(0,n.defineChain)({id:17777,name:"EOS EVM",nativeCurrency:{decimals:18,name:"EOS",symbol:"EOS"},rpcUrls:{default:{http:["https://api.evm.eosnetwork.com"]}},blockExplorers:{default:{name:"EOS EVM Explorer",url:"https://explorer.evm.eosnetwork.com",apiUrl:"https://explorer.evm.eosnetwork.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7943933}}})},46739:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eosTestnet=void 0;const n=r(95731);t.eosTestnet=(0,n.defineChain)({id:15557,name:"EOS EVM Testnet",nativeCurrency:{decimals:18,name:"EOS",symbol:"EOS"},rpcUrls:{default:{http:["https://api.testnet.evm.eosnetwork.com"]}},blockExplorers:{default:{name:"EOS EVM Testnet Explorer",url:"https://explorer.testnet.evm.eosnetwork.com",apiUrl:"https://explorer.testnet.evm.eosnetwork.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:9067940}},testnet:!0})},91183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.etherlink=void 0;const n=r(95731);t.etherlink=(0,n.defineChain)({id:42793,name:"Etherlink",nativeCurrency:{decimals:18,name:"Tez",symbol:"XTZ"},rpcUrls:{default:{http:["https://node.mainnet.etherlink.com"]}},blockExplorers:{default:{name:"Etherlink",url:"https://explorer.etherlink.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:33899}}})},84260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.etherlinkTestnet=void 0;const n=r(95731);t.etherlinkTestnet=(0,n.defineChain)({id:128123,name:"Etherlink Testnet",nativeCurrency:{decimals:18,name:"Tez",symbol:"XTZ"},rpcUrls:{default:{http:["https://node.ghostnet.etherlink.com"]}},blockExplorers:{default:{name:"Etherlink Testnet",url:"https://testnet-explorer.etherlink.com"}},testnet:!0})},48947:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evmos=void 0;const n=r(95731);t.evmos=(0,n.defineChain)({id:9001,name:"Evmos",nativeCurrency:{decimals:18,name:"Evmos",symbol:"EVMOS"},rpcUrls:{default:{http:["https://eth.bd.evmos.org:8545"]}},blockExplorers:{default:{name:"Evmos Block Explorer",url:"https://escan.live"}}})},68784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evmosTestnet=void 0;const n=r(95731);t.evmosTestnet=(0,n.defineChain)({id:9e3,name:"Evmos Testnet",nativeCurrency:{decimals:18,name:"Evmos",symbol:"EVMOS"},rpcUrls:{default:{http:["https://eth.bd.evmos.dev:8545"]}},blockExplorers:{default:{name:"Evmos Testnet Block Explorer",url:"https://evm.evmos.dev/"}}})},15344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fantom=void 0;const n=r(95731);t.fantom=(0,n.defineChain)({id:250,name:"Fantom",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpc.ankr.com/fantom"]}},blockExplorers:{default:{name:"FTMScan",url:"https://ftmscan.com",apiUrl:"https://api.ftmscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:33001987}}})},44915:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fantomSonicTestnet=void 0;const n=r(95731);t.fantomSonicTestnet=(0,n.defineChain)({id:64240,name:"Fantom Sonic Open Testnet",network:"fantom-sonic-testnet",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpcapi.sonic.fantom.network"]}},blockExplorers:{default:{name:"Fantom Sonic Open Testnet Explorer",url:"https://public-sonic.fantom.network"}},testnet:!0})},73901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fantomTestnet=void 0;const n=r(95731);t.fantomTestnet=(0,n.defineChain)({id:4002,name:"Fantom Testnet",nativeCurrency:{decimals:18,name:"Fantom",symbol:"FTM"},rpcUrls:{default:{http:["https://rpc.testnet.fantom.network"]}},blockExplorers:{default:{name:"FTMScan",url:"https://testnet.ftmscan.com",apiUrl:"https://testnet.ftmscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:8328688}},testnet:!0})},27549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fibo=void 0;const n=r(95731);t.fibo=(0,n.defineChain)({id:12306,name:"Fibo Chain",nativeCurrency:{decimals:18,name:"fibo",symbol:"FIBO"},rpcUrls:{default:{http:["https://network.hzroc.art"]}},blockExplorers:{default:{name:"FiboScan",url:"https://scan.fibochain.org"}}})},51132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filecoin=void 0;const n=r(95731);t.filecoin=(0,n.defineChain)({id:314,name:"Filecoin Mainnet",nativeCurrency:{decimals:18,name:"filecoin",symbol:"FIL"},rpcUrls:{default:{http:["https://api.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filfox",url:"https://filfox.info/en"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3328594}}})},83290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filecoinCalibration=void 0;const n=r(95731);t.filecoinCalibration=(0,n.defineChain)({id:314159,name:"Filecoin Calibration",nativeCurrency:{decimals:18,name:"testnet filecoin",symbol:"tFIL"},rpcUrls:{default:{http:["https://api.calibration.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filscan",url:"https://calibration.filscan.io"}},testnet:!0})},89460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filecoinHyperspace=void 0;const n=r(95731);t.filecoinHyperspace=(0,n.defineChain)({id:3141,name:"Filecoin Hyperspace",nativeCurrency:{decimals:18,name:"testnet filecoin",symbol:"tFIL"},rpcUrls:{default:{http:["https://api.hyperspace.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filfox",url:"https://hyperspace.filfox.info/en"}},testnet:!0})},13779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flare=void 0;const n=r(95731);t.flare=(0,n.defineChain)({id:14,name:"Flare Mainnet",nativeCurrency:{decimals:18,name:"flare",symbol:"FLR"},rpcUrls:{default:{http:["https://flare-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Flare Explorer",url:"https://flare-explorer.flare.network",apiUrl:"https://flare-explorer.flare.network/api"}}})},48112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flareTestnet=void 0;const n=r(95731);t.flareTestnet=(0,n.defineChain)({id:114,name:"Coston2",nativeCurrency:{decimals:18,name:"coston2flare",symbol:"C2FLR"},rpcUrls:{default:{http:["https://coston2-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Coston2 Explorer",url:"https://coston2-explorer.flare.network",apiUrl:"https://coston2-explorer.flare.network/api"}},testnet:!0})},30319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flowMainnet=void 0;const n=r(95731);t.flowMainnet=(0,n.defineChain)({id:747,name:"FlowEVM Mainnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://mainnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Mainnet Explorer",url:"https://flowdiver.io"}}})},15076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flowPreviewnet=void 0;const n=r(95731);t.flowPreviewnet=(0,n.defineChain)({id:646,name:"FlowEVM Previewnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://previewnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Previewnet Explorer",url:"https://previewnet.flowdiver.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6205}}})},41636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flowTestnet=void 0;const n=r(95731);t.flowTestnet=(0,n.defineChain)({id:545,name:"FlowEVM Testnet",nativeCurrency:{decimals:18,name:"Flow",symbol:"FLOW"},rpcUrls:{default:{http:["https://testnet.evm.nodes.onflow.org"]}},blockExplorers:{default:{name:"Flow Diver",url:"https://testnet.flowdiver.io"}}})},25406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forma=void 0;const n=r(95731);t.forma=(0,n.defineChain)({id:984122,name:"Forma",network:"forma",nativeCurrency:{symbol:"TIA",name:"TIA",decimals:18},rpcUrls:{default:{http:["https://rpc.forma.art"],webSocket:["wss://ws.forma.art"]}},blockExplorers:{default:{name:"Forma Explorer",url:"https://explorer.forma.art"}},contracts:{multicall3:{address:"0xd53C6FFB123F7349A32980F87faeD8FfDc9ef079",blockCreated:252705}}})},3010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.foundry=void 0;const n=r(95731);t.foundry=(0,n.defineChain)({id:31337,name:"Foundry",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"],webSocket:["ws://127.0.0.1:8545"]}}})},55197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fraxtal=void 0;const n=r(87329),o=r(95731),a=1;t.fraxtal=(0,o.defineChain)({...n.chainConfig,id:252,name:"Fraxtal",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},rpcUrls:{default:{http:["https://rpc.frax.com"]}},blockExplorers:{default:{name:"fraxscan",url:"https://fraxscan.com",apiUrl:"https://api.fraxscan.com/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x66CC916Ed5C6C2FA97014f7D1cD141528Ae171e4"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11"},portal:{[a]:{address:"0x36cb65c1967A0Fb0EEE11569C51C2f2aA1Ca6f6D",blockCreated:19135323}},l1StandardBridge:{[a]:{address:"0x34C0bD5877A5Ee7099D0f5688D65F4bB9158BDE2",blockCreated:19135323}}},sourceId:1})},22166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fraxtalTestnet=void 0;const n=r(87329),o=r(95731),a=17e3;t.fraxtalTestnet=(0,o.defineChain)({...n.chainConfig,id:2522,name:"Fraxtal Testnet",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.frax.com"]}},blockExplorers:{default:{name:"fraxscan testnet",url:"https://holesky.fraxscan.com",apiUrl:"https://api-holesky.fraxscan.com/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x715EA64DA13F4d0831ece4Ad3E8c1aa013167F32"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11"},portal:{[a]:{address:"0xB9c64BfA498d5b9a8398Ed6f46eb76d90dE5505d",blockCreated:318416}},l1StandardBridge:{[a]:{address:"0x0BaafC217162f64930909aD9f2B27125121d6332",blockCreated:318416}}},sourceId:a})},93984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.funkiMainnet=void 0;const n=r(87329),o=r(95731);t.funkiMainnet=(0,o.defineChain)({...n.chainConfig,id:33979,name:"Funki",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-mainnet.funkichain.com"]}},blockExplorers:{default:{name:"Funki Mainnet Explorer",url:"https://funkiscan.io"}},contracts:{...n.chainConfig.contracts},sourceId:1})},285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.funkiSepolia=void 0;const n=r(87329),o=r(95731);t.funkiSepolia=(0,o.defineChain)({...n.chainConfig,id:3397901,network:"funkiSepolia",name:"Funki Sepolia Sandbox",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://funki-testnet.alt.technology"]}},blockExplorers:{default:{name:"Funki Sepolia Sandbox Explorer",url:"https://sepolia-sandbox.funkichain.com/"}},testnet:!0,contracts:{...n.chainConfig.contracts,multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1620204}},sourceId:11155111})},87190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fuse=void 0;const n=r(95731);t.fuse=(0,n.defineChain)({id:122,name:"Fuse",nativeCurrency:{name:"Fuse",symbol:"FUSE",decimals:18},rpcUrls:{default:{http:["https://rpc.fuse.io"]}},blockExplorers:{default:{name:"Fuse Explorer",url:"https://explorer.fuse.io",apiUrl:"https://explorer.fuse.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:16146628}}})},91926:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fuseSparknet=void 0;const n=r(95731);t.fuseSparknet=(0,n.defineChain)({id:123,name:"Fuse Sparknet",nativeCurrency:{name:"Spark",symbol:"SPARK",decimals:18},rpcUrls:{default:{http:["https://rpc.fusespark.io"]}},blockExplorers:{default:{name:"Sparkent Explorer",url:"https://explorer.fusespark.io",apiUrl:"https://explorer.fusespark.io/api"}}})},380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gnosis=void 0;const n=r(95731);t.gnosis=(0,n.defineChain)({id:100,name:"Gnosis",nativeCurrency:{decimals:18,name:"Gnosis",symbol:"xDAI"},rpcUrls:{default:{http:["https://rpc.gnosischain.com"],webSocket:["wss://rpc.gnosischain.com/wss"]}},blockExplorers:{default:{name:"Gnosisscan",url:"https://gnosisscan.io",apiUrl:"https://api.gnosisscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:21022491}}})},29076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gnosisChiado=void 0;const n=r(95731);t.gnosisChiado=(0,n.defineChain)({id:10200,name:"Gnosis Chiado",nativeCurrency:{decimals:18,name:"Gnosis",symbol:"xDAI"},rpcUrls:{default:{http:["https://rpc.chiadochain.net"],webSocket:["wss://rpc.chiadochain.net/wss"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.chiadochain.net",apiUrl:"https://blockscout.chiadochain.net/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:4967313}},testnet:!0})},48812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gobi=void 0;const n=r(95731);t.gobi=(0,n.defineChain)({id:1663,name:"Horizen Gobi Testnet",nativeCurrency:{decimals:18,name:"Test ZEN",symbol:"tZEN"},rpcUrls:{default:{http:["https://gobi-testnet.horizenlabs.io/ethv1"]}},blockExplorers:{default:{name:"Gobi Explorer",url:"https://gobi-explorer.horizen.io"}},contracts:{},testnet:!0})},44109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.goerli=void 0;const n=r(95731);t.goerli=(0,n.defineChain)({id:5,name:"Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.ankr.com/eth_goerli"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.etherscan.io",apiUrl:"https://api-goerli.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xfc4AC75C46C914aF5892d6d3eFFcebD7917293F1",blockCreated:10339206},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6507670}},testnet:!0})},79537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gravity=void 0;const n=r(95731);t.gravity=(0,n.defineChain)({id:1625,name:"Gravity Alpha Mainnet",nativeCurrency:{name:"G",symbol:"G",decimals:18},rpcUrls:{default:{http:["https://rpc.gravity.xyz"]}},blockExplorers:{default:{name:"Gravity Explorer",url:"https://explorer.gravity.xyz",apiUrl:"https://explorer.gravity.xyz/api"}},contracts:{multicall3:{address:"0xf8ac4BEB2F75d2cFFb588c63251347fdD629B92c",blockCreated:16851}}})},45165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ham=void 0;const n=r(95731);t.ham=(0,n.defineChain)({id:5112,name:"Ham",nativeCurrency:{decimals:18,name:"Ham",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.ham.fun"],webSocket:["wss://rpc.ham.fun"]}},blockExplorers:{default:{name:"Ham Chain Explorer",url:"https://explorer.ham.fun",apiUrl:"https://explorer.ham.fun/api/v2"}}})},88472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.haqqMainnet=void 0;const n=r(95731);t.haqqMainnet=(0,n.defineChain)({id:11235,name:"HAQQ Mainnet",nativeCurrency:{decimals:18,name:"Islamic Coin",symbol:"ISLM"},rpcUrls:{default:{http:["https://rpc.eth.haqq.network"]}},blockExplorers:{default:{name:"HAQQ Explorer",url:"https://explorer.haqq.network",apiUrl:"https://explorer.haqq.network/api"}}})},3261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.haqqTestedge2=void 0;const n=r(95731);t.haqqTestedge2=(0,n.defineChain)({id:54211,name:"HAQQ Testedge 2",nativeCurrency:{decimals:18,name:"Islamic Coin",symbol:"ISLMT"},rpcUrls:{default:{http:["https://rpc.eth.testedge2.haqq.network"]}},blockExplorers:{default:{name:"HAQQ Explorer",url:"https://explorer.testedge2.haqq.network",apiUrl:"https://explorer.testedge2.haqq.network/api"}}})},63421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hardhat=void 0;const n=r(95731);t.hardhat=(0,n.defineChain)({id:31337,name:"Hardhat",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"]}}})},30801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.harmonyOne=void 0;const n=r(95731);t.harmonyOne=(0,n.defineChain)({id:16666e5,name:"Harmony One",nativeCurrency:{name:"Harmony",symbol:"ONE",decimals:18},rpcUrls:{default:{http:["https://rpc.ankr.com/harmony"]}},blockExplorers:{default:{name:"Harmony Explorer",url:"https://explorer.harmony.one"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:24185753}}})},65298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hedera=void 0;const n=r(95731);t.hedera=(0,n.defineChain)({id:295,name:"Hedera Mainnet",network:"hedera-mainnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://mainnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/mainnet"}},testnet:!1})},70457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hederaPreviewnet=void 0;const n=r(95731);t.hederaPreviewnet=(0,n.defineChain)({id:297,name:"Hedera Previewnet",network:"hedera-previewnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://previewnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/previewnet"}},testnet:!0})},60211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hederaTestnet=void 0;const n=r(95731);t.hederaTestnet=(0,n.defineChain)({id:296,name:"Hedera Testnet",network:"hedera-testnet",nativeCurrency:{symbol:"HBAR",name:"HBAR",decimals:18},rpcUrls:{default:{http:["https://testnet.hashio.io/api"]}},blockExplorers:{default:{name:"Hashscan",url:"https://hashscan.io/testnet"}},testnet:!0})},66776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.holesky=void 0;const n=r(95731);t.holesky=(0,n.defineChain)({id:17e3,name:"Holesky",nativeCurrency:{name:"Holesky Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://ethereum-holesky-rpc.publicnode.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://holesky.etherscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:77},ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",blockCreated:801613},ensUniversalResolver:{address:"0xa6AC935D4971E3CD133b950aE053bECD16fE7f3b",blockCreated:973484}},testnet:!0})},77120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.immutableZkEvm=void 0;const n=r(95731);t.immutableZkEvm=(0,n.defineChain)({id:13371,name:"Immutable zkEVM",nativeCurrency:{decimals:18,name:"Immutable Coin",symbol:"IMX"},rpcUrls:{default:{http:["https://rpc.immutable.com"]}},blockExplorers:{default:{name:"Immutable Explorer",url:"https://explorer.immutable.com"}},contracts:{multicall3:{address:"0x236bdA4589e44e6850f5aC6a74BfCa398a86c6c0",blockCreated:4335972}}})},83741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.immutableZkEvmTestnet=void 0;const n=r(95731);t.immutableZkEvmTestnet=(0,n.defineChain)({id:13473,name:"Immutable zkEVM Testnet",nativeCurrency:{decimals:18,name:"Immutable Coin",symbol:"IMX"},rpcUrls:{default:{http:["https://rpc.testnet.immutable.com"]}},blockExplorers:{default:{name:"Immutable Testnet Explorer",url:"https://explorer.testnet.immutable.com/"}},contracts:{multicall3:{address:"0x2CC787Ed364600B0222361C4188308Fa8E68bA60",blockCreated:5977391}},testnet:!0})},70092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inEVM=void 0;const n=r(95731);t.inEVM=(0,n.defineChain)({id:2525,name:"inEVM Mainnet",nativeCurrency:{decimals:18,name:"Injective",symbol:"INJ"},rpcUrls:{default:{http:["https://mainnet.rpc.inevm.com/http"]}},blockExplorers:{default:{name:"inEVM Explorer",url:"https://inevm.calderaexplorer.xyz",apiUrl:"https://inevm.calderaexplorer.xyz/api/v2"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:118606}}})},49510:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iotex=void 0;const n=r(95731);t.iotex=(0,n.defineChain)({id:4689,name:"IoTeX",nativeCurrency:{decimals:18,name:"IoTeX",symbol:"IOTX"},rpcUrls:{default:{http:["https://babel-api.mainnet.iotex.io"],webSocket:["wss://babel-api.mainnet.iotex.io"]}},blockExplorers:{default:{name:"IoTeXScan",url:"https://iotexscan.io"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:22163670}}})},30111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iotexTestnet=void 0;const n=r(95731);t.iotexTestnet=(0,n.defineChain)({id:4690,name:"IoTeX Testnet",nativeCurrency:{decimals:18,name:"IoTeX",symbol:"IOTX"},rpcUrls:{default:{http:["https://babel-api.testnet.iotex.io"],webSocket:["wss://babel-api.testnet.iotex.io"]}},blockExplorers:{default:{name:"IoTeXScan",url:"https://testnet.iotexscan.io"}},testnet:!0})},59078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jbc=void 0;const n=r(95731);t.jbc=(0,n.defineChain)({id:8899,name:"JIBCHAIN L1",network:"jbc",nativeCurrency:{name:"JBC",symbol:"JBC",decimals:18},rpcUrls:{default:{http:["https://rpc-l1.jibchain.net"]},public:{http:["https://rpc-l1.jibchain.net"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp-l1.jibchain.net",apiUrl:"https://exp-l1.jibchain.net/api"}},contracts:{multicall3:{address:"0xc0C8C486D1466C57Efe13C2bf000d4c56F47CBdC",blockCreated:2299048}},testnet:!1})},12671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jbcTestnet=void 0;const n=r(95731);t.jbcTestnet=(0,n.defineChain)({id:88991,name:"Jibchain Testnet",nativeCurrency:{name:"tJBC",symbol:"tJBC",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.jibchain.net"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp.testnet.jibchain.net",apiUrl:"https://exp.testnet.jibchain.net/api"}},contracts:{multicall3:{address:"0xa1a858ad9041B4741e620355a3F96B3c78e70ecE",blockCreated:32848}},testnet:!0})},59357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kakarotSepolia=void 0;const n=r(95731);t.kakarotSepolia=(0,n.defineChain)({id:1802203764,name:"Kakarot Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rpc.kakarot.org"]}},blockExplorers:{default:{name:"Kakarot Scan",url:"https://sepolia.kakarotscan.org"}},testnet:!0})},84495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.karura=void 0;const n=r(95731);t.karura=(0,n.defineChain)({id:686,name:"Karura",network:"karura",nativeCurrency:{name:"Karura",symbol:"KAR",decimals:18},rpcUrls:{public:{http:["https://eth-rpc-karura.aca-api.network"],webSocket:["wss://eth-rpc-karura.aca-api.network"]},default:{http:["https://eth-rpc-karura.aca-api.network"],webSocket:["wss://eth-rpc-karura.aca-api.network"]}},blockExplorers:{default:{name:"Karura Blockscout",url:"https://blockscout.karura.network",apiUrl:"https://blockscout.karura.network/api"}},testnet:!1})},44722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kava=void 0;const n=r(95731);t.kava=(0,n.defineChain)({id:2222,name:"Kava EVM",network:"kava-mainnet",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},rpcUrls:{default:{http:["https://evm.kava.io"]}},blockExplorers:{default:{name:"Kava EVM Explorer",url:"https://kavascan.com",apiUrl:"https://kavascan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:3661165}},testnet:!1})},87987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kavaTestnet=void 0;const n=r(95731);t.kavaTestnet=(0,n.defineChain)({id:2221,name:"Kava EVM Testnet",network:"kava-testnet",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},rpcUrls:{default:{http:["https://evm.testnet.kava.io"]}},blockExplorers:{default:{name:"Kava EVM Testnet Explorer",url:"https://testnet.kavascan.com/",apiUrl:"https://testnet.kavascan.com/api"}},contracts:{multicall3:{address:"0xDf1D724A7166261eEB015418fe8c7679BBEa7fd6",blockCreated:7242179}},testnet:!0})},59772:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kcc=void 0;const n=r(95731);t.kcc=(0,n.defineChain)({id:321,name:"KCC Mainnet",network:"KCC Mainnet",nativeCurrency:{decimals:18,name:"KCS",symbol:"KCS"},rpcUrls:{default:{http:["https://kcc-rpc.com"]},public:{http:["https://kcc-rpc.com"]}},blockExplorers:{default:{name:"KCC Explorer",url:"https://explorer.kcc.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:11760430}},testnet:!1})},81272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.klaytn=void 0;const n=r(95731);t.klaytn=(0,n.defineChain)({id:8217,name:"Klaytn",nativeCurrency:{decimals:18,name:"Klaytn",symbol:"KLAY"},rpcUrls:{default:{http:["https://public-en-cypress.klaytn.net"]}},blockExplorers:{default:{name:"KlaytnScope",url:"https://scope.klaytn.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:96002415}}})},27795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.klaytnBaobab=void 0;const n=r(95731);t.klaytnBaobab=(0,n.defineChain)({id:1001,name:"Klaytn Baobab Testnet",network:"klaytn-baobab",nativeCurrency:{decimals:18,name:"Baobab Klaytn",symbol:"KLAY"},rpcUrls:{default:{http:["https://public-en-baobab.klaytn.net"]}},blockExplorers:{default:{name:"KlaytnScope",url:"https://baobab.klaytnscope.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:123390593}},testnet:!0})},86970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.koi=void 0;const n=r(95731);t.koi=(0,n.defineChain)({id:701,name:"Koi Network",nativeCurrency:{decimals:18,name:"Koi Network Native Token",symbol:"KRING"},rpcUrls:{default:{http:["https://koi-rpc.darwinia.network"],webSocket:["wss://koi-rpc.darwinia.network"]}},blockExplorers:{default:{name:"Blockscout",url:"https://koi-scan.darwinia.network"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:180001}},testnet:!0})},39259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kroma=void 0;const n=r(95731);t.kroma=(0,n.defineChain)({id:255,name:"Kroma",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://api.kroma.network"]}},blockExplorers:{default:{name:"Kroma Explorer",url:"https://blockscout.kroma.network",apiUrl:"https://blockscout.kroma.network/api"}},testnet:!1})},8030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kromaSepolia=void 0;const n=r(95731);t.kromaSepolia=(0,n.defineChain)({id:2358,name:"Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://api.sepolia.kroma.network"]}},blockExplorers:{default:{name:"Kroma Sepolia Explorer",url:"https://blockscout.sepolia.kroma.network",apiUrl:"https://blockscout.sepolia.kroma.network/api"}},testnet:!0})},5452:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.l3x=void 0;const n=r(95731);t.l3x=(0,n.defineChain)({id:12324,name:"L3X Protocol",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-mainnet.l3x.com"],webSocket:["wss://rpc-mainnet.l3x.com"]}},blockExplorers:{default:{name:"L3X Mainnet Explorer",url:"https://explorer.l3x.com",apiUrl:"https://explorer.l3x.com/api/v2"}},testnet:!1})},57697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.l3xTestnet=void 0;const n=r(95731);t.l3xTestnet=(0,n.defineChain)({id:12325,name:"L3X Protocol Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.l3x.com"],webSocket:["wss://rpc-testnet.l3x.com"]}},blockExplorers:{default:{name:"L3X Testnet Explorer",url:"https://explorer-testnet.l3x.com",apiUrl:"https://explorer-testnet.l3x.com/api/v2"}},testnet:!0})},99815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lightlinkPegasus=void 0;const n=r(95731);t.lightlinkPegasus=(0,n.defineChain)({id:1891,name:"LightLink Pegasus Testnet",network:"lightlink-pegasus",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://replicator.pegasus.lightlink.io/rpc/v1"]}},blockExplorers:{default:{name:"LightLink Pegasus Explorer",url:"https://pegasus.lightlink.io"}},testnet:!0})},94060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lightlinkPhoenix=void 0;const n=r(95731);t.lightlinkPhoenix=(0,n.defineChain)({id:1890,name:"LightLink Phoenix Mainnet",network:"lightlink-phoenix",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://replicator.phoenix.lightlink.io/rpc/v1"]}},blockExplorers:{default:{name:"LightLink Phoenix Explorer",url:"https://phoenix.lightlink.io"}},testnet:!1})},28642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linea=void 0;const n=r(95731);t.linea=(0,n.defineChain)({id:59144,name:"Linea Mainnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.linea.build"],webSocket:["wss://rpc.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://lineascan.build",apiUrl:"https://api.lineascan.build/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:42}},testnet:!1})},53656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineaGoerli=void 0;const n=r(95731);t.lineaGoerli=(0,n.defineChain)({id:59140,name:"Linea Goerli Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.lineascan.build",apiUrl:"https://api-goerli.lineascan.build/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:498623}},testnet:!0})},89889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineaSepolia=void 0;const n=r(95731);t.lineaSepolia=(0,n.defineChain)({id:59141,name:"Linea Sepolia Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.sepolia.linea.build"],webSocket:["wss://rpc.sepolia.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://sepolia.lineascan.build",apiUrl:"https://api-sepolia.lineascan.build/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:227427}},testnet:!0})},43843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineaTestnet=void 0;const n=r(95731);t.lineaTestnet=(0,n.defineChain)({id:59140,name:"Linea Goerli Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.lineascan.build",apiUrl:"https://goerli.lineascan.build/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:498623}},testnet:!0})},82246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lisk=void 0;const n=r(95731),o=r(76399);t.lisk=(0,n.defineChain)({...o.chainConfig,id:1135,name:"Lisk",network:"lisk",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.api.lisk.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://blockscout.lisk.com",apiUrl:"https://blockscout.lisk.com/api"}},contracts:{multicall3:{address:"0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0"}}})},41413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.liskSepolia=void 0;const n=r(87329),o=r(95731),a=11155111;t.liskSepolia=(0,o.defineChain)({...n.chainConfig,id:4202,network:"lisk-sepolia",name:"Lisk Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.sepolia-api.lisk.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://sepolia-blockscout.lisk.com",apiUrl:"https://sepolia-blockscout.lisk.com/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11"},portal:{[a]:{address:"0xe3d90F21490686Ec7eF37BE788E02dfC12787264"}},l1StandardBridge:{[a]:{address:"0x1Fb30e446eA791cd1f011675E5F3f5311b70faF5"}}},testnet:!0,sourceId:a})},46718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localhost=void 0;const n=r(95731);t.localhost=(0,n.defineChain)({id:1337,name:"Localhost",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["http://127.0.0.1:8545"]}}})},33109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lukso=void 0;const n=r(95731);t.lukso=(0,n.defineChain)({id:42,network:"lukso",name:"LUKSO",nativeCurrency:{name:"LUKSO",symbol:"LYX",decimals:18},rpcUrls:{default:{http:["https://rpc.mainnet.lukso.network"],webSocket:["wss://ws-rpc.mainnet.lukso.network"]}},blockExplorers:{default:{name:"LUKSO Mainnet Explorer",url:"https://explorer.execution.mainnet.lukso.network",apiUrl:"https://api.explorer.execution.mainnet.lukso.network/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:468183}}})},50574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.luksoTestnet=void 0;const n=r(95731);t.luksoTestnet=(0,n.defineChain)({id:4201,name:"LUKSO Testnet",nativeCurrency:{decimals:18,name:"LUKSO Testnet",symbol:"LYXt"},rpcUrls:{default:{http:["https://rpc.testnet.lukso.network"],webSocket:["wss://ws-rpc.testnet.lukso.network"]}},blockExplorers:{default:{name:"LUKSO Testnet Explorer",url:"https://explorer.execution.testnet.lukso.network",apiUrl:"https://api.explorer.execution.testnet.lukso.network/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:605348}},testnet:!0})},93632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lycan=void 0;const n=r(95731);t.lycan=(0,n.defineChain)({id:721,name:"Lycan",nativeCurrency:{decimals:18,name:"Lycan",symbol:"LYC"},rpcUrls:{default:{http:["https://rpc.lycanchain.com","https://us-east.lycanchain.com","https://us-west.lycanchain.com","https://eu-north.lycanchain.com","https://eu-west.lycanchain.com","https://asia-southeast.lycanchain.com"],webSocket:["wss://rpc.lycanchain.com","wss://us-east.lycanchain.com","wss://us-west.lycanchain.com","wss://eu-north.lycanchain.com","wss://eu-west.lycanchain.com","wss://asia-southeast.lycanchain.com"]}},blockExplorers:{default:{name:"Lycan Explorer",url:"https://explorer.lycanchain.com"}}})},65069:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lyra=void 0;const n=r(95731);t.lyra=(0,n.defineChain)({id:957,name:"Lyra Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.lyra.finance"]}},blockExplorers:{default:{name:"Lyra Explorer",url:"https://explorer.lyra.finance",apiUrl:"https://explorer.lyra.finance/api/v2"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1935198}}})},91623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mainnet=void 0;const n=r(95731);t.mainnet=(0,n.defineChain)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cloudflare-eth.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xce01f8eee7E479C928F8919abD53E553a36CeF67",blockCreated:19258213},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}})},24203:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mandala=void 0;const n=r(95731);t.mandala=(0,n.defineChain)({id:595,name:"Mandala TC9",network:"mandala",nativeCurrency:{name:"Mandala",symbol:"mACA",decimals:18},rpcUrls:{public:{http:["https://eth-rpc-tc9.aca-staging.network"],webSocket:["wss://eth-rpc-tc9.aca-staging.network"]},default:{http:["https://eth-rpc-tc9.aca-staging.network"],webSocket:["wss://eth-rpc-tc9.aca-staging.network"]}},blockExplorers:{default:{name:"Mandala Blockscout",url:"https://blockscout.mandala.aca-staging.network",apiUrl:"https://blockscout.mandala.aca-staging.network/api"}},testnet:!0})},1184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.manta=void 0;const n=r(95731);t.manta=(0,n.defineChain)({id:169,name:"Manta Pacific Mainnet",network:"manta",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://pacific-rpc.manta.network/http"]}},blockExplorers:{default:{name:"Manta Explorer",url:"https://pacific-explorer.manta.network",apiUrl:"https://pacific-explorer.manta.network/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:332890}}})},81560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mantaSepoliaTestnet=void 0;const n=r(95731);t.mantaSepoliaTestnet=(0,n.defineChain)({id:3441006,name:"Manta Pacific Sepolia Testnet",network:"manta-sepolia",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://pacific-rpc.sepolia-testnet.manta.network/http"]}},blockExplorers:{default:{name:"Manta Sepolia Testnet Explorer",url:"https://pacific-explorer.sepolia-testnet.manta.network",apiUrl:"https://pacific-explorer.sepolia-testnet.manta.network/api"}},contracts:{multicall3:{address:"0xca54918f7B525C8df894668846506767412b53E3",blockCreated:479584}},testnet:!0})},5213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mantaTestnet=void 0;const n=r(95731);t.mantaTestnet=(0,n.defineChain)({id:3441005,name:"Manta Pacific Testnet",network:"manta-testnet",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://manta-testnet.calderachain.xyz/http"]}},blockExplorers:{default:{name:"Manta Testnet Explorer",url:"https://pacific-explorer.testnet.manta.network",apiUrl:"https://pacific-explorer.testnet.manta.network/api"}},contracts:{multicall3:{address:"0x211B1643b95Fe76f11eD8880EE810ABD9A4cf56C",blockCreated:419915}},testnet:!0})},61e3:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mantle=void 0;const n=r(95731);t.mantle=(0,n.defineChain)({id:5e3,name:"Mantle",nativeCurrency:{decimals:18,name:"MNT",symbol:"MNT"},rpcUrls:{default:{http:["https://rpc.mantle.xyz"]}},blockExplorers:{default:{name:"Mantle Explorer",url:"https://mantlescan.xyz/",apiUrl:"https://api.mantlescan.xyz/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:304717}}})},63744:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mantleSepoliaTestnet=void 0;const n=r(95731);t.mantleSepoliaTestnet=(0,n.defineChain)({id:5003,name:"Mantle Sepolia Testnet",nativeCurrency:{decimals:18,name:"MNT",symbol:"MNT"},rpcUrls:{default:{http:["https://rpc.sepolia.mantle.xyz"]}},blockExplorers:{default:{name:"Mantle Testnet Explorer",url:"https://explorer.sepolia.mantle.xyz/",apiUrl:"https://explorer.sepolia.mantle.xyz/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:4584012}},testnet:!0})},98629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mantleTestnet=void 0;const n=r(95731);t.mantleTestnet=(0,n.defineChain)({id:5001,name:"Mantle Testnet",nativeCurrency:{decimals:18,name:"MNT",symbol:"MNT"},rpcUrls:{default:{http:["https://rpc.testnet.mantle.xyz"]}},blockExplorers:{default:{name:"Mantle Testnet Explorer",url:"https://explorer.testnet.mantle.xyz",apiUrl:"https://explorer.testnet.mantle.xyz/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:561333}},testnet:!0})},74052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merlin=void 0;const n=r(95731);t.merlin=(0,n.defineChain)({id:4200,name:"Merlin",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://rpc.merlinchain.io"]}},blockExplorers:{default:{name:"blockscout",url:"https://scan.merlinchain.io",apiUrl:"https://scan.merlinchain.io/api"}}})},32161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.metachain=void 0;const n=r(95731);t.metachain=(0,n.defineChain)({id:571,name:"MetaChain Mainnet",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},rpcUrls:{default:{http:["https://rpc.metatime.com"]}},blockExplorers:{default:{name:"MetaExplorer",url:"https://explorer.metatime.com"}},contracts:{multicall3:{address:"0x0000000000000000000000000000000000003001",blockCreated:0}}})},80835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.metachainIstanbul=void 0;const n=r(95731);t.metachainIstanbul=(0,n.defineChain)({id:1453,name:"MetaChain Istanbul",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},rpcUrls:{default:{http:["https://istanbul-rpc.metachain.dev"]}},blockExplorers:{default:{name:"MetaExplorer",url:"https://istanbul-explorer.metachain.dev"}},contracts:{multicall3:{address:"0x0000000000000000000000000000000000003001",blockCreated:0}},testnet:!0})},47662:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.metalL2=void 0;const n=r(87329),o=r(95731),a=1;t.metalL2=(0,o.defineChain)({...n.chainConfig,id:1750,name:"Metal L2",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.metall2.com"],webSocket:["wss://rpc.metall2.com"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.metall2.com",apiUrl:"https://explorer.metall2.com/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x3B1F7aDa0Fcc26B13515af752Dd07fB1CAc11426"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:0},portal:{[a]:{address:"0x3F37aBdE2C6b5B2ed6F8045787Df1ED1E3753956"}},l1StandardBridge:{[a]:{address:"0x6d0f65D59b55B0FEC5d2d15365154DcADC140BF3"}}},sourceId:1})},39194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.meter=void 0;const n=r(95731);t.meter=(0,n.defineChain)({id:82,name:"Meter",nativeCurrency:{decimals:18,name:"MTR",symbol:"MTR"},rpcUrls:{default:{http:["https://rpc.meter.io"]}},blockExplorers:{default:{name:"MeterScan",url:"https://scan.meter.io"}}})},11611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.meterTestnet=void 0;const n=r(95731);t.meterTestnet=(0,n.defineChain)({id:83,name:"Meter Testnet",nativeCurrency:{decimals:18,name:"MTR",symbol:"MTR"},rpcUrls:{default:{http:["https://rpctest.meter.io"]}},blockExplorers:{default:{name:"MeterTestnetScan",url:"https://scan-warringstakes.meter.io"}}})},97157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.metis=void 0;const n=r(95731);t.metis=(0,n.defineChain)({id:1088,name:"Metis",nativeCurrency:{decimals:18,name:"Metis",symbol:"METIS"},rpcUrls:{default:{http:["https://andromeda.metis.io/?owner=1088"]}},blockExplorers:{default:{name:"Metis Explorer",url:"https://explorer.metis.io",apiUrl:"https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan/api"},blockscout:{name:"Andromeda Explorer",url:"https://andromeda-explorer.metis.io",apiUrl:"https://andromeda-explorer.metis.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:2338552}}})},70215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.metisGoerli=void 0;const n=r(95731);t.metisGoerli=(0,n.defineChain)({id:599,name:"Metis Goerli",nativeCurrency:{decimals:18,name:"Metis Goerli",symbol:"METIS"},rpcUrls:{default:{http:["https://goerli.gateway.metisdevops.link"]}},blockExplorers:{default:{name:"Metis Goerli Explorer",url:"https://goerli.explorer.metisdevops.link",apiUrl:"https://goerli.explorer.metisdevops.link/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1006207}}})},65063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mev=void 0;const n=r(95731);t.mev=(0,n.defineChain)({id:7518,name:"MEVerse Chain Mainnet",nativeCurrency:{decimals:18,name:"MEVerse",symbol:"MEV"},rpcUrls:{default:{http:["https://rpc.meversemainnet.io"]}},blockExplorers:{default:{name:"Explorer",url:"https://www.meversescan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:86881340}}})},51484:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mevTestnet=void 0;const n=r(95731);t.mevTestnet=(0,n.defineChain)({id:4759,name:"MEVerse Chain Testnet",nativeCurrency:{decimals:18,name:"MEVerse",symbol:"MEV"},rpcUrls:{default:{http:["https://rpc.meversetestnet.io"]}},blockExplorers:{default:{name:"Explorer",url:"https://testnet.meversescan.io/"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:64371115}},testnet:!0})},92059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mintSepoliaTestnet=void 0;const n=r(95731);t.mintSepoliaTestnet=(0,n.defineChain)({id:1686,name:"Mint Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://testnet-rpc.mintchain.io"]}},blockExplorers:{default:{name:"Mintchain Testnet explorer",url:"https://testnet-explorer.mintchain.io"}},testnet:!0})},19600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mode=void 0;const n=r(95731),o=1;t.mode=(0,n.defineChain)({id:34443,name:"Mode Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.mode.network"]}},blockExplorers:{default:{name:"Modescan",url:"https://modescan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:2465882},l2OutputOracle:{[o]:{address:"0x4317ba146D4933D889518a3e5E11Fe7a53199b04"}},portal:{[o]:{address:"0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07"}},l1StandardBridge:{[o]:{address:"0x735aDBbE72226BD52e818E7181953f42E3b0FF21"}}},sourceId:1})},91821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modeTestnet=void 0;const n=r(87329),o=r(95731),a=11155111;t.modeTestnet=(0,o.defineChain)({...n.chainConfig,id:919,name:"Mode Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.mode.network"]}},blockExplorers:{default:{name:"Blockscout",url:"https://sepolia.explorer.mode.network",apiUrl:"https://sepolia.explorer.mode.network/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x2634BD65ba27AB63811c74A63118ACb312701Bfa",blockCreated:3778393}},portal:{[a]:{address:"0x320e1580effF37E008F1C92700d1eBa47c1B23fD",blockCreated:3778395}},l1StandardBridge:{[a]:{address:"0xbC5C679879B2965296756CD959C3C739769995E2",blockCreated:3778392}},multicall3:{address:"0xBAba8373113Fb7a68f195deF18732e01aF8eDfCF",blockCreated:3019007}},testnet:!0,sourceId:a})},64383:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moonbaseAlpha=void 0;const n=r(95731);t.moonbaseAlpha=(0,n.defineChain)({id:1287,name:"Moonbase Alpha",nativeCurrency:{decimals:18,name:"DEV",symbol:"DEV"},rpcUrls:{default:{http:["https://rpc.api.moonbase.moonbeam.network"],webSocket:["wss://wss.api.moonbase.moonbeam.network"]}},blockExplorers:{default:{name:"Moonscan",url:"https://moonbase.moonscan.io",apiUrl:"https://moonbase.moonscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1850686}},testnet:!0})},35865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moonbeam=void 0;const n=r(95731);t.moonbeam=(0,n.defineChain)({id:1284,name:"Moonbeam",nativeCurrency:{decimals:18,name:"GLMR",symbol:"GLMR"},rpcUrls:{default:{http:["https://moonbeam.public.blastapi.io"],webSocket:["wss://moonbeam.public.blastapi.io"]}},blockExplorers:{default:{name:"Moonscan",url:"https://moonscan.io",apiUrl:"https://api-moonbeam.moonscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:609002}},testnet:!1})},39478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moonbeamDev=void 0;const n=r(95731);t.moonbeamDev=(0,n.defineChain)({id:1281,name:"Moonbeam Development Node",nativeCurrency:{decimals:18,name:"DEV",symbol:"DEV"},rpcUrls:{default:{http:["http://127.0.0.1:9944"],webSocket:["wss://127.0.0.1:9944"]}}})},97862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moonriver=void 0;const n=r(95731);t.moonriver=(0,n.defineChain)({id:1285,name:"Moonriver",nativeCurrency:{decimals:18,name:"MOVR",symbol:"MOVR"},rpcUrls:{default:{http:["https://moonriver.public.blastapi.io"],webSocket:["wss://moonriver.public.blastapi.io"]}},blockExplorers:{default:{name:"Moonscan",url:"https://moonriver.moonscan.io",apiUrl:"https://api-moonriver.moonscan.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1597904}},testnet:!1})},62386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.morphHolesky=void 0;const n=r(95731);t.morphHolesky=(0,n.defineChain)({id:2810,name:"Morph Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-quicknode-holesky.morphl2.io"],webSocket:["wss://rpc-quicknode-holesky.morphl2.io"]}},blockExplorers:{default:{name:"Morph Holesky Explorer",url:"https://explorer-holesky.morphl2.io",apiUrl:"https://explorer-api-holesky.morphl2.io/api?"}},testnet:!0})},65224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.morphSepolia=void 0;const n=r(95731);t.morphSepolia=(0,n.defineChain)({id:2710,name:"Morph Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.morphl2.io"]}},blockExplorers:{default:{name:"Morph Testnet Explorer",url:"https://explorer-testnet.morphl2.io",apiUrl:"https://explorer-api-testnet.morphl2.io/api"}},testnet:!0})},44954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nautilus=void 0;const n=r(95731);t.nautilus=(0,n.defineChain)({id:22222,name:"Nautilus Mainnet",nativeCurrency:{name:"ZBC",symbol:"ZBC",decimals:9},rpcUrls:{default:{http:["https://api.nautilus.nautchain.xyz"]}},blockExplorers:{default:{name:"NautScan",url:"https://nautscan.com"}}})},40317:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.neonDevnet=void 0;const n=r(95731);t.neonDevnet=(0,n.defineChain)({id:245022926,name:"Neon EVM DevNet",nativeCurrency:{name:"NEON",symbol:"NEON",decimals:18},rpcUrls:{default:{http:["https://devnet.neonevm.org"]}},blockExplorers:{default:{name:"Neonscan",url:"https://devnet.neonscan.org"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:205206112}},testnet:!0})},80255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.neonMainnet=void 0;const n=r(95731);t.neonMainnet=(0,n.defineChain)({id:245022934,network:"neonMainnet",name:"Neon EVM MainNet",nativeCurrency:{name:"NEON",symbol:"NEON",decimals:18},rpcUrls:{default:{http:["https://neon-proxy-mainnet.solana.p2p.org"]}},blockExplorers:{default:{name:"Neonscan",url:"https://neonscan.org"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:206545524}},testnet:!1})},29485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nexi=void 0;const n=r(95731);t.nexi=(0,n.defineChain)({id:4242,name:"Nexi",nativeCurrency:{name:"Nexi",symbol:"NEXI",decimals:18},rpcUrls:{default:{http:["https://rpc.chain.nexi.technology"]}},blockExplorers:{default:{name:"NexiScan",url:"https://www.nexiscan.com",apiUrl:"https://www.nexiscan.com/api"}},contracts:{multicall3:{address:"0x0277A46Cc69A57eE3A6C8c158bA874832F718B8E",blockCreated:25770160}}})},97456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nexilix=void 0;const n=r(95731);t.nexilix=(0,n.defineChain)({id:240,name:"Nexilix Smart Chain",nativeCurrency:{decimals:18,name:"Nexilix",symbol:"NEXILIX"},rpcUrls:{default:{http:["https://rpcurl.pos.nexilix.com"]}},blockExplorers:{default:{name:"NexilixScan",url:"https://scan.nexilix.com"}},contracts:{multicall3:{address:"0x58381c8e2BF9d0C2C4259cA14BdA9Afe02831244",blockCreated:74448}}})},96439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oasisTestnet=void 0;const n=r(95731);t.oasisTestnet=(0,n.defineChain)({id:4090,network:"oasis-testnet",name:"Oasis Testnet",nativeCurrency:{name:"Fasttoken",symbol:"FTN",decimals:18},rpcUrls:{default:{http:["https://rpc1.oasis.bahamutchain.com"]},public:{http:["https://rpc1.oasis.bahamutchain.com"]}},blockExplorers:{default:{name:"Ftnscan",url:"https://oasis.ftnscan.com",apiUrl:"https://oasis.ftnscan.com/api"}},testnet:!0})},45710:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oasys=void 0;const n=r(95731);t.oasys=(0,n.defineChain)({id:248,name:"Oasys",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},rpcUrls:{default:{http:["https://rpc.mainnet.oasys.games"]}},blockExplorers:{default:{name:"OasysScan",url:"https://scan.oasys.games",apiUrl:"https://scan.oasys.games/api"}}})},4896:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.okc=void 0;const n=r(95731);t.okc=(0,n.defineChain)({id:66,name:"OKC",nativeCurrency:{decimals:18,name:"OKT",symbol:"OKT"},rpcUrls:{default:{http:["https://exchainrpc.okex.org"]}},blockExplorers:{default:{name:"oklink",url:"https://www.oklink.com/okc"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:10364792}}})},57980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oortMainnetDev=void 0;const n=r(95731);t.oortMainnetDev=(0,n.defineChain)({id:9700,name:"OORT MainnetDev",nativeCurrency:{decimals:18,name:"OORT",symbol:"OORT"},rpcUrls:{default:{http:["https://dev-rpc.oortech.com"]}},blockExplorers:{oort:{name:"OORT MainnetDev Explorer",url:"https://dev-scan.oortech.com"},default:{name:"OORT MainnetDev Explorer",url:"https://dev-scan.oortech.com"}}})},79800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.opBNB=void 0;const n=r(95731);t.opBNB=(0,n.defineChain)({id:204,name:"opBNB",nativeCurrency:{name:"BNB",symbol:"BNB",decimals:18},rpcUrls:{default:{http:["https://opbnb-mainnet-rpc.bnbchain.org"]}},blockExplorers:{default:{name:"opbnbscan",url:"https://mainnet.opbnbscan.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:512881}}})},46421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.opBNBTestnet=void 0;const n=r(95731);t.opBNBTestnet=(0,n.defineChain)({id:5611,name:"opBNB Testnet",nativeCurrency:{decimals:18,name:"tBNB",symbol:"tBNB"},rpcUrls:{default:{http:["https://opbnb-testnet-rpc.bnbchain.org"]}},blockExplorers:{default:{name:"opbnbscan",url:"https://testnet.opbnbscan.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3705108}},testnet:!0})},43997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.optimism=void 0;const n=r(87329),o=r(95731),a=1;t.optimism=(0,o.defineChain)({...n.chainConfig,id:10,name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.optimism.io"]}},blockExplorers:{default:{name:"Optimism Explorer",url:"https://optimistic.etherscan.io",apiUrl:"https://api-optimistic.etherscan.io/api"}},contracts:{...n.chainConfig.contracts,disputeGameFactory:{[a]:{address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"}},l2OutputOracle:{[a]:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{[a]:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{[a]:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:1})},64719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.optimismGoerli=void 0;const n=r(87329),o=r(95731),a=5;t.optimismGoerli=(0,o.defineChain)({...n.chainConfig,id:420,name:"Optimism Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://goerli.optimism.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli-optimism.etherscan.io",apiUrl:"https://goerli-optimism.etherscan.io/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:49461},portal:{[a]:{address:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383"}},l1StandardBridge:{[a]:{address:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8"}}},testnet:!0,sourceId:5})},31348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.optimismSepolia=void 0;const n=r(87329),o=r(95731),a=11155111;t.optimismSepolia=(0,o.defineChain)({...n.chainConfig,id:11155420,name:"OP Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.optimism.io"]}},blockExplorers:{default:{name:"Blockscout",url:"https://optimism-sepolia.blockscout.com",apiUrl:"https://optimism-sepolia.blockscout.com/api"}},contracts:{...n.chainConfig.contracts,disputeGameFactory:{[a]:{address:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"}},l2OutputOracle:{[a]:{address:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1620204},portal:{[a]:{address:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"}},l1StandardBridge:{[a]:{address:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"}}},testnet:!0,sourceId:a})},91736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.otimDevnet=void 0;const n=r(95731);t.otimDevnet=(0,n.defineChain)({id:41144114,name:"Otim Devnet",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["http://devnet.otim.xyz"]}},contracts:{batchInvoker:{address:"0x5FbDB2315678afecb367f032d93F642f64180aa3"}}})},58951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.palm=void 0;const n=r(95731);t.palm=(0,n.defineChain)({id:11297108109,name:"Palm",nativeCurrency:{decimals:18,name:"PALM",symbol:"PALM"},rpcUrls:{default:{http:["https://palm-mainnet.public.blastapi.io"],webSocket:["wss://palm-mainnet.public.blastapi.io"]}},blockExplorers:{default:{name:"Chainlens",url:"https://palm.chainlens.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15429248}}})},11068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.palmTestnet=void 0;const n=r(95731);t.palmTestnet=(0,n.defineChain)({id:11297108099,name:"Palm Testnet",nativeCurrency:{decimals:18,name:"PALM",symbol:"PALM"},rpcUrls:{default:{http:["https://palm-mainnet.public.blastapi.io"],webSocket:["wss://palm-mainnet.public.blastapi.io"]}},blockExplorers:{default:{name:"Chainlens",url:"https://palm.chainlens.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15429248}},testnet:!0})},46922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pgn=void 0;const n=r(9227),o=r(95731),a=1;t.pgn=(0,o.defineChain)({id:424,network:"pgn",name:"PGN",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.publicgoods.network"]}},blockExplorers:{default:{name:"PGN Explorer",url:"https://explorer.publicgoods.network",apiUrl:"https://explorer.publicgoods.network/api"},blockscout:{name:"PGN Explorer",url:"https://explorer.publicgoods.network",apiUrl:"https://explorer.publicgoods.network/api"}},contracts:{l2OutputOracle:{[a]:{address:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3380209},portal:{[a]:{address:"0xb26Fd985c5959bBB382BAFdD0b879E149e48116c"}},l1StandardBridge:{[a]:{address:"0xD0204B9527C1bA7bD765Fa5CCD9355d38338272b"}}},formatters:n.formatters,sourceId:1})},59307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pgnTestnet=void 0;const n=r(9227),o=r(95731),a=11155111;t.pgnTestnet=(0,o.defineChain)({id:58008,network:"pgn-testnet",name:"PGN ",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.publicgoods.network"]}},blockExplorers:{default:{name:"PGN Testnet Explorer",url:"https://explorer.sepolia.publicgoods.network",apiUrl:"https://explorer.sepolia.publicgoods.network/api"},blockscout:{name:"PGN Testnet Explorer",url:"https://explorer.sepolia.publicgoods.network",apiUrl:"https://explorer.sepolia.publicgoods.network/api"}},contracts:{l2OutputOracle:{[a]:{address:"0xD5bAc3152ffC25318F848B3DD5dA6C85171BaEEe"}},portal:{[a]:{address:"0xF04BdD5353Bb0EFF6CA60CfcC78594278eBfE179"}},l1StandardBridge:{[a]:{address:"0xFaE6abCAF30D23e233AC7faF747F2fC3a5a6Bfa3"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3754925}},formatters:n.formatters,sourceId:a,testnet:!0})},864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.phoenix=void 0;const n=r(95731);t.phoenix=(0,n.defineChain)({id:13381,name:"Phoenix Blockchain",nativeCurrency:{name:"Phoenix",symbol:"PHX",decimals:18},rpcUrls:{default:{http:["https://rpc.phoenixplorer.com"]}},blockExplorers:{default:{name:"Phoenixplorer",url:"https://phoenixplorer.com",apiUrl:"https://phoenixplorer.com/api"}},contracts:{multicall3:{address:"0x498cF757a575cFF2c2Ed9f532f56Efa797f86442",blockCreated:5620192}}})},48196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.playfiAlbireo=void 0;const n=r(95731),o=r(76399);t.playfiAlbireo=(0,n.defineChain)({...o.chainConfig,id:1612127,name:"PlayFi Albireo Testnet",network:"albireo",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://albireo-rpc.playfi.ai"],webSocket:["wss://albireo-rpc-ws.playfi.ai/ws"]}},blockExplorers:{default:{name:"PlayFi Albireo Explorer",url:"https://albireo-explorer.playfi.ai"}},contracts:{multicall3:{address:"0xF9cda624FBC7e059355ce98a31693d299FACd963"}},testnet:!0})},17948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plinga=void 0;const n=r(95731);t.plinga=(0,n.defineChain)({id:242,name:"Plinga",nativeCurrency:{name:"Plinga",symbol:"PLINGA",decimals:18},rpcUrls:{default:{http:["https://rpcurl.mainnet.plgchain.com"]}},blockExplorers:{default:{name:"Plgscan",url:"https://www.plgscan.com"}},contracts:{multicall3:{address:"0x0989576160f2e7092908BB9479631b901060b6e4",blockCreated:204489}}})},90791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.plumeTestnet=void 0;const n=r(95731);t.plumeTestnet=(0,n.defineChain)({id:161221135,name:"Plume Testnet",nativeCurrency:{name:"Plume Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://testnet-rpc.plumenetwork.xyz/http"],webSocket:["wss://testnet-rpc.plumenetwork.xyz/ws"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet-explorer.plumenetwork.xyz",apiUrl:"https://testnet-explorer.plumenetwork.xyz/api"}},testnet:!0,sourceId:11155111})},78009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.polygon=void 0;const n=r(95731);t.polygon=(0,n.defineChain)({id:137,name:"Polygon",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{default:{http:["https://polygon-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:25770160}}})},36835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.polygonAmoy=void 0;const n=r(95731);t.polygonAmoy=(0,n.defineChain)({id:80002,name:"Polygon Amoy",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{default:{http:["https://rpc-amoy.polygon.technology"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://amoy.polygonscan.com",apiUrl:"https://api-amoy.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:3127388}},testnet:!0})},92878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.polygonMumbai=void 0;const n=r(95731);t.polygonMumbai=(0,n.defineChain)({id:80001,name:"Polygon Mumbai",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},rpcUrls:{default:{http:["https://rpc.ankr.com/polygon_mumbai"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://mumbai.polygonscan.com",apiUrl:"https://api-testnet.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:25770160}},testnet:!0})},80606:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.polygonZkEvm=void 0;const n=r(95731);t.polygonZkEvm=(0,n.defineChain)({id:1101,name:"Polygon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://zkevm-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://zkevm.polygonscan.com",apiUrl:"https://api-zkevm.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:57746}}})},17474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.polygonZkEvmCardona=void 0;const n=r(95731);t.polygonZkEvmCardona=(0,n.defineChain)({id:2442,name:"Polygon zkEVM Cardona",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.cardona.zkevm-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://cardona-zkevm.polygonscan.com",apiUrl:"https://cardona-zkevm.polygonscan.com/api"}},testnet:!0,contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:114091}}})},8247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.polygonZkEvmTestnet=void 0;const n=r(95731);t.polygonZkEvmTestnet=(0,n.defineChain)({id:1442,name:"Polygon zkEVM Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.public.zkevm-test.net"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://testnet-zkevm.polygonscan.com",apiUrl:"https://testnet-zkevm.polygonscan.com/api"}},testnet:!0,contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:525686}}})},54061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pulsechain=void 0;const n=r(95731);t.pulsechain=(0,n.defineChain)({id:369,name:"PulseChain",nativeCurrency:{name:"Pulse",symbol:"PLS",decimals:18},testnet:!1,rpcUrls:{default:{http:["https://rpc.pulsechain.com"],webSocket:["wss://ws.pulsechain.com"]}},blockExplorers:{default:{name:"PulseScan",url:"https://scan.pulsechain.com",apiUrl:"https://api.scan.pulsechain.com/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}})},87119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pulsechainV4=void 0;const n=r(95731);t.pulsechainV4=(0,n.defineChain)({id:943,name:"PulseChain V4",testnet:!0,nativeCurrency:{name:"V4 Pulse",symbol:"v4PLS",decimals:18},rpcUrls:{default:{http:["https://rpc.v4.testnet.pulsechain.com"],webSocket:["wss://ws.v4.testnet.pulsechain.com"]}},blockExplorers:{default:{name:"PulseScan",url:"https://scan.v4.testnet.pulsechain.com",apiUrl:"https://scan.v4.testnet.pulsechain.com/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}})},27974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.qMainnet=void 0;const n=r(95731);t.qMainnet=(0,n.defineChain)({id:35441,name:"Q Mainnet",nativeCurrency:{decimals:18,name:"Q",symbol:"Q"},rpcUrls:{default:{http:["https://rpc.q.org"]}},blockExplorers:{default:{name:"Q Mainnet Explorer",url:"https://explorer.q.org",apiUrl:"https://explorer.q.org/api"}}})},4469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.qTestnet=void 0;const n=r(95731);t.qTestnet=(0,n.defineChain)({id:35443,name:"Q Testnet",nativeCurrency:{decimals:18,name:"Q",symbol:"Q"},rpcUrls:{default:{http:["https://rpc.qtestnet.org"]}},blockExplorers:{default:{name:"Q Testnet Explorer",url:"https://explorer.qtestnet.org",apiUrl:"https://explorer.qtestnet.org/api"}},testnet:!0})},94811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.real=void 0;const n=r(95731);t.real=(0,n.defineChain)({id:111188,name:"re.al",nativeCurrency:{name:"reETH",decimals:18,symbol:"reETH"},rpcUrls:{default:{http:["https://real.drpc.org"]}},blockExplorers:{default:{name:"re.al Explorer",url:"https://explorer.re.al",apiUrl:"https://explorer.re.al/api/v2"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:695}}})},9631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redbellyTestnet=void 0;const n=r(95731);t.redbellyTestnet=(0,n.defineChain)({id:153,name:"Redbelly Network Testnet",nativeCurrency:{name:"Redbelly Native Coin",symbol:"RBNT",decimals:18},rpcUrls:{default:{http:["https://governors.testnet.redbelly.network"]}},blockExplorers:{default:{name:"Ethernal",url:"https://explorer.testnet.redbelly.network",apiUrl:"https://ethernal.fly.dev/api"}},testnet:!0})},85179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redstone=void 0;const n=r(95731);t.redstone=(0,n.defineChain)({id:690,name:"Redstone",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.redstonechain.com"],webSocket:["wss://rpc.redstonechain.com"]}},blockExplorers:{default:{name:"Explorer",url:"\thttps://explorer.redstone.xyz"}}})},47920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reyaNetwork=void 0;const n=r(95731);t.reyaNetwork=(0,n.defineChain)({id:1729,name:"Reya Network",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.reya.network"],webSocket:["wss://ws.reya.network"]}},blockExplorers:{default:{name:"Reya Network Explorer",url:"https://explorer.reya.network"}},testnet:!1})},82761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rollux=void 0;const n=r(95731);t.rollux=(0,n.defineChain)({id:570,name:"Rollux Mainnet",nativeCurrency:{decimals:18,name:"Syscoin",symbol:"SYS"},rpcUrls:{default:{http:["https://rpc.rollux.com"],webSocket:["wss://rpc.rollux.com/wss"]}},blockExplorers:{default:{name:"RolluxExplorer",url:"https://explorer.rollux.com",apiUrl:"https://explorer.rollux.com/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:119222}}})},682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rolluxTestnet=void 0;const n=r(95731);t.rolluxTestnet=(0,n.defineChain)({id:57e3,name:"Rollux Testnet",nativeCurrency:{decimals:18,name:"Syscoin",symbol:"SYS"},rpcUrls:{default:{http:["https://rpc-tanenbaum.rollux.com/"],webSocket:["wss://rpc-tanenbaum.rollux.com/wss"]}},blockExplorers:{default:{name:"RolluxTestnetExplorer",url:"https://rollux.tanenbaum.io",apiUrl:"https://rollux.tanenbaum.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1813675}}})},21699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ronin=void 0;const n=r(95731);t.ronin=(0,n.defineChain)({id:2020,name:"Ronin",nativeCurrency:{name:"RON",symbol:"RON",decimals:18},rpcUrls:{default:{http:["https://api.roninchain.com/rpc"]}},blockExplorers:{default:{name:"Ronin Explorer",url:"https://app.roninchain.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:26023535}}})},1319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.root=void 0;const n=r(95731);t.root=(0,n.defineChain)({id:7668,name:"The Root Network",nativeCurrency:{decimals:18,name:"XRP",symbol:"XRP"},rpcUrls:{default:{http:["https://root.rootnet.live/archive"],webSocket:["wss://root.rootnet.live/archive/ws"]}},blockExplorers:{default:{name:"Rootscan",url:"https://rootscan.io"}},contracts:{multicall3:{address:"0xc9C2E2429AeC354916c476B30d729deDdC94988d",blockCreated:9218338}}})},86251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rootPorcini=void 0;const n=r(95731);t.rootPorcini=(0,n.defineChain)({id:7672,name:"The Root Network - Porcini",nativeCurrency:{decimals:18,name:"XRP",symbol:"XRP"},rpcUrls:{default:{http:["https://porcini.rootnet.app/archive"],webSocket:["wss://porcini.rootnet.app/archive/ws"]}},blockExplorers:{default:{name:"Rootscan",url:"https://porcini.rootscan.io"}},contracts:{multicall3:{address:"0xc9C2E2429AeC354916c476B30d729deDdC94988d",blockCreated:10555692}},testnet:!0})},6553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rootstock=void 0;const n=r(95731);t.rootstock=(0,n.defineChain)({id:30,name:"Rootstock Mainnet",network:"rootstock",nativeCurrency:{decimals:18,name:"Rootstock Bitcoin",symbol:"RBTC"},rpcUrls:{default:{http:["https://public-node.rsk.co"]}},blockExplorers:{default:{name:"RSK Explorer",url:"https://explorer.rsk.co"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:4249540}}})},51994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rootstockTestnet=void 0;const n=r(95731);t.rootstockTestnet=(0,n.defineChain)({id:31,name:"Rootstock Testnet",network:"rootstock",nativeCurrency:{decimals:18,name:"Rootstock Bitcoin",symbol:"tRBTC"},rpcUrls:{default:{http:["https://public-node.testnet.rsk.co"]}},blockExplorers:{default:{name:"RSK Explorer",url:"https://explorer.testnet.rootstock.io"}},testnet:!0})},70526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rss3=void 0;const n=r(87329),o=r(95731),a=1;t.rss3=(0,o.defineChain)({...n.chainConfig,id:12553,name:"RSS3 VSL Mainnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},rpcUrls:{default:{http:["https://rpc.rss3.io"]}},blockExplorers:{default:{name:"RSS3 VSL Mainnet Scan",url:"https://scan.rss3.io",apiUrl:"https://scan.rss3.io/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0xE6f24d2C32B3109B18ed33cF08eFb490b1e09C10"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14193},portal:{[a]:{address:"0x6A12432491bbbE8d3babf75F759766774C778Db4",blockCreated:19387057}},l1StandardBridge:{[a]:{address:"0x4cbab69108Aa72151EDa5A3c164eA86845f18438"}}},sourceId:1})},47421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rss3Sepolia=void 0;const n=r(87329),o=r(95731),a=11155111;t.rss3Sepolia=(0,o.defineChain)({...n.chainConfig,id:2331,name:"RSS3 VSL Sepolia Testnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.rss3.io"]}},blockExplorers:{default:{name:"RSS3 VSL Sepolia Testnet Scan",url:"https://scan.testnet.rss3.io",apiUrl:"https://scan.testnet.rss3.io/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0xDb5c46C3Eaa6Ed6aE8b2379785DF7dd029C0dC81"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:55697},portal:{[a]:{address:"0xcBD77E8E1E7F06B25baDe67142cdE82652Da7b57",blockCreated:5345035}},l1StandardBridge:{[a]:{address:"0xdDD29bb63B0839FB1cE0eE439Ff027738595D07B"}}},testnet:!0,sourceId:a})},98886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.saigon=void 0;const n=r(95731);t.saigon=(0,n.defineChain)({id:2021,name:"Saigon Testnet",nativeCurrency:{name:"RON",symbol:"RON",decimals:18},rpcUrls:{default:{http:["https://saigon-testnet.roninchain.com/rpc"]}},blockExplorers:{default:{name:"Saigon Explorer",url:"https://saigon-app.roninchain.com"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:18736871}},testnet:!0})},40029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sapphire=void 0;const n=r(95731);t.sapphire=(0,n.defineChain)({id:23294,name:"Oasis Sapphire",network:"sapphire",nativeCurrency:{name:"Sapphire Rose",symbol:"ROSE",decimals:18},rpcUrls:{default:{http:["https://sapphire.oasis.io"],webSocket:["wss://sapphire.oasis.io/ws"]}},blockExplorers:{default:{name:"Oasis Explorer",url:"https://explorer.oasis.io/mainnet/sapphire"},blockscout:{name:"Oasis Sapphire Explorer",url:"https://old-explorer.sapphire.oasis.io",apiUrl:"https://old-explorer.sapphire.oasis.io/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:734531}}})},82966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sapphireTestnet=void 0;const n=r(95731);t.sapphireTestnet=(0,n.defineChain)({id:23295,name:"Oasis Sapphire Testnet",network:"sapphire-testnet",nativeCurrency:{name:"Sapphire Test Rose",symbol:"TEST",decimals:18},rpcUrls:{default:{http:["https://testnet.sapphire.oasis.dev"],webSocket:["wss://testnet.sapphire.oasis.dev/ws"]}},blockExplorers:{default:{name:"Oasis Explorer",url:"https://explorer.oasis.io/testnet/sapphire"},blockscout:{name:"Oasis Sapphire Testnet Explorer",url:"https://testnet.old-explorer.sapphire.oasis.dev",apiUrl:"https://testnet.old-explorer.sapphire.oasis.dev/api"}},testnet:!0})},75135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.satoshiVM=void 0;const n=r(95731);t.satoshiVM=(0,n.defineChain)({id:3109,name:"SatoshiVM Alpha Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://alpha-rpc-node-http.svmscan.io"]}},blockExplorers:{default:{name:"blockscout",url:"https://svmscan.io",apiUrl:"https://svmscan.io/api"}}})},53172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.satoshiVMTestnet=void 0;const n=r(95731);t.satoshiVMTestnet=(0,n.defineChain)({id:3110,name:"SatoshiVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},rpcUrls:{default:{http:["https://test-rpc-node-http.svmscan.io"]}},blockExplorers:{default:{name:"blockscout",url:"https://testnet.svmscan.io",apiUrl:"https://testnet.svmscan.io/api"}},testnet:!0})},20890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scroll=void 0;const n=r(95731);t.scroll=(0,n.defineChain)({id:534352,name:"Scroll",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.scroll.io"],webSocket:["wss://wss-rpc.scroll.io/ws"]}},blockExplorers:{default:{name:"Scrollscan",url:"https://scrollscan.com",apiUrl:"https://api.scrollscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14}},testnet:!1})},13017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scrollSepolia=void 0;const n=r(95731);t.scrollSepolia=(0,n.defineChain)({id:534351,name:"Scroll Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia-rpc.scroll.io"]}},blockExplorers:{default:{name:"Scrollscan",url:"https://sepolia.scrollscan.com",apiUrl:"https://api-sepolia.scrollscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:9473}},testnet:!0})},38172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sei=void 0;const n=r(95731);t.sei=(0,n.defineChain)({id:1329,name:"Sei Network",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},rpcUrls:{default:{http:["https://evm-rpc.sei-apis.com/"],webSocket:["wss://evm-ws.sei-apis.com/"]}},blockExplorers:{default:{name:"Seitrace",url:"https://seitrace.com",apiUrl:"https://seitrace.com/pacific-1/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11"}}})},43194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seiDevnet=void 0;const n=r(95731);t.seiDevnet=(0,n.defineChain)({id:713715,name:"Sei Devnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},rpcUrls:{default:{http:["https://evm-rpc-arctic-1.sei-apis.com"]}},blockExplorers:{default:{name:"Seitrace",url:"https://seitrace.com"}},testnet:!0})},26513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seiTestnet=void 0;const n=r(95731);t.seiTestnet=(0,n.defineChain)({id:1328,name:"Sei Testnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},rpcUrls:{default:{http:["https://evm-rpc-testnet.sei-apis.com"],webSocket:["wss://evm-ws-testnet.sei-apis.com"]}},blockExplorers:{default:{name:"Seitrace",url:"https://seitrace.com"}},testnet:!0})},96122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sepolia=void 0;const n=r(95731);t.sepolia=(0,n.defineChain)({id:11155111,name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.sepolia.org"]}},blockExplorers:{default:{name:"Etherscan",url:"https://sepolia.etherscan.io",apiUrl:"https://api-sepolia.etherscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:751532},ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",blockCreated:5317080}},testnet:!0})},64320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shardeumSphinx=void 0;const n=r(95731);t.shardeumSphinx=(0,n.defineChain)({id:8082,name:"Shardeum Sphinx",nativeCurrency:{name:"SHARDEUM",symbol:"SHM",decimals:18},rpcUrls:{default:{http:["https://sphinx.shardeum.org"]}},blockExplorers:{default:{name:"Shardeum Explorer",url:"https://explorer-sphinx.shardeum.org"}},testnet:!0})},3391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shibarium=void 0;const n=r(95731);t.shibarium=(0,n.defineChain)({id:109,name:"Shibarium",network:"shibarium",nativeCurrency:{name:"Bone",symbol:"BONE",decimals:18},rpcUrls:{default:{http:["https://rpc.shibrpc.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://shibariumscan.io"}},contracts:{multicall3:{address:"0x864Bf681ADD6052395188A89101A1B37d3B4C961",blockCreated:265900}}})},54004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shibariumTestnet=void 0;const n=r(95731);t.shibariumTestnet=(0,n.defineChain)({id:157,name:"Puppynet Shibarium",nativeCurrency:{decimals:18,name:"Bone",symbol:"BONE"},rpcUrls:{default:{http:["https://puppynet.shibrpc.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://puppyscan.shib.io",apiUrl:"https://puppyscan.shib.io/api"}},contracts:{multicall3:{address:"0xA4029b74FBA366c926eDFA7Dd10B21C621170a4c",blockCreated:3035769}},testnet:!0})},36728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shimmer=void 0;const n=r(95731);t.shimmer=(0,n.defineChain)({id:148,name:"Shimmer",network:"shimmer",nativeCurrency:{decimals:18,name:"Shimmer",symbol:"SMR"},rpcUrls:{default:{http:["https://json-rpc.evm.shimmer.network"]}},blockExplorers:{default:{name:"Shimmer Network Explorer",url:"https://explorer.evm.shimmer.network",apiUrl:"https://explorer.evm.shimmer.network/api"}}})},55349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shimmerTestnet=void 0;const n=r(95731);t.shimmerTestnet=(0,n.defineChain)({id:1073,name:"Shimmer Testnet",network:"shimmer-testnet",nativeCurrency:{decimals:18,name:"Shimmer",symbol:"SMR"},rpcUrls:{default:{http:["https://json-rpc.evm.testnet.shimmer.network"]}},blockExplorers:{default:{name:"Shimmer Network Explorer",url:"https://explorer.evm.testnet.shimmer.network",apiUrl:"https://explorer.evm.testnet.shimmer.network/api"}},testnet:!0})},53554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleBlockBrawlers=void 0;const n=r(95731);t.skaleBlockBrawlers=(0,n.defineChain)({id:391845894,name:"SKALE | Block Brawlers",nativeCurrency:{name:"BRAWL",symbol:"BRAWL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/frayed-decent-antares"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/frayed-decent-antares"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://frayed-decent-antares.explorer.mainnet.skalenodes.com"}},contracts:{}})},50941:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleCalypso=void 0;const n=r(95731);t.skaleCalypso=(0,n.defineChain)({id:1564830818,name:"SKALE | Calypso NFT Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/honorable-steel-rasalhague"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3107626}}})},62102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleCalypsoTestnet=void 0;const n=r(95731);t.skaleCalypsoTestnet=(0,n.defineChain)({id:974399131,name:"SKALE Calypso Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://testnet.skalenodes.com/v1/giant-half-dual-testnet"],webSocket:["wss://testnet.skalenodes.com/v1/ws/giant-half-dual-testnet"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://giant-half-dual-testnet.explorer.testnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:103220}},testnet:!0})},58338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleCryptoBlades=void 0;const n=r(95731);t.skaleCryptoBlades=(0,n.defineChain)({id:1026062157,name:"SKALE | CryptoBlades",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/affectionate-immediate-pollux"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/affectionate-immediate-pollux"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://affectionate-immediate-pollux.explorer.mainnet.skalenodes.com"}},contracts:{}})},22363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleCryptoColosseum=void 0;const n=r(95731);t.skaleCryptoColosseum=(0,n.defineChain)({id:1032942172,name:"SKALE | Crypto Colosseum",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/haunting-devoted-deneb"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/haunting-devoted-deneb"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://haunting-devoted-deneb.explorer.mainnet.skalenodes.com"}},contracts:{}})},67534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleEuropa=void 0;const n=r(95731);t.skaleEuropa=(0,n.defineChain)({id:2046399126,name:"SKALE | Europa Liquidity Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/elated-tan-skat"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/elated-tan-skat"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://elated-tan-skat.explorer.mainnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:3113495}}})},85159:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleEuropaTestnet=void 0;const n=r(95731);t.skaleEuropaTestnet=(0,n.defineChain)({id:1444673419,name:"SKALE Europa Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://testnet.skalenodes.com/v1/juicy-low-small-testnet"],webSocket:["wss://testnet.skalenodes.com/v1/ws/juicy-low-small-testnet"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://juicy-low-small-testnet.explorer.testnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:110858}},testnet:!0})},94451:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleExorde=void 0;const n=r(95731);t.skaleExorde=(0,n.defineChain)({id:2139927552,name:"SKALE | Exorde",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/light-vast-diphda"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/light-vast-diphda"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://light-vast-diphda.explorer.mainnet.skalenodes.com"}},contracts:{}})},4487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleHumanProtocol=void 0;const n=r(95731);t.skaleHumanProtocol=(0,n.defineChain)({id:1273227453,name:"SKALE | Human Protocol",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/wan-red-ain"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/wan-red-ain"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://wan-red-ain.explorer.mainnet.skalenodes.com"}},contracts:{}})},21079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleNebula=void 0;const n=r(95731);t.skaleNebula=(0,n.defineChain)({id:1482601649,name:"SKALE | Nebula Gaming Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/green-giddy-denebola"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/green-giddy-denebola"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://green-giddy-denebola.explorer.mainnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:2372986}}})},59308:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleNebulaTestnet=void 0;const n=r(95731);t.skaleNebulaTestnet=(0,n.defineChain)({id:37084624,name:"SKALE Nebula Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet"],webSocket:["wss://testnet.skalenodes.com/v1/ws/lanky-ill-funny-testnet"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:105141}},testnet:!0})},58710:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleRazor=void 0;const n=r(95731);t.skaleRazor=(0,n.defineChain)({id:278611351,name:"SKALE | Razor Network",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/turbulent-unique-scheat"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/turbulent-unique-scheat"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com"}},contracts:{}})},49848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleTitan=void 0;const n=r(95731);t.skaleTitan=(0,n.defineChain)({id:1350216234,name:"SKALE | Titan Community Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://mainnet.skalenodes.com/v1/parallel-stormy-spica"],webSocket:["wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://parallel-stormy-spica.explorer.mainnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:2076458}}})},96917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skaleTitanTestnet=void 0;const n=r(95731);t.skaleTitanTestnet=(0,n.defineChain)({id:1020352220,name:"SKALE Titan Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},rpcUrls:{default:{http:["https://testnet.skalenodes.com/v1/aware-fake-trim-testnet"],webSocket:["wss://testnet.skalenodes.com/v1/ws/aware-fake-trim-testnet"]}},blockExplorers:{default:{name:"SKALE Explorer",url:"https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:104072}},testnet:!0})},76562:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sketchpad=void 0;const n=r(95731);t.sketchpad=(0,n.defineChain)({id:984123,name:"Forma Sketchpad",network:"sketchpad",nativeCurrency:{symbol:"TIA",name:"TIA",decimals:18},rpcUrls:{default:{http:["https://rpc.sketchpad-1.forma.art"],webSocket:["wss://ws.sketchpad-1.forma.art"]}},blockExplorers:{default:{name:"Sketchpad Explorer",url:"https://explorer.sketchpad-1.forma.art"}},testnet:!0})},8449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.songbird=void 0;const n=r(95731);t.songbird=(0,n.defineChain)({id:19,name:"Songbird Mainnet",nativeCurrency:{decimals:18,name:"songbird",symbol:"SGB"},rpcUrls:{default:{http:["https://songbird-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Songbird Explorer",url:"https://songbird-explorer.flare.network",apiUrl:"https://songbird-explorer.flare.network/api"}}})},90914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.songbirdTestnet=void 0;const n=r(95731);t.songbirdTestnet=(0,n.defineChain)({id:16,name:"Coston",nativeCurrency:{decimals:18,name:"costonflare",symbol:"CFLR"},rpcUrls:{default:{http:["https://coston-api.flare.network/ext/C/rpc"]}},blockExplorers:{default:{name:"Coston Explorer",url:"https://coston-explorer.flare.network",apiUrl:"https://coston-explorer.flare.network/api"}},testnet:!0})},24693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spicy=void 0;const n=r(95731);t.spicy=(0,n.defineChain)({id:88882,name:"Chiliz Spicy Testnet",network:"chiliz-spicy-Testnet",nativeCurrency:{decimals:18,name:"CHZ",symbol:"CHZ"},rpcUrls:{default:{http:["https://spicy-rpc.chiliz.com","https://chiliz-spicy-rpc.publicnode.com"],webSocket:["wss://spicy-rpc-ws.chiliz.com","wss://chiliz-spicy-rpc.publicnode.com"]}},blockExplorers:{default:{name:"Chiliz Explorer",url:"http://spicy-explorer.chiliz.com",apiUrl:"http://spicy-explorer.chiliz.com/api"}},testnet:!0})},47097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stratis=void 0;const n=r(95731);t.stratis=(0,n.defineChain)({id:105105,name:"Stratis Mainnet",network:"stratis",nativeCurrency:{name:"Stratis",symbol:"STRAX",decimals:18},rpcUrls:{default:{http:["https://rpc.stratisevm.com"]}},blockExplorers:{default:{name:"Stratis Explorer",url:"https://explorer.stratisevm.com"}}})},67663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.syscoin=void 0;const n=r(95731);t.syscoin=(0,n.defineChain)({id:57,name:"Syscoin Mainnet",nativeCurrency:{decimals:18,name:"Syscoin",symbol:"SYS"},rpcUrls:{default:{http:["https://rpc.syscoin.org"],webSocket:["wss://rpc.syscoin.org/wss"]}},blockExplorers:{default:{name:"SyscoinExplorer",url:"https://explorer.syscoin.org",apiUrl:"https://explorer.syscoin.org/api"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:287139}}})},49508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.syscoinTestnet=void 0;const n=r(95731);t.syscoinTestnet=(0,n.defineChain)({id:5700,name:"Syscoin Tanenbaum Testnet",nativeCurrency:{decimals:18,name:"Syscoin",symbol:"SYS"},rpcUrls:{default:{http:["https://rpc.tanenbaum.io"],webSocket:["wss://rpc.tanenbaum.io/wss"]}},blockExplorers:{default:{name:"SyscoinTestnetExplorer",url:"https://tanenbaum.io"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:271288}}})},20443:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taiko=void 0;const n=r(95731);t.taiko=(0,n.defineChain)({id:167e3,name:"Taiko Mainnet",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.mainnet.taiko.xyz"],webSocket:["wss://ws.mainnet.taiko.xyz"]}},blockExplorers:{default:{name:"Taikoscan",url:"https://taikoscan.network",apiUrl:"https://taikoscan.network/api"}},contracts:{multicall3:{address:"0xcb2436774C3e191c85056d248EF4260ce5f27A9D"}}})},71452:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taikoHekla=void 0;const n=r(95731);t.taikoHekla=(0,n.defineChain)({id:167009,name:"Taiko Hekla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.hekla.taiko.xyz"]}},blockExplorers:{default:{name:"Taikoscan",url:"https://hekla.taikoscan.network"}},testnet:!0})},44493:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taikoJolnir=void 0;const n=r(95731);t.taikoJolnir=(0,n.defineChain)({id:167007,name:"Taiko Jolnir (Alpha-5 Testnet)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.jolnir.taiko.xyz"]}},blockExplorers:{default:{name:"blockscout",url:"https://explorer.jolnir.taiko.xyz"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:732706}},testnet:!0})},48084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taikoKatla=void 0;const n=r(95731);t.taikoKatla=(0,n.defineChain)({id:167008,name:"Taiko Katla (Alpha-6 Testnet)",network:"tko-katla",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.katla.taiko.xyz"]},public:{http:["https://rpc.katla.taiko.xyz"]}},blockExplorers:{default:{name:"blockscout",url:"https://explorer.katla.taiko.xyz"}}})},59891:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taikoTestnetSepolia=void 0;const n=r(95731);t.taikoTestnetSepolia=(0,n.defineChain)({id:167005,name:"Taiko (Alpha-3 Testnet)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.test.taiko.xyz"]}},blockExplorers:{default:{name:"blockscout",url:"https://explorer.test.taiko.xyz"}}})},14406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taraxa=void 0;const n=r(95731);t.taraxa=(0,n.defineChain)({id:841,name:"Taraxa Mainnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},rpcUrls:{default:{http:["https://rpc.mainnet.taraxa.io"]}},blockExplorers:{default:{name:"Taraxa Explorer",url:"https://explorer.mainnet.taraxa.io"}}})},1407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.taraxaTestnet=void 0;const n=r(95731);t.taraxaTestnet=(0,n.defineChain)({id:842,name:"Taraxa Testnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.taraxa.io"]}},blockExplorers:{default:{name:"Taraxa Explorer",url:"https://explorer.testnet.taraxa.io"}},testnet:!0})},99704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.telcoinTestnet=void 0;const n=r(95731);t.telcoinTestnet=(0,n.defineChain)({id:2017,name:"Telcoin Adiri Testnet",nativeCurrency:{name:"Telcoin",symbol:"TEL",decimals:18},rpcUrls:{default:{http:["https://rpc.telcoin.network"]}},blockExplorers:{default:{name:"telscan",url:"https://telscan.io"}},testnet:!0})},59172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.telos=void 0;const n=r(95731);t.telos=(0,n.defineChain)({id:40,name:"Telos",nativeCurrency:{decimals:18,name:"Telos",symbol:"TLOS"},rpcUrls:{default:{http:["https://mainnet.telos.net/evm"]}},blockExplorers:{default:{name:"Teloscan",url:"https://www.teloscan.io/"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:246530709}}})},29529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.telosTestnet=void 0;const n=r(95731);t.telosTestnet=(0,n.defineChain)({id:41,name:"Telos",nativeCurrency:{decimals:18,name:"Telos",symbol:"TLOS"},rpcUrls:{default:{http:["https://testnet.telos.net/evm"]}},blockExplorers:{default:{name:"Teloscan (testnet)",url:"https://testnet.teloscan.io/"}},testnet:!0})},32337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tenet=void 0;const n=r(95731);t.tenet=(0,n.defineChain)({id:1559,name:"Tenet",network:"tenet-mainnet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},rpcUrls:{default:{http:["https://rpc.tenet.org"]}},blockExplorers:{default:{name:"TenetScan Mainnet",url:"https://tenetscan.io",apiUrl:"https://tenetscan.io/api"}},testnet:!1})},9076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.thaiChain=void 0;const n=r(95731);t.thaiChain=(0,n.defineChain)({id:7,name:"ThaiChain",nativeCurrency:{name:"TCH",symbol:"TCH",decimals:18},rpcUrls:{default:{http:["https://rpc.thaichain.org"]}},blockExplorers:{default:{name:"Blockscout",url:"https://exp.thaichain.org",apiUrl:"https://exp.thaichain.org/api"}},contracts:{multicall3:{address:"0x0DaD6130e832c21719C5CE3bae93454E16A84826",blockCreated:4806386}},testnet:!1})},49566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.thunderTestnet=void 0;const n=r(95731);t.thunderTestnet=(0,n.defineChain)({id:997,name:"5ireChain Thunder Testnet",nativeCurrency:{name:"5ire Token",symbol:"5IRE",decimals:18},rpcUrls:{default:{http:["https://rpc-testnet.5ire.network"]}},blockExplorers:{default:{name:"5ireChain Explorer",url:"https://explorer.5ire.network"}},testnet:!0})},36580:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unreal=void 0;const n=r(95731);t.unreal=(0,n.defineChain)({id:18233,name:"Unreal",nativeCurrency:{name:"reETH",decimals:18,symbol:"reETH"},rpcUrls:{default:{http:["https://rpc.unreal-orbit.gelato.digital"]}},blockExplorers:{default:{name:"Unreal Explorer",url:"https://unreal.blockscout.com",apiUrl:"https://unreal.blockscout.com/api/v2"}},testnet:!0,contracts:{multicall3:{address:"0x8b6B0e60D8CD84898Ea8b981065A12F876eA5677",blockCreated:1745}}})},53225:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vechain=void 0;const n=r(95731);t.vechain=(0,n.defineChain)({id:100009,name:"Vechain",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},rpcUrls:{default:{http:["https://mainnet.vechain.org"]}},blockExplorers:{default:{name:"Vechain Explorer",url:"https://explore.vechain.org"},vechainStats:{name:"Vechain Stats",url:"https://vechainstats.com"}}})},22248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wanchain=void 0;const n=r(95731);t.wanchain=(0,n.defineChain)({id:888,name:"Wanchain",nativeCurrency:{name:"WANCHAIN",symbol:"WAN",decimals:18},rpcUrls:{default:{http:["https://gwan-ssl.wandevs.org:56891","https://gwan2-ssl.wandevs.org"]}},blockExplorers:{default:{name:"WanScan",url:"https://wanscan.org"}},contracts:{multicall3:{address:"0xcDF6A1566e78EB4594c86Fe73Fcdc82429e97fbB",blockCreated:25312390}}})},15621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wanchainTestnet=void 0;const n=r(95731);t.wanchainTestnet=(0,n.defineChain)({id:999,name:"Wanchain Testnet",nativeCurrency:{name:"WANCHAIN",symbol:"WANt",decimals:18},rpcUrls:{default:{http:["https://gwan-ssl.wandevs.org:46891"]}},blockExplorers:{default:{name:"WanScanTest",url:"https://wanscan.org"}},contracts:{multicall3:{address:"0x11c89bF4496c39FB80535Ffb4c92715839CC5324",blockCreated:24743448}},testnet:!0})},61129:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wemix=void 0;const n=r(95731);t.wemix=(0,n.defineChain)({id:1111,name:"WEMIX",network:"wemix-mainnet",nativeCurrency:{name:"WEMIX",symbol:"WEMIX",decimals:18},rpcUrls:{default:{http:["https://api.wemix.com"]},public:{http:["https://api.wemix.com"]}},blockExplorers:{default:{name:"wemixExplorer",url:"https://explorer.wemix.com"}}})},59018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wemixTestnet=void 0;const n=r(95731);t.wemixTestnet=(0,n.defineChain)({id:1112,name:"WEMIX Testnet",network:"wemix-testnet",nativeCurrency:{name:"WEMIX",symbol:"tWEMIX",decimals:18},rpcUrls:{default:{http:["https://api.test.wemix.com"]},public:{http:["https://api.test.wemix.com"]}},blockExplorers:{default:{name:"wemixExplorer",url:"https://testnet.wemixscan.com",apiUrl:"https://testnet.wemixscan.com/api"}},testnet:!0})},64262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xLayer=void 0;const n=r(95731);t.xLayer=(0,n.defineChain)({id:196,name:"X Layer Mainnet",nativeCurrency:{decimals:18,name:"OKB",symbol:"OKB"},rpcUrls:{default:{http:["https://rpc.xlayer.tech"]}},blockExplorers:{default:{name:"OKLink",url:"https://www.oklink.com/xlayer"}}})},47615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.x1Testnet=t.xLayerTestnet=void 0;const n=r(95731);t.xLayerTestnet=(0,n.defineChain)({id:195,name:"X1 Testnet",nativeCurrency:{decimals:18,name:"OKB",symbol:"OKB"},rpcUrls:{default:{http:["https://xlayertestrpc.okx.com"]}},blockExplorers:{default:{name:"OKLink",url:"https://www.oklink.com/xlayer-test"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:624344}},testnet:!0}),t.x1Testnet=t.xLayerTestnet},28929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xai=void 0;const n=r(95731);t.xai=(0,n.defineChain)({id:660279,name:"Xai Mainnet",nativeCurrency:{name:"Xai",symbol:"XAI",decimals:18},rpcUrls:{default:{http:["https://xai-chain.net/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.xai-chain.net"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:222549}},testnet:!1})},5634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xaiTestnet=void 0;const n=r(95731);t.xaiTestnet=(0,n.defineChain)({id:37714555429,name:"Xai Testnet",nativeCurrency:{name:"sXai",symbol:"sXAI",decimals:18},rpcUrls:{default:{http:["https://testnet-v2.xai-chain.net/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://testnet-explorer-v2.xai-chain.net"}},testnet:!0})},49326:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xdc=void 0;const n=r(95731);t.xdc=(0,n.defineChain)({id:50,name:"XinFin Network",nativeCurrency:{decimals:18,name:"XDC",symbol:"XDC"},rpcUrls:{default:{http:["https://rpc.xinfin.network"]}},blockExplorers:{xinfin:{name:"XinFin",url:"https://explorer.xinfin.network"},default:{name:"Blocksscan",url:"https://xdc.blocksscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:71542788}}})},11975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xdcTestnet=void 0;const n=r(95731);t.xdcTestnet=(0,n.defineChain)({id:51,name:"Apothem Network",nativeCurrency:{decimals:18,name:"TXDC",symbol:"TXDC"},rpcUrls:{default:{http:["https://erpc.apothem.network"]}},blockExplorers:{default:{name:"Blocksscan",url:"https://apothem.blocksscan.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:59765389}}})},96440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.xrSepolia=void 0;const n=r(95731);t.xrSepolia=(0,n.defineChain)({id:2730,name:"XR Sepolia",nativeCurrency:{decimals:18,name:"tXR",symbol:"tXR"},rpcUrls:{default:{http:["https://xr-sepolia-testnet.rpc.caldera.xyz/http"]}},blockExplorers:{default:{name:"Blockscout",url:"https://xr-sepolia-testnet.explorer.caldera.xyz"}},testnet:!0})},91932:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yooldoVerse=void 0;const n=r(95731);t.yooldoVerse=(0,n.defineChain)({id:50005,name:"Yooldo Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},rpcUrls:{default:{http:["https://rpc.yooldo-verse.xyz"]}},blockExplorers:{default:{name:"Yooldo Verse Explorer",url:"https://explorer.yooldo-verse.xyz"}}})},57777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yooldoVerseTestnet=void 0;const n=r(95731);t.yooldoVerseTestnet=(0,n.defineChain)({id:50006,name:"Yooldo Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},rpcUrls:{default:{http:["https://rpc.testnet.yooldo-verse.xyz"]}},blockExplorers:{default:{name:"Yooldo Verse Testnet Explorer",url:"https://explorer.testnet.yooldo-verse.xyz"}},testnet:!0})},47260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zetachain=void 0;const n=r(95731);t.zetachain=(0,n.defineChain)({id:7e3,name:"ZetaChain",nativeCurrency:{decimals:18,name:"Zeta",symbol:"ZETA"},rpcUrls:{default:{http:["https://zetachain-evm.blockpi.network/v1/rpc/public"]}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:1632781}},blockExplorers:{default:{name:"ZetaScan",url:"https://explorer.zetachain.com"}},testnet:!1})},33478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zetachainAthensTestnet=void 0;const n=r(95731);t.zetachainAthensTestnet=(0,n.defineChain)({id:7001,name:"ZetaChain Athens Testnet",nativeCurrency:{decimals:18,name:"Zeta",symbol:"aZETA"},rpcUrls:{default:{http:["https://zetachain-athens-evm.blockpi.network/v1/rpc/public"]}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:2715217}},blockExplorers:{default:{name:"ZetaScan",url:"https://athens.explorer.zetachain.com"}},testnet:!0})},30507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zhejiang=void 0;const n=r(95731);t.zhejiang=(0,n.defineChain)({id:1337803,name:"Zhejiang",nativeCurrency:{name:"Zhejiang Ether",symbol:"ZhejETH",decimals:18},rpcUrls:{default:{http:["https://rpc.zhejiang.ethpandaops.io"]}},blockExplorers:{default:{name:"Beaconchain",url:"https://zhejiang.beaconcha.in"}},testnet:!0})},51485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zilliqa=void 0;const n=r(95731);t.zilliqa=(0,n.defineChain)({id:32769,name:"Zilliqa",network:"zilliqa",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},rpcUrls:{default:{http:["https://api.zilliqa.com"]}},blockExplorers:{default:{name:"Ethernal",url:"https://evmx.zilliqa.com"}},testnet:!1})},7926:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zilliqaTestnet=void 0;const n=r(95731);t.zilliqaTestnet=(0,n.defineChain)({id:33101,name:"Zilliqa Testnet",network:"zilliqa-testnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},rpcUrls:{default:{http:["https://dev-api.zilliqa.com"]}},blockExplorers:{default:{name:"Ethernal",url:"https://evmx.testnet.zilliqa.com"}},testnet:!0})},46020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zircuitTestnet=void 0;const n=r(95731);t.zircuitTestnet=(0,n.defineChain)({id:48899,name:"Zircuit Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://zircuit1.p2pify.com"]}},blockExplorers:{default:{name:"Zircuit Explorer",url:"https://explorer.zircuit.com"}},contracts:{multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:6040287}}})},56614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkFair=void 0;const n=r(95731);t.zkFair=(0,n.defineChain)({id:42766,name:"ZKFair Mainnet",network:"zkfair-mainnet",nativeCurrency:{decimals:18,name:"USD Coin",symbol:"USDC"},rpcUrls:{default:{http:["https://rpc.zkfair.io"]},public:{http:["https://rpc.zkfair.io"]}},blockExplorers:{default:{name:"zkFair Explorer",url:"https://scan.zkfair.io",apiUrl:"https://scan.zkfair.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:6090959}},testnet:!1})},34591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkFairTestnet=void 0;const n=r(95731);t.zkFairTestnet=(0,n.defineChain)({id:43851,name:"ZKFair Testnet",network:"zkfair-testnet",nativeCurrency:{decimals:18,name:"USD Coin",symbol:"USDC"},rpcUrls:{default:{http:["https://testnet-rpc.zkfair.io"]},public:{http:["https://testnet-rpc.zkfair.io"]}},blockExplorers:{default:{name:"zkFair Explorer",url:"https://testnet-scan.zkfair.io"}},testnet:!0})},94538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkLinkNova=void 0;const n=r(95731);t.zkLinkNova=(0,n.defineChain)({id:810180,name:"zkLink Nova",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.zklink.io"]}},blockExplorers:{default:{name:"zkLink Nova Block Explorer",url:"https://explorer.zklink.io"}}})},13386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkLinkNovaSepoliaTestnet=void 0;const n=r(95731);t.zkLinkNovaSepoliaTestnet=(0,n.defineChain)({id:810181,name:"zkLink Nova Sepolia Testnet",nativeCurrency:{decimals:18,name:"ETH",symbol:"ETH"},rpcUrls:{default:{http:["https://sepolia.rpc.zklink.io"]}},blockExplorers:{default:{name:"zkLink Nova Block Explorer",url:"https://sepolia.explorer.zklink.io"}}})},91559:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkSync=void 0;const n=r(95731),o=r(76399);t.zkSync=(0,n.defineChain)({...o.chainConfig,id:324,name:"zkSync Era",network:"zksync-era",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://mainnet.era.zksync.io"],webSocket:["wss://mainnet.era.zksync.io/ws"]}},blockExplorers:{default:{name:"Etherscan",url:"https://era.zksync.network/",apiUrl:"https://api-era.zksync.network/api"},native:{name:"zkSync Explorer",url:"https://explorer.zksync.io/"}},contracts:{multicall3:{address:"0xF9cda624FBC7e059355ce98a31693d299FACd963"}}})},45403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkSyncInMemoryNode=void 0;const n=r(95731),o=r(76399);t.zkSyncInMemoryNode=(0,n.defineChain)({...o.chainConfig,id:260,name:"zkSync InMemory Node",network:"zksync-in-memory-node",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["http://localhost:8011"]}},testnet:!0})},48200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkSyncLocalNode=void 0;const n=r(95731),o=r(76399);t.zkSyncLocalNode=(0,n.defineChain)({...o.chainConfig,id:270,name:"zkSync CLI Local Node",network:"zksync-cli-local-node",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["http://localhost:3050"]}},testnet:!0})},70155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkSyncSepoliaTestnet=void 0;const n=r(95731),o=r(76399);t.zkSyncSepoliaTestnet=(0,n.defineChain)({...o.chainConfig,id:300,name:"zkSync Sepolia Testnet",network:"zksync-sepolia-testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.era.zksync.dev"],webSocket:["wss://sepolia.era.zksync.dev/ws"]}},blockExplorers:{default:{name:"Etherscan",url:"https://sepolia-era.zksync.network/"},native:{name:"zkSync Explorer",url:"https://sepolia.explorer.zksync.io/"}},contracts:{multicall3:{address:"0xF9cda624FBC7e059355ce98a31693d299FACd963"}},testnet:!0})},63004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zkSyncTestnet=void 0;const n=r(95731),o=r(76399);t.zkSyncTestnet=(0,n.defineChain)({...o.chainConfig,id:280,name:"zkSync Era Testnet",network:"zksync-era-testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://testnet.era.zksync.dev"],webSocket:["wss://testnet.era.zksync.dev/ws"]}},blockExplorers:{default:{name:"zkExplorer",url:"https://goerli.explorer.zksync.io"}},contracts:{multicall3:{address:"0xF9cda624FBC7e059355ce98a31693d299FACd963"}},testnet:!0})},80225:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zora=void 0;const n=r(87329),o=r(95731),a=1;t.zora=(0,o.defineChain)({...n.chainConfig,id:7777777,name:"Zora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.zora.energy"],webSocket:["wss://rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.zora.energy",apiUrl:"https://explorer.zora.energy/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:5882},portal:{[a]:{address:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054"}},l1StandardBridge:{[a]:{address:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631"}}},sourceId:1})},65816:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zoraSepolia=void 0;const n=r(87329),o=r(95731),a=11155111;t.zoraSepolia=(0,o.defineChain)({...n.chainConfig,id:999999999,name:"Zora Sepolia",network:"zora-sepolia",nativeCurrency:{decimals:18,name:"Zora Sepolia",symbol:"ETH"},rpcUrls:{default:{http:["https://sepolia.rpc.zora.energy"],webSocket:["wss://sepolia.rpc.zora.energy"]}},blockExplorers:{default:{name:"Zora Sepolia Explorer",url:"https://sepolia.explorer.zora.energy/",apiUrl:"https://sepolia.explorer.zora.energy/api"}},contracts:{...n.chainConfig.contracts,l2OutputOracle:{[a]:{address:"0x2615B481Bd3E5A1C0C7Ca3Da1bdc663E8615Ade9"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:83160},portal:{[a]:{address:"0xeffE2C6cA9Ab797D418f0D91eA60807713f3536f"}},l1StandardBridge:{[a]:{address:"0x5376f1D543dcbB5BD416c56C189e4cB7399fCcCB"}}},sourceId:a,testnet:!0})},95074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zoraTestnet=void 0;const n=r(87329),o=r(95731),a=5;t.zoraTestnet=(0,o.defineChain)({...n.chainConfig,id:999,name:"Zora Goerli Testnet",nativeCurrency:{decimals:18,name:"Zora Goerli",symbol:"ETH"},rpcUrls:{default:{http:["https://testnet.rpc.zora.energy"],webSocket:["wss://testnet.rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://testnet.explorer.zora.energy",apiUrl:"https://testnet.explorer.zora.energy/api"}},contracts:{...n.chainConfig.contracts,multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:189123},portal:{[a]:{address:"0xDb9F51790365e7dc196e7D072728df39Be958ACe"}}},sourceId:5,testnet:!0})},14498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canto=t.bxnTestnet=t.bxn=t.btrTestnet=t.btr=t.bscGreenfield=t.bscTestnet=t.bsc=t.bronosTestnet=t.bronos=t.bobaSepolia=t.boba=t.bob=t.blastSepolia=t.blast=t.bitTorrentTestnet=t.bitTorrent=t.bitkubTestnet=t.bitkub=t.bevmMainnet=t.berachainTestnetbArtio=t.berachainTestnet=t.bearNetworkChainTestnet=t.bearNetworkChainMainnet=t.beamTestnet=t.beam=t.baseSepolia=t.baseGoerli=t.base=t.bahamut=t.avalancheFuji=t.avalanche=t.auroria=t.auroraTestnet=t.aurora=t.artelaTestnet=t.areonNetworkTestnet=t.areonNetwork=t.arbitrumSepolia=t.astarZkyoto=t.astarZkEVM=t.astar=t.arbitrumNova=t.arbitrumGoerli=t.arbitrum=t.apexTestnet=t.anvil=t.ancient8Sepolia=t.ancient8=t.acala=void 0,t.flowTestnet=t.flowMainnet=t.flowPreviewnet=t.flareTestnet=t.flare=t.filecoinHyperspace=t.filecoinCalibration=t.filecoin=t.fibo=t.fantomTestnet=t.fantomSonicTestnet=t.fantom=t.ektaTestnet=t.ekta=t.evmosTestnet=t.evmos=t.etherlinkTestnet=t.etherlink=t.eosTestnet=t.eos=t.eon=t.edgewareTestnet=t.edgeware=t.edgelessTestnet=t.edgeless=t.dreyerxTestnet=t.dreyerxMainnet=t.dogechain=t.dodochainTestnet=t.dfk=t.degen=t.defichainEvmTestnet=t.defichainEvm=t.dchainTestnet=t.dchain=t.darwinia=t.cyberTestnet=t.cyber=t.crossbell=t.cronosTestnet=t.cronoszkEVMTestnet=t.cronos=t.crab=t.coreDao=t.confluxESpaceTestnet=t.confluxESpace=t.classic=t.chiliz=t.celoAlfajores=t.celo=void 0,t.localhost=t.liskSepolia=t.lisk=t.lineaTestnet=t.lineaSepolia=t.lineaGoerli=t.linea=t.lightlinkPhoenix=t.lightlinkPegasus=t.l3xTestnet=t.l3x=t.kromaSepolia=t.kroma=t.koi=t.klaytnBaobab=t.klaytn=t.kcc=t.kavaTestnet=t.kava=t.kakarotSepolia=t.inEVM=t.immutableZkEvmTestnet=t.immutableZkEvm=t.holesky=t.hederaPreviewnet=t.hederaTestnet=t.hedera=t.haqqTestedge2=t.haqqMainnet=t.harmonyOne=t.hardhat=t.ham=t.gravity=t.gnosisChiado=t.gnosis=t.goerli=t.gobi=t.karura=t.jbcTestnet=t.jbc=t.iotexTestnet=t.iotex=t.fuseSparknet=t.fuse=t.funkiSepolia=t.funkiMainnet=t.fraxtalTestnet=t.fraxtal=t.foundry=t.forma=void 0,t.pgn=t.playfiAlbireo=t.palmTestnet=t.palm=t.otimDevnet=t.oortMainnetDev=t.opBNBTestnet=t.opBNB=t.optimismSepolia=t.optimismGoerli=t.optimism=t.okc=t.oasisTestnet=t.oasys=t.nexilix=t.nexi=t.neonMainnet=t.neonDevnet=t.nautilus=t.morphSepolia=t.morphHolesky=t.moonriver=t.moonbeamDev=t.moonbeam=t.moonbaseAlpha=t.modeTestnet=t.mode=t.mintSepoliaTestnet=t.mevTestnet=t.mev=t.metisGoerli=t.metis=t.meterTestnet=t.meter=t.metalL2=t.metachainIstanbul=t.metachain=t.merlin=t.mantleTestnet=t.mantleSepoliaTestnet=t.mantle=t.mantaTestnet=t.mantaSepoliaTestnet=t.manta=t.mandala=t.mainnet=t.lyra=t.lycan=t.luksoTestnet=t.lukso=void 0,t.skaleNebulaTestnet=t.skaleNebula=t.skaleHumanProtocol=t.skaleExorde=t.skaleEuropaTestnet=t.skaleEuropa=t.skaleCryptoColosseum=t.skaleCryptoBlades=t.skaleCalypsoTestnet=t.skaleCalypso=t.skaleBlockBrawlers=t.shimmerTestnet=t.shimmer=t.sepolia=t.seiTestnet=t.seiDevnet=t.sei=t.scrollSepolia=t.satoshiVMTestnet=t.satoshiVM=t.sapphireTestnet=t.sapphire=t.saigon=t.rss3Sepolia=t.rss3=t.rootstockTestnet=t.rootstock=t.rootPorcini=t.root=t.ronin=t.rolluxTestnet=t.rollux=t.reyaNetwork=t.redstone=t.redbellyTestnet=t.real=t.qTestnet=t.qMainnet=t.pulsechainV4=t.pulsechain=t.polygonZkEvmTestnet=t.polygonZkEvmCardona=t.polygonZkEvm=t.polygonMumbai=t.polygonAmoy=t.polygon=t.plumeTestnet=t.plinga=t.phoenix=t.pgnTestnet=void 0,t.zkLinkNova=t.zkFairTestnet=t.zkFair=t.zilliqaTestnet=t.zilliqa=t.zhejiang=t.zetachainAthensTestnet=t.zetachain=t.yooldoVerseTestnet=t.yooldoVerse=t.xrSepolia=t.xdcTestnet=t.xdc=t.xaiTestnet=t.xai=t.xLayer=t.x1Testnet=t.xLayerTestnet=t.wemixTestnet=t.wemix=t.wanchainTestnet=t.wanchain=t.vechain=t.unreal=t.thunderTestnet=t.thaiChain=t.tenet=t.telosTestnet=t.telos=t.telcoinTestnet=t.taraxaTestnet=t.taikoTestnetSepolia=t.taikoKatla=t.taikoJolnir=t.taikoHekla=t.taiko=t.taraxa=t.syscoinTestnet=t.syscoin=t.stratis=t.shibariumTestnet=t.shibarium=t.shardeumSphinx=t.spicy=t.songbirdTestnet=t.songbird=t.sketchpad=t.skaleTitanTestnet=t.skaleTitan=t.skaleRazor=void 0,t.zircuitTestnet=t.zoraTestnet=t.zoraSepolia=t.zora=t.zkSyncTestnet=t.zkSyncSepoliaTestnet=t.zkSyncLocalNode=t.zkSyncInMemoryNode=t.zkSync=t.zkLinkNovaSepoliaTestnet=void 0;var n=r(73667);Object.defineProperty(t,"acala",{enumerable:!0,get:function(){return n.acala}});var o=r(57547);Object.defineProperty(t,"ancient8",{enumerable:!0,get:function(){return o.ancient8}});var a=r(4238);Object.defineProperty(t,"ancient8Sepolia",{enumerable:!0,get:function(){return a.ancient8Sepolia}});var i=r(87721);Object.defineProperty(t,"anvil",{enumerable:!0,get:function(){return i.anvil}});var s=r(42696);Object.defineProperty(t,"apexTestnet",{enumerable:!0,get:function(){return s.apexTestnet}});var c=r(56797);Object.defineProperty(t,"arbitrum",{enumerable:!0,get:function(){return c.arbitrum}});var u=r(13935);Object.defineProperty(t,"arbitrumGoerli",{enumerable:!0,get:function(){return u.arbitrumGoerli}});var l=r(57763);Object.defineProperty(t,"arbitrumNova",{enumerable:!0,get:function(){return l.arbitrumNova}});var d=r(23876);Object.defineProperty(t,"astar",{enumerable:!0,get:function(){return d.astar}});var p=r(43793);Object.defineProperty(t,"astarZkEVM",{enumerable:!0,get:function(){return p.astarZkEVM}});var f=r(91090);Object.defineProperty(t,"astarZkyoto",{enumerable:!0,get:function(){return f.astarZkyoto}});var m=r(12564);Object.defineProperty(t,"arbitrumSepolia",{enumerable:!0,get:function(){return m.arbitrumSepolia}});var b=r(11952);Object.defineProperty(t,"areonNetwork",{enumerable:!0,get:function(){return b.areonNetwork}});var h=r(58253);Object.defineProperty(t,"areonNetworkTestnet",{enumerable:!0,get:function(){return h.areonNetworkTestnet}});var y=r(37985);Object.defineProperty(t,"artelaTestnet",{enumerable:!0,get:function(){return y.artelaTestnet}});var g=r(93187);Object.defineProperty(t,"aurora",{enumerable:!0,get:function(){return g.aurora}});var v=r(91424);Object.defineProperty(t,"auroraTestnet",{enumerable:!0,get:function(){return v.auroraTestnet}});var x=r(4580);Object.defineProperty(t,"auroria",{enumerable:!0,get:function(){return x.auroria}});var E=r(79242);Object.defineProperty(t,"avalanche",{enumerable:!0,get:function(){return E.avalanche}});var w=r(56534);Object.defineProperty(t,"avalancheFuji",{enumerable:!0,get:function(){return w.avalancheFuji}});var P=r(52531);Object.defineProperty(t,"bahamut",{enumerable:!0,get:function(){return P.bahamut}});var T=r(73078);Object.defineProperty(t,"base",{enumerable:!0,get:function(){return T.base}});var k=r(75116);Object.defineProperty(t,"baseGoerli",{enumerable:!0,get:function(){return k.baseGoerli}});var O=r(1813);Object.defineProperty(t,"baseSepolia",{enumerable:!0,get:function(){return O.baseSepolia}});var C=r(19620);Object.defineProperty(t,"beam",{enumerable:!0,get:function(){return C.beam}});var j=r(62041);Object.defineProperty(t,"beamTestnet",{enumerable:!0,get:function(){return j.beamTestnet}});var _=r(73864);Object.defineProperty(t,"bearNetworkChainMainnet",{enumerable:!0,get:function(){return _.bearNetworkChainMainnet}});var A=r(50735);Object.defineProperty(t,"bearNetworkChainTestnet",{enumerable:!0,get:function(){return A.bearNetworkChainTestnet}});var S=r(41571);Object.defineProperty(t,"berachainTestnet",{enumerable:!0,get:function(){return S.berachainTestnet}});var B=r(20892);Object.defineProperty(t,"berachainTestnetbArtio",{enumerable:!0,get:function(){return B.berachainTestnetbArtio}});var I=r(74959);Object.defineProperty(t,"bevmMainnet",{enumerable:!0,get:function(){return I.bevmMainnet}});var M=r(10076);Object.defineProperty(t,"bitkub",{enumerable:!0,get:function(){return M.bitkub}});var F=r(33681);Object.defineProperty(t,"bitkubTestnet",{enumerable:!0,get:function(){return F.bitkubTestnet}});var R=r(65340);Object.defineProperty(t,"bitTorrent",{enumerable:!0,get:function(){return R.bitTorrent}});var U=r(36593);Object.defineProperty(t,"bitTorrentTestnet",{enumerable:!0,get:function(){return U.bitTorrentTestnet}});var N=r(39773);Object.defineProperty(t,"blast",{enumerable:!0,get:function(){return N.blast}});var H=r(21172);Object.defineProperty(t,"blastSepolia",{enumerable:!0,get:function(){return H.blastSepolia}});var z=r(80360);Object.defineProperty(t,"bob",{enumerable:!0,get:function(){return z.bob}});var D=r(57609);Object.defineProperty(t,"boba",{enumerable:!0,get:function(){return D.boba}});var L=r(74560);Object.defineProperty(t,"bobaSepolia",{enumerable:!0,get:function(){return L.bobaSepolia}});var $=r(62260);Object.defineProperty(t,"bronos",{enumerable:!0,get:function(){return $.bronos}});var q=r(61257);Object.defineProperty(t,"bronosTestnet",{enumerable:!0,get:function(){return q.bronosTestnet}});var G=r(40779);Object.defineProperty(t,"bsc",{enumerable:!0,get:function(){return G.bsc}});var V=r(18344);Object.defineProperty(t,"bscTestnet",{enumerable:!0,get:function(){return V.bscTestnet}});var K=r(5322);Object.defineProperty(t,"bscGreenfield",{enumerable:!0,get:function(){return K.bscGreenfield}});var W=r(35579);Object.defineProperty(t,"btr",{enumerable:!0,get:function(){return W.btr}});var Z=r(92408);Object.defineProperty(t,"btrTestnet",{enumerable:!0,get:function(){return Z.btrTestnet}});var X=r(92107);Object.defineProperty(t,"bxn",{enumerable:!0,get:function(){return X.bxn}});var Y=r(23944);Object.defineProperty(t,"bxnTestnet",{enumerable:!0,get:function(){return Y.bxnTestnet}});var J=r(29532);Object.defineProperty(t,"canto",{enumerable:!0,get:function(){return J.canto}});var Q=r(52726);Object.defineProperty(t,"celo",{enumerable:!0,get:function(){return Q.celo}});var ee=r(53427);Object.defineProperty(t,"celoAlfajores",{enumerable:!0,get:function(){return ee.celoAlfajores}});var te=r(86550);Object.defineProperty(t,"chiliz",{enumerable:!0,get:function(){return te.chiliz}});var re=r(26375);Object.defineProperty(t,"classic",{enumerable:!0,get:function(){return re.classic}});var ne=r(91235);Object.defineProperty(t,"confluxESpace",{enumerable:!0,get:function(){return ne.confluxESpace}});var oe=r(43680);Object.defineProperty(t,"confluxESpaceTestnet",{enumerable:!0,get:function(){return oe.confluxESpaceTestnet}});var ae=r(23470);Object.defineProperty(t,"coreDao",{enumerable:!0,get:function(){return ae.coreDao}});var ie=r(43081);Object.defineProperty(t,"crab",{enumerable:!0,get:function(){return ie.crab}});var se=r(81849);Object.defineProperty(t,"cronos",{enumerable:!0,get:function(){return se.cronos}});var ce=r(63063);Object.defineProperty(t,"cronoszkEVMTestnet",{enumerable:!0,get:function(){return ce.cronoszkEVMTestnet}});var ue=r(56250);Object.defineProperty(t,"cronosTestnet",{enumerable:!0,get:function(){return ue.cronosTestnet}});var le=r(87674);Object.defineProperty(t,"crossbell",{enumerable:!0,get:function(){return le.crossbell}});var de=r(70978);Object.defineProperty(t,"cyber",{enumerable:!0,get:function(){return de.cyber}});var pe=r(33027);Object.defineProperty(t,"cyberTestnet",{enumerable:!0,get:function(){return pe.cyberTestnet}});var fe=r(88026);Object.defineProperty(t,"darwinia",{enumerable:!0,get:function(){return fe.darwinia}});var me=r(43534);Object.defineProperty(t,"dchain",{enumerable:!0,get:function(){return me.dchain}});var be=r(34823);Object.defineProperty(t,"dchainTestnet",{enumerable:!0,get:function(){return be.dchainTestnet}});var he=r(55668);Object.defineProperty(t,"defichainEvm",{enumerable:!0,get:function(){return he.defichainEvm}});var ye=r(50409);Object.defineProperty(t,"defichainEvmTestnet",{enumerable:!0,get:function(){return ye.defichainEvmTestnet}});var ge=r(59612);Object.defineProperty(t,"degen",{enumerable:!0,get:function(){return ge.degen}});var ve=r(86940);Object.defineProperty(t,"dfk",{enumerable:!0,get:function(){return ve.dfk}});var xe=r(40435);Object.defineProperty(t,"dodochainTestnet",{enumerable:!0,get:function(){return xe.dodochainTestnet}});var Ee=r(16209);Object.defineProperty(t,"dogechain",{enumerable:!0,get:function(){return Ee.dogechain}});var we=r(24236);Object.defineProperty(t,"dreyerxMainnet",{enumerable:!0,get:function(){return we.dreyerxMainnet}});var Pe=r(30715);Object.defineProperty(t,"dreyerxTestnet",{enumerable:!0,get:function(){return Pe.dreyerxTestnet}});var Te=r(8655);Object.defineProperty(t,"edgeless",{enumerable:!0,get:function(){return Te.edgeless}});var ke=r(17156);Object.defineProperty(t,"edgelessTestnet",{enumerable:!0,get:function(){return ke.edgelessTestnet}});var Oe=r(90135);Object.defineProperty(t,"edgeware",{enumerable:!0,get:function(){return Oe.edgeware}});var Ce=r(95948);Object.defineProperty(t,"edgewareTestnet",{enumerable:!0,get:function(){return Ce.edgewareTestnet}});var je=r(64965);Object.defineProperty(t,"eon",{enumerable:!0,get:function(){return je.eon}});var _e=r(48434);Object.defineProperty(t,"eos",{enumerable:!0,get:function(){return _e.eos}});var Ae=r(46739);Object.defineProperty(t,"eosTestnet",{enumerable:!0,get:function(){return Ae.eosTestnet}});var Se=r(91183);Object.defineProperty(t,"etherlink",{enumerable:!0,get:function(){return Se.etherlink}});var Be=r(84260);Object.defineProperty(t,"etherlinkTestnet",{enumerable:!0,get:function(){return Be.etherlinkTestnet}});var Ie=r(48947);Object.defineProperty(t,"evmos",{enumerable:!0,get:function(){return Ie.evmos}});var Me=r(68784);Object.defineProperty(t,"evmosTestnet",{enumerable:!0,get:function(){return Me.evmosTestnet}});var Fe=r(51640);Object.defineProperty(t,"ekta",{enumerable:!0,get:function(){return Fe.ekta}});var Re=r(7253);Object.defineProperty(t,"ektaTestnet",{enumerable:!0,get:function(){return Re.ektaTestnet}});var Ue=r(15344);Object.defineProperty(t,"fantom",{enumerable:!0,get:function(){return Ue.fantom}});var Ne=r(44915);Object.defineProperty(t,"fantomSonicTestnet",{enumerable:!0,get:function(){return Ne.fantomSonicTestnet}});var He=r(73901);Object.defineProperty(t,"fantomTestnet",{enumerable:!0,get:function(){return He.fantomTestnet}});var ze=r(27549);Object.defineProperty(t,"fibo",{enumerable:!0,get:function(){return ze.fibo}});var De=r(51132);Object.defineProperty(t,"filecoin",{enumerable:!0,get:function(){return De.filecoin}});var Le=r(83290);Object.defineProperty(t,"filecoinCalibration",{enumerable:!0,get:function(){return Le.filecoinCalibration}});var $e=r(89460);Object.defineProperty(t,"filecoinHyperspace",{enumerable:!0,get:function(){return $e.filecoinHyperspace}});var qe=r(13779);Object.defineProperty(t,"flare",{enumerable:!0,get:function(){return qe.flare}});var Ge=r(48112);Object.defineProperty(t,"flareTestnet",{enumerable:!0,get:function(){return Ge.flareTestnet}});var Ve=r(15076);Object.defineProperty(t,"flowPreviewnet",{enumerable:!0,get:function(){return Ve.flowPreviewnet}});var Ke=r(30319);Object.defineProperty(t,"flowMainnet",{enumerable:!0,get:function(){return Ke.flowMainnet}});var We=r(41636);Object.defineProperty(t,"flowTestnet",{enumerable:!0,get:function(){return We.flowTestnet}});var Ze=r(25406);Object.defineProperty(t,"forma",{enumerable:!0,get:function(){return Ze.forma}});var Xe=r(3010);Object.defineProperty(t,"foundry",{enumerable:!0,get:function(){return Xe.foundry}});var Ye=r(55197);Object.defineProperty(t,"fraxtal",{enumerable:!0,get:function(){return Ye.fraxtal}});var Je=r(22166);Object.defineProperty(t,"fraxtalTestnet",{enumerable:!0,get:function(){return Je.fraxtalTestnet}});var Qe=r(93984);Object.defineProperty(t,"funkiMainnet",{enumerable:!0,get:function(){return Qe.funkiMainnet}});var et=r(285);Object.defineProperty(t,"funkiSepolia",{enumerable:!0,get:function(){return et.funkiSepolia}});var tt=r(87190);Object.defineProperty(t,"fuse",{enumerable:!0,get:function(){return tt.fuse}});var rt=r(91926);Object.defineProperty(t,"fuseSparknet",{enumerable:!0,get:function(){return rt.fuseSparknet}});var nt=r(49510);Object.defineProperty(t,"iotex",{enumerable:!0,get:function(){return nt.iotex}});var ot=r(30111);Object.defineProperty(t,"iotexTestnet",{enumerable:!0,get:function(){return ot.iotexTestnet}});var at=r(59078);Object.defineProperty(t,"jbc",{enumerable:!0,get:function(){return at.jbc}});var it=r(12671);Object.defineProperty(t,"jbcTestnet",{enumerable:!0,get:function(){return it.jbcTestnet}});var st=r(84495);Object.defineProperty(t,"karura",{enumerable:!0,get:function(){return st.karura}});var ct=r(48812);Object.defineProperty(t,"gobi",{enumerable:!0,get:function(){return ct.gobi}});var ut=r(44109);Object.defineProperty(t,"goerli",{enumerable:!0,get:function(){return ut.goerli}});var lt=r(380);Object.defineProperty(t,"gnosis",{enumerable:!0,get:function(){return lt.gnosis}});var dt=r(29076);Object.defineProperty(t,"gnosisChiado",{enumerable:!0,get:function(){return dt.gnosisChiado}});var pt=r(79537);Object.defineProperty(t,"gravity",{enumerable:!0,get:function(){return pt.gravity}});var ft=r(45165);Object.defineProperty(t,"ham",{enumerable:!0,get:function(){return ft.ham}});var mt=r(63421);Object.defineProperty(t,"hardhat",{enumerable:!0,get:function(){return mt.hardhat}});var bt=r(30801);Object.defineProperty(t,"harmonyOne",{enumerable:!0,get:function(){return bt.harmonyOne}});var ht=r(88472);Object.defineProperty(t,"haqqMainnet",{enumerable:!0,get:function(){return ht.haqqMainnet}});var yt=r(3261);Object.defineProperty(t,"haqqTestedge2",{enumerable:!0,get:function(){return yt.haqqTestedge2}});var gt=r(65298);Object.defineProperty(t,"hedera",{enumerable:!0,get:function(){return gt.hedera}});var vt=r(60211);Object.defineProperty(t,"hederaTestnet",{enumerable:!0,get:function(){return vt.hederaTestnet}});var xt=r(70457);Object.defineProperty(t,"hederaPreviewnet",{enumerable:!0,get:function(){return xt.hederaPreviewnet}});var Et=r(66776);Object.defineProperty(t,"holesky",{enumerable:!0,get:function(){return Et.holesky}});var wt=r(77120);Object.defineProperty(t,"immutableZkEvm",{enumerable:!0,get:function(){return wt.immutableZkEvm}});var Pt=r(83741);Object.defineProperty(t,"immutableZkEvmTestnet",{enumerable:!0,get:function(){return Pt.immutableZkEvmTestnet}});var Tt=r(70092);Object.defineProperty(t,"inEVM",{enumerable:!0,get:function(){return Tt.inEVM}});var kt=r(59357);Object.defineProperty(t,"kakarotSepolia",{enumerable:!0,get:function(){return kt.kakarotSepolia}});var Ot=r(44722);Object.defineProperty(t,"kava",{enumerable:!0,get:function(){return Ot.kava}});var Ct=r(87987);Object.defineProperty(t,"kavaTestnet",{enumerable:!0,get:function(){return Ct.kavaTestnet}});var jt=r(59772);Object.defineProperty(t,"kcc",{enumerable:!0,get:function(){return jt.kcc}});var _t=r(81272);Object.defineProperty(t,"klaytn",{enumerable:!0,get:function(){return _t.klaytn}});var At=r(27795);Object.defineProperty(t,"klaytnBaobab",{enumerable:!0,get:function(){return At.klaytnBaobab}});var St=r(86970);Object.defineProperty(t,"koi",{enumerable:!0,get:function(){return St.koi}});var Bt=r(39259);Object.defineProperty(t,"kroma",{enumerable:!0,get:function(){return Bt.kroma}});var It=r(8030);Object.defineProperty(t,"kromaSepolia",{enumerable:!0,get:function(){return It.kromaSepolia}});var Mt=r(5452);Object.defineProperty(t,"l3x",{enumerable:!0,get:function(){return Mt.l3x}});var Ft=r(57697);Object.defineProperty(t,"l3xTestnet",{enumerable:!0,get:function(){return Ft.l3xTestnet}});var Rt=r(99815);Object.defineProperty(t,"lightlinkPegasus",{enumerable:!0,get:function(){return Rt.lightlinkPegasus}});var Ut=r(94060);Object.defineProperty(t,"lightlinkPhoenix",{enumerable:!0,get:function(){return Ut.lightlinkPhoenix}});var Nt=r(28642);Object.defineProperty(t,"linea",{enumerable:!0,get:function(){return Nt.linea}});var Ht=r(53656);Object.defineProperty(t,"lineaGoerli",{enumerable:!0,get:function(){return Ht.lineaGoerli}});var zt=r(89889);Object.defineProperty(t,"lineaSepolia",{enumerable:!0,get:function(){return zt.lineaSepolia}});var Dt=r(43843);Object.defineProperty(t,"lineaTestnet",{enumerable:!0,get:function(){return Dt.lineaTestnet}});var Lt=r(82246);Object.defineProperty(t,"lisk",{enumerable:!0,get:function(){return Lt.lisk}});var $t=r(41413);Object.defineProperty(t,"liskSepolia",{enumerable:!0,get:function(){return $t.liskSepolia}});var qt=r(46718);Object.defineProperty(t,"localhost",{enumerable:!0,get:function(){return qt.localhost}});var Gt=r(33109);Object.defineProperty(t,"lukso",{enumerable:!0,get:function(){return Gt.lukso}});var Vt=r(50574);Object.defineProperty(t,"luksoTestnet",{enumerable:!0,get:function(){return Vt.luksoTestnet}});var Kt=r(93632);Object.defineProperty(t,"lycan",{enumerable:!0,get:function(){return Kt.lycan}});var Wt=r(65069);Object.defineProperty(t,"lyra",{enumerable:!0,get:function(){return Wt.lyra}});var Zt=r(91623);Object.defineProperty(t,"mainnet",{enumerable:!0,get:function(){return Zt.mainnet}});var Xt=r(24203);Object.defineProperty(t,"mandala",{enumerable:!0,get:function(){return Xt.mandala}});var Yt=r(1184);Object.defineProperty(t,"manta",{enumerable:!0,get:function(){return Yt.manta}});var Jt=r(81560);Object.defineProperty(t,"mantaSepoliaTestnet",{enumerable:!0,get:function(){return Jt.mantaSepoliaTestnet}});var Qt=r(5213);Object.defineProperty(t,"mantaTestnet",{enumerable:!0,get:function(){return Qt.mantaTestnet}});var er=r(61e3);Object.defineProperty(t,"mantle",{enumerable:!0,get:function(){return er.mantle}});var tr=r(63744);Object.defineProperty(t,"mantleSepoliaTestnet",{enumerable:!0,get:function(){return tr.mantleSepoliaTestnet}});var rr=r(98629);Object.defineProperty(t,"mantleTestnet",{enumerable:!0,get:function(){return rr.mantleTestnet}});var nr=r(74052);Object.defineProperty(t,"merlin",{enumerable:!0,get:function(){return nr.merlin}});var or=r(32161);Object.defineProperty(t,"metachain",{enumerable:!0,get:function(){return or.metachain}});var ar=r(80835);Object.defineProperty(t,"metachainIstanbul",{enumerable:!0,get:function(){return ar.metachainIstanbul}});var ir=r(47662);Object.defineProperty(t,"metalL2",{enumerable:!0,get:function(){return ir.metalL2}});var sr=r(39194);Object.defineProperty(t,"meter",{enumerable:!0,get:function(){return sr.meter}});var cr=r(11611);Object.defineProperty(t,"meterTestnet",{enumerable:!0,get:function(){return cr.meterTestnet}});var ur=r(97157);Object.defineProperty(t,"metis",{enumerable:!0,get:function(){return ur.metis}});var lr=r(70215);Object.defineProperty(t,"metisGoerli",{enumerable:!0,get:function(){return lr.metisGoerli}});var dr=r(65063);Object.defineProperty(t,"mev",{enumerable:!0,get:function(){return dr.mev}});var pr=r(51484);Object.defineProperty(t,"mevTestnet",{enumerable:!0,get:function(){return pr.mevTestnet}});var fr=r(92059);Object.defineProperty(t,"mintSepoliaTestnet",{enumerable:!0,get:function(){return fr.mintSepoliaTestnet}});var mr=r(19600);Object.defineProperty(t,"mode",{enumerable:!0,get:function(){return mr.mode}});var br=r(91821);Object.defineProperty(t,"modeTestnet",{enumerable:!0,get:function(){return br.modeTestnet}});var hr=r(64383);Object.defineProperty(t,"moonbaseAlpha",{enumerable:!0,get:function(){return hr.moonbaseAlpha}});var yr=r(35865);Object.defineProperty(t,"moonbeam",{enumerable:!0,get:function(){return yr.moonbeam}});var gr=r(39478);Object.defineProperty(t,"moonbeamDev",{enumerable:!0,get:function(){return gr.moonbeamDev}});var vr=r(97862);Object.defineProperty(t,"moonriver",{enumerable:!0,get:function(){return vr.moonriver}});var xr=r(62386);Object.defineProperty(t,"morphHolesky",{enumerable:!0,get:function(){return xr.morphHolesky}});var Er=r(65224);Object.defineProperty(t,"morphSepolia",{enumerable:!0,get:function(){return Er.morphSepolia}});var wr=r(44954);Object.defineProperty(t,"nautilus",{enumerable:!0,get:function(){return wr.nautilus}});var Pr=r(40317);Object.defineProperty(t,"neonDevnet",{enumerable:!0,get:function(){return Pr.neonDevnet}});var Tr=r(80255);Object.defineProperty(t,"neonMainnet",{enumerable:!0,get:function(){return Tr.neonMainnet}});var kr=r(29485);Object.defineProperty(t,"nexi",{enumerable:!0,get:function(){return kr.nexi}});var Or=r(97456);Object.defineProperty(t,"nexilix",{enumerable:!0,get:function(){return Or.nexilix}});var Cr=r(45710);Object.defineProperty(t,"oasys",{enumerable:!0,get:function(){return Cr.oasys}});var jr=r(96439);Object.defineProperty(t,"oasisTestnet",{enumerable:!0,get:function(){return jr.oasisTestnet}});var _r=r(4896);Object.defineProperty(t,"okc",{enumerable:!0,get:function(){return _r.okc}});var Ar=r(43997);Object.defineProperty(t,"optimism",{enumerable:!0,get:function(){return Ar.optimism}});var Sr=r(64719);Object.defineProperty(t,"optimismGoerli",{enumerable:!0,get:function(){return Sr.optimismGoerli}});var Br=r(31348);Object.defineProperty(t,"optimismSepolia",{enumerable:!0,get:function(){return Br.optimismSepolia}});var Ir=r(79800);Object.defineProperty(t,"opBNB",{enumerable:!0,get:function(){return Ir.opBNB}});var Mr=r(46421);Object.defineProperty(t,"opBNBTestnet",{enumerable:!0,get:function(){return Mr.opBNBTestnet}});var Fr=r(57980);Object.defineProperty(t,"oortMainnetDev",{enumerable:!0,get:function(){return Fr.oortMainnetDev}});var Rr=r(91736);Object.defineProperty(t,"otimDevnet",{enumerable:!0,get:function(){return Rr.otimDevnet}});var Ur=r(58951);Object.defineProperty(t,"palm",{enumerable:!0,get:function(){return Ur.palm}});var Nr=r(11068);Object.defineProperty(t,"palmTestnet",{enumerable:!0,get:function(){return Nr.palmTestnet}});var Hr=r(48196);Object.defineProperty(t,"playfiAlbireo",{enumerable:!0,get:function(){return Hr.playfiAlbireo}});var zr=r(46922);Object.defineProperty(t,"pgn",{enumerable:!0,get:function(){return zr.pgn}});var Dr=r(59307);Object.defineProperty(t,"pgnTestnet",{enumerable:!0,get:function(){return Dr.pgnTestnet}});var Lr=r(864);Object.defineProperty(t,"phoenix",{enumerable:!0,get:function(){return Lr.phoenix}});var $r=r(17948);Object.defineProperty(t,"plinga",{enumerable:!0,get:function(){return $r.plinga}});var qr=r(90791);Object.defineProperty(t,"plumeTestnet",{enumerable:!0,get:function(){return qr.plumeTestnet}});var Gr=r(78009);Object.defineProperty(t,"polygon",{enumerable:!0,get:function(){return Gr.polygon}});var Vr=r(36835);Object.defineProperty(t,"polygonAmoy",{enumerable:!0,get:function(){return Vr.polygonAmoy}});var Kr=r(92878);Object.defineProperty(t,"polygonMumbai",{enumerable:!0,get:function(){return Kr.polygonMumbai}});var Wr=r(80606);Object.defineProperty(t,"polygonZkEvm",{enumerable:!0,get:function(){return Wr.polygonZkEvm}});var Zr=r(17474);Object.defineProperty(t,"polygonZkEvmCardona",{enumerable:!0,get:function(){return Zr.polygonZkEvmCardona}});var Xr=r(8247);Object.defineProperty(t,"polygonZkEvmTestnet",{enumerable:!0,get:function(){return Xr.polygonZkEvmTestnet}});var Yr=r(54061);Object.defineProperty(t,"pulsechain",{enumerable:!0,get:function(){return Yr.pulsechain}});var Jr=r(87119);Object.defineProperty(t,"pulsechainV4",{enumerable:!0,get:function(){return Jr.pulsechainV4}});var Qr=r(27974);Object.defineProperty(t,"qMainnet",{enumerable:!0,get:function(){return Qr.qMainnet}});var en=r(4469);Object.defineProperty(t,"qTestnet",{enumerable:!0,get:function(){return en.qTestnet}});var tn=r(94811);Object.defineProperty(t,"real",{enumerable:!0,get:function(){return tn.real}});var rn=r(9631);Object.defineProperty(t,"redbellyTestnet",{enumerable:!0,get:function(){return rn.redbellyTestnet}});var nn=r(85179);Object.defineProperty(t,"redstone",{enumerable:!0,get:function(){return nn.redstone}});var on=r(47920);Object.defineProperty(t,"reyaNetwork",{enumerable:!0,get:function(){return on.reyaNetwork}});var an=r(82761);Object.defineProperty(t,"rollux",{enumerable:!0,get:function(){return an.rollux}});var sn=r(682);Object.defineProperty(t,"rolluxTestnet",{enumerable:!0,get:function(){return sn.rolluxTestnet}});var cn=r(21699);Object.defineProperty(t,"ronin",{enumerable:!0,get:function(){return cn.ronin}});var un=r(1319);Object.defineProperty(t,"root",{enumerable:!0,get:function(){return un.root}});var ln=r(86251);Object.defineProperty(t,"rootPorcini",{enumerable:!0,get:function(){return ln.rootPorcini}});var dn=r(6553);Object.defineProperty(t,"rootstock",{enumerable:!0,get:function(){return dn.rootstock}});var pn=r(51994);Object.defineProperty(t,"rootstockTestnet",{enumerable:!0,get:function(){return pn.rootstockTestnet}});var fn=r(70526);Object.defineProperty(t,"rss3",{enumerable:!0,get:function(){return fn.rss3}});var mn=r(47421);Object.defineProperty(t,"rss3Sepolia",{enumerable:!0,get:function(){return mn.rss3Sepolia}});var bn=r(98886);Object.defineProperty(t,"saigon",{enumerable:!0,get:function(){return bn.saigon}});var hn=r(40029);Object.defineProperty(t,"sapphire",{enumerable:!0,get:function(){return hn.sapphire}});var yn=r(82966);Object.defineProperty(t,"sapphireTestnet",{enumerable:!0,get:function(){return yn.sapphireTestnet}});var gn=r(75135);Object.defineProperty(t,"satoshiVM",{enumerable:!0,get:function(){return gn.satoshiVM}});var vn=r(53172);Object.defineProperty(t,"satoshiVMTestnet",{enumerable:!0,get:function(){return vn.satoshiVMTestnet}});var xn=r(20890);Object.defineProperty(t,"scroll",{enumerable:!0,get:function(){return xn.scroll}});var En=r(13017);Object.defineProperty(t,"scrollSepolia",{enumerable:!0,get:function(){return En.scrollSepolia}});var wn=r(38172);Object.defineProperty(t,"sei",{enumerable:!0,get:function(){return wn.sei}});var Pn=r(43194);Object.defineProperty(t,"seiDevnet",{enumerable:!0,get:function(){return Pn.seiDevnet}});var Tn=r(26513);Object.defineProperty(t,"seiTestnet",{enumerable:!0,get:function(){return Tn.seiTestnet}});var kn=r(96122);Object.defineProperty(t,"sepolia",{enumerable:!0,get:function(){return kn.sepolia}});var On=r(36728);Object.defineProperty(t,"shimmer",{enumerable:!0,get:function(){return On.shimmer}});var Cn=r(55349);Object.defineProperty(t,"shimmerTestnet",{enumerable:!0,get:function(){return Cn.shimmerTestnet}});var jn=r(53554);Object.defineProperty(t,"skaleBlockBrawlers",{enumerable:!0,get:function(){return jn.skaleBlockBrawlers}});var _n=r(50941);Object.defineProperty(t,"skaleCalypso",{enumerable:!0,get:function(){return _n.skaleCalypso}});var An=r(62102);Object.defineProperty(t,"skaleCalypsoTestnet",{enumerable:!0,get:function(){return An.skaleCalypsoTestnet}});var Sn=r(58338);Object.defineProperty(t,"skaleCryptoBlades",{enumerable:!0,get:function(){return Sn.skaleCryptoBlades}});var Bn=r(22363);Object.defineProperty(t,"skaleCryptoColosseum",{enumerable:!0,get:function(){return Bn.skaleCryptoColosseum}});var In=r(67534);Object.defineProperty(t,"skaleEuropa",{enumerable:!0,get:function(){return In.skaleEuropa}});var Mn=r(85159);Object.defineProperty(t,"skaleEuropaTestnet",{enumerable:!0,get:function(){return Mn.skaleEuropaTestnet}});var Fn=r(94451);Object.defineProperty(t,"skaleExorde",{enumerable:!0,get:function(){return Fn.skaleExorde}});var Rn=r(4487);Object.defineProperty(t,"skaleHumanProtocol",{enumerable:!0,get:function(){return Rn.skaleHumanProtocol}});var Un=r(21079);Object.defineProperty(t,"skaleNebula",{enumerable:!0,get:function(){return Un.skaleNebula}});var Nn=r(59308);Object.defineProperty(t,"skaleNebulaTestnet",{enumerable:!0,get:function(){return Nn.skaleNebulaTestnet}});var Hn=r(58710);Object.defineProperty(t,"skaleRazor",{enumerable:!0,get:function(){return Hn.skaleRazor}});var zn=r(49848);Object.defineProperty(t,"skaleTitan",{enumerable:!0,get:function(){return zn.skaleTitan}});var Dn=r(96917);Object.defineProperty(t,"skaleTitanTestnet",{enumerable:!0,get:function(){return Dn.skaleTitanTestnet}});var Ln=r(76562);Object.defineProperty(t,"sketchpad",{enumerable:!0,get:function(){return Ln.sketchpad}});var $n=r(8449);Object.defineProperty(t,"songbird",{enumerable:!0,get:function(){return $n.songbird}});var qn=r(90914);Object.defineProperty(t,"songbirdTestnet",{enumerable:!0,get:function(){return qn.songbirdTestnet}});var Gn=r(24693);Object.defineProperty(t,"spicy",{enumerable:!0,get:function(){return Gn.spicy}});var Vn=r(64320);Object.defineProperty(t,"shardeumSphinx",{enumerable:!0,get:function(){return Vn.shardeumSphinx}});var Kn=r(3391);Object.defineProperty(t,"shibarium",{enumerable:!0,get:function(){return Kn.shibarium}});var Wn=r(54004);Object.defineProperty(t,"shibariumTestnet",{enumerable:!0,get:function(){return Wn.shibariumTestnet}});var Zn=r(47097);Object.defineProperty(t,"stratis",{enumerable:!0,get:function(){return Zn.stratis}});var Xn=r(67663);Object.defineProperty(t,"syscoin",{enumerable:!0,get:function(){return Xn.syscoin}});var Yn=r(49508);Object.defineProperty(t,"syscoinTestnet",{enumerable:!0,get:function(){return Yn.syscoinTestnet}});var Jn=r(14406);Object.defineProperty(t,"taraxa",{enumerable:!0,get:function(){return Jn.taraxa}});var Qn=r(20443);Object.defineProperty(t,"taiko",{enumerable:!0,get:function(){return Qn.taiko}});var eo=r(71452);Object.defineProperty(t,"taikoHekla",{enumerable:!0,get:function(){return eo.taikoHekla}});var to=r(44493);Object.defineProperty(t,"taikoJolnir",{enumerable:!0,get:function(){return to.taikoJolnir}});var ro=r(48084);Object.defineProperty(t,"taikoKatla",{enumerable:!0,get:function(){return ro.taikoKatla}});var no=r(59891);Object.defineProperty(t,"taikoTestnetSepolia",{enumerable:!0,get:function(){return no.taikoTestnetSepolia}});var oo=r(1407);Object.defineProperty(t,"taraxaTestnet",{enumerable:!0,get:function(){return oo.taraxaTestnet}});var ao=r(99704);Object.defineProperty(t,"telcoinTestnet",{enumerable:!0,get:function(){return ao.telcoinTestnet}});var io=r(59172);Object.defineProperty(t,"telos",{enumerable:!0,get:function(){return io.telos}});var so=r(29529);Object.defineProperty(t,"telosTestnet",{enumerable:!0,get:function(){return so.telosTestnet}});var co=r(32337);Object.defineProperty(t,"tenet",{enumerable:!0,get:function(){return co.tenet}});var uo=r(9076);Object.defineProperty(t,"thaiChain",{enumerable:!0,get:function(){return uo.thaiChain}});var lo=r(49566);Object.defineProperty(t,"thunderTestnet",{enumerable:!0,get:function(){return lo.thunderTestnet}});var po=r(36580);Object.defineProperty(t,"unreal",{enumerable:!0,get:function(){return po.unreal}});var fo=r(53225);Object.defineProperty(t,"vechain",{enumerable:!0,get:function(){return fo.vechain}});var mo=r(22248);Object.defineProperty(t,"wanchain",{enumerable:!0,get:function(){return mo.wanchain}});var bo=r(15621);Object.defineProperty(t,"wanchainTestnet",{enumerable:!0,get:function(){return bo.wanchainTestnet}});var ho=r(61129);Object.defineProperty(t,"wemix",{enumerable:!0,get:function(){return ho.wemix}});var yo=r(59018);Object.defineProperty(t,"wemixTestnet",{enumerable:!0,get:function(){return yo.wemixTestnet}});var go=r(47615);Object.defineProperty(t,"xLayerTestnet",{enumerable:!0,get:function(){return go.xLayerTestnet}}),Object.defineProperty(t,"x1Testnet",{enumerable:!0,get:function(){return go.x1Testnet}});var vo=r(64262);Object.defineProperty(t,"xLayer",{enumerable:!0,get:function(){return vo.xLayer}});var xo=r(28929);Object.defineProperty(t,"xai",{enumerable:!0,get:function(){return xo.xai}});var Eo=r(5634);Object.defineProperty(t,"xaiTestnet",{enumerable:!0,get:function(){return Eo.xaiTestnet}});var wo=r(49326);Object.defineProperty(t,"xdc",{enumerable:!0,get:function(){return wo.xdc}});var Po=r(11975);Object.defineProperty(t,"xdcTestnet",{enumerable:!0,get:function(){return Po.xdcTestnet}});var To=r(96440);Object.defineProperty(t,"xrSepolia",{enumerable:!0,get:function(){return To.xrSepolia}});var ko=r(91932);Object.defineProperty(t,"yooldoVerse",{enumerable:!0,get:function(){return ko.yooldoVerse}});var Oo=r(57777);Object.defineProperty(t,"yooldoVerseTestnet",{enumerable:!0,get:function(){return Oo.yooldoVerseTestnet}});var Co=r(47260);Object.defineProperty(t,"zetachain",{enumerable:!0,get:function(){return Co.zetachain}});var jo=r(33478);Object.defineProperty(t,"zetachainAthensTestnet",{enumerable:!0,get:function(){return jo.zetachainAthensTestnet}});var _o=r(30507);Object.defineProperty(t,"zhejiang",{enumerable:!0,get:function(){return _o.zhejiang}});var Ao=r(51485);Object.defineProperty(t,"zilliqa",{enumerable:!0,get:function(){return Ao.zilliqa}});var So=r(7926);Object.defineProperty(t,"zilliqaTestnet",{enumerable:!0,get:function(){return So.zilliqaTestnet}});var Bo=r(56614);Object.defineProperty(t,"zkFair",{enumerable:!0,get:function(){return Bo.zkFair}});var Io=r(34591);Object.defineProperty(t,"zkFairTestnet",{enumerable:!0,get:function(){return Io.zkFairTestnet}});var Mo=r(94538);Object.defineProperty(t,"zkLinkNova",{enumerable:!0,get:function(){return Mo.zkLinkNova}});var Fo=r(13386);Object.defineProperty(t,"zkLinkNovaSepoliaTestnet",{enumerable:!0,get:function(){return Fo.zkLinkNovaSepoliaTestnet}});var Ro=r(91559);Object.defineProperty(t,"zkSync",{enumerable:!0,get:function(){return Ro.zkSync}});var Uo=r(45403);Object.defineProperty(t,"zkSyncInMemoryNode",{enumerable:!0,get:function(){return Uo.zkSyncInMemoryNode}});var No=r(48200);Object.defineProperty(t,"zkSyncLocalNode",{enumerable:!0,get:function(){return No.zkSyncLocalNode}});var Ho=r(70155);Object.defineProperty(t,"zkSyncSepoliaTestnet",{enumerable:!0,get:function(){return Ho.zkSyncSepoliaTestnet}});var zo=r(63004);Object.defineProperty(t,"zkSyncTestnet",{enumerable:!0,get:function(){return zo.zkSyncTestnet}});var Do=r(80225);Object.defineProperty(t,"zora",{enumerable:!0,get:function(){return Do.zora}});var Lo=r(65816);Object.defineProperty(t,"zoraSepolia",{enumerable:!0,get:function(){return Lo.zoraSepolia}});var $o=r(95074);Object.defineProperty(t,"zoraTestnet",{enumerable:!0,get:function(){return $o.zoraTestnet}});var qo=r(46020);Object.defineProperty(t,"zircuitTestnet",{enumerable:!0,get:function(){return qo.zircuitTestnet}})},38083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChainContractAddress=t.extractChain=t.defineChain=t.assertCurrentChain=void 0;var n=r(62779);Object.defineProperty(t,"assertCurrentChain",{enumerable:!0,get:function(){return n.assertCurrentChain}});var o=r(95731);Object.defineProperty(t,"defineChain",{enumerable:!0,get:function(){return o.defineChain}});var a=r(42057);Object.defineProperty(t,"extractChain",{enumerable:!0,get:function(){return a.extractChain}});var i=r(93454);Object.defineProperty(t,"getChainContractAddress",{enumerable:!0,get:function(){return i.getChainContractAddress}})},38693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClient=function(e){const{batch:t,cacheTime:r=e.pollingInterval??4e3,ccipRead:a,key:i="base",name:s="Base Client",pollingInterval:c=4e3,type:u="base"}=e,l=e.chain,d=e.account?(0,n.parseAccount)(e.account):void 0,{config:p,request:f,value:m}=e.transport({chain:l,pollingInterval:c}),b={account:d,batch:t,cacheTime:r,ccipRead:a,chain:l,key:i,name:s,pollingInterval:c,request:f,transport:{...p,...m},type:u,uid:(0,o.uid)()};return Object.assign(b,{extend:function e(t){return r=>{const n=r(t);for(const e in b)delete n[e];const o={...t,...n};return Object.assign(o,{extend:e(o)})}}(b)})},t.rpcSchema=function(){return null};const n=r(39006),o=r(11667)},35208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPublicClient=function(e){const{key:t="public",name:r="Public Client"}=e;return(0,n.createClient)({...e,key:t,name:r,type:"publicClient"}).extend(o.publicActions)};const n=r(38693),o=r(82550)},2373:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTestClient=function(e){const{key:t="test",name:r="Test Client",mode:a}=e;return(0,n.createClient)({...e,key:t,name:r,type:"testClient"}).extend((e=>({mode:a,...(0,o.testActions)({mode:a})(e)})))};const n=r(38693),o=r(65079)},53756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createWalletClient=function(e){const{key:t="wallet",name:r="Wallet Client",transport:a}=e;return(0,n.createClient)({...e,key:t,name:r,transport:a,type:"walletClient"}).extend(o.walletActions)};const n=r(38693),o=r(47106)},82550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publicActions=function(e){return{call:t=>(0,c.call)(e,t),createBlockFilter:()=>(0,u.createBlockFilter)(e),createContractEventFilter:t=>(0,l.createContractEventFilter)(e,t),createEventFilter:t=>(0,d.createEventFilter)(e,t),createPendingTransactionFilter:()=>(0,p.createPendingTransactionFilter)(e),estimateContractGas:t=>(0,f.estimateContractGas)(e,t),estimateGas:t=>(0,b.estimateGas)(e,t),getBalance:t=>(0,y.getBalance)(e,t),getBlobBaseFee:()=>(0,g.getBlobBaseFee)(e),getBlock:t=>(0,v.getBlock)(e,t),getBlockNumber:t=>(0,x.getBlockNumber)(e,t),getBlockTransactionCount:t=>(0,E.getBlockTransactionCount)(e,t),getBytecode:t=>(0,P.getCode)(e,t),getChainId:()=>(0,w.getChainId)(e),getCode:t=>(0,P.getCode)(e,t),getContractEvents:t=>(0,T.getContractEvents)(e,t),getEip712Domain:t=>(0,k.getEip712Domain)(e,t),getEnsAddress:t=>(0,n.getEnsAddress)(e,t),getEnsAvatar:t=>(0,o.getEnsAvatar)(e,t),getEnsName:t=>(0,a.getEnsName)(e,t),getEnsResolver:t=>(0,i.getEnsResolver)(e,t),getEnsText:t=>(0,s.getEnsText)(e,t),getFeeHistory:t=>(0,O.getFeeHistory)(e,t),estimateFeesPerGas:t=>(0,m.estimateFeesPerGas)(e,t),getFilterChanges:t=>(0,C.getFilterChanges)(e,t),getFilterLogs:t=>(0,j.getFilterLogs)(e,t),getGasPrice:()=>(0,_.getGasPrice)(e),getLogs:t=>(0,A.getLogs)(e,t),getProof:t=>(0,S.getProof)(e,t),estimateMaxPriorityFeePerGas:t=>(0,h.estimateMaxPriorityFeePerGas)(e,t),getStorageAt:t=>(0,B.getStorageAt)(e,t),getTransaction:t=>(0,I.getTransaction)(e,t),getTransactionConfirmations:t=>(0,M.getTransactionConfirmations)(e,t),getTransactionCount:t=>(0,F.getTransactionCount)(e,t),getTransactionReceipt:t=>(0,R.getTransactionReceipt)(e,t),multicall:t=>(0,U.multicall)(e,t),prepareTransactionRequest:t=>(0,X.prepareTransactionRequest)(e,t),readContract:t=>(0,N.readContract)(e,t),sendRawTransaction:t=>(0,Y.sendRawTransaction)(e,t),simulateContract:t=>(0,H.simulateContract)(e,t),verifyMessage:t=>(0,D.verifyMessage)(e,t),verifySiweMessage:t=>(0,Z.verifySiweMessage)(e,t),verifyTypedData:t=>(0,L.verifyTypedData)(e,t),uninstallFilter:t=>(0,z.uninstallFilter)(e,t),waitForTransactionReceipt:t=>(0,$.waitForTransactionReceipt)(e,t),watchBlocks:t=>(0,G.watchBlocks)(e,t),watchBlockNumber:t=>(0,q.watchBlockNumber)(e,t),watchContractEvent:t=>(0,V.watchContractEvent)(e,t),watchEvent:t=>(0,K.watchEvent)(e,t),watchPendingTransactions:t=>(0,W.watchPendingTransactions)(e,t)}};const n=r(34096),o=r(72899),a=r(54401),i=r(67112),s=r(3433),c=r(37141),u=r(96194),l=r(52349),d=r(73383),p=r(9358),f=r(65304),m=r(58470),b=r(4678),h=r(54313),y=r(97609),g=r(97403),v=r(85364),x=r(65729),E=r(52071),w=r(1093),P=r(51980),T=r(27962),k=r(90405),O=r(96589),C=r(3590),j=r(1716),_=r(15651),A=r(99914),S=r(28171),B=r(47469),I=r(42401),M=r(66659),F=r(51998),R=r(36873),U=r(25996),N=r(15275),H=r(56705),z=r(61541),D=r(6377),L=r(39242),$=r(42917),q=r(29828),G=r(75176),V=r(8714),K=r(58428),W=r(47150),Z=r(71692),X=r(28807),Y=r(89085)},65079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testActions=function({mode:e}){return t=>{const r=t.extend((()=>({mode:e})));return{dropTransaction:e=>(0,n.dropTransaction)(r,e),dumpState:()=>(0,o.dumpState)(r),getAutomine:()=>(0,a.getAutomine)(r),getTxpoolContent:()=>(0,i.getTxpoolContent)(r),getTxpoolStatus:()=>(0,s.getTxpoolStatus)(r),impersonateAccount:e=>(0,c.impersonateAccount)(r,e),increaseTime:e=>(0,u.increaseTime)(r,e),inspectTxpool:()=>(0,l.inspectTxpool)(r),loadState:e=>(0,d.loadState)(r,e),mine:e=>(0,p.mine)(r,e),removeBlockTimestampInterval:()=>(0,f.removeBlockTimestampInterval)(r),reset:e=>(0,m.reset)(r,e),revert:e=>(0,b.revert)(r,e),sendUnsignedTransaction:e=>(0,h.sendUnsignedTransaction)(r,e),setAutomine:e=>(0,y.setAutomine)(r,e),setBalance:e=>(0,g.setBalance)(r,e),setBlockGasLimit:e=>(0,v.setBlockGasLimit)(r,e),setBlockTimestampInterval:e=>(0,x.setBlockTimestampInterval)(r,e),setCode:e=>(0,E.setCode)(r,e),setCoinbase:e=>(0,w.setCoinbase)(r,e),setIntervalMining:e=>(0,P.setIntervalMining)(r,e),setLoggingEnabled:e=>(0,T.setLoggingEnabled)(r,e),setMinGasPrice:e=>(0,k.setMinGasPrice)(r,e),setNextBlockBaseFeePerGas:e=>(0,O.setNextBlockBaseFeePerGas)(r,e),setNextBlockTimestamp:e=>(0,C.setNextBlockTimestamp)(r,e),setNonce:e=>(0,j.setNonce)(r,e),setRpcUrl:e=>(0,_.setRpcUrl)(r,e),setStorageAt:e=>(0,A.setStorageAt)(r,e),snapshot:()=>(0,S.snapshot)(r),stopImpersonatingAccount:e=>(0,B.stopImpersonatingAccount)(r,e)}}};const n=r(99771),o=r(30079),a=r(31684),i=r(71881),s=r(17200),c=r(54318),u=r(69283),l=r(86394),d=r(70181),p=r(31449),f=r(81372),m=r(57039),b=r(99624),h=r(86839),y=r(85664),g=r(98050),v=r(22407),x=r(76998),E=r(97069),w=r(45616),P=r(90629),T=r(31246),k=r(61496),O=r(16785),C=r(97174),j=r(47477),_=r(22820),A=r(86462),S=r(97238),B=r(78171)},47106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.walletActions=function(e){return{addChain:t=>(0,o.addChain)(e,t),deployContract:t=>(0,a.deployContract)(e,t),getAddresses:()=>(0,i.getAddresses)(e),getChainId:()=>(0,n.getChainId)(e),getPermissions:()=>(0,s.getPermissions)(e),prepareTransactionRequest:t=>(0,c.prepareTransactionRequest)(e,t),requestAddresses:()=>(0,u.requestAddresses)(e),requestPermissions:t=>(0,l.requestPermissions)(e,t),sendRawTransaction:t=>(0,d.sendRawTransaction)(e,t),sendTransaction:t=>(0,p.sendTransaction)(e,t),signMessage:t=>(0,f.signMessage)(e,t),signTransaction:t=>(0,m.signTransaction)(e,t),signTypedData:t=>(0,b.signTypedData)(e,t),switchChain:t=>(0,h.switchChain)(e,t),watchAsset:t=>(0,y.watchAsset)(e,t),writeContract:t=>(0,g.writeContract)(e,t)}};const n=r(1093),o=r(18101),a=r(30044),i=r(34593),s=r(74521),c=r(28807),u=r(6186),l=r(45442),d=r(89085),p=r(76687),f=r(13137),m=r(59978),b=r(60498),h=r(1348),y=r(76532),g=r(46160)},30922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTransport=function({key:e,name:t,request:r,retryCount:a=3,retryDelay:i=150,timeout:s,type:c},u){const l=(0,o.uid)();return{config:{key:e,name:t,request:r,retryCount:a,retryDelay:i,timeout:s,type:c},request:(0,n.buildRequest)(r,{retryCount:a,retryDelay:i,uid:l}),value:u}};const n=r(25e3),o=r(11667)},11792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.custom=function(e,t={}){const{key:r="custom",name:o="Custom Provider",retryDelay:a}=t;return({retryCount:i})=>(0,n.createTransport)({key:r,name:o,request:e.request.bind(e),retryCount:t.retryCount??i,retryDelay:a,type:"custom"})};const n=r(30922)},73801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fallback=function(e,t={}){const{key:r="fallback",name:o="Fallback",rank:s=!1,retryCount:c,retryDelay:u}=t;return({chain:t,pollingInterval:l=4e3,timeout:d,...p})=>{let f=e,m=()=>{};const b=(0,a.createTransport)({key:r,name:o,async request({method:e,params:r}){const o=async(a=0)=>{const i=f[a]({...p,chain:t,retryCount:0,timeout:d});try{const t=await i.request({method:e,params:r});return m({method:e,params:r,response:t,transport:i,status:"success"}),t}catch(t){if(m({error:t,method:e,params:r,transport:i,status:"error"}),"code"in(s=t)&&"number"==typeof s.code&&(s.code===n.TransactionRejectedRpcError.code||s.code===n.UserRejectedRequestError.code||5e3===s.code))throw t;if(a===f.length-1)throw t;return o(a+1)}var s};return o()},retryCount:c,retryDelay:u,type:"fallback"},{onResponse:e=>m=e,transports:f.map((e=>e({chain:t,retryCount:0})))});if(s){const e="object"==typeof s?s:{};i({chain:t,interval:e.interval??l,onTransports:e=>f=e,sampleCount:e.sampleCount,timeout:e.timeout,transports:f,weights:e.weights})}return b}},t.rankTransports=i;const n=r(37992),o=r(48664),a=r(30922);function i({chain:e,interval:t=4e3,onTransports:r,sampleCount:n=10,timeout:a=1e3,transports:i,weights:s={}}){const{stability:c=.7,latency:u=.3}=s,l=[],d=async()=>{const s=await Promise.all(i.map((async t=>{const r=t({chain:e,retryCount:0,timeout:a}),n=Date.now();let o,i;try{await r.request({method:"net_listening"}),i=1}catch{i=0}finally{o=Date.now()}return{latency:o-n,success:i}})));l.push(s),l.length>n&&l.shift();const p=Math.max(...l.map((e=>Math.max(...e.map((({latency:e})=>e)))))),f=i.map(((e,t)=>{const r=l.map((e=>e[t].latency)),n=1-r.reduce(((e,t)=>e+t),0)/r.length/p,o=l.map((e=>e[t].success)),a=o.reduce(((e,t)=>e+t),0)/o.length;return 0===a?[0,t]:[u*n+c*a,t]})).sort(((e,t)=>t[0]-e[0]));r(f.map((([,e])=>i[e]))),await(0,o.wait)(t),d()};d()}},52543:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.http=function(e,t={}){const{batch:r,fetchOptions:c,key:u="http",name:l="HTTP JSON-RPC",onFetchRequest:d,onFetchResponse:p,retryDelay:f}=t;return({chain:m,retryCount:b,timeout:h})=>{const{batchSize:y=1e3,wait:g=0}="object"==typeof r?r:{},v=t.retryCount??b,x=h??t.timeout??1e4,E=e||m?.rpcUrls.default.http[0];if(!E)throw new o.UrlRequiredError;const w=(0,i.getHttpRpcClient)(E,{fetchOptions:c,onRequest:d,onResponse:p,timeout:x});return(0,s.createTransport)({key:u,name:l,async request({method:e,params:t}){const o={method:e,params:t},{schedule:i}=(0,a.createBatchScheduler)({id:E,wait:g,shouldSplitBatch:e=>e.length>y,fn:e=>w.request({body:e}),sort:(e,t)=>e.id-t.id}),[{error:s,result:c}]=await(async e=>r?i(e):[await w.request({body:e})])(o);if(s)throw new n.RpcRequestError({body:o,error:s,url:E});return c},retryCount:v,retryDelay:f,timeout:x,type:"http"},{fetchOptions:c,url:E})}};const n=r(82202),o=r(65446),a=r(85290),i=r(14017),s=r(30922)},98612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.webSocket=function(e,t={}){const{keepAlive:r,key:c="webSocket",name:u="WebSocket JSON-RPC",reconnect:l,retryDelay:d}=t;return({chain:p,retryCount:f,timeout:m})=>{const b=t.retryCount??f,h=m??t.timeout??1e4,y=e||p?.rpcUrls.default.webSocket?.[0];if(!y)throw new o.UrlRequiredError;return(0,s.createTransport)({key:c,name:u,async request({method:e,params:t}){const o={method:e,params:t},a=await(0,i.getWebSocketRpcClient)(y,{keepAlive:r,reconnect:l}),{error:s,result:c}=await a.requestAsync({body:o,timeout:h});if(s)throw new n.RpcRequestError({body:o,error:s,url:y});return c},retryCount:b,retryDelay:d,timeout:h,type:"webSocket"},{getSocket:()=>(0,a.getSocket)(y),getRpcClient:()=>(0,i.getWebSocketRpcClient)(y),async subscribe({params:e,onData:t,onError:r}){const n=await(0,i.getWebSocketRpcClient)(y),{result:o}=await new Promise(((o,a)=>n.request({body:{method:"eth_subscribe",params:e},onError(e){a(e),r?.(e)},onResponse(e){if(e.error)return a(e.error),void r?.(e.error);"number"!=typeof e.id?"eth_subscription"===e.method&&t(e.params):o(e)}})));return{subscriptionId:o,unsubscribe:async()=>new Promise((e=>n.request({body:{method:"eth_unsubscribe",params:[o]},onResponse:e})))}}})}};const n=r(82202),o=r(65446),a=r(16311),i=r(41370),s=r(30922)},73302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.erc4626Abi=t.erc721Abi=t.erc20Abi_bytes32=t.erc20Abi=t.universalSignatureValidatorAbi=t.smartAccountAbi=t.addressResolverAbi=t.textResolverAbi=t.universalResolverReverseAbi=t.universalResolverResolveAbi=t.multicall3Abi=void 0,t.multicall3Abi=[{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"}];const r=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"},{inputs:[],name:"ResolverNotContract",type:"error"},{inputs:[{name:"returnData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{components:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"errors",type:"tuple[]"}],name:"HttpError",type:"error"}];t.universalResolverResolveAbi=[...r,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]},{name:"resolve",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"}]}],t.universalResolverReverseAbi=[...r,{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]},{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],t.textResolverAbi=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],t.addressResolverAbi=[{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"}]}],t.smartAccountAbi=[{name:"isValidSignature",type:"function",stateMutability:"view",inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],outputs:[{name:"",type:"bytes4"}]}],t.universalSignatureValidatorAbi=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"}],t.erc20Abi=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"function",name:"allowance",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"approve",stateMutability:"nonpayable",inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{type:"function",name:"transfer",stateMutability:"nonpayable",inputs:[{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]},{type:"function",name:"transferFrom",stateMutability:"nonpayable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]}],t.erc20Abi_bytes32=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}]},{type:"function",name:"allowance",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"approve",stateMutability:"nonpayable",inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{type:"function",name:"transfer",stateMutability:"nonpayable",inputs:[{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]},{type:"function",name:"transferFrom",stateMutability:"nonpayable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"amount",type:"uint256"}],outputs:[{type:"bool"}]}],t.erc721Abi=[{type:"event",name:"Approval",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!0,name:"tokenId",type:"uint256"}]},{type:"event",name:"ApprovalForAll",inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"operator",type:"address"},{indexed:!1,name:"approved",type:"bool"}]},{type:"event",name:"Transfer",inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!0,name:"tokenId",type:"uint256"}]},{type:"function",name:"approve",stateMutability:"payable",inputs:[{name:"spender",type:"address"},{name:"tokenId",type:"uint256"}],outputs:[]},{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{name:"account",type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"getApproved",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{type:"address"}]},{type:"function",name:"isApprovedForAll",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"operator",type:"address"}],outputs:[{type:"bool"}]},{type:"function",name:"name",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{type:"function",name:"ownerOf",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"owner",type:"address"}]},{type:"function",name:"safeTransferFrom",stateMutability:"payable",inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"tokenId",type:"uint256"}],outputs:[]},{type:"function",name:"safeTransferFrom",stateMutability:"nonpayable",inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"id",type:"uint256"},{name:"data",type:"bytes"}],outputs:[]},{type:"function",name:"setApprovalForAll",stateMutability:"nonpayable",inputs:[{name:"operator",type:"address"},{name:"approved",type:"bool"}],outputs:[]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{type:"function",name:"tokenByIndex",stateMutability:"view",inputs:[{name:"index",type:"uint256"}],outputs:[{type:"uint256"}]},{type:"function",name:"tokenByIndex",stateMutability:"view",inputs:[{name:"owner",type:"address"},{name:"index",type:"uint256"}],outputs:[{name:"tokenId",type:"uint256"}]},{type:"function",name:"tokenURI",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{type:"string"}]},{type:"function",name:"totalSupply",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{type:"function",name:"transferFrom",stateMutability:"payable",inputs:[{name:"sender",type:"address"},{name:"recipient",type:"address"},{name:"tokeId",type:"uint256"}],outputs:[]}],t.erc4626Abi=[{anonymous:!1,inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"receiver",type:"address"},{indexed:!1,name:"assets",type:"uint256"},{indexed:!1,name:"shares",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"receiver",type:"address"},{indexed:!0,name:"owner",type:"address"},{indexed:!1,name:"assets",type:"uint256"},{indexed:!1,name:"shares",type:"uint256"}],name:"Withdraw",type:"event"},{inputs:[{name:"owner",type:"address"},{name:"spender",type:"address"}],name:"allowance",outputs:[{type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"spender",type:"address"},{name:"amount",type:"uint256"}],name:"approve",outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"asset",outputs:[{name:"assetTokenAddress",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"address"}],name:"balanceOf",outputs:[{type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"convertToAssets",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"convertToShares",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"},{name:"receiver",type:"address"}],name:"deposit",outputs:[{name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"caller",type:"address"}],name:"maxDeposit",outputs:[{name:"maxAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"caller",type:"address"}],name:"maxMint",outputs:[{name:"maxShares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"owner",type:"address"}],name:"maxRedeem",outputs:[{name:"maxShares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"owner",type:"address"}],name:"maxWithdraw",outputs:[{name:"maxAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"},{name:"receiver",type:"address"}],name:"mint",outputs:[{name:"assets",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"previewDeposit",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"previewMint",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"}],name:"previewRedeem",outputs:[{name:"assets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"assets",type:"uint256"}],name:"previewWithdraw",outputs:[{name:"shares",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"shares",type:"uint256"},{name:"receiver",type:"address"},{name:"owner",type:"address"}],name:"redeem",outputs:[{name:"assets",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalAssets",outputs:[{name:"totalManagedAssets",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"to",type:"address"},{name:"amount",type:"uint256"}],name:"transfer",outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"assets",type:"uint256"},{name:"receiver",type:"address"},{name:"owner",type:"address"}],name:"withdraw",outputs:[{name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"}]},10937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zeroAddress=t.entryPoint07Address=t.entryPoint06Address=void 0,t.entryPoint06Address="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",t.entryPoint07Address="0x0000000071727De22E5E9d8BAf0edAc6f37da032",t.zeroAddress="0x0000000000000000000000000000000000000000"},41998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maxBytesPerTransaction=t.bytesPerBlob=t.fieldElementsPerBlob=t.bytesPerFieldElement=void 0,t.bytesPerFieldElement=32,t.fieldElementsPerBlob=4096,t.bytesPerBlob=t.bytesPerFieldElement*t.fieldElementsPerBlob,t.maxBytesPerTransaction=6*t.bytesPerBlob-1-1*t.fieldElementsPerBlob*6},79494:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zeroHash=t.erc6492MagicBytes=void 0,t.erc6492MagicBytes="0x6492649264926492649264926492649264926492649264926492649264926492",t.zeroHash="0x0000000000000000000000000000000000000000000000000000000000000000"},27435:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aggregate3Signature=void 0,t.aggregate3Signature="0x82ad56cb"},66590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.universalSignatureValidatorByteCode=t.deploylessCallViaFactoryBytecode=t.deploylessCallViaBytecodeBytecode=void 0,t.deploylessCallViaBytecodeBytecode="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",t.deploylessCallViaFactoryBytecode="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",t.universalSignatureValidatorByteCode="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572"},30975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.versionedHashVersionKzg=void 0,t.versionedHashVersionKzg=1},12856:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minInt144=t.minInt136=t.minInt128=t.minInt120=t.minInt112=t.minInt104=t.minInt96=t.minInt88=t.minInt80=t.minInt72=t.minInt64=t.minInt56=t.minInt48=t.minInt40=t.minInt32=t.minInt24=t.minInt16=t.minInt8=t.maxInt256=t.maxInt248=t.maxInt240=t.maxInt232=t.maxInt224=t.maxInt216=t.maxInt208=t.maxInt200=t.maxInt192=t.maxInt184=t.maxInt176=t.maxInt168=t.maxInt160=t.maxInt152=t.maxInt144=t.maxInt136=t.maxInt128=t.maxInt120=t.maxInt112=t.maxInt104=t.maxInt96=t.maxInt88=t.maxInt80=t.maxInt72=t.maxInt64=t.maxInt56=t.maxInt48=t.maxInt40=t.maxInt32=t.maxInt24=t.maxInt16=t.maxInt8=void 0,t.maxUint256=t.maxUint248=t.maxUint240=t.maxUint232=t.maxUint224=t.maxUint216=t.maxUint208=t.maxUint200=t.maxUint192=t.maxUint184=t.maxUint176=t.maxUint168=t.maxUint160=t.maxUint152=t.maxUint144=t.maxUint136=t.maxUint128=t.maxUint120=t.maxUint112=t.maxUint104=t.maxUint96=t.maxUint88=t.maxUint80=t.maxUint72=t.maxUint64=t.maxUint56=t.maxUint48=t.maxUint40=t.maxUint32=t.maxUint24=t.maxUint16=t.maxUint8=t.minInt256=t.minInt248=t.minInt240=t.minInt232=t.minInt224=t.minInt216=t.minInt208=t.minInt200=t.minInt192=t.minInt184=t.minInt176=t.minInt168=t.minInt160=t.minInt152=void 0,t.maxInt8=127n,t.maxInt16=32767n,t.maxInt24=8388607n,t.maxInt32=2n**31n-1n,t.maxInt40=2n**39n-1n,t.maxInt48=2n**47n-1n,t.maxInt56=2n**55n-1n,t.maxInt64=2n**63n-1n,t.maxInt72=2n**71n-1n,t.maxInt80=2n**79n-1n,t.maxInt88=2n**87n-1n,t.maxInt96=2n**95n-1n,t.maxInt104=2n**103n-1n,t.maxInt112=2n**111n-1n,t.maxInt120=2n**119n-1n,t.maxInt128=2n**127n-1n,t.maxInt136=2n**135n-1n,t.maxInt144=2n**143n-1n,t.maxInt152=2n**151n-1n,t.maxInt160=2n**159n-1n,t.maxInt168=2n**167n-1n,t.maxInt176=2n**175n-1n,t.maxInt184=2n**183n-1n,t.maxInt192=2n**191n-1n,t.maxInt200=2n**199n-1n,t.maxInt208=2n**207n-1n,t.maxInt216=2n**215n-1n,t.maxInt224=2n**223n-1n,t.maxInt232=2n**231n-1n,t.maxInt240=2n**239n-1n,t.maxInt248=2n**247n-1n,t.maxInt256=2n**255n-1n,t.minInt8=-128n,t.minInt16=-32768n,t.minInt24=-8388608n,t.minInt32=-(2n**31n),t.minInt40=-(2n**39n),t.minInt48=-(2n**47n),t.minInt56=-(2n**55n),t.minInt64=-(2n**63n),t.minInt72=-(2n**71n),t.minInt80=-(2n**79n),t.minInt88=-(2n**87n),t.minInt96=-(2n**95n),t.minInt104=-(2n**103n),t.minInt112=-(2n**111n),t.minInt120=-(2n**119n),t.minInt128=-(2n**127n),t.minInt136=-(2n**135n),t.minInt144=-(2n**143n),t.minInt152=-(2n**151n),t.minInt160=-(2n**159n),t.minInt168=-(2n**167n),t.minInt176=-(2n**175n),t.minInt184=-(2n**183n),t.minInt192=-(2n**191n),t.minInt200=-(2n**199n),t.minInt208=-(2n**207n),t.minInt216=-(2n**215n),t.minInt224=-(2n**223n),t.minInt232=-(2n**231n),t.minInt240=-(2n**239n),t.minInt248=-(2n**247n),t.minInt256=-(2n**255n),t.maxUint8=255n,t.maxUint16=65535n,t.maxUint24=2n**24n-1n,t.maxUint32=2n**32n-1n,t.maxUint40=2n**40n-1n,t.maxUint48=2n**48n-1n,t.maxUint56=2n**56n-1n,t.maxUint64=2n**64n-1n,t.maxUint72=2n**72n-1n,t.maxUint80=2n**80n-1n,t.maxUint88=2n**88n-1n,t.maxUint96=2n**96n-1n,t.maxUint104=2n**104n-1n,t.maxUint112=2n**112n-1n,t.maxUint120=2n**120n-1n,t.maxUint128=2n**128n-1n,t.maxUint136=2n**136n-1n,t.maxUint144=2n**144n-1n,t.maxUint152=2n**152n-1n,t.maxUint160=2n**160n-1n,t.maxUint168=2n**168n-1n,t.maxUint176=2n**176n-1n,t.maxUint184=2n**184n-1n,t.maxUint192=2n**192n-1n,t.maxUint200=2n**200n-1n,t.maxUint208=2n**208n-1n,t.maxUint216=2n**216n-1n,t.maxUint224=2n**224n-1n,t.maxUint232=2n**232n-1n,t.maxUint240=2n**240n-1n,t.maxUint248=2n**248n-1n,t.maxUint256=2n**256n-1n},30924:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.solidityPanic=t.solidityError=t.panicReasons=void 0,t.panicReasons={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."},t.solidityError={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},t.solidityPanic={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}},24019:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.presignMessagePrefix=void 0,t.presignMessagePrefix="Ethereum Signed Message:\n"},54839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.weiUnits=t.gweiUnits=t.etherUnits=void 0,t.etherUnits={gwei:9,wei:18},t.gweiUnits={ether:-9,wei:9},t.weiUnits={ether:-18,gwei:-9}},66953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedPackedAbiType=t.InvalidDefinitionTypeError=t.InvalidArrayError=t.InvalidAbiDecodingTypeError=t.InvalidAbiEncodingTypeError=t.DecodeLogTopicsMismatch=t.DecodeLogDataMismatch=t.BytesSizeMismatchError=t.AbiItemAmbiguityError=t.AbiFunctionSignatureNotFoundError=t.AbiFunctionOutputsNotFoundError=t.AbiFunctionNotFoundError=t.AbiEventNotFoundError=t.AbiEventSignatureNotFoundError=t.AbiEventSignatureEmptyTopicsError=t.AbiErrorSignatureNotFoundError=t.AbiErrorNotFoundError=t.AbiErrorInputsNotFoundError=t.AbiEncodingLengthMismatchError=t.AbiEncodingBytesSizeMismatchError=t.AbiEncodingArrayLengthMismatchError=t.AbiDecodingZeroDataError=t.AbiDecodingDataSizeTooSmallError=t.AbiDecodingDataSizeInvalidError=t.AbiConstructorParamsNotFoundError=t.AbiConstructorNotFoundError=void 0;const n=r(54520),o=r(12285),a=r(6246);class i extends a.BaseError{constructor({docsPath:e}){super(["A constructor was not found on the ABI.","Make sure you are using the correct ABI and that the constructor exists on it."].join("\n"),{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiConstructorNotFoundError"})}}t.AbiConstructorNotFoundError=i;class s extends a.BaseError{constructor({docsPath:e}){super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.","Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join("\n"),{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiConstructorParamsNotFoundError"})}}t.AbiConstructorParamsNotFoundError=s;class c extends a.BaseError{constructor({data:e,size:t}){super([`Data size of ${t} bytes is invalid.`,"Size must be in increments of 32 bytes (size % 32 === 0)."].join("\n"),{metaMessages:[`Data: ${e} (${t} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingDataSizeInvalidError"})}}t.AbiDecodingDataSizeInvalidError=c;class u extends a.BaseError{constructor({data:e,params:t,size:r}){super([`Data size of ${r} bytes is too small for given parameters.`].join("\n"),{metaMessages:[`Params: (${(0,n.formatAbiParams)(t,{includeName:!0})})`,`Data: ${e} (${r} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"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=r}}t.AbiDecodingDataSizeTooSmallError=u;class l extends a.BaseError{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingZeroDataError"})}}t.AbiDecodingZeroDataError=l;class d extends a.BaseError{constructor({expectedLength:e,givenLength:t,type:r}){super([`ABI encoding array length mismatch for type ${r}.`,`Expected length: ${e}`,`Given length: ${t}`].join("\n")),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingArrayLengthMismatchError"})}}t.AbiEncodingArrayLengthMismatchError=d;class p extends a.BaseError{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,o.size)(t)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingBytesSizeMismatchError"})}}t.AbiEncodingBytesSizeMismatchError=p;class f extends a.BaseError{constructor({expectedLength:e,givenLength:t}){super(["ABI encoding params/values length mismatch.",`Expected length (params): ${e}`,`Given length (values): ${t}`].join("\n")),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingLengthMismatchError"})}}t.AbiEncodingLengthMismatchError=f;class m 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\`).`,"Cannot encode error result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the inputs exist on it."].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiErrorInputsNotFoundError"})}}t.AbiErrorInputsNotFoundError=m;class b extends a.BaseError{constructor(e,{docsPath:t}={}){super([`Error ${e?`"${e}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the error exists on it."].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiErrorNotFoundError"})}}t.AbiErrorNotFoundError=b;class h extends a.BaseError{constructor(e,{docsPath:t}){super([`Encoded error signature "${e}" not found on 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://openchain.xyz/signatures?query=${e}.`].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}t.AbiErrorSignatureNotFoundError=h;class y extends a.BaseError{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventSignatureEmptyTopicsError"})}}t.AbiEventSignatureEmptyTopicsError=y;class g extends a.BaseError{constructor(e,{docsPath:t}){super([`Encoded event signature "${e}" not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it.",`You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventSignatureNotFoundError"})}}t.AbiEventSignatureNotFoundError=g;class v extends a.BaseError{constructor(e,{docsPath:t}={}){super([`Event ${e?`"${e}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it."].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventNotFoundError"})}}t.AbiEventNotFoundError=v;class x extends a.BaseError{constructor(e,{docsPath:t}={}){super([`Function ${e?`"${e}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it."].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiFunctionNotFoundError"})}}t.AbiFunctionNotFoundError=x;class E extends a.BaseError{constructor(e,{docsPath:t}){super([`Function "${e}" does not contain any \`outputs\` on ABI.`,"Cannot decode function result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the function exists on it."].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiFunctionOutputsNotFoundError"})}}t.AbiFunctionOutputsNotFoundError=E;class w extends a.BaseError{constructor(e,{docsPath:t}){super([`Encoded function signature "${e}" not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it.",`You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiFunctionSignatureNotFoundError"})}}t.AbiFunctionSignatureNotFoundError=w;class P extends a.BaseError{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,n.formatAbiItem)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,n.formatAbiItem)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItemAmbiguityError"})}}t.AbiItemAmbiguityError=P;class T extends a.BaseError{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytesSizeMismatchError"})}}t.BytesSizeMismatchError=T;class k extends a.BaseError{constructor({abiItem:e,data:t,params:r,size:o}){super([`Data size of ${o} bytes is too small for non-indexed event parameters.`].join("\n"),{metaMessages:[`Params: (${(0,n.formatAbiParams)(r,{includeName:!0})})`,`Data: ${t} (${o} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"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=r,this.size=o}}t.DecodeLogDataMismatch=k;class O extends a.BaseError{constructor({abiItem:e,param:t}){super([`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,n.formatAbiItem)(e,{includeName:!0})}".`].join("\n")),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}t.DecodeLogTopicsMismatch=O;class C extends a.BaseError{constructor(e,{docsPath:t}){super([`Type "${e}" is not a valid encoding type.`,"Please provide a valid ABI type."].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiEncodingType"})}}t.InvalidAbiEncodingTypeError=C;class j extends a.BaseError{constructor(e,{docsPath:t}){super([`Type "${e}" is not a valid decoding type.`,"Please provide a valid ABI type."].join("\n"),{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiDecodingType"})}}t.InvalidAbiDecodingTypeError=j;class _ extends a.BaseError{constructor(e){super([`Value "${e}" is not a valid array.`].join("\n")),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidArrayError"})}}t.InvalidArrayError=_;class A extends a.BaseError{constructor(e){super([`"${e}" is not a valid definition type.`,'Valid types: "function", "event", "error"'].join("\n")),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidDefinitionTypeError"})}}t.InvalidDefinitionTypeError=A;class S extends a.BaseError{constructor(e){super(`Type "${e}" is not supported for packed encoding.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnsupportedPackedAbiType"})}}t.UnsupportedPackedAbiType=S},32540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountTypeNotSupportedError=t.AccountNotFoundError=void 0;const n=r(6246);class o extends n.BaseError{constructor({docsPath:e}={}){super(["Could not find an Account to execute with this Action.","Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client."].join("\n"),{docsPath:e,docsSlug:"account"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccountNotFoundError"})}}t.AccountNotFoundError=o;class a extends n.BaseError{constructor({docsPath:e,metaMessages:t,type:r}){super(`Account type "${r}" is not supported.`,{docsPath:e,metaMessages:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccountTypeNotSupportedError"})}}t.AccountTypeNotSupportedError=a},26311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidAddressError=void 0;const n=r(6246);class o extends n.BaseError{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."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAddressError"})}}t.InvalidAddressError=o},6246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseError=void 0;const n=r(79382);class o extends Error{constructor(e,t={}){const r=t.cause instanceof o?t.cause.details:t.cause?.message?t.cause.message:t.details,a=t.cause instanceof o&&t.cause.docsPath||t.docsPath,i=(0,n.getVersion)();super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...a?[`Docs: ${t.docsBaseUrl??"https://viem.sh"}${a}${t.docsSlug?`#${t.docsSlug}`:""}`]:[],...r?[`Details: ${r}`]:[],`Version: ${i}`].join("\n"),t.cause?{cause:t.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ViemError"}),this.details=r,this.docsPath=a,this.metaMessages=t.metaMessages,this.shortMessage=e,this.version=i}walk(e){return a(this,e)}}function a(e,t){return t?.(e)?e:e&&"object"==typeof e&&"cause"in e?a(e.cause,t):t?null:e}t.BaseError=o},92592:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidVersionedHashVersionError=t.InvalidVersionedHashSizeError=t.EmptyBlobError=t.BlobSizeTooLargeError=void 0;const n=r(30975),o=r(6246);class a extends o.BaseError{constructor({maxSize:e,size:t}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${t} bytes`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BlobSizeTooLargeError"})}}t.BlobSizeTooLargeError=a;class i extends o.BaseError{constructor(){super("Blob data must not be empty."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EmptyBlobError"})}}t.EmptyBlobError=i;class s extends o.BaseError{constructor({hash:e,size:t}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${t}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidVersionedHashSizeError"})}}t.InvalidVersionedHashSizeError=s;class c extends o.BaseError{constructor({hash:e,version:t}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${n.versionedHashVersionKzg}`,`Received: ${t}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidVersionedHashVersionError"})}}t.InvalidVersionedHashVersionError=c},39642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockNotFoundError=void 0;const n=r(6246);class o extends n.BaseError{constructor({blockHash:e,blockNumber:t}){let r="Block";e&&(r=`Block at hash "${e}"`),t&&(r=`Block at number "${t}"`),super(`${r} could not be found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BlockNotFoundError"})}}t.BlockNotFoundError=o},94548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OffchainLookupSenderMismatchError=t.OffchainLookupResponseMalformedError=t.OffchainLookupError=void 0;const n=r(44900),o=r(6246),a=r(79382);class i extends o.BaseError{constructor({callbackSelector:e,cause:t,data:r,extraData:n,sender:o,urls:i}){super(t.shortMessage||"An error occurred while fetching for an offchain result.",{cause:t,metaMessages:[...t.metaMessages||[],t.metaMessages?.length?"":[],"Offchain Gateway Call:",i&&[" Gateway URL(s):",...i.map((e=>` ${(0,a.getUrl)(e)}`))],` Sender: ${o}`,` Data: ${r}`,` Callback selector: ${e}`,` Extra data: ${n}`].flat()}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupError"})}}t.OffchainLookupError=i;class s extends o.BaseError{constructor({result:e,url:t}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${(0,a.getUrl)(t)}`,`Response: ${(0,n.stringify)(e)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupResponseMalformedError"})}}t.OffchainLookupResponseMalformedError=s;class c extends o.BaseError{constructor({sender:e,to:t}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${t}`,`OffchainLookup sender address: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupSenderMismatchError"})}}t.OffchainLookupSenderMismatchError=c},94698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidChainIdError=t.ClientChainNotConfiguredError=t.ChainNotFoundError=t.ChainMismatchError=t.ChainDoesNotSupportContract=void 0;const n=r(6246);class o extends n.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.`]]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainDoesNotSupportContract"})}}t.ChainDoesNotSupportContract=o;class a extends n.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}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainMismatchError"})}}t.ChainMismatchError=a;class i extends n.BaseError{constructor(){super(["No chain was provided to the request.","Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient."].join("\n")),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotFoundError"})}}t.ChainNotFoundError=i;class s extends n.BaseError{constructor(){super("No chain was provided to the Client."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ClientChainNotConfiguredError"})}}t.ClientChainNotConfiguredError=s;class c extends n.BaseError{constructor({chainId:e}){super("number"==typeof e?`Chain ID "${e}" is invalid.`:"Chain ID is invalid."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidChainIdError"})}}t.InvalidChainIdError=c},87677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawContractError=t.CounterfactualDeploymentFailedError=t.ContractFunctionZeroDataError=t.ContractFunctionRevertedError=t.ContractFunctionExecutionError=t.CallExecutionError=void 0;const n=r(39006),o=r(30924),a=r(68181),i=r(54520),s=r(80449),c=r(60775),u=r(86117),l=r(55277),d=r(66953),p=r(6246),f=r(76254),m=r(3727),b=r(79382);class h extends p.BaseError{constructor(e,{account:t,docsPath:r,chain:o,data:a,gas:i,gasPrice:s,maxFeePerGas:c,maxPriorityFeePerGas:d,nonce:p,to:b,value:h,stateOverride:y}){const g=t?(0,n.parseAccount)(t):void 0;let v=(0,m.prettyPrint)({from:g?.address,to:b,value:void 0!==h&&`${(0,u.formatEther)(h)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:a,gas:i,gasPrice:void 0!==s&&`${(0,l.formatGwei)(s)} gwei`,maxFeePerGas:void 0!==c&&`${(0,l.formatGwei)(c)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,l.formatGwei)(d)} gwei`,nonce:p});y&&(v+=`\n${(0,f.prettyStateOverride)(y)}`),super(e.shortMessage,{cause:e,docsPath:r,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",v].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CallExecutionError"}),this.cause=e}}t.CallExecutionError=h;class y extends p.BaseError{constructor(e,{abi:t,args:r,contractAddress:n,docsPath:o,functionName:a,sender:u}){const l=(0,c.getAbiItem)({abi:t,args:r,name:a}),d=l?(0,s.formatAbiItemWithArgs)({abiItem:l,args:r,includeFunctionName:!1,includeName:!1}):void 0,p=l?(0,i.formatAbiItem)(l,{includeName:!0}):void 0,f=(0,m.prettyPrint)({address:n&&(0,b.getContractAddress)(n),function:p,args:d&&"()"!==d&&`${[...Array(a?.length??0).keys()].map((()=>" ")).join("")}${d}`,sender:u});super(e.shortMessage||`An unknown error occurred while executing the contract function "${a}".`,{cause:e,docsPath:o,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],f&&"Contract Call:",f].filter(Boolean)}),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}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionExecutionError"}),this.abi=t,this.args=r,this.cause=e,this.contractAddress=n,this.functionName=a,this.sender=u}}t.ContractFunctionExecutionError=y;class g extends p.BaseError{constructor({abi:e,data:t,functionName:r,message:n}){let c,u,l,p,f;if(t&&"0x"!==t)try{u=(0,a.decodeErrorResult)({abi:e,data:t});const{abiItem:r,errorName:n,args:c}=u;if("Error"===n)p=c[0];else if("Panic"===n){const[e]=c;p=o.panicReasons[e]}else{const e=r?(0,i.formatAbiItem)(r,{includeName:!0}):void 0,t=r&&c?(0,s.formatAbiItemWithArgs)({abiItem:r,args:c,includeFunctionName:!1,includeName:!1}):void 0;l=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(n?.length??0).keys()].map((()=>" ")).join("")}${t}`:""]}}catch(e){c=e}else n&&(p=n);c instanceof d.AbiErrorSignatureNotFoundError&&(f=c.signature,l=[`Unable to decode signature "${f}" 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://openchain.xyz/signatures?query=${f}.`]),super(p&&"execution reverted"!==p||f?[`The contract function "${r}" reverted with the following ${f?"signature":"reason"}:`,p||f].join("\n"):`The contract function "${r}" reverted.`,{cause:c,metaMessages:l}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{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.reason=p,this.signature=f}}t.ContractFunctionRevertedError=g;class v extends p.BaseError{constructor({functionName:e}){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."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ContractFunctionZeroDataError"})}}t.ContractFunctionZeroDataError=v;class x extends p.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."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CounterfactualDeploymentFailedError"})}}t.CounterfactualDeploymentFailedError=x;class E extends p.BaseError{constructor({data:e,message:t}){super(t||""),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RawContractError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e}}t.RawContractError=E},63069:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecursiveReadLimitExceededError=t.PositionOutOfBoundsError=t.NegativeOffsetError=void 0;const n=r(6246);class o extends n.BaseError{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NegativeOffsetError"})}}t.NegativeOffsetError=o;class a extends n.BaseError{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PositionOutOfBoundsError"})}}t.PositionOutOfBoundsError=a;class i extends n.BaseError{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RecursiveReadLimitExceededError"})}}t.RecursiveReadLimitExceededError=i},75375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidBytesLengthError=t.SizeExceedsPaddingSizeError=t.SliceOffsetOutOfBoundsError=void 0;const n=r(6246);class o extends n.BaseError{constructor({offset:e,position:t,size:r}){super(`Slice ${"start"===t?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${r}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SliceOffsetOutOfBoundsError"})}}t.SliceOffsetOutOfBoundsError=o;class a extends n.BaseError{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (${e}) exceeds padding size (${t}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SizeExceedsPaddingSizeError"})}}t.SizeExceedsPaddingSizeError=a;class i extends n.BaseError{constructor({size:e,targetSize:t,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} is expected to be ${t} ${r} long, but is ${e} ${r} long.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidBytesLengthError"})}}t.InvalidBytesLengthError=i},35339:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eip712DomainNotFoundError=void 0;const n=r(6246);class o extends n.BaseError{constructor({address:e}){super(`No EIP-712 domain found on contract "${e}".`,{metaMessages:["Ensure that:",`- The contract is deployed at the address "${e}".`,"- `eip712Domain()` function exists on the contract.","- `eip712Domain()` function matches signature to ERC-5267 specification."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Eip712DomainNotFoundError"})}}t.Eip712DomainNotFoundError=o},95366:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeOverflowError=t.InvalidHexValueError=t.InvalidHexBooleanError=t.InvalidBytesBooleanError=t.IntegerOutOfRangeError=void 0;const n=r(6246);class o extends n.BaseError{constructor({max:e,min:t,signed:r,size:n,value:o}){super(`Number "${o}" is not in safe ${n?`${8*n}-bit ${r?"signed":"unsigned"} `:""}integer range ${e?`(${t} to ${e})`:`(above ${t})`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"IntegerOutOfRangeError"})}}t.IntegerOutOfRangeError=o;class a extends n.BaseError{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidBytesBooleanError"})}}t.InvalidBytesBooleanError=a;class i extends n.BaseError{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidHexBooleanError"})}}t.InvalidHexBooleanError=i;class s extends n.BaseError{constructor(e){super(`Hex value "${e}" is an odd length (${e.length}). It must be an even length.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidHexValueError"})}}t.InvalidHexValueError=s;class c extends n.BaseError{constructor({givenSize:e,maxSize:t}){super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SizeOverflowError"})}}t.SizeOverflowError=c},38047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EnsAvatarUnsupportedNamespaceError=t.EnsAvatarUriResolutionError=t.EnsAvatarInvalidNftUriError=t.EnsAvatarInvalidMetadataError=void 0;const n=r(6246);class o extends n.BaseError{constructor({data:e}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(e)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidMetadataError"})}}t.EnsAvatarInvalidMetadataError=o;class a extends n.BaseError{constructor({reason:e}){super(`ENS NFT avatar URI is invalid. ${e}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarInvalidNftUriError"})}}t.EnsAvatarInvalidNftUriError=a;class i extends n.BaseError{constructor({uri:e}){super(`Unable to resolve ENS avatar URI "${e}". The URI may be malformed, invalid, or does not respond with a valid image.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUriResolutionError"})}}t.EnsAvatarUriResolutionError=i;class s extends n.BaseError{constructor({namespace:e}){super(`ENS NFT avatar namespace "${e}" is not supported. Must be "erc721" or "erc1155".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EnsAvatarUnsupportedNamespaceError"})}}t.EnsAvatarUnsupportedNamespaceError=s},25772:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EstimateGasExecutionError=void 0;const n=r(86117),o=r(55277),a=r(6246),i=r(3727);class s extends a.BaseError{constructor(e,{account:t,docsPath:r,chain:a,data:s,gas:c,gasPrice:u,maxFeePerGas:l,maxPriorityFeePerGas:d,nonce:p,to:f,value:m}){const b=(0,i.prettyPrint)({from:t?.address,to:f,value:void 0!==m&&`${(0,n.formatEther)(m)} ${a?.nativeCurrency?.symbol||"ETH"}`,data:s,gas:c,gasPrice:void 0!==u&&`${(0,o.formatGwei)(u)} gwei`,maxFeePerGas:void 0!==l&&`${(0,o.formatGwei)(l)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,o.formatGwei)(d)} gwei`,nonce:p});super(e.shortMessage,{cause:e,docsPath:r,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Estimate Gas Arguments:",b].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"EstimateGasExecutionError"}),this.cause=e}}t.EstimateGasExecutionError=s},29143:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaxFeePerGasTooLowError=t.Eip1559FeesNotSupportedError=t.BaseFeeScalarError=void 0;const n=r(55277),o=r(6246);class a extends o.BaseError{constructor(){super("`baseFeeMultiplier` must be greater than 1."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseFeeScalarError"})}}t.BaseFeeScalarError=a;class i extends o.BaseError{constructor(){super("Chain does not support EIP-1559 fees."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Eip1559FeesNotSupportedError"})}}t.Eip1559FeesNotSupportedError=i;class s extends o.BaseError{constructor({maxPriorityFeePerGas:e}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,n.formatGwei)(e)} gwei).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MaxFeePerGasTooLowError"})}}t.MaxFeePerGasTooLowError=s},36861:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FilterTypeNotSupportedError=void 0;const n=r(6246);class o extends n.BaseError{constructor(e){super(`Filter type "${e}" is not supported.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FilterTypeNotSupportedError"})}}t.FilterTypeNotSupportedError=o},62731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownNodeError=t.TipAboveFeeCapError=t.TransactionTypeNotSupportedError=t.IntrinsicGasTooLowError=t.IntrinsicGasTooHighError=t.InsufficientFundsError=t.NonceMaxValueError=t.NonceTooLowError=t.NonceTooHighError=t.FeeCapTooLowError=t.FeeCapTooHighError=t.ExecutionRevertedError=void 0;const n=r(55277),o=r(6246);class a extends o.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}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ExecutionRevertedError"})}}t.ExecutionRevertedError=a,Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(a,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class i extends o.BaseError{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,n.formatGwei)(t)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeCapTooHigh"})}}t.FeeCapTooHighError=i,Object.defineProperty(i,"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 s extends o.BaseError{constructor({cause:e,maxFeePerGas:t}={}){super(`The fee cap (\`maxFeePerGas\`${t?` = ${(0,n.formatGwei)(t)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeCapTooLow"})}}t.FeeCapTooLowError=s,Object.defineProperty(s,"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 c extends o.BaseError{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}is higher than the next one expected.`,{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceTooHighError"})}}t.NonceTooHighError=c,Object.defineProperty(c,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class u extends o.BaseError{constructor({cause:e,nonce:t}={}){super([`Nonce provided for the transaction ${t?`(${t}) `:""}is lower than the current nonce of the account.`,"Try increasing the nonce or find the latest nonce with `getTransactionCount`."].join("\n"),{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceTooLowError"})}}t.NonceTooLowError=u,Object.defineProperty(u,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class l extends o.BaseError{constructor({cause:e,nonce:t}={}){super(`Nonce provided for the transaction ${t?`(${t}) `:""}exceeds the maximum allowed nonce.`,{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NonceMaxValueError"})}}t.NonceMaxValueError=l,Object.defineProperty(l,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class d extends o.BaseError{constructor({cause:e}={}){super(["The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."].join("\n"),{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."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InsufficientFundsError"})}}t.InsufficientFundsError=d,Object.defineProperty(d,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds/});class p extends o.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}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"IntrinsicGasTooHighError"})}}t.IntrinsicGasTooHighError=p,Object.defineProperty(p,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class f extends o.BaseError{constructor({cause:e,gas:t}={}){super(`The amount of gas ${t?`(${t}) `:""}provided for the transaction is too low.`,{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"IntrinsicGasTooLowError"})}}t.IntrinsicGasTooLowError=f,Object.defineProperty(f,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class m extends o.BaseError{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionTypeNotSupportedError"})}}t.TransactionTypeNotSupportedError=m,Object.defineProperty(m,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class b extends o.BaseError{constructor({cause:e,maxPriorityFeePerGas:t,maxFeePerGas:r}={}){super([`The provided tip (\`maxPriorityFeePerGas\`${t?` = ${(0,n.formatGwei)(t)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${r?` = ${(0,n.formatGwei)(r)} gwei`:""}).`].join("\n"),{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TipAboveFeeCapError"})}}t.TipAboveFeeCapError=b,Object.defineProperty(b,"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 h extends o.BaseError{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownNodeError"})}}t.UnknownNodeError=h},82202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeoutError=t.SocketClosedError=t.RpcRequestError=t.WebSocketRequestError=t.HttpRequestError=void 0;const n=r(44900),o=r(6246),a=r(79382);class i extends o.BaseError{constructor({body:e,cause:t,details:r,headers:o,status:i,url:s}){super("HTTP request failed.",{cause:t,details:r,metaMessages:[i&&`Status: ${i}`,`URL: ${(0,a.getUrl)(s)}`,e&&`Request body: ${(0,n.stringify)(e)}`].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"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}}t.HttpRequestError=i;class s extends o.BaseError{constructor({body:e,cause:t,details:r,url:o}){super("WebSocket request failed.",{cause:t,details:r,metaMessages:[`URL: ${(0,a.getUrl)(o)}`,e&&`Request body: ${(0,n.stringify)(e)}`].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WebSocketRequestError"})}}t.WebSocketRequestError=s;class c extends o.BaseError{constructor({body:e,error:t,url:r}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,a.getUrl)(r)}`,`Request body: ${(0,n.stringify)(e)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code}}t.RpcRequestError=c;class u extends o.BaseError{constructor({url:e}={}){super("The socket has been closed.",{metaMessages:[e&&`URL: ${(0,a.getUrl)(e)}`].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SocketClosedError"})}}t.SocketClosedError=u;class l extends o.BaseError{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,a.getUrl)(t)}`,`Request body: ${(0,n.stringify)(e)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TimeoutError"})}}t.TimeoutError=l},37992:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownRpcError=t.SwitchChainError=t.ChainDisconnectedError=t.ProviderDisconnectedError=t.UnsupportedProviderMethodError=t.UnauthorizedProviderError=t.UserRejectedRequestError=t.JsonRpcVersionUnsupportedError=t.LimitExceededRpcError=t.MethodNotSupportedRpcError=t.TransactionRejectedRpcError=t.ResourceUnavailableRpcError=t.ResourceNotFoundRpcError=t.InvalidInputRpcError=t.InternalRpcError=t.InvalidParamsRpcError=t.MethodNotFoundRpcError=t.InvalidRequestRpcError=t.ParseRpcError=t.ProviderRpcError=t.RpcError=void 0;const n=r(6246),o=r(82202);class a extends n.BaseError{constructor(e,{code:t,docsPath:r,metaMessages:n,shortMessage:a}){super(a,{cause:e,docsPath:r,metaMessages:n||e?.metaMessages}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=e.name,this.code=e instanceof o.RpcRequestError?e.code:t??-1}}t.RpcError=a;class i extends a{constructor(e,t){super(e,t),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderRpcError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}t.ProviderRpcError=i;class s extends a{constructor(e){super(e,{code:s.code,shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ParseRpcError"})}}t.ParseRpcError=s,Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class c extends a{constructor(e){super(e,{code:c.code,shortMessage:"JSON is not a valid request object."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidRequestRpcError"})}}t.InvalidRequestRpcError=c,Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class u extends a{constructor(e,{method:t}={}){super(e,{code:u.code,shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MethodNotFoundRpcError"})}}t.MethodNotFoundRpcError=u,Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends a{constructor(e){super(e,{code:l.code,shortMessage:["Invalid parameters were provided to the RPC method.","Double check you have provided the correct parameters."].join("\n")}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParamsRpcError"})}}t.InvalidParamsRpcError=l,Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends a{constructor(e){super(e,{code:d.code,shortMessage:"An internal error was received."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InternalRpcError"})}}t.InternalRpcError=d,Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class p extends a{constructor(e){super(e,{code:p.code,shortMessage:["Missing or invalid parameters.","Double check you have provided the correct parameters."].join("\n")}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidInputRpcError"})}}t.InvalidInputRpcError=p,Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class f extends a{constructor(e){super(e,{code:f.code,shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}t.ResourceNotFoundRpcError=f,Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class m extends a{constructor(e){super(e,{code:m.code,shortMessage:"Requested resource not available."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceUnavailableRpcError"})}}t.ResourceUnavailableRpcError=m,Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class b extends a{constructor(e){super(e,{code:b.code,shortMessage:"Transaction creation failed."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionRejectedRpcError"})}}t.TransactionRejectedRpcError=b,Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class h extends a{constructor(e,{method:t}={}){super(e,{code:h.code,shortMessage:`Method${t?` "${t}"`:""} is not implemented.`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MethodNotSupportedRpcError"})}}t.MethodNotSupportedRpcError=h,Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class y extends a{constructor(e){super(e,{code:y.code,shortMessage:"Request exceeds defined limit."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"LimitExceededRpcError"})}}t.LimitExceededRpcError=y,Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class g extends a{constructor(e){super(e,{code:g.code,shortMessage:"Version of JSON-RPC protocol is not supported."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"JsonRpcVersionUnsupportedError"})}}t.JsonRpcVersionUnsupportedError=g,Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class v extends i{constructor(e){super(e,{code:v.code,shortMessage:"User rejected the request."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UserRejectedRequestError"})}}t.UserRejectedRequestError=v,Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class x extends i{constructor(e){super(e,{code:x.code,shortMessage:"The requested method and/or account has not been authorized by the user."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnauthorizedProviderError"})}}t.UnauthorizedProviderError=x,Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class E extends i{constructor(e,{method:t}={}){super(e,{code:E.code,shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnsupportedProviderMethodError"})}}t.UnsupportedProviderMethodError=E,Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class w extends i{constructor(e){super(e,{code:w.code,shortMessage:"The Provider is disconnected from all chains."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderDisconnectedError"})}}t.ProviderDisconnectedError=w,Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class P extends i{constructor(e){super(e,{code:P.code,shortMessage:"The Provider is not connected to the requested chain."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainDisconnectedError"})}}t.ChainDisconnectedError=P,Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class T extends i{constructor(e){super(e,{code:T.code,shortMessage:"An error occurred when attempting to switch chain."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainError"})}}t.SwitchChainError=T,Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902}),t.UnknownRpcError=class extends a{constructor(e){super(e,{shortMessage:"An unknown RPC error occurred."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownRpcError"})}}},76254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StateAssignmentConflictError=t.AccountStateConflictError=void 0,t.prettyStateMapping=i,t.prettyStateOverride=function(e){return e.reduce(((e,{address:t,...r})=>{let n=`${e} ${t}:\n`;return r.nonce&&(n+=` nonce: ${r.nonce}\n`),r.balance&&(n+=` balance: ${r.balance}\n`),r.code&&(n+=` code: ${r.code}\n`),r.state&&(n+=" state:\n",n+=i(r.state)),r.stateDiff&&(n+=" stateDiff:\n",n+=i(r.stateDiff)),n})," State Override:\n").slice(0,-1)};const n=r(6246);class o extends n.BaseError{constructor({address:e}){super(`State for account "${e}" is set multiple times.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccountStateConflictError"})}}t.AccountStateConflictError=o;class a extends n.BaseError{constructor(){super("state and stateDiff are set on the same account."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"StateAssignmentConflictError"})}}function i(e){return e.reduce(((e,{slot:t,value:r})=>`${e} ${t}: ${r}\n`),"")}t.StateAssignmentConflictError=a},3727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WaitForTransactionReceiptTimeoutError=t.TransactionReceiptNotFoundError=t.TransactionNotFoundError=t.TransactionExecutionError=t.InvalidStorageKeySizeError=t.InvalidSerializedTransactionError=t.InvalidSerializedTransactionTypeError=t.InvalidSerializableTransactionError=t.InvalidLegacyVError=t.FeeConflictError=void 0,t.prettyPrint=i;const n=r(86117),o=r(55277),a=r(6246);function i(e){const 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")}class s extends a.BaseError{constructor(){super(["Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.","Use `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others."].join("\n")),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"FeeConflictError"})}}t.FeeConflictError=s;class c extends a.BaseError{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidLegacyVError"})}}t.InvalidLegacyVError=c;class u extends a.BaseError{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",i(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","- a Legacy Transaction with `gasPrice`"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSerializableTransactionError"})}}t.InvalidSerializableTransactionError=u;class l extends a.BaseError{constructor({serializedType:e}){super(`Serialized transaction type "${e}" is invalid.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSerializedTransactionType"}),Object.defineProperty(this,"serializedType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedType=e}}t.InvalidSerializedTransactionTypeError=l;class d extends a.BaseError{constructor({attributes:e,serializedTransaction:t,type:r}){const n=Object.entries(e).map((([e,t])=>void 0===t?e:void 0)).filter(Boolean);super(`Invalid serialized transaction of type "${r}" was provided.`,{metaMessages:[`Serialized Transaction: "${t}"`,n.length>0?`Missing Attributes: ${n.join(", ")}`:""].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSerializedTransactionError"}),Object.defineProperty(this,"serializedTransaction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedTransaction=t,this.type=r}}t.InvalidSerializedTransactionError=d;class p extends a.BaseError{constructor({storageKey:e}){super(`Size for storage key "${e}" is invalid. Expected 32 bytes. Got ${Math.floor((e.length-2)/2)} bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStorageKeySizeError"})}}t.InvalidStorageKeySizeError=p;class f extends a.BaseError{constructor(e,{account:t,docsPath:r,chain:a,data:s,gas:c,gasPrice:u,maxFeePerGas:l,maxPriorityFeePerGas:d,nonce:p,to:f,value:m}){const b=i({chain:a&&`${a?.name} (id: ${a?.id})`,from:t?.address,to:f,value:void 0!==m&&`${(0,n.formatEther)(m)} ${a?.nativeCurrency?.symbol||"ETH"}`,data:s,gas:c,gasPrice:void 0!==u&&`${(0,o.formatGwei)(u)} gwei`,maxFeePerGas:void 0!==l&&`${(0,o.formatGwei)(l)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,o.formatGwei)(d)} gwei`,nonce:p});super(e.shortMessage,{cause:e,docsPath:r,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",b].filter(Boolean)}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionExecutionError"}),this.cause=e}}t.TransactionExecutionError=f;class m extends a.BaseError{constructor({blockHash:e,blockNumber:t,blockTag:r,hash:n,index:o}){let a="Transaction";r&&void 0!==o&&(a=`Transaction at block time "${r}" at index "${o}"`),e&&void 0!==o&&(a=`Transaction at block hash "${e}" at index "${o}"`),t&&void 0!==o&&(a=`Transaction at block number "${t}" at index "${o}"`),n&&(a=`Transaction with hash "${n}"`),super(`${a} could not be found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionNotFoundError"})}}t.TransactionNotFoundError=m;class b extends a.BaseError{constructor({hash:e}){super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionReceiptNotFoundError"})}}t.TransactionReceiptNotFoundError=b;class h extends a.BaseError{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WaitForTransactionReceiptTimeoutError"})}}t.WaitForTransactionReceiptTimeoutError=h},65446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlRequiredError=void 0;const n=r(6246);class o extends n.BaseError{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro"})}}t.UrlRequiredError=o},79382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVersion=t.getUrl=t.getContractAddress=void 0;const n=r(85603);t.getContractAddress=e=>e,t.getUrl=e=>e,t.getVersion=()=>`viem@${n.version}`},85603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="2.18.6"},52603:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maxInt72=t.maxInt64=t.maxInt56=t.maxInt48=t.maxInt40=t.maxInt32=t.maxInt24=t.maxInt16=t.maxInt8=t.weiUnits=t.gweiUnits=t.etherUnits=t.zeroAddress=t.erc4626Abi=t.erc721Abi=t.erc20Abi_bytes32=t.erc20Abi=t.multicall3Abi=t.webSocket=t.createWalletClient=t.createTransport=t.walletActions=t.testActions=t.publicActions=t.createTestClient=t.createPublicClient=t.http=t.fallback=t.custom=t.rpcSchema=t.createClient=t.getContract=t.parseAbiParameters=t.parseAbiParameter=t.parseAbiItem=t.parseAbi=t.UnknownSignatureError=t.UnknownTypeError=t.SolidityProtectedKeywordError=t.InvalidStructSignatureError=t.InvalidSignatureError=t.InvalidParenthesisError=t.InvalidParameterError=t.InvalidModifierError=t.InvalidFunctionModifierError=t.InvalidAbiTypeParameterError=t.InvalidAbiItemError=t.InvalidAbiParametersError=t.InvalidAbiParameterError=t.CircularReferenceError=void 0,t.maxUint216=t.maxUint208=t.maxUint200=t.maxUint192=t.maxUint184=t.maxUint176=t.maxUint168=t.maxUint160=t.maxUint152=t.maxUint144=t.maxUint136=t.maxUint128=t.maxUint120=t.maxUint112=t.maxUint104=t.maxUint96=t.maxUint88=t.maxUint80=t.maxUint72=t.maxUint64=t.maxUint56=t.maxUint48=t.maxUint40=t.maxUint32=t.maxUint24=t.maxUint16=t.maxUint8=t.maxInt256=t.maxInt248=t.maxInt240=t.maxInt232=t.maxInt224=t.maxInt216=t.maxInt208=t.maxInt200=t.maxInt192=t.maxInt184=t.maxInt176=t.maxInt168=t.maxInt160=t.maxInt152=t.maxInt144=t.maxInt136=t.maxInt128=t.maxInt120=t.maxInt112=t.maxInt104=t.maxInt96=t.maxInt88=t.maxInt80=void 0,t.AbiErrorSignatureNotFoundError=t.AbiErrorNotFoundError=t.AbiErrorInputsNotFoundError=t.AbiEncodingBytesSizeMismatchError=t.AbiEncodingLengthMismatchError=t.AbiEncodingArrayLengthMismatchError=t.AbiDecodingZeroDataError=t.AbiDecodingDataSizeTooSmallError=t.AbiDecodingDataSizeInvalidError=t.AbiConstructorParamsNotFoundError=t.AbiConstructorNotFoundError=t.presignMessagePrefix=t.zeroHash=t.minInt256=t.minInt248=t.minInt240=t.minInt232=t.minInt224=t.minInt216=t.minInt208=t.minInt200=t.minInt192=t.minInt184=t.minInt176=t.minInt168=t.minInt160=t.minInt152=t.minInt144=t.minInt136=t.minInt128=t.minInt120=t.minInt112=t.minInt104=t.minInt96=t.minInt88=t.minInt80=t.minInt72=t.minInt64=t.minInt56=t.minInt48=t.minInt40=t.minInt32=t.minInt24=t.minInt16=t.minInt8=t.maxUint256=t.maxUint248=t.maxUint240=t.maxUint232=t.maxUint224=void 0,t.ClientChainNotConfiguredError=t.ChainNotFoundError=t.ChainMismatchError=t.ChainDoesNotSupportContract=t.UserRejectedRequestError=t.UnsupportedProviderMethodError=t.UnknownRpcError=t.UnauthorizedProviderError=t.TransactionRejectedRpcError=t.SwitchChainError=t.RpcError=t.ResourceUnavailableRpcError=t.ResourceNotFoundRpcError=t.ProviderRpcError=t.ProviderDisconnectedError=t.ParseRpcError=t.MethodNotSupportedRpcError=t.MethodNotFoundRpcError=t.LimitExceededRpcError=t.JsonRpcVersionUnsupportedError=t.InvalidRequestRpcError=t.InvalidParamsRpcError=t.InvalidInputRpcError=t.InternalRpcError=t.ChainDisconnectedError=t.MaxFeePerGasTooLowError=t.Eip1559FeesNotSupportedError=t.BaseFeeScalarError=t.CounterfactualDeploymentFailedError=t.RawContractError=t.ContractFunctionZeroDataError=t.ContractFunctionRevertedError=t.ContractFunctionExecutionError=t.CallExecutionError=t.BlockNotFoundError=t.BaseError=t.UnsupportedPackedAbiType=t.InvalidDefinitionTypeError=t.InvalidArrayError=t.InvalidAbiEncodingTypeError=t.InvalidAbiDecodingTypeError=t.DecodeLogTopicsMismatch=t.DecodeLogDataMismatch=t.BytesSizeMismatchError=t.AbiFunctionSignatureNotFoundError=t.AbiFunctionOutputsNotFoundError=t.AbiFunctionNotFoundError=t.AbiEventSignatureNotFoundError=t.AbiEventSignatureEmptyTopicsError=t.AbiEventNotFoundError=void 0,t.formatLog=t.formatBlock=t.defineBlock=t.namehash=t.labelhash=t.EIP1193ProviderRpcError=t.StateAssignmentConflictError=t.AccountStateConflictError=t.UrlRequiredError=t.SliceOffsetOutOfBoundsError=t.SizeExceedsPaddingSizeError=t.WaitForTransactionReceiptTimeoutError=t.TransactionReceiptNotFoundError=t.TransactionNotFoundError=t.TransactionExecutionError=t.InvalidStorageKeySizeError=t.InvalidSerializedTransactionTypeError=t.InvalidSerializedTransactionError=t.InvalidSerializableTransactionError=t.InvalidLegacyVError=t.FeeConflictError=t.InvalidAddressError=t.WebSocketRequestError=t.SocketClosedError=t.TimeoutError=t.RpcRequestError=t.HttpRequestError=t.FilterTypeNotSupportedError=t.UnknownNodeError=t.TransactionTypeNotSupportedError=t.TipAboveFeeCapError=t.NonceTooLowError=t.NonceTooHighError=t.NonceMaxValueError=t.IntrinsicGasTooLowError=t.IntrinsicGasTooHighError=t.InsufficientFundsError=t.FeeCapTooLowError=t.FeeCapTooHighError=t.ExecutionRevertedError=t.EstimateGasExecutionError=t.EnsAvatarUnsupportedNamespaceError=t.EnsAvatarInvalidNftUriError=t.EnsAvatarUriResolutionError=t.SizeOverflowError=t.InvalidHexValueError=t.InvalidHexBooleanError=t.IntegerOutOfRangeError=t.InvalidBytesBooleanError=t.InvalidChainIdError=void 0,t.verifyMessage=t.verifyHash=t.toRlp=t.hexToRlp=t.bytesToRlp=t.serializeSignature=t.signatureToHex=t.serializeCompactSignature=t.compactSignatureToHex=t.signatureToCompactSignature=t.recoverTypedDataAddress=t.recoverTransactionAddress=t.recoverPublicKey=t.recoverMessageAddress=t.recoverAddress=t.parseSignature=t.hexToSignature=t.parseCompactSignature=t.hexToCompactSignature=t.compactSignatureToSignature=t.hashTypedData=t.hashDomain=t.getTransactionType=t.getSerializedTransactionType=t.getCreateAddress=t.getCreate2Address=t.getContractAddress=t.getAbiItem=t.rpcTransactionType=t.formatTransactionRequest=t.defineTransactionRequest=t.formatTransactionReceipt=t.defineTransactionReceipt=t.transactionType=t.formatTransaction=t.defineTransaction=t.parseEventLogs=t.encodeFunctionResult=t.prepareEncodeFunctionData=t.encodeFunctionData=t.encodeEventTopics=t.encodeErrorResult=t.encodeDeployData=t.encodeAbiParameters=t.decodeFunctionResult=t.decodeFunctionData=t.decodeEventLog=t.decodeErrorResult=t.decodeDeployData=t.decodeAbiParameters=void 0,t.formatGwei=t.formatEther=t.withTimeout=t.withRetry=t.encodePacked=t.getChainContractAddress=t.extractChain=t.defineChain=t.assertCurrentChain=t.concatHex=t.concatBytes=t.concat=t.setupKzg=t.defineKzg=t.toBlobs=t.toBlobSidecars=t.fromBlobs=t.blobsToProofs=t.sidecarsToVersionedHashes=t.commitmentsToVersionedHashes=t.commitmentToVersionedHash=t.blobsToCommitments=t.offchainLookupSignature=t.offchainLookupAbiItem=t.offchainLookup=t.ccipFetch=t.ccipRequest=t.fromBytes=t.bytesToString=t.bytesToNumber=t.bytesToBool=t.bytesToBigInt=t.toHex=t.stringToHex=t.numberToHex=t.bytesToHex=t.boolToHex=t.toBytes=t.stringToBytes=t.numberToBytes=t.hexToBytes=t.boolToBytes=t.assertTransactionLegacy=t.assertTransactionEIP2930=t.assertTransactionEIP1559=t.assertRequest=t.serializeErc6492Signature=t.isErc6492Signature=t.parseErc6492Signature=t.verifyTypedData=void 0,t.createNonceManager=t.getTypesForEIP712Domain=t.domainSeparator=t.validateTypedData=t.serializeTypedData=t.trim=t.stringify=t.sliceHex=t.sliceBytes=t.slice=t.size=t.serializeTransaction=t.serializeAccessList=t.parseUnits=t.parseTransaction=t.parseGwei=t.parseEther=t.padHex=t.padBytes=t.pad=t.ripemd160=t.sha256=t.keccak256=t.isHex=t.isHash=t.isBytes=t.isAddressEqual=t.isAddress=t.toPrefixedMessage=t.hashMessage=t.toFunctionHash=t.toEventHash=t.getFunctionSignature=t.toFunctionSignature=t.getEventSignature=t.toEventSignature=t.getFunctionSelector=t.toFunctionSelector=t.getEventSelector=t.toEventSelector=t.getContractError=t.getAddress=t.checksumAddress=t.fromRlp=t.hexToString=t.hexToNumber=t.hexToBool=t.hexToBigInt=t.fromHex=t.formatUnits=void 0,t.nonceManager=void 0;var n=r(76524);Object.defineProperty(t,"CircularReferenceError",{enumerable:!0,get:function(){return n.CircularReferenceError}}),Object.defineProperty(t,"InvalidAbiParameterError",{enumerable:!0,get:function(){return n.InvalidAbiParameterError}}),Object.defineProperty(t,"InvalidAbiParametersError",{enumerable:!0,get:function(){return n.InvalidAbiParametersError}}),Object.defineProperty(t,"InvalidAbiItemError",{enumerable:!0,get:function(){return n.InvalidAbiItemError}}),Object.defineProperty(t,"InvalidAbiTypeParameterError",{enumerable:!0,get:function(){return n.InvalidAbiTypeParameterError}}),Object.defineProperty(t,"InvalidFunctionModifierError",{enumerable:!0,get:function(){return n.InvalidFunctionModifierError}}),Object.defineProperty(t,"InvalidModifierError",{enumerable:!0,get:function(){return n.InvalidModifierError}}),Object.defineProperty(t,"InvalidParameterError",{enumerable:!0,get:function(){return n.InvalidParameterError}}),Object.defineProperty(t,"InvalidParenthesisError",{enumerable:!0,get:function(){return n.InvalidParenthesisError}}),Object.defineProperty(t,"InvalidSignatureError",{enumerable:!0,get:function(){return n.InvalidSignatureError}}),Object.defineProperty(t,"InvalidStructSignatureError",{enumerable:!0,get:function(){return n.InvalidStructSignatureError}}),Object.defineProperty(t,"SolidityProtectedKeywordError",{enumerable:!0,get:function(){return n.SolidityProtectedKeywordError}}),Object.defineProperty(t,"UnknownTypeError",{enumerable:!0,get:function(){return n.UnknownTypeError}}),Object.defineProperty(t,"UnknownSignatureError",{enumerable:!0,get:function(){return n.UnknownSignatureError}}),Object.defineProperty(t,"parseAbi",{enumerable:!0,get:function(){return n.parseAbi}}),Object.defineProperty(t,"parseAbiItem",{enumerable:!0,get:function(){return n.parseAbiItem}}),Object.defineProperty(t,"parseAbiParameter",{enumerable:!0,get:function(){return n.parseAbiParameter}}),Object.defineProperty(t,"parseAbiParameters",{enumerable:!0,get:function(){return n.parseAbiParameters}});var o=r(51877);Object.defineProperty(t,"getContract",{enumerable:!0,get:function(){return o.getContract}});var a=r(38693);Object.defineProperty(t,"createClient",{enumerable:!0,get:function(){return a.createClient}}),Object.defineProperty(t,"rpcSchema",{enumerable:!0,get:function(){return a.rpcSchema}});var i=r(11792);Object.defineProperty(t,"custom",{enumerable:!0,get:function(){return i.custom}});var s=r(73801);Object.defineProperty(t,"fallback",{enumerable:!0,get:function(){return s.fallback}});var c=r(52543);Object.defineProperty(t,"http",{enumerable:!0,get:function(){return c.http}});var u=r(35208);Object.defineProperty(t,"createPublicClient",{enumerable:!0,get:function(){return u.createPublicClient}});var l=r(2373);Object.defineProperty(t,"createTestClient",{enumerable:!0,get:function(){return l.createTestClient}});var d=r(82550);Object.defineProperty(t,"publicActions",{enumerable:!0,get:function(){return d.publicActions}});var p=r(65079);Object.defineProperty(t,"testActions",{enumerable:!0,get:function(){return p.testActions}});var f=r(47106);Object.defineProperty(t,"walletActions",{enumerable:!0,get:function(){return f.walletActions}});var m=r(30922);Object.defineProperty(t,"createTransport",{enumerable:!0,get:function(){return m.createTransport}});var b=r(53756);Object.defineProperty(t,"createWalletClient",{enumerable:!0,get:function(){return b.createWalletClient}});var h=r(98612);Object.defineProperty(t,"webSocket",{enumerable:!0,get:function(){return h.webSocket}});var y=r(73302);Object.defineProperty(t,"multicall3Abi",{enumerable:!0,get:function(){return y.multicall3Abi}}),Object.defineProperty(t,"erc20Abi",{enumerable:!0,get:function(){return y.erc20Abi}}),Object.defineProperty(t,"erc20Abi_bytes32",{enumerable:!0,get:function(){return y.erc20Abi_bytes32}}),Object.defineProperty(t,"erc721Abi",{enumerable:!0,get:function(){return y.erc721Abi}}),Object.defineProperty(t,"erc4626Abi",{enumerable:!0,get:function(){return y.erc4626Abi}});var g=r(10937);Object.defineProperty(t,"zeroAddress",{enumerable:!0,get:function(){return g.zeroAddress}});var v=r(54839);Object.defineProperty(t,"etherUnits",{enumerable:!0,get:function(){return v.etherUnits}}),Object.defineProperty(t,"gweiUnits",{enumerable:!0,get:function(){return v.gweiUnits}}),Object.defineProperty(t,"weiUnits",{enumerable:!0,get:function(){return v.weiUnits}});var x=r(12856);Object.defineProperty(t,"maxInt8",{enumerable:!0,get:function(){return x.maxInt8}}),Object.defineProperty(t,"maxInt16",{enumerable:!0,get:function(){return x.maxInt16}}),Object.defineProperty(t,"maxInt24",{enumerable:!0,get:function(){return x.maxInt24}}),Object.defineProperty(t,"maxInt32",{enumerable:!0,get:function(){return x.maxInt32}}),Object.defineProperty(t,"maxInt40",{enumerable:!0,get:function(){return x.maxInt40}}),Object.defineProperty(t,"maxInt48",{enumerable:!0,get:function(){return x.maxInt48}}),Object.defineProperty(t,"maxInt56",{enumerable:!0,get:function(){return x.maxInt56}}),Object.defineProperty(t,"maxInt64",{enumerable:!0,get:function(){return x.maxInt64}}),Object.defineProperty(t,"maxInt72",{enumerable:!0,get:function(){return x.maxInt72}}),Object.defineProperty(t,"maxInt80",{enumerable:!0,get:function(){return x.maxInt80}}),Object.defineProperty(t,"maxInt88",{enumerable:!0,get:function(){return x.maxInt88}}),Object.defineProperty(t,"maxInt96",{enumerable:!0,get:function(){return x.maxInt96}}),Object.defineProperty(t,"maxInt104",{enumerable:!0,get:function(){return x.maxInt104}}),Object.defineProperty(t,"maxInt112",{enumerable:!0,get:function(){return x.maxInt112}}),Object.defineProperty(t,"maxInt120",{enumerable:!0,get:function(){return x.maxInt120}}),Object.defineProperty(t,"maxInt128",{enumerable:!0,get:function(){return x.maxInt128}}),Object.defineProperty(t,"maxInt136",{enumerable:!0,get:function(){return x.maxInt136}}),Object.defineProperty(t,"maxInt144",{enumerable:!0,get:function(){return x.maxInt144}}),Object.defineProperty(t,"maxInt152",{enumerable:!0,get:function(){return x.maxInt152}}),Object.defineProperty(t,"maxInt160",{enumerable:!0,get:function(){return x.maxInt160}}),Object.defineProperty(t,"maxInt168",{enumerable:!0,get:function(){return x.maxInt168}}),Object.defineProperty(t,"maxInt176",{enumerable:!0,get:function(){return x.maxInt176}}),Object.defineProperty(t,"maxInt184",{enumerable:!0,get:function(){return x.maxInt184}}),Object.defineProperty(t,"maxInt192",{enumerable:!0,get:function(){return x.maxInt192}}),Object.defineProperty(t,"maxInt200",{enumerable:!0,get:function(){return x.maxInt200}}),Object.defineProperty(t,"maxInt208",{enumerable:!0,get:function(){return x.maxInt208}}),Object.defineProperty(t,"maxInt216",{enumerable:!0,get:function(){return x.maxInt216}}),Object.defineProperty(t,"maxInt224",{enumerable:!0,get:function(){return x.maxInt224}}),Object.defineProperty(t,"maxInt232",{enumerable:!0,get:function(){return x.maxInt232}}),Object.defineProperty(t,"maxInt240",{enumerable:!0,get:function(){return x.maxInt240}}),Object.defineProperty(t,"maxInt248",{enumerable:!0,get:function(){return x.maxInt248}}),Object.defineProperty(t,"maxInt256",{enumerable:!0,get:function(){return x.maxInt256}}),Object.defineProperty(t,"maxUint8",{enumerable:!0,get:function(){return x.maxUint8}}),Object.defineProperty(t,"maxUint16",{enumerable:!0,get:function(){return x.maxUint16}}),Object.defineProperty(t,"maxUint24",{enumerable:!0,get:function(){return x.maxUint24}}),Object.defineProperty(t,"maxUint32",{enumerable:!0,get:function(){return x.maxUint32}}),Object.defineProperty(t,"maxUint40",{enumerable:!0,get:function(){return x.maxUint40}}),Object.defineProperty(t,"maxUint48",{enumerable:!0,get:function(){return x.maxUint48}}),Object.defineProperty(t,"maxUint56",{enumerable:!0,get:function(){return x.maxUint56}}),Object.defineProperty(t,"maxUint64",{enumerable:!0,get:function(){return x.maxUint64}}),Object.defineProperty(t,"maxUint72",{enumerable:!0,get:function(){return x.maxUint72}}),Object.defineProperty(t,"maxUint80",{enumerable:!0,get:function(){return x.maxUint80}}),Object.defineProperty(t,"maxUint88",{enumerable:!0,get:function(){return x.maxUint88}}),Object.defineProperty(t,"maxUint96",{enumerable:!0,get:function(){return x.maxUint96}}),Object.defineProperty(t,"maxUint104",{enumerable:!0,get:function(){return x.maxUint104}}),Object.defineProperty(t,"maxUint112",{enumerable:!0,get:function(){return x.maxUint112}}),Object.defineProperty(t,"maxUint120",{enumerable:!0,get:function(){return x.maxUint120}}),Object.defineProperty(t,"maxUint128",{enumerable:!0,get:function(){return x.maxUint128}}),Object.defineProperty(t,"maxUint136",{enumerable:!0,get:function(){return x.maxUint136}}),Object.defineProperty(t,"maxUint144",{enumerable:!0,get:function(){return x.maxUint144}}),Object.defineProperty(t,"maxUint152",{enumerable:!0,get:function(){return x.maxUint152}}),Object.defineProperty(t,"maxUint160",{enumerable:!0,get:function(){return x.maxUint160}}),Object.defineProperty(t,"maxUint168",{enumerable:!0,get:function(){return x.maxUint168}}),Object.defineProperty(t,"maxUint176",{enumerable:!0,get:function(){return x.maxUint176}}),Object.defineProperty(t,"maxUint184",{enumerable:!0,get:function(){return x.maxUint184}}),Object.defineProperty(t,"maxUint192",{enumerable:!0,get:function(){return x.maxUint192}}),Object.defineProperty(t,"maxUint200",{enumerable:!0,get:function(){return x.maxUint200}}),Object.defineProperty(t,"maxUint208",{enumerable:!0,get:function(){return x.maxUint208}}),Object.defineProperty(t,"maxUint216",{enumerable:!0,get:function(){return x.maxUint216}}),Object.defineProperty(t,"maxUint224",{enumerable:!0,get:function(){return x.maxUint224}}),Object.defineProperty(t,"maxUint232",{enumerable:!0,get:function(){return x.maxUint232}}),Object.defineProperty(t,"maxUint240",{enumerable:!0,get:function(){return x.maxUint240}}),Object.defineProperty(t,"maxUint248",{enumerable:!0,get:function(){return x.maxUint248}}),Object.defineProperty(t,"maxUint256",{enumerable:!0,get:function(){return x.maxUint256}}),Object.defineProperty(t,"minInt8",{enumerable:!0,get:function(){return x.minInt8}}),Object.defineProperty(t,"minInt16",{enumerable:!0,get:function(){return x.minInt16}}),Object.defineProperty(t,"minInt24",{enumerable:!0,get:function(){return x.minInt24}}),Object.defineProperty(t,"minInt32",{enumerable:!0,get:function(){return x.minInt32}}),Object.defineProperty(t,"minInt40",{enumerable:!0,get:function(){return x.minInt40}}),Object.defineProperty(t,"minInt48",{enumerable:!0,get:function(){return x.minInt48}}),Object.defineProperty(t,"minInt56",{enumerable:!0,get:function(){return x.minInt56}}),Object.defineProperty(t,"minInt64",{enumerable:!0,get:function(){return x.minInt64}}),Object.defineProperty(t,"minInt72",{enumerable:!0,get:function(){return x.minInt72}}),Object.defineProperty(t,"minInt80",{enumerable:!0,get:function(){return x.minInt80}}),Object.defineProperty(t,"minInt88",{enumerable:!0,get:function(){return x.minInt88}}),Object.defineProperty(t,"minInt96",{enumerable:!0,get:function(){return x.minInt96}}),Object.defineProperty(t,"minInt104",{enumerable:!0,get:function(){return x.minInt104}}),Object.defineProperty(t,"minInt112",{enumerable:!0,get:function(){return x.minInt112}}),Object.defineProperty(t,"minInt120",{enumerable:!0,get:function(){return x.minInt120}}),Object.defineProperty(t,"minInt128",{enumerable:!0,get:function(){return x.minInt128}}),Object.defineProperty(t,"minInt136",{enumerable:!0,get:function(){return x.minInt136}}),Object.defineProperty(t,"minInt144",{enumerable:!0,get:function(){return x.minInt144}}),Object.defineProperty(t,"minInt152",{enumerable:!0,get:function(){return x.minInt152}}),Object.defineProperty(t,"minInt160",{enumerable:!0,get:function(){return x.minInt160}}),Object.defineProperty(t,"minInt168",{enumerable:!0,get:function(){return x.minInt168}}),Object.defineProperty(t,"minInt176",{enumerable:!0,get:function(){return x.minInt176}}),Object.defineProperty(t,"minInt184",{enumerable:!0,get:function(){return x.minInt184}}),Object.defineProperty(t,"minInt192",{enumerable:!0,get:function(){return x.minInt192}}),Object.defineProperty(t,"minInt200",{enumerable:!0,get:function(){return x.minInt200}}),Object.defineProperty(t,"minInt208",{enumerable:!0,get:function(){return x.minInt208}}),Object.defineProperty(t,"minInt216",{enumerable:!0,get:function(){return x.minInt216}}),Object.defineProperty(t,"minInt224",{enumerable:!0,get:function(){return x.minInt224}}),Object.defineProperty(t,"minInt232",{enumerable:!0,get:function(){return x.minInt232}}),Object.defineProperty(t,"minInt240",{enumerable:!0,get:function(){return x.minInt240}}),Object.defineProperty(t,"minInt248",{enumerable:!0,get:function(){return x.minInt248}}),Object.defineProperty(t,"minInt256",{enumerable:!0,get:function(){return x.minInt256}});var E=r(79494);Object.defineProperty(t,"zeroHash",{enumerable:!0,get:function(){return E.zeroHash}});var w=r(24019);Object.defineProperty(t,"presignMessagePrefix",{enumerable:!0,get:function(){return w.presignMessagePrefix}});var P=r(66953);Object.defineProperty(t,"AbiConstructorNotFoundError",{enumerable:!0,get:function(){return P.AbiConstructorNotFoundError}}),Object.defineProperty(t,"AbiConstructorParamsNotFoundError",{enumerable:!0,get:function(){return P.AbiConstructorParamsNotFoundError}}),Object.defineProperty(t,"AbiDecodingDataSizeInvalidError",{enumerable:!0,get:function(){return P.AbiDecodingDataSizeInvalidError}}),Object.defineProperty(t,"AbiDecodingDataSizeTooSmallError",{enumerable:!0,get:function(){return P.AbiDecodingDataSizeTooSmallError}}),Object.defineProperty(t,"AbiDecodingZeroDataError",{enumerable:!0,get:function(){return P.AbiDecodingZeroDataError}}),Object.defineProperty(t,"AbiEncodingArrayLengthMismatchError",{enumerable:!0,get:function(){return P.AbiEncodingArrayLengthMismatchError}}),Object.defineProperty(t,"AbiEncodingLengthMismatchError",{enumerable:!0,get:function(){return P.AbiEncodingLengthMismatchError}}),Object.defineProperty(t,"AbiEncodingBytesSizeMismatchError",{enumerable:!0,get:function(){return P.AbiEncodingBytesSizeMismatchError}}),Object.defineProperty(t,"AbiErrorInputsNotFoundError",{enumerable:!0,get:function(){return P.AbiErrorInputsNotFoundError}}),Object.defineProperty(t,"AbiErrorNotFoundError",{enumerable:!0,get:function(){return P.AbiErrorNotFoundError}}),Object.defineProperty(t,"AbiErrorSignatureNotFoundError",{enumerable:!0,get:function(){return P.AbiErrorSignatureNotFoundError}}),Object.defineProperty(t,"AbiEventNotFoundError",{enumerable:!0,get:function(){return P.AbiEventNotFoundError}}),Object.defineProperty(t,"AbiEventSignatureEmptyTopicsError",{enumerable:!0,get:function(){return P.AbiEventSignatureEmptyTopicsError}}),Object.defineProperty(t,"AbiEventSignatureNotFoundError",{enumerable:!0,get:function(){return P.AbiEventSignatureNotFoundError}}),Object.defineProperty(t,"AbiFunctionNotFoundError",{enumerable:!0,get:function(){return P.AbiFunctionNotFoundError}}),Object.defineProperty(t,"AbiFunctionOutputsNotFoundError",{enumerable:!0,get:function(){return P.AbiFunctionOutputsNotFoundError}}),Object.defineProperty(t,"AbiFunctionSignatureNotFoundError",{enumerable:!0,get:function(){return P.AbiFunctionSignatureNotFoundError}}),Object.defineProperty(t,"BytesSizeMismatchError",{enumerable:!0,get:function(){return P.BytesSizeMismatchError}}),Object.defineProperty(t,"DecodeLogDataMismatch",{enumerable:!0,get:function(){return P.DecodeLogDataMismatch}}),Object.defineProperty(t,"DecodeLogTopicsMismatch",{enumerable:!0,get:function(){return P.DecodeLogTopicsMismatch}}),Object.defineProperty(t,"InvalidAbiDecodingTypeError",{enumerable:!0,get:function(){return P.InvalidAbiDecodingTypeError}}),Object.defineProperty(t,"InvalidAbiEncodingTypeError",{enumerable:!0,get:function(){return P.InvalidAbiEncodingTypeError}}),Object.defineProperty(t,"InvalidArrayError",{enumerable:!0,get:function(){return P.InvalidArrayError}}),Object.defineProperty(t,"InvalidDefinitionTypeError",{enumerable:!0,get:function(){return P.InvalidDefinitionTypeError}}),Object.defineProperty(t,"UnsupportedPackedAbiType",{enumerable:!0,get:function(){return P.UnsupportedPackedAbiType}});var T=r(6246);Object.defineProperty(t,"BaseError",{enumerable:!0,get:function(){return T.BaseError}});var k=r(39642);Object.defineProperty(t,"BlockNotFoundError",{enumerable:!0,get:function(){return k.BlockNotFoundError}});var O=r(87677);Object.defineProperty(t,"CallExecutionError",{enumerable:!0,get:function(){return O.CallExecutionError}}),Object.defineProperty(t,"ContractFunctionExecutionError",{enumerable:!0,get:function(){return O.ContractFunctionExecutionError}}),Object.defineProperty(t,"ContractFunctionRevertedError",{enumerable:!0,get:function(){return O.ContractFunctionRevertedError}}),Object.defineProperty(t,"ContractFunctionZeroDataError",{enumerable:!0,get:function(){return O.ContractFunctionZeroDataError}}),Object.defineProperty(t,"RawContractError",{enumerable:!0,get:function(){return O.RawContractError}}),Object.defineProperty(t,"CounterfactualDeploymentFailedError",{enumerable:!0,get:function(){return O.CounterfactualDeploymentFailedError}});var C=r(29143);Object.defineProperty(t,"BaseFeeScalarError",{enumerable:!0,get:function(){return C.BaseFeeScalarError}}),Object.defineProperty(t,"Eip1559FeesNotSupportedError",{enumerable:!0,get:function(){return C.Eip1559FeesNotSupportedError}}),Object.defineProperty(t,"MaxFeePerGasTooLowError",{enumerable:!0,get:function(){return C.MaxFeePerGasTooLowError}});var j=r(37992);Object.defineProperty(t,"ChainDisconnectedError",{enumerable:!0,get:function(){return j.ChainDisconnectedError}}),Object.defineProperty(t,"InternalRpcError",{enumerable:!0,get:function(){return j.InternalRpcError}}),Object.defineProperty(t,"InvalidInputRpcError",{enumerable:!0,get:function(){return j.InvalidInputRpcError}}),Object.defineProperty(t,"InvalidParamsRpcError",{enumerable:!0,get:function(){return j.InvalidParamsRpcError}}),Object.defineProperty(t,"InvalidRequestRpcError",{enumerable:!0,get:function(){return j.InvalidRequestRpcError}}),Object.defineProperty(t,"JsonRpcVersionUnsupportedError",{enumerable:!0,get:function(){return j.JsonRpcVersionUnsupportedError}}),Object.defineProperty(t,"LimitExceededRpcError",{enumerable:!0,get:function(){return j.LimitExceededRpcError}}),Object.defineProperty(t,"MethodNotFoundRpcError",{enumerable:!0,get:function(){return j.MethodNotFoundRpcError}}),Object.defineProperty(t,"MethodNotSupportedRpcError",{enumerable:!0,get:function(){return j.MethodNotSupportedRpcError}}),Object.defineProperty(t,"ParseRpcError",{enumerable:!0,get:function(){return j.ParseRpcError}}),Object.defineProperty(t,"ProviderDisconnectedError",{enumerable:!0,get:function(){return j.ProviderDisconnectedError}}),Object.defineProperty(t,"ProviderRpcError",{enumerable:!0,get:function(){return j.ProviderRpcError}}),Object.defineProperty(t,"ResourceNotFoundRpcError",{enumerable:!0,get:function(){return j.ResourceNotFoundRpcError}}),Object.defineProperty(t,"ResourceUnavailableRpcError",{enumerable:!0,get:function(){return j.ResourceUnavailableRpcError}}),Object.defineProperty(t,"RpcError",{enumerable:!0,get:function(){return j.RpcError}}),Object.defineProperty(t,"SwitchChainError",{enumerable:!0,get:function(){return j.SwitchChainError}}),Object.defineProperty(t,"TransactionRejectedRpcError",{enumerable:!0,get:function(){return j.TransactionRejectedRpcError}}),Object.defineProperty(t,"UnauthorizedProviderError",{enumerable:!0,get:function(){return j.UnauthorizedProviderError}}),Object.defineProperty(t,"UnknownRpcError",{enumerable:!0,get:function(){return j.UnknownRpcError}}),Object.defineProperty(t,"UnsupportedProviderMethodError",{enumerable:!0,get:function(){return j.UnsupportedProviderMethodError}}),Object.defineProperty(t,"UserRejectedRequestError",{enumerable:!0,get:function(){return j.UserRejectedRequestError}});var _=r(94698);Object.defineProperty(t,"ChainDoesNotSupportContract",{enumerable:!0,get:function(){return _.ChainDoesNotSupportContract}}),Object.defineProperty(t,"ChainMismatchError",{enumerable:!0,get:function(){return _.ChainMismatchError}}),Object.defineProperty(t,"ChainNotFoundError",{enumerable:!0,get:function(){return _.ChainNotFoundError}}),Object.defineProperty(t,"ClientChainNotConfiguredError",{enumerable:!0,get:function(){return _.ClientChainNotConfiguredError}}),Object.defineProperty(t,"InvalidChainIdError",{enumerable:!0,get:function(){return _.InvalidChainIdError}});var A=r(95366);Object.defineProperty(t,"InvalidBytesBooleanError",{enumerable:!0,get:function(){return A.InvalidBytesBooleanError}}),Object.defineProperty(t,"IntegerOutOfRangeError",{enumerable:!0,get:function(){return A.IntegerOutOfRangeError}}),Object.defineProperty(t,"InvalidHexBooleanError",{enumerable:!0,get:function(){return A.InvalidHexBooleanError}}),Object.defineProperty(t,"InvalidHexValueError",{enumerable:!0,get:function(){return A.InvalidHexValueError}}),Object.defineProperty(t,"SizeOverflowError",{enumerable:!0,get:function(){return A.SizeOverflowError}});var S=r(38047);Object.defineProperty(t,"EnsAvatarUriResolutionError",{enumerable:!0,get:function(){return S.EnsAvatarUriResolutionError}}),Object.defineProperty(t,"EnsAvatarInvalidNftUriError",{enumerable:!0,get:function(){return S.EnsAvatarInvalidNftUriError}}),Object.defineProperty(t,"EnsAvatarUnsupportedNamespaceError",{enumerable:!0,get:function(){return S.EnsAvatarUnsupportedNamespaceError}});var B=r(25772);Object.defineProperty(t,"EstimateGasExecutionError",{enumerable:!0,get:function(){return B.EstimateGasExecutionError}});var I=r(62731);Object.defineProperty(t,"ExecutionRevertedError",{enumerable:!0,get:function(){return I.ExecutionRevertedError}}),Object.defineProperty(t,"FeeCapTooHighError",{enumerable:!0,get:function(){return I.FeeCapTooHighError}}),Object.defineProperty(t,"FeeCapTooLowError",{enumerable:!0,get:function(){return I.FeeCapTooLowError}}),Object.defineProperty(t,"InsufficientFundsError",{enumerable:!0,get:function(){return I.InsufficientFundsError}}),Object.defineProperty(t,"IntrinsicGasTooHighError",{enumerable:!0,get:function(){return I.IntrinsicGasTooHighError}}),Object.defineProperty(t,"IntrinsicGasTooLowError",{enumerable:!0,get:function(){return I.IntrinsicGasTooLowError}}),Object.defineProperty(t,"NonceMaxValueError",{enumerable:!0,get:function(){return I.NonceMaxValueError}}),Object.defineProperty(t,"NonceTooHighError",{enumerable:!0,get:function(){return I.NonceTooHighError}}),Object.defineProperty(t,"NonceTooLowError",{enumerable:!0,get:function(){return I.NonceTooLowError}}),Object.defineProperty(t,"TipAboveFeeCapError",{enumerable:!0,get:function(){return I.TipAboveFeeCapError}}),Object.defineProperty(t,"TransactionTypeNotSupportedError",{enumerable:!0,get:function(){return I.TransactionTypeNotSupportedError}}),Object.defineProperty(t,"UnknownNodeError",{enumerable:!0,get:function(){return I.UnknownNodeError}});var M=r(36861);Object.defineProperty(t,"FilterTypeNotSupportedError",{enumerable:!0,get:function(){return M.FilterTypeNotSupportedError}});var F=r(82202);Object.defineProperty(t,"HttpRequestError",{enumerable:!0,get:function(){return F.HttpRequestError}}),Object.defineProperty(t,"RpcRequestError",{enumerable:!0,get:function(){return F.RpcRequestError}}),Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return F.TimeoutError}}),Object.defineProperty(t,"SocketClosedError",{enumerable:!0,get:function(){return F.SocketClosedError}}),Object.defineProperty(t,"WebSocketRequestError",{enumerable:!0,get:function(){return F.WebSocketRequestError}});var R=r(26311);Object.defineProperty(t,"InvalidAddressError",{enumerable:!0,get:function(){return R.InvalidAddressError}});var U=r(3727);Object.defineProperty(t,"FeeConflictError",{enumerable:!0,get:function(){return U.FeeConflictError}}),Object.defineProperty(t,"InvalidLegacyVError",{enumerable:!0,get:function(){return U.InvalidLegacyVError}}),Object.defineProperty(t,"InvalidSerializableTransactionError",{enumerable:!0,get:function(){return U.InvalidSerializableTransactionError}}),Object.defineProperty(t,"InvalidSerializedTransactionError",{enumerable:!0,get:function(){return U.InvalidSerializedTransactionError}}),Object.defineProperty(t,"InvalidSerializedTransactionTypeError",{enumerable:!0,get:function(){return U.InvalidSerializedTransactionTypeError}}),Object.defineProperty(t,"InvalidStorageKeySizeError",{enumerable:!0,get:function(){return U.InvalidStorageKeySizeError}}),Object.defineProperty(t,"TransactionExecutionError",{enumerable:!0,get:function(){return U.TransactionExecutionError}}),Object.defineProperty(t,"TransactionNotFoundError",{enumerable:!0,get:function(){return U.TransactionNotFoundError}}),Object.defineProperty(t,"TransactionReceiptNotFoundError",{enumerable:!0,get:function(){return U.TransactionReceiptNotFoundError}}),Object.defineProperty(t,"WaitForTransactionReceiptTimeoutError",{enumerable:!0,get:function(){return U.WaitForTransactionReceiptTimeoutError}});var N=r(75375);Object.defineProperty(t,"SizeExceedsPaddingSizeError",{enumerable:!0,get:function(){return N.SizeExceedsPaddingSizeError}}),Object.defineProperty(t,"SliceOffsetOutOfBoundsError",{enumerable:!0,get:function(){return N.SliceOffsetOutOfBoundsError}});var H=r(65446);Object.defineProperty(t,"UrlRequiredError",{enumerable:!0,get:function(){return H.UrlRequiredError}});var z=r(76254);Object.defineProperty(t,"AccountStateConflictError",{enumerable:!0,get:function(){return z.AccountStateConflictError}}),Object.defineProperty(t,"StateAssignmentConflictError",{enumerable:!0,get:function(){return z.StateAssignmentConflictError}});var D=r(56825);Object.defineProperty(t,"EIP1193ProviderRpcError",{enumerable:!0,get:function(){return D.ProviderRpcError}});var L=r(43484);Object.defineProperty(t,"labelhash",{enumerable:!0,get:function(){return L.labelhash}});var $=r(64931);Object.defineProperty(t,"namehash",{enumerable:!0,get:function(){return $.namehash}});var q=r(78900);Object.defineProperty(t,"defineBlock",{enumerable:!0,get:function(){return q.defineBlock}}),Object.defineProperty(t,"formatBlock",{enumerable:!0,get:function(){return q.formatBlock}});var G=r(10095);Object.defineProperty(t,"formatLog",{enumerable:!0,get:function(){return G.formatLog}});var V=r(54612);Object.defineProperty(t,"decodeAbiParameters",{enumerable:!0,get:function(){return V.decodeAbiParameters}});var K=r(67575);Object.defineProperty(t,"decodeDeployData",{enumerable:!0,get:function(){return K.decodeDeployData}});var W=r(68181);Object.defineProperty(t,"decodeErrorResult",{enumerable:!0,get:function(){return W.decodeErrorResult}});var Z=r(18182);Object.defineProperty(t,"decodeEventLog",{enumerable:!0,get:function(){return Z.decodeEventLog}});var X=r(93064);Object.defineProperty(t,"decodeFunctionData",{enumerable:!0,get:function(){return X.decodeFunctionData}});var Y=r(17541);Object.defineProperty(t,"decodeFunctionResult",{enumerable:!0,get:function(){return Y.decodeFunctionResult}});var J=r(82732);Object.defineProperty(t,"encodeAbiParameters",{enumerable:!0,get:function(){return J.encodeAbiParameters}});var Q=r(4687);Object.defineProperty(t,"encodeDeployData",{enumerable:!0,get:function(){return Q.encodeDeployData}});var ee=r(7757);Object.defineProperty(t,"encodeErrorResult",{enumerable:!0,get:function(){return ee.encodeErrorResult}});var te=r(378);Object.defineProperty(t,"encodeEventTopics",{enumerable:!0,get:function(){return te.encodeEventTopics}});var re=r(76144);Object.defineProperty(t,"encodeFunctionData",{enumerable:!0,get:function(){return re.encodeFunctionData}});var ne=r(65913);Object.defineProperty(t,"prepareEncodeFunctionData",{enumerable:!0,get:function(){return ne.prepareEncodeFunctionData}});var oe=r(24829);Object.defineProperty(t,"encodeFunctionResult",{enumerable:!0,get:function(){return oe.encodeFunctionResult}});var ae=r(48);Object.defineProperty(t,"parseEventLogs",{enumerable:!0,get:function(){return ae.parseEventLogs}});var ie=r(49473);Object.defineProperty(t,"defineTransaction",{enumerable:!0,get:function(){return ie.defineTransaction}}),Object.defineProperty(t,"formatTransaction",{enumerable:!0,get:function(){return ie.formatTransaction}}),Object.defineProperty(t,"transactionType",{enumerable:!0,get:function(){return ie.transactionType}});var se=r(54537);Object.defineProperty(t,"defineTransactionReceipt",{enumerable:!0,get:function(){return se.defineTransactionReceipt}}),Object.defineProperty(t,"formatTransactionReceipt",{enumerable:!0,get:function(){return se.formatTransactionReceipt}});var ce=r(44712);Object.defineProperty(t,"defineTransactionRequest",{enumerable:!0,get:function(){return ce.defineTransactionRequest}}),Object.defineProperty(t,"formatTransactionRequest",{enumerable:!0,get:function(){return ce.formatTransactionRequest}}),Object.defineProperty(t,"rpcTransactionType",{enumerable:!0,get:function(){return ce.rpcTransactionType}});var ue=r(60775);Object.defineProperty(t,"getAbiItem",{enumerable:!0,get:function(){return ue.getAbiItem}});var le=r(18666);Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return le.getContractAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return le.getCreate2Address}}),Object.defineProperty(t,"getCreateAddress",{enumerable:!0,get:function(){return le.getCreateAddress}});var de=r(88465);Object.defineProperty(t,"getSerializedTransactionType",{enumerable:!0,get:function(){return de.getSerializedTransactionType}});var pe=r(99788);Object.defineProperty(t,"getTransactionType",{enumerable:!0,get:function(){return pe.getTransactionType}});var fe=r(59984);Object.defineProperty(t,"hashDomain",{enumerable:!0,get:function(){return fe.hashDomain}}),Object.defineProperty(t,"hashTypedData",{enumerable:!0,get:function(){return fe.hashTypedData}});var me=r(5970);Object.defineProperty(t,"compactSignatureToSignature",{enumerable:!0,get:function(){return me.compactSignatureToSignature}});var be=r(62534);Object.defineProperty(t,"hexToCompactSignature",{enumerable:!0,get:function(){return be.parseCompactSignature}}),Object.defineProperty(t,"parseCompactSignature",{enumerable:!0,get:function(){return be.parseCompactSignature}});var he=r(72325);Object.defineProperty(t,"hexToSignature",{enumerable:!0,get:function(){return he.parseSignature}}),Object.defineProperty(t,"parseSignature",{enumerable:!0,get:function(){return he.parseSignature}});var ye=r(22374);Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return ye.recoverAddress}});var ge=r(50593);Object.defineProperty(t,"recoverMessageAddress",{enumerable:!0,get:function(){return ge.recoverMessageAddress}});var ve=r(53874);Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return ve.recoverPublicKey}});var xe=r(27572);Object.defineProperty(t,"recoverTransactionAddress",{enumerable:!0,get:function(){return xe.recoverTransactionAddress}});var Ee=r(57948);Object.defineProperty(t,"recoverTypedDataAddress",{enumerable:!0,get:function(){return Ee.recoverTypedDataAddress}});var we=r(5190);Object.defineProperty(t,"signatureToCompactSignature",{enumerable:!0,get:function(){return we.signatureToCompactSignature}});var Pe=r(20155);Object.defineProperty(t,"compactSignatureToHex",{enumerable:!0,get:function(){return Pe.serializeCompactSignature}}),Object.defineProperty(t,"serializeCompactSignature",{enumerable:!0,get:function(){return Pe.serializeCompactSignature}});var Te=r(81926);Object.defineProperty(t,"signatureToHex",{enumerable:!0,get:function(){return Te.serializeSignature}}),Object.defineProperty(t,"serializeSignature",{enumerable:!0,get:function(){return Te.serializeSignature}});var ke=r(97926);Object.defineProperty(t,"bytesToRlp",{enumerable:!0,get:function(){return ke.bytesToRlp}}),Object.defineProperty(t,"hexToRlp",{enumerable:!0,get:function(){return ke.hexToRlp}}),Object.defineProperty(t,"toRlp",{enumerable:!0,get:function(){return ke.toRlp}});var Oe=r(55599);Object.defineProperty(t,"verifyHash",{enumerable:!0,get:function(){return Oe.verifyHash}});var Ce=r(98428);Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return Ce.verifyMessage}});var je=r(94803);Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return je.verifyTypedData}});var _e=r(60102);Object.defineProperty(t,"parseErc6492Signature",{enumerable:!0,get:function(){return _e.parseErc6492Signature}});var Ae=r(2803);Object.defineProperty(t,"isErc6492Signature",{enumerable:!0,get:function(){return Ae.isErc6492Signature}});var Se=r(42599);Object.defineProperty(t,"serializeErc6492Signature",{enumerable:!0,get:function(){return Se.serializeErc6492Signature}});var Be=r(54969);Object.defineProperty(t,"assertRequest",{enumerable:!0,get:function(){return Be.assertRequest}});var Ie=r(67964);Object.defineProperty(t,"assertTransactionEIP1559",{enumerable:!0,get:function(){return Ie.assertTransactionEIP1559}}),Object.defineProperty(t,"assertTransactionEIP2930",{enumerable:!0,get:function(){return Ie.assertTransactionEIP2930}}),Object.defineProperty(t,"assertTransactionLegacy",{enumerable:!0,get:function(){return Ie.assertTransactionLegacy}});var Me=r(27655);Object.defineProperty(t,"boolToBytes",{enumerable:!0,get:function(){return Me.boolToBytes}}),Object.defineProperty(t,"hexToBytes",{enumerable:!0,get:function(){return Me.hexToBytes}}),Object.defineProperty(t,"numberToBytes",{enumerable:!0,get:function(){return Me.numberToBytes}}),Object.defineProperty(t,"stringToBytes",{enumerable:!0,get:function(){return Me.stringToBytes}}),Object.defineProperty(t,"toBytes",{enumerable:!0,get:function(){return Me.toBytes}});var Fe=r(90985);Object.defineProperty(t,"boolToHex",{enumerable:!0,get:function(){return Fe.boolToHex}}),Object.defineProperty(t,"bytesToHex",{enumerable:!0,get:function(){return Fe.bytesToHex}}),Object.defineProperty(t,"numberToHex",{enumerable:!0,get:function(){return Fe.numberToHex}}),Object.defineProperty(t,"stringToHex",{enumerable:!0,get:function(){return Fe.stringToHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return Fe.toHex}});var Re=r(4592);Object.defineProperty(t,"bytesToBigInt",{enumerable:!0,get:function(){return Re.bytesToBigInt}}),Object.defineProperty(t,"bytesToBool",{enumerable:!0,get:function(){return Re.bytesToBool}}),Object.defineProperty(t,"bytesToNumber",{enumerable:!0,get:function(){return Re.bytesToNumber}}),Object.defineProperty(t,"bytesToString",{enumerable:!0,get:function(){return Re.bytesToString}}),Object.defineProperty(t,"fromBytes",{enumerable:!0,get:function(){return Re.fromBytes}});var Ue=r(45678);Object.defineProperty(t,"ccipRequest",{enumerable:!0,get:function(){return Ue.ccipRequest}}),Object.defineProperty(t,"ccipFetch",{enumerable:!0,get:function(){return Ue.ccipRequest}}),Object.defineProperty(t,"offchainLookup",{enumerable:!0,get:function(){return Ue.offchainLookup}}),Object.defineProperty(t,"offchainLookupAbiItem",{enumerable:!0,get:function(){return Ue.offchainLookupAbiItem}}),Object.defineProperty(t,"offchainLookupSignature",{enumerable:!0,get:function(){return Ue.offchainLookupSignature}});var Ne=r(75956);Object.defineProperty(t,"blobsToCommitments",{enumerable:!0,get:function(){return Ne.blobsToCommitments}});var He=r(56524);Object.defineProperty(t,"commitmentToVersionedHash",{enumerable:!0,get:function(){return He.commitmentToVersionedHash}});var ze=r(84445);Object.defineProperty(t,"commitmentsToVersionedHashes",{enumerable:!0,get:function(){return ze.commitmentsToVersionedHashes}});var De=r(87919);Object.defineProperty(t,"sidecarsToVersionedHashes",{enumerable:!0,get:function(){return De.sidecarsToVersionedHashes}});var Le=r(63611);Object.defineProperty(t,"blobsToProofs",{enumerable:!0,get:function(){return Le.blobsToProofs}});var $e=r(65201);Object.defineProperty(t,"fromBlobs",{enumerable:!0,get:function(){return $e.fromBlobs}});var qe=r(33339);Object.defineProperty(t,"toBlobSidecars",{enumerable:!0,get:function(){return qe.toBlobSidecars}});var Ge=r(92326);Object.defineProperty(t,"toBlobs",{enumerable:!0,get:function(){return Ge.toBlobs}});var Ve=r(32843);Object.defineProperty(t,"defineKzg",{enumerable:!0,get:function(){return Ve.defineKzg}});var Ke=r(88287);Object.defineProperty(t,"setupKzg",{enumerable:!0,get:function(){return Ke.setupKzg}});var We=r(16776);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return We.concat}}),Object.defineProperty(t,"concatBytes",{enumerable:!0,get:function(){return We.concatBytes}}),Object.defineProperty(t,"concatHex",{enumerable:!0,get:function(){return We.concatHex}});var Ze=r(62779);Object.defineProperty(t,"assertCurrentChain",{enumerable:!0,get:function(){return Ze.assertCurrentChain}});var Xe=r(95731);Object.defineProperty(t,"defineChain",{enumerable:!0,get:function(){return Xe.defineChain}});var Ye=r(42057);Object.defineProperty(t,"extractChain",{enumerable:!0,get:function(){return Ye.extractChain}});var Je=r(93454);Object.defineProperty(t,"getChainContractAddress",{enumerable:!0,get:function(){return Je.getChainContractAddress}});var Qe=r(75020);Object.defineProperty(t,"encodePacked",{enumerable:!0,get:function(){return Qe.encodePacked}});var et=r(71525);Object.defineProperty(t,"withRetry",{enumerable:!0,get:function(){return et.withRetry}});var tt=r(71208);Object.defineProperty(t,"withTimeout",{enumerable:!0,get:function(){return tt.withTimeout}});var rt=r(86117);Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return rt.formatEther}});var nt=r(55277);Object.defineProperty(t,"formatGwei",{enumerable:!0,get:function(){return nt.formatGwei}});var ot=r(41902);Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return ot.formatUnits}});var at=r(70294);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return at.fromHex}}),Object.defineProperty(t,"hexToBigInt",{enumerable:!0,get:function(){return at.hexToBigInt}}),Object.defineProperty(t,"hexToBool",{enumerable:!0,get:function(){return at.hexToBool}}),Object.defineProperty(t,"hexToNumber",{enumerable:!0,get:function(){return at.hexToNumber}}),Object.defineProperty(t,"hexToString",{enumerable:!0,get:function(){return at.hexToString}});var it=r(57349);Object.defineProperty(t,"fromRlp",{enumerable:!0,get:function(){return it.fromRlp}});var st=r(78728);Object.defineProperty(t,"checksumAddress",{enumerable:!0,get:function(){return st.checksumAddress}}),Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return st.getAddress}});var ct=r(56173);Object.defineProperty(t,"getContractError",{enumerable:!0,get:function(){return ct.getContractError}});var ut=r(7144);Object.defineProperty(t,"toEventSelector",{enumerable:!0,get:function(){return ut.toEventSelector}}),Object.defineProperty(t,"getEventSelector",{enumerable:!0,get:function(){return ut.toEventSelector}});var lt=r(21456);Object.defineProperty(t,"toFunctionSelector",{enumerable:!0,get:function(){return lt.toFunctionSelector}}),Object.defineProperty(t,"getFunctionSelector",{enumerable:!0,get:function(){return lt.toFunctionSelector}});var dt=r(23467);Object.defineProperty(t,"toEventSignature",{enumerable:!0,get:function(){return dt.toEventSignature}}),Object.defineProperty(t,"getEventSignature",{enumerable:!0,get:function(){return dt.toEventSignature}});var pt=r(8611);Object.defineProperty(t,"toFunctionSignature",{enumerable:!0,get:function(){return pt.toFunctionSignature}}),Object.defineProperty(t,"getFunctionSignature",{enumerable:!0,get:function(){return pt.toFunctionSignature}});var ft=r(60325);Object.defineProperty(t,"toEventHash",{enumerable:!0,get:function(){return ft.toEventHash}});var mt=r(92461);Object.defineProperty(t,"toFunctionHash",{enumerable:!0,get:function(){return mt.toFunctionHash}});var bt=r(92955);Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return bt.hashMessage}});var ht=r(27707);Object.defineProperty(t,"toPrefixedMessage",{enumerable:!0,get:function(){return ht.toPrefixedMessage}});var yt=r(89742);Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return yt.isAddress}});var gt=r(64324);Object.defineProperty(t,"isAddressEqual",{enumerable:!0,get:function(){return gt.isAddressEqual}});var vt=r(97085);Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return vt.isBytes}});var xt=r(84624);Object.defineProperty(t,"isHash",{enumerable:!0,get:function(){return xt.isHash}});var Et=r(36015);Object.defineProperty(t,"isHex",{enumerable:!0,get:function(){return Et.isHex}});var wt=r(23625);Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return wt.keccak256}});var Pt=r(77415);Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return Pt.sha256}});var Tt=r(52830);Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return Tt.ripemd160}});var kt=r(68987);Object.defineProperty(t,"pad",{enumerable:!0,get:function(){return kt.pad}}),Object.defineProperty(t,"padBytes",{enumerable:!0,get:function(){return kt.padBytes}}),Object.defineProperty(t,"padHex",{enumerable:!0,get:function(){return kt.padHex}});var Ot=r(82819);Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return Ot.parseEther}});var Ct=r(87723);Object.defineProperty(t,"parseGwei",{enumerable:!0,get:function(){return Ct.parseGwei}});var jt=r(48057);Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return jt.parseTransaction}});var _t=r(84800);Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return _t.parseUnits}});var At=r(71270);Object.defineProperty(t,"serializeAccessList",{enumerable:!0,get:function(){return At.serializeAccessList}});var St=r(95886);Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return St.serializeTransaction}});var Bt=r(12285);Object.defineProperty(t,"size",{enumerable:!0,get:function(){return Bt.size}});var It=r(77688);Object.defineProperty(t,"slice",{enumerable:!0,get:function(){return It.slice}}),Object.defineProperty(t,"sliceBytes",{enumerable:!0,get:function(){return It.sliceBytes}}),Object.defineProperty(t,"sliceHex",{enumerable:!0,get:function(){return It.sliceHex}});var Mt=r(44900);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return Mt.stringify}});var Ft=r(7488);Object.defineProperty(t,"trim",{enumerable:!0,get:function(){return Ft.trim}});var Rt=r(78377);Object.defineProperty(t,"serializeTypedData",{enumerable:!0,get:function(){return Rt.serializeTypedData}}),Object.defineProperty(t,"validateTypedData",{enumerable:!0,get:function(){return Rt.validateTypedData}}),Object.defineProperty(t,"domainSeparator",{enumerable:!0,get:function(){return Rt.domainSeparator}}),Object.defineProperty(t,"getTypesForEIP712Domain",{enumerable:!0,get:function(){return Rt.getTypesForEIP712Domain}});var Ut=r(91519);Object.defineProperty(t,"createNonceManager",{enumerable:!0,get:function(){return Ut.createNonceManager}}),Object.defineProperty(t,"nonceManager",{enumerable:!0,get:function(){return Ut.nonceManager}})},87329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chainConfig=void 0;const n=r(45173),o=r(9227),a=r(2963);t.chainConfig={contracts:n.contracts,formatters:o.formatters,serializers:a.serializers}},45173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contracts=void 0,t.contracts={gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}}},9227:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatters=void 0;const n=r(70294),o=r(78900),a=r(49473),i=r(54537);t.formatters={block:(0,o.defineBlock)({format(e){const t=e.transactions?.map((e=>{if("string"==typeof e)return e;const t=(0,a.formatTransaction)(e);return"0x7e"===t.typeHex&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?(0,n.hexToBigInt)(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}));return{transactions:t,stateRoot:e.stateRoot}}}),transaction:(0,a.defineTransaction)({format(e){const t={};return"0x7e"===e.type&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?(0,n.hexToBigInt)(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}}),transactionReceipt:(0,i.defineTransactionReceipt)({format:e=>({l1GasPrice:e.l1GasPrice?(0,n.hexToBigInt)(e.l1GasPrice):null,l1GasUsed:e.l1GasUsed?(0,n.hexToBigInt)(e.l1GasUsed):null,l1Fee:e.l1Fee?(0,n.hexToBigInt)(e.l1Fee):null,l1FeeScalar:e.l1FeeScalar?Number(e.l1FeeScalar):null})})}},2963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializers=void 0,t.serializeTransaction=u,t.assertTransactionDeposit=l;const n=r(26311),o=r(89742),a=r(16776),i=r(90985),s=r(97926),c=r(95886);function u(e,t){return function(e){return"deposit"===e.type||void 0!==e.sourceHash}(e)?function(e){l(e);const{sourceHash:t,data:r,from:n,gas:o,isSystemTx:c,mint:u,to:d,value:p}=e,f=[t,n,d??"0x",u?(0,i.toHex)(u):"0x",p?(0,i.toHex)(p):"0x",o?(0,i.toHex)(o):"0x",c?"0x1":"0x",r??"0x"];return(0,a.concatHex)(["0x7e",(0,s.toRlp)(f)])}(e):(0,c.serializeTransaction)(e,t)}function l(e){const{from:t,to:r}=e;if(t&&!(0,o.isAddress)(t))throw new n.InvalidAddressError({address:t});if(r&&!(0,o.isAddress)(r))throw new n.InvalidAddressError({address:r})}t.serializers={transaction:u}},56825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProviderRpcError=void 0;class r extends Error{constructor(e,t){super(t),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=e,this.details=t}}t.ProviderRpcError=r},54612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeAbiParameters=function(e,t){const r="string"==typeof t?(0,l.hexToBytes)(t):t,o=(0,a.createCursor)(r);if(0===(0,i.size)(r)&&e.length>0)throw new n.AbiDecodingZeroDataError;if((0,i.size)(t)&&(0,i.size)(t)<32)throw new n.AbiDecodingDataSizeTooSmallError({data:"string"==typeof t?t:(0,d.bytesToHex)(t),params:e,size:(0,i.size)(t)});let s=0;const c=[];for(let t=0;t!e)),o=n?[]:{};let a=0;if(h(t)){const i=r+(0,u.bytesToNumber)(e.readBytes(b));for(let r=0;r48?(0,u.bytesToBigInt)(o,{signed:r}):(0,u.bytesToNumber)(o,{signed:r}),32]}(e,t);if("string"===t.type)return function(e,{staticPosition:t}){const r=t+(0,u.bytesToNumber)(e.readBytes(32));e.setPosition(r);const n=(0,u.bytesToNumber)(e.readBytes(32));if(0===n)return e.setPosition(t+32),["",32];const o=e.readBytes(n,32),a=(0,u.bytesToString)((0,c.trim)(o));return e.setPosition(t+32),[a,32]}(e,{staticPosition:r});throw new n.InvalidAbiDecodingTypeError(t.type,{docsPath:"/docs/contract/decodeAbiParameters"})}const m=32,b=32;function h(e){const{type:t}=e;if("string"===t)return!0;if("bytes"===t)return!0;if(t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(h);const r=(0,p.getArrayComponents)(e.type);return!(!r||!h({...e,type:r[1]}))}},67575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeDeployData=function(e){const{abi:t,bytecode:r,data:i}=e;if(i===r)return{bytecode:r};const s=t.find((e=>"type"in e&&"constructor"===e.type));if(!s)throw new n.AbiConstructorNotFoundError({docsPath:a});if(!("inputs"in s))throw new n.AbiConstructorParamsNotFoundError({docsPath:a});if(!s.inputs||0===s.inputs.length)throw new n.AbiConstructorParamsNotFoundError({docsPath:a});return{args:(0,o.decodeAbiParameters)(s.inputs,`0x${i.replace(r,"")}`),bytecode:r}};const n=r(66953),o=r(54612),a="/docs/contract/decodeDeployData"},68181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeErrorResult=function(e){const{abi:t,data:r}=e,u=(0,a.slice)(r,0,4);if("0x"===u)throw new o.AbiDecodingZeroDataError;const l=[...t||[],n.solidityError,n.solidityPanic].find((e=>"error"===e.type&&u===(0,i.toFunctionSelector)((0,c.formatAbiItem)(e))));if(!l)throw new o.AbiErrorSignatureNotFoundError(u,{docsPath:"/docs/contract/decodeErrorResult"});return{abiItem:l,args:"inputs"in l&&l.inputs&&l.inputs.length>0?(0,s.decodeAbiParameters)(l.inputs,(0,a.slice)(r,4)):void 0,errorName:l.name}};const n=r(30924),o=r(66953),a=r(77688),i=r(21456),s=r(54612),c=r(54520)},18182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeEventLog=function(e){const{abi:t,data:r,strict:d,topics:p}=e,f=d??!0,[m,...b]=p;if(!m)throw new n.AbiEventSignatureEmptyTopicsError({docsPath:u});const h=t.find((e=>"event"===e.type&&m===(0,a.toEventSelector)((0,c.formatAbiItem)(e))));if(!h||!("name"in h)||"event"!==h.type)throw new n.AbiEventSignatureNotFoundError(m,{docsPath:u});const{name:y,inputs:g}=h,v=g?.some((e=>!("name"in e&&e.name)));let x=v?[]:{};const E=g.filter((e=>"indexed"in e&&e.indexed));for(let e=0;e!("indexed"in e&&e.indexed)));if(w.length>0)if(r&&"0x"!==r)try{const e=(0,s.decodeAbiParameters)(w,r);if(e)if(v)x=[...x,...e];else for(let t=0;t0?x:void 0}};const n=r(66953),o=r(12285),a=r(7144),i=r(63069),s=r(54612),c=r(54520),u="/docs/contract/decodeEventLog";function l({param:e,value:t}){return"string"===e.type||"bytes"===e.type||"tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/)?t:((0,s.decodeAbiParameters)([e],t)||[])[0]}},93064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeFunctionData=function(e){const{abi:t,data:r}=e,c=(0,o.slice)(r,0,4),u=t.find((e=>"function"===e.type&&c===(0,a.toFunctionSelector)((0,s.formatAbiItem)(e))));if(!u)throw new n.AbiFunctionSignatureNotFoundError(c,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:u.name,args:"inputs"in u&&u.inputs&&u.inputs.length>0?(0,i.decodeAbiParameters)(u.inputs,(0,o.slice)(r,4)):void 0}};const n=r(66953),o=r(77688),a=r(21456),i=r(54612),s=r(54520)},17541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeFunctionResult=function(e){const{abi:t,args:r,functionName:s,data:c}=e;let u=t[0];if(s){const e=(0,a.getAbiItem)({abi:t,args:r,name:s});if(!e)throw new n.AbiFunctionNotFoundError(s,{docsPath:i});u=e}if("function"!==u.type)throw new n.AbiFunctionNotFoundError(void 0,{docsPath:i});if(!u.outputs)throw new n.AbiFunctionOutputsNotFoundError(u.name,{docsPath:i});const l=(0,o.decodeAbiParameters)(u.outputs,c);return l&&l.length>1?l:l&&1===l.length?l[0]:void 0};const n=r(66953),o=r(54612),a=r(60775),i="/docs/contract/decodeFunctionResult"},82732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeAbiParameters=function(e,t){if(e.length!==t.length)throw new n.AbiEncodingLengthMismatchError({expectedLength:e.length,givenLength:t.length});const r=f(function({params:e,values:t}){const r=[];for(let n=0;n0?(0,s.concat)([t,e]):t}}if(a)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,s.concat)(i.map((({encoded:e})=>e)))}}(t,{length:o,param:{...e,type:a}})}if("tuple"===e.type)return function(e,{param:t}){let r=!1;const n=[];for(let o=0;oe)))}}(t,{param:e});if("address"===e.type)return function(e){if(!(0,i.isAddress)(e))throw new o.InvalidAddressError({address:e});return{dynamic:!1,encoded:(0,c.padHex)(e.toLowerCase())}}(t);if("bool"===e.type)return function(e){if("boolean"!=typeof e)throw new a.BaseError(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,c.padHex)((0,d.boolToHex)(e))}}(t);if(e.type.startsWith("uint")||e.type.startsWith("int"))return function(e,{signed:t}){return{dynamic:!1,encoded:(0,d.numberToHex)(e,{size:32,signed:t})}}(t,{signed:e.type.startsWith("int")});if(e.type.startsWith("bytes"))return function(e,{param:t}){const[,r]=t.type.split("bytes"),o=(0,u.size)(e);if(!r){let t=e;return o%32!=0&&(t=(0,c.padHex)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,s.concat)([(0,c.padHex)((0,d.numberToHex)(o,{size:32})),t])}}if(o!==Number.parseInt(r))throw new n.AbiEncodingBytesSizeMismatchError({expectedSize:Number.parseInt(r),value:e});return{dynamic:!1,encoded:(0,c.padHex)(e,{dir:"right"})}}(t,{param:e});if("string"===e.type)return function(e){const t=(0,d.stringToHex)(e),r=Math.ceil((0,u.size)(t)/32),n=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeDeployData=function(e){const{abi:t,args:r,bytecode:s}=e;if(!r||0===r.length)return s;const c=t.find((e=>"type"in e&&"constructor"===e.type));if(!c)throw new n.AbiConstructorNotFoundError({docsPath:i});if(!("inputs"in c))throw new n.AbiConstructorParamsNotFoundError({docsPath:i});if(!c.inputs||0===c.inputs.length)throw new n.AbiConstructorParamsNotFoundError({docsPath:i});const u=(0,a.encodeAbiParameters)(c.inputs,r);return(0,o.concatHex)([s,u])};const n=r(66953),o=r(16776),a=r(82732),i="/docs/contract/encodeDeployData"},7757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeErrorResult=function(e){const{abi:t,errorName:r,args:l}=e;let d=t[0];if(r){const e=(0,c.getAbiItem)({abi:t,args:l,name:r});if(!e)throw new n.AbiErrorNotFoundError(r,{docsPath:u});d=e}if("error"!==d.type)throw new n.AbiErrorNotFoundError(void 0,{docsPath:u});const p=(0,s.formatAbiItem)(d),f=(0,a.toFunctionSelector)(p);let m="0x";if(l&&l.length>0){if(!d.inputs)throw new n.AbiErrorInputsNotFoundError(d.name,{docsPath:u});m=(0,i.encodeAbiParameters)(d.inputs,l)}return(0,o.concatHex)([f,m])};const n=r(66953),o=r(16776),a=r(21456),i=r(82732),s=r(54520),c=r(60775),u="/docs/contract/encodeErrorResult"},378:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeEventTopics=function(e){const{abi:t,eventName:r,args:o}=e;let a=t[0];if(r){const e=(0,l.getAbiItem)({abi:t,name:r});if(!e)throw new n.AbiEventNotFoundError(r,{docsPath:d});a=e}if("event"!==a.type)throw new n.AbiEventNotFoundError(void 0,{docsPath:d});const i=(0,u.formatAbiItem)(a),c=(0,s.toEventSelector)(i);let f=[];if(o&&"inputs"in a){const e=a.inputs?.filter((e=>"indexed"in e&&e.indexed)),t=Array.isArray(o)?o:Object.values(o).length>0?e?.map((e=>o[e.name]))??[]:[];t.length>0&&(f=e?.map(((e,r)=>Array.isArray(t[r])?t[r].map(((n,o)=>p({param:e,value:t[r][o]}))):t[r]?p({param:e,value:t[r]}):null))??[])}return[c,...f]};const n=r(66953),o=r(36861),a=r(27655),i=r(23625),s=r(7144),c=r(82732),u=r(54520),l=r(60775),d="/docs/contract/encodeEventTopics";function p({param:e,value:t}){if("string"===e.type||"bytes"===e.type)return(0,i.keccak256)((0,a.toBytes)(t));if("tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/))throw new o.FilterTypeNotSupportedError(e.type);return(0,c.encodeAbiParameters)([e],[t])}},76144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeFunctionData=function(e){const{args:t}=e,{abi:r,functionName:i}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:(0,a.prepareEncodeFunctionData)(e),s=r[0],c=i,u="inputs"in s&&s.inputs?(0,o.encodeAbiParameters)(s.inputs,t??[]):void 0;return(0,n.concatHex)([c,u??"0x"])};const n=r(16776),o=r(82732),a=r(65913)},24829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeFunctionResult=function(e){const{abi:t,functionName:r,result:s}=e;let c=t[0];if(r){const e=(0,a.getAbiItem)({abi:t,name:r});if(!e)throw new n.AbiFunctionNotFoundError(r,{docsPath:i});c=e}if("function"!==c.type)throw new n.AbiFunctionNotFoundError(void 0,{docsPath:i});if(!c.outputs)throw new n.AbiFunctionOutputsNotFoundError(c.name,{docsPath:i});let u=Array.isArray(s)?s:[s];return 0!==c.outputs.length||u[0]||(u=[]),(0,o.encodeAbiParameters)(c.outputs,u)};const n=r(66953),o=r(82732),a=r(60775),i="/docs/contract/encodeFunctionResult"},75020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodePacked=function(e,t){if(e.length!==t.length)throw new n.AbiEncodingLengthMismatchError({expectedLength:e.length,givenLength:t.length});const r=[];for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAbiItem=function(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new n.InvalidDefinitionTypeError(e.type);return`${e.name}(${o(e.inputs,{includeName:t})})`},t.formatAbiParams=o;const n=r(66953);function o(e,{includeName:t=!1}={}){return e?e.map((e=>function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${o(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")}(e,{includeName:t}))).join(t?", ":","):""}},80449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAbiItemWithArgs=function({abiItem:e,args:t,includeFunctionName:r=!0,includeName:o=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${r?e.name:""}(${e.inputs.map(((e,r)=>`${o&&e.name?`${e.name}: `:""}${"object"==typeof t[r]?(0,n.stringify)(t[r]):t[r]}`)).join(", ")})`};const n=r(44900)},60775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAbiItem=function(e){const{abi:t,args:r=[],name:a}=e,l=(0,o.isHex)(a,{strict:!1}),d=t.filter((e=>l?"function"===e.type?(0,s.toFunctionSelector)(e)===a:"event"===e.type&&(0,i.toEventSelector)(e)===a:"name"in e&&e.name===a));if(0===d.length)return;if(1===d.length)return d[0];let p;for(const e of d)if("inputs"in e)if(r&&0!==r.length){if(e.inputs&&0!==e.inputs.length&&e.inputs.length===r.length&&r.every(((t,r)=>{const n="inputs"in e&&e.inputs[r];return!!n&&c(t,n)}))){if(p&&"inputs"in p&&p.inputs){const t=u(e.inputs,p.inputs,r);if(t)throw new n.AbiItemAmbiguityError({abiItem:e,type:t[0]},{abiItem:p,type:t[1]})}p=e}}else if(!e.inputs||0===e.inputs.length)return e;return p||d[0]},t.isArgOfType=c,t.getAmbiguousTypes=u;const n=r(66953),o=r(36015),a=r(89742),i=r(7144),s=r(21456);function c(e,t){const r=typeof e,n=t.type;switch(n){case"address":return(0,a.isAddress)(e,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:return"tuple"===n&&"components"in t?Object.values(t.components).every(((t,r)=>c(Object.values(e)[r],t))):/^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(n)?"number"===r||"bigint"===r:/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(n)?"string"===r||e instanceof Uint8Array:!!/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(n)&&Array.isArray(e)&&e.every((e=>c(e,{...t,type:n.replace(/(\[[0-9]{0,}\])$/,"")})))}}function u(e,t,r){for(const n in e){const o=e[n],i=t[n];if("tuple"===o.type&&"tuple"===i.type&&"components"in o&&"components"in i)return u(o.components,i.components,r[n]);const s=[o.type,i.type];if(s.includes("address")&&s.includes("bytes20")||(s.includes("address")&&s.includes("string")||s.includes("address")&&s.includes("bytes"))&&(0,a.isAddress)(r[n],{strict:!1}))return s}}},48:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseEventLogs=function(e){const{abi:t,args:r,logs:u,strict:l=!0}=e,d=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return u.map((e=>{try{const n=(0,c.getAbiItem)({abi:t,name:e.topics[0]});if(!n)return null;const u=(0,s.decodeEventLog)({...e,abi:[n],strict:l});return d&&!d.includes(u.eventName)?null:function(e){const{args:t,inputs:r,matchArgs:n}=e;if(!n)return!0;if(!t)return!1;function s(e,t,r){try{return"address"===e.type?(0,o.isAddressEqual)(t,r):"string"===e.type||"bytes"===e.type?(0,i.keccak256)((0,a.toBytes)(t))===r:t===r}catch{return!1}}return Array.isArray(t)&&Array.isArray(n)?n.every(((e,n)=>{if(!e)return!0;const o=r[n];return!!o&&(Array.isArray(e)?e:[e]).some((e=>s(o,e,t[n])))})):"object"==typeof t&&!Array.isArray(t)&&"object"==typeof n&&!Array.isArray(n)&&Object.entries(n).every((([e,n])=>{if(!n)return!0;const o=r.find((t=>t.name===e));return!!o&&(Array.isArray(n)?n:[n]).some((r=>s(o,r,t[e])))}))}({args:u.args,inputs:n.inputs,matchArgs:r})?{...u,...e}:null}catch(t){let r,o;if(t instanceof n.AbiEventSignatureNotFoundError)return null;if(t instanceof n.DecodeLogDataMismatch||t instanceof n.DecodeLogTopicsMismatch){if(l)return null;r=t.abiItem.name,o=t.abiItem.inputs?.some((e=>!("name"in e&&e.name)))}return{...e,args:o?[]:{},eventName:r}}})).filter(Boolean)};const n=r(66953),o=r(64324),a=r(27655),i=r(23625),s=r(18182),c=r(60775)},65913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prepareEncodeFunctionData=function(e){const{abi:t,args:r,functionName:c}=e;let u=t[0];if(c){const e=(0,i.getAbiItem)({abi:t,args:r,name:c});if(!e)throw new n.AbiFunctionNotFoundError(c,{docsPath:s});u=e}if("function"!==u.type)throw new n.AbiFunctionNotFoundError(void 0,{docsPath:s});return{abi:[u],functionName:(0,o.toFunctionSelector)((0,a.formatAbiItem)(u))}};const n=r(66953),o=r(21456),a=r(54520),i=r(60775),s="/docs/contract/encodeFunctionData"},78728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checksumAddress=u,t.getAddress=function(e,t){if(!(0,s.isAddress)(e,{strict:!1}))throw new n.InvalidAddressError({address:e});return u(e,t)};const n=r(26311),o=r(27655),a=r(23625),i=r(77848),s=r(89742),c=new i.LruMap(8192);function u(e,t){if(c.has(`${e}.${t}`))return c.get(`${e}.${t}`);const r=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),n=(0,a.keccak256)((0,o.stringToBytes)(r),"bytes"),i=(t?r.substring(`${t}0x`.length):r).split("");for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&i[e]&&(i[e]=i[e].toUpperCase()),(15&n[e>>1])>=8&&i[e+1]&&(i[e+1]=i[e+1].toUpperCase());const s=`0x${i.join("")}`;return c.set(`${e}.${t}`,s),s}},18666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContractAddress=function(e){return"CREATE2"===e.opcode?p(e):d(e)},t.getCreateAddress=d,t.getCreate2Address=p;const n=r(16776),o=r(97085),a=r(68987),i=r(77688),s=r(27655),c=r(97926),u=r(23625),l=r(78728);function d(e){const t=(0,s.toBytes)((0,l.getAddress)(e.from));let r=(0,s.toBytes)(e.nonce);return 0===r[0]&&(r=new Uint8Array([])),(0,l.getAddress)(`0x${(0,u.keccak256)((0,c.toRlp)([t,r],"bytes")).slice(26)}`)}function p(e){const t=(0,s.toBytes)((0,l.getAddress)(e.from)),r=(0,a.pad)((0,o.isBytes)(e.salt)?e.salt:(0,s.toBytes)(e.salt),{size:32}),c="bytecodeHash"in e?(0,o.isBytes)(e.bytecodeHash)?e.bytecodeHash:(0,s.toBytes)(e.bytecodeHash):(0,u.keccak256)(e.bytecode,"bytes");return(0,l.getAddress)((0,i.slice)((0,u.keccak256)((0,n.concat)([(0,s.toBytes)("0xff"),t,r,c])),12))}},89742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAddressCache=void 0,t.isAddress=function(e,r){const{strict:n=!0}=r??{},i=`${e}.${n}`;if(t.isAddressCache.has(i))return t.isAddressCache.get(i);const s=!(!a.test(e)||e.toLowerCase()!==e&&n&&(0,o.checksumAddress)(e)!==e);return t.isAddressCache.set(i,s),s};const n=r(77848),o=r(78728),a=/^0x[a-fA-F0-9]{40}$/;t.isAddressCache=new n.LruMap(8192)},64324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAddressEqual=function(e,t){if(!(0,o.isAddress)(e,{strict:!1}))throw new n.InvalidAddressError({address:e});if(!(0,o.isAddress)(t,{strict:!1}))throw new n.InvalidAddressError({address:t});return e.toLowerCase()===t.toLowerCase()};const n=r(26311),o=r(89742)},75956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.blobsToCommitments=function(e){const{kzg:t}=e,r=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),a="string"==typeof e.blobs[0]?e.blobs.map((e=>(0,n.hexToBytes)(e))):e.blobs,i=[];for(const e of a)i.push(Uint8Array.from(t.blobToKzgCommitment(e)));return"bytes"===r?i:i.map((e=>(0,o.bytesToHex)(e)))};const n=r(27655),o=r(90985)},63611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.blobsToProofs=function(e){const{kzg:t}=e,r=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),a="string"==typeof e.blobs[0]?e.blobs.map((e=>(0,n.hexToBytes)(e))):e.blobs,i="string"==typeof e.commitments[0]?e.commitments.map((e=>(0,n.hexToBytes)(e))):e.commitments,s=[];for(let e=0;e(0,o.bytesToHex)(e)))};const n=r(27655),o=r(90985)},56524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commitmentToVersionedHash=function(e){const{commitment:t,version:r=1}=e,a=e.to??("string"==typeof t?"hex":"bytes"),i=(0,o.sha256)(t,"bytes");return i.set([r],0),"bytes"===a?i:(0,n.bytesToHex)(i)};const n=r(90985),o=r(77415)},84445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commitmentsToVersionedHashes=function(e){const{commitments:t,version:r}=e,o=e.to??("string"==typeof t[0]?"hex":"bytes"),a=[];for(const e of t)a.push((0,n.commitmentToVersionedHash)({commitment:e,to:o,version:r}));return a};const n=r(56524)},65201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromBlobs=function(e){const t=e.to??("string"==typeof e.blobs[0]?"hex":"bytes"),r="string"==typeof e.blobs[0]?e.blobs.map((e=>(0,o.hexToBytes)(e))):e.blobs,i=r.reduce(((e,t)=>e+t.length),0),s=(0,n.createCursor)(new Uint8Array(i));let c=!0;for(const e of r){const t=(0,n.createCursor)(e);for(;c&&t.position{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sidecarsToVersionedHashes=function(e){const{sidecars:t,version:r}=e,o=e.to??("string"==typeof t[0].blob?"hex":"bytes"),a=[];for(const{commitment:e}of t)a.push((0,n.commitmentToVersionedHash)({commitment:e,to:o,version:r}));return a};const n=r(56524)},33339:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toBlobSidecars=function(e){const{data:t,kzg:r,to:i}=e,s=e.blobs??(0,a.toBlobs)({data:t,to:i}),c=e.commitments??(0,n.blobsToCommitments)({blobs:s,kzg:r,to:i}),u=e.proofs??(0,o.blobsToProofs)({blobs:s,commitments:c,kzg:r,to:i}),l=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toBlobs=function(e){const t=e.to??("string"==typeof e.data?"hex":"bytes"),r="string"==typeof e.data?(0,s.hexToBytes)(e.data):e.data,u=(0,i.size)(r);if(!u)throw new o.EmptyBlobError;if(u>n.maxBytesPerTransaction)throw new o.BlobSizeTooLargeError({maxSize:n.maxBytesPerTransaction,size:u});const l=[];let d=!0,p=0;for(;d;){const e=(0,a.createCursor)(new Uint8Array(n.bytesPerBlob));let t=0;for(;te.bytes)):l.map((e=>(0,c.bytesToHex)(e.bytes)))};const n=r(41998),o=r(92592),a=r(6323),i=r(12285),s=r(27655),c=r(90985)},25e3:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildRequest=function(e,t={}){return async(r,p={})=>{const{dedupe:f=!1,retryDelay:m=150,retryCount:b=3,uid:h}={...t,...p},y=f?(0,s.keccak256)((0,i.stringToHex)(`${h}.${(0,l.stringify)(r)}`)):void 0;return(0,c.withDedupe)((()=>(0,u.withRetry)((async()=>{try{return await e(r)}catch(e){const t=e;switch(t.code){case a.ParseRpcError.code:throw new a.ParseRpcError(t);case a.InvalidRequestRpcError.code:throw new a.InvalidRequestRpcError(t);case a.MethodNotFoundRpcError.code:throw new a.MethodNotFoundRpcError(t,{method:r.method});case a.InvalidParamsRpcError.code:throw new a.InvalidParamsRpcError(t);case a.InternalRpcError.code:throw new a.InternalRpcError(t);case a.InvalidInputRpcError.code:throw new a.InvalidInputRpcError(t);case a.ResourceNotFoundRpcError.code:throw new a.ResourceNotFoundRpcError(t);case a.ResourceUnavailableRpcError.code:throw new a.ResourceUnavailableRpcError(t);case a.TransactionRejectedRpcError.code:throw new a.TransactionRejectedRpcError(t);case a.MethodNotSupportedRpcError.code:throw new a.MethodNotSupportedRpcError(t,{method:r.method});case a.LimitExceededRpcError.code:throw new a.LimitExceededRpcError(t);case a.JsonRpcVersionUnsupportedError.code:throw new a.JsonRpcVersionUnsupportedError(t);case a.UserRejectedRequestError.code:throw new a.UserRejectedRequestError(t);case a.UnauthorizedProviderError.code:throw new a.UnauthorizedProviderError(t);case a.UnsupportedProviderMethodError.code:throw new a.UnsupportedProviderMethodError(t);case a.ProviderDisconnectedError.code:throw new a.ProviderDisconnectedError(t);case a.ChainDisconnectedError.code:throw new a.ChainDisconnectedError(t);case a.SwitchChainError.code:throw new a.SwitchChainError(t);case 5e3:throw new a.UserRejectedRequestError(t);default:if(e instanceof n.BaseError)throw e;throw new a.UnknownRpcError(t)}}}),{delay:({count:e,error:t})=>{if(t&&t instanceof o.HttpRequestError){const e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e)}return(1<d(e)})),{enabled:f,id:y})}},t.shouldRetry=d;const n=r(6246),o=r(82202),a=r(37992),i=r(90985),s=r(23625),c=r(13716),u=r(71525),l=r(44900);function d(e){return"code"in e&&"number"==typeof e.code?-1===e.code||e.code===a.LimitExceededRpcError.code||e.code===a.InternalRpcError.code:!(e instanceof o.HttpRequestError&&e.status)||403===e.status||408===e.status||413===e.status||429===e.status||500===e.status||502===e.status||503===e.status||504===e.status}},45678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.offchainLookupAbiItem=t.offchainLookupSignature=void 0,t.offchainLookup=async function(e,{blockNumber:r,blockTag:a,data:l,to:d}){const{args:f}=(0,i.decodeErrorResult)({data:l,abi:[t.offchainLookupAbiItem]}),[m,b,h,y,g]=f,{ccipRead:v}=e,x=v&&"function"==typeof v?.request?v.request:p;try{if(!(0,c.isAddressEqual)(d,m))throw new o.OffchainLookupSenderMismatchError({sender:m,to:d});const t=await x({data:h,sender:m,urls:b}),{data:i}=await(0,n.call)(e,{blockNumber:r,blockTag:a,data:(0,u.concat)([y,(0,s.encodeAbiParameters)([{type:"bytes"},{type:"bytes"}],[t,g])]),to:d});return i}catch(e){throw new o.OffchainLookupError({callbackSelector:y,cause:e,data:l,extraData:g,sender:m,urls:b})}},t.ccipRequest=p;const n=r(37141),o=r(94548),a=r(82202),i=r(68181),s=r(82732),c=r(64324),u=r(16776),l=r(36015),d=r(44900);async function p({data:e,sender:t,urls:r}){let n=new Error("An unknown error occurred.");for(let i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertCurrentChain=function({chain:e,currentChainId:t}){if(!e)throw new n.ChainNotFoundError;if(t!==e.id)throw new n.ChainMismatchError({chain:e,currentChainId:t})};const n=r(94698)},95731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineChain=function(e){return{formatters:void 0,fees:void 0,serializers:void 0,...e}}},42057:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractChain=function({chains:e,id:t}){return e.find((e=>e.id===t))}},93454:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChainContractAddress=function({blockNumber:e,chain:t,contract:r}){const o=t?.contracts?.[r];if(!o)throw new n.ChainDoesNotSupportContract({chain:t,contract:{name:r}});if(e&&o.blockCreated&&o.blockCreated>e)throw new n.ChainDoesNotSupportContract({blockNumber:e,chain:t,contract:{name:r,blockCreated:o.blockCreated}});return o.address};const n=r(94698)},6323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCursor=function(e,{recursiveReadLimit:t=8192}={}){const r=Object.create(o);return r.bytes=e,r.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r};const n=r(63069),o={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new n.RecursiveReadLimitExceededError({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new n.PositionOutOfBoundsError({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new n.NegativeOffsetError({offset:e});const 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 n.NegativeOffsetError({offset:e});const t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){const r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+e)},inspectUint8(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){const t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){const t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){const 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();const e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();const r=this.inspectBytes(e);return this.position+=t??e,r},readUint8(){this.assertReadLimit(),this._touch();const e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();const e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();const e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();const e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){const t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}}},16776:(e,t)=>{"use strict";function r(e){let t=0;for(const r of e)t+=r.length;const r=new Uint8Array(t);let n=0;for(const t of e)r.set(t,n),n+=t.length;return r}function n(e){return`0x${e.reduce(((e,t)=>e+t.replace("0x","")),"")}`}Object.defineProperty(t,"__esModule",{value:!0}),t.concat=function(e){return"string"==typeof e[0]?n(e):r(e)},t.concatBytes=r,t.concatHex=n},97085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBytes=function(e){return!!e&&"object"==typeof e&&"BYTES_PER_ELEMENT"in e&&1===e.BYTES_PER_ELEMENT&&"Uint8Array"===e.constructor.name}},22137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBytesEqual=function(e,t){const r=(0,a.isHex)(e)?(0,o.toBytes)(e):e,i=(0,a.isHex)(t)?(0,o.toBytes)(t):t;return(0,n.equalBytes)(r,i)};const n=r(91484),o=r(27655),a=r(36015)},36015:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHex=function(e,{strict:t=!0}={}){return!!e&&"string"==typeof e&&(t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x"))}},68987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pad=function(e,{dir:t,size:r=32}={}){return"string"==typeof e?o(e,{dir:t,size:r}):a(e,{dir:t,size:r})},t.padHex=o,t.padBytes=a;const n=r(75375);function o(e,{dir:t,size:r=32}={}){if(null===r)return e;const o=e.replace("0x","");if(o.length>2*r)throw new n.SizeExceedsPaddingSizeError({size:Math.ceil(o.length/2),targetSize:r,type:"hex"});return`0x${o["right"===t?"padEnd":"padStart"](2*r,"0")}`}function a(e,{dir:t,size:r=32}={}){if(null===r)return e;if(e.length>r)throw new n.SizeExceedsPaddingSizeError({size:e.length,targetSize:r,type:"bytes"});const o=new Uint8Array(r);for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=function(e){return(0,n.isHex)(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length};const n=r(36015)},77688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slice=function(e,t,r,{strict:n}={}){return(0,o.isHex)(e,{strict:!1})?u(e,t,r,{strict:n}):c(e,t,r,{strict:n})},t.sliceBytes=c,t.sliceHex=u;const n=r(75375),o=r(36015),a=r(12285);function i(e,t){if("number"==typeof t&&t>0&&t>(0,a.size)(e)-1)throw new n.SliceOffsetOutOfBoundsError({offset:t,position:"start",size:(0,a.size)(e)})}function s(e,t,r){if("number"==typeof t&&"number"==typeof r&&(0,a.size)(e)!==r-t)throw new n.SliceOffsetOutOfBoundsError({offset:r,position:"end",size:(0,a.size)(e)})}function c(e,t,r,{strict:n}={}){i(e,t);const o=e.slice(t,r);return n&&s(o,t,r),o}function u(e,t,r,{strict:n}={}){i(e,t);const o=`0x${e.replace("0x","").slice(2*(t??0),2*(r??e.length))}`;return n&&s(o,t,r),o}},7488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trim=function(e,{dir:t="left"}={}){let r="string"==typeof e?e.replace("0x",""):e,n=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromBytes=function(e,t){const r="string"==typeof t?{to:t}:t,n=r.to;return"number"===n?u(e,r):"bigint"===n?s(e,r):"boolean"===n?c(e,r):"string"===n?l(e,r):(0,i.bytesToHex)(e,r)},t.bytesToBigInt=s,t.bytesToBool=c,t.bytesToNumber=u,t.bytesToString=l;const n=r(95366),o=r(7488),a=r(70294),i=r(90985);function s(e,t={}){void 0!==t.size&&(0,a.assertSize)(e,{size:t.size});const r=(0,i.bytesToHex)(e,t);return(0,a.hexToBigInt)(r,t)}function c(e,t={}){let r=e;if(void 0!==t.size&&((0,a.assertSize)(r,{size:t.size}),r=(0,o.trim)(r)),r.length>1||r[0]>1)throw new n.InvalidBytesBooleanError(r);return Boolean(r[0])}function u(e,t={}){void 0!==t.size&&(0,a.assertSize)(e,{size:t.size});const r=(0,i.bytesToHex)(e,t);return(0,a.hexToNumber)(r,t)}function l(e,t={}){let r=e;return void 0!==t.size&&((0,a.assertSize)(r,{size:t.size}),r=(0,o.trim)(r,{dir:"right"})),(new TextDecoder).decode(r)}},70294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertSize=s,t.fromHex=function(e,t){const r="string"==typeof t?{to:t}:t,n=r.to;return"number"===n?l(e,r):"bigint"===n?c(e,r):"string"===n?d(e,r):"boolean"===n?u(e,r):(0,i.hexToBytes)(e,r)},t.hexToBigInt=c,t.hexToBool=u,t.hexToNumber=l,t.hexToString=d;const n=r(95366),o=r(12285),a=r(7488),i=r(27655);function s(e,{size:t}){if((0,o.size)(e)>t)throw new n.SizeOverflowError({givenSize:(0,o.size)(e),maxSize:t})}function c(e,t={}){const{signed:r}=t;t.size&&s(e,{size:t.size});const n=BigInt(e);if(!r)return n;const o=(e.length-2)/2;return n<=(1n<<8n*BigInt(o)-1n)-1n?n:n-BigInt(`0x${"f".padStart(2*o,"f")}`)-1n}function u(e,t={}){let r=e;if(t.size&&(s(r,{size:t.size}),r=(0,a.trim)(r)),"0x00"===(0,a.trim)(r))return!1;if("0x01"===(0,a.trim)(r))return!0;throw new n.InvalidHexBooleanError(r)}function l(e,t={}){return Number(c(e,t))}function d(e,t={}){let r=(0,i.hexToBytes)(e);return t.size&&(s(r,{size:t.size}),r=(0,a.trim)(r,{dir:"right"})),(new TextDecoder).decode(r)}},57349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromRlp=function(e,t="hex"){const r=(()=>{if("string"==typeof e){if(e.length>3&&e.length%2!=0)throw new o.InvalidHexValueError(e);return(0,i.hexToBytes)(e)}return e})();return c((0,a.createCursor)(r,{recursiveReadLimit:Number.POSITIVE_INFINITY}),t)};const n=r(6246),o=r(95366),a=r(6323),i=r(27655),s=r(90985);function c(e,t="hex"){if(0===e.bytes.length)return"hex"===t?(0,s.bytesToHex)(e.bytes):e.bytes;const r=e.readByte();if(r<128&&e.decrementPosition(1),r<192){const n=u(e,r,128),o=e.readBytes(n);return"hex"===t?(0,s.bytesToHex)(o):o}return function(e,t,r){const n=e.position,o=[];for(;e.position-n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toBytes=function(e,t={}){return"number"==typeof e||"bigint"==typeof e?f(e,t):"boolean"==typeof e?u(e,t):(0,o.isHex)(e)?p(e,t):m(e,t)},t.boolToBytes=u,t.hexToBytes=p,t.numberToBytes=f,t.stringToBytes=m;const n=r(6246),o=r(36015),a=r(68987),i=r(70294),s=r(90985),c=new TextEncoder;function u(e,t={}){const r=new Uint8Array(1);return r[0]=Number(e),"number"==typeof t.size?((0,i.assertSize)(r,{size:t.size}),(0,a.pad)(r,{size:t.size})):r}const l={zero:48,nine:57,A:65,F:70,a:97,f:102};function d(e){return e>=l.zero&&e<=l.nine?e-l.zero:e>=l.A&&e<=l.F?e-(l.A-10):e>=l.a&&e<=l.f?e-(l.a-10):void 0}function p(e,t={}){let r=e;t.size&&((0,i.assertSize)(r,{size:t.size}),r=(0,a.pad)(r,{dir:"right",size:t.size}));let o=r.slice(2);o.length%2&&(o=`0${o}`);const s=o.length/2,c=new Uint8Array(s);for(let e=0,t=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toHex=function(e,t={}){return"number"==typeof e||"bigint"==typeof e?u(e,t):"string"==typeof e?d(e,t):"boolean"==typeof e?s(e,t):c(e,t)},t.boolToHex=s,t.bytesToHex=c,t.numberToHex=u,t.stringToHex=d;const n=r(95366),o=r(68987),a=r(70294),i=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function s(e,t={}){const r=`0x${Number(e)}`;return"number"==typeof t.size?((0,a.assertSize)(r,{size:t.size}),(0,o.pad)(r,{size:t.size})):r}function c(e,t={}){let r="";for(let t=0;ts||i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRlp=s,t.bytesToRlp=function(e,t="bytes"){return s(e,t)},t.hexToRlp=function(e,t="hex"){return s(e,t)};const n=r(6246),o=r(6323),a=r(27655),i=r(90985);function s(e,t="hex"){const r=c(e),n=(0,o.createCursor)(new Uint8Array(r.length));return r.encode(n),"hex"===t?(0,i.bytesToHex)(n.bytes):n.bytes}function c(e){return Array.isArray(e)?function(e){const t=e.reduce(((e,t)=>e+t.length),0),r=u(t);return{length:t<=55?1+t:1+r+t,encode(n){t<=55?n.pushByte(192+t):(n.pushByte(247+r),1===r?n.pushUint8(t):2===r?n.pushUint16(t):3===r?n.pushUint24(t):n.pushUint32(t));for(const{encode:t}of e)t(n)}}}(e.map((e=>c(e)))):function(e){const t="string"==typeof e?(0,a.hexToBytes)(e):e,r=u(t.length);return{length:1===t.length&&t[0]<128?1:t.length<=55?1+t.length:1+r+t.length,encode(e){1===t.length&&t[0]<128?e.pushBytes(t):t.length<=55?(e.pushByte(128+t.length),e.pushBytes(t)):(e.pushByte(183+r),1===r?e.pushUint8(t.length):2===r?e.pushUint16(t.length):3===r?e.pushUint24(t.length):e.pushUint32(t.length),e.pushBytes(t))}}}(e)}function u(e){if(e<256)return 1;if(e<65536)return 2;if(e<2**24)return 3;if(e<2**32)return 4;throw new n.BaseError("Length is too large.")}},96545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAvatarRecord=async function(e,{gatewayUrls:t,record:r}){return/eip155:/i.test(r)?async function(e,{gatewayUrls:t,record:r}){const o=(0,n.parseNftUri)(r),a=await(0,n.getNftTokenUri)(e,{nft:o}),{uri:i,isOnChain:s,isEncoded:c}=(0,n.resolveAvatarUri)({uri:a,gatewayUrls:t});if(s&&(i.includes("data:application/json;base64,")||i.startsWith("{"))){const e=c?atob(i.replace("data:application/json;base64,","")):i,r=JSON.parse(e);return(0,n.parseAvatarUri)({uri:(0,n.getJsonImage)(r),gatewayUrls:t})}let u=o.tokenID;return"erc1155"===o.namespace&&(u=u.replace("0x","").padStart(64,"0")),(0,n.getMetadataAvatarUri)({gatewayUrls:t,uri:i.replace(/(?:0x)?{id}/,u)})}(e,{gatewayUrls:t,record:r}):(0,n.parseAvatarUri)({uri:r,gatewayUrls:t})};const n=r(63075)},63075:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isImageUri=u,t.getGateway=l,t.resolveAvatarUri=d,t.getJsonImage=p,t.getMetadataAvatarUri=async function({gatewayUrls:e,uri:t}){try{const r=await fetch(t).then((e=>e.json()));return await f({gatewayUrls:e,uri:p(r)})}catch{throw new o.EnsAvatarUriResolutionError({uri:t})}},t.parseAvatarUri=f,t.parseNftUri=function(e){let t=e;t.startsWith("did:nft:")&&(t=t.replace("did:nft:","").replace(/_/g,"/"));const[r,n,a]=t.split("/"),[i,s]=r.split(":"),[c,u]=n.split(":");if(!i||"eip155"!==i.toLowerCase())throw new o.EnsAvatarInvalidNftUriError({reason:"Only EIP-155 supported"});if(!s)throw new o.EnsAvatarInvalidNftUriError({reason:"Chain ID not found"});if(!u)throw new o.EnsAvatarInvalidNftUriError({reason:"Contract address not found"});if(!a)throw new o.EnsAvatarInvalidNftUriError({reason:"Token ID not found"});if(!c)throw new o.EnsAvatarInvalidNftUriError({reason:"ERC namespace not found"});return{chainID:Number.parseInt(s),namespace:c.toLowerCase(),contractAddress:u,tokenID:a}},t.getNftTokenUri=async function(e,{nft:t}){if("erc721"===t.namespace)return(0,n.readContract)(e,{address:t.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(t.tokenID)]});if("erc1155"===t.namespace)return(0,n.readContract)(e,{address:t.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(t.tokenID)]});throw new o.EnsAvatarUnsupportedNamespaceError({namespace:t.namespace})};const n=r(15275),o=r(38047),a=/(?https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?\/)?(?ipfs\/|ipns\/)?(?[\w\-.]+)(?\/.*)?/,i=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?[\w\-.]+))?(?\/.*)?$/,s=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,c=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function u(e){try{const t=await fetch(e,{method:"HEAD"});if(200===t.status){const e=t.headers.get("content-type");return e?.startsWith("image/")}return!1}catch(t){return("object"!=typeof t||void 0===t.response)&&!!globalThis.hasOwnProperty("Image")&&new Promise((t=>{const r=new Image;r.onload=()=>{t(!0)},r.onerror=()=>{t(!1)},r.src=e}))}}function l(e,t){return e?e.endsWith("/")?e.slice(0,-1):e:t}function d({uri:e,gatewayUrls:t}){const r=s.test(e);if(r)return{uri:e,isOnChain:!0,isEncoded:r};const n=l(t?.ipfs,"https://ipfs.io"),u=l(t?.arweave,"https://arweave.net"),d=e.match(a),{protocol:p,subpath:f,target:m,subtarget:b=""}=d?.groups||{},h="ipns:/"===p||"ipns/"===f,y="ipfs:/"===p||"ipfs/"===f||i.test(e);if(e.startsWith("http")&&!h&&!y){let r=e;return t?.arweave&&(r=e.replace(/https:\/\/arweave.net/g,t?.arweave)),{uri:r,isOnChain:!1,isEncoded:!1}}if((h||y)&&m)return{uri:`${n}/${h?"ipns":"ipfs"}/${m}${b}`,isOnChain:!1,isEncoded:!1};if("ar:/"===p&&m)return{uri:`${u}/${m}${b||""}`,isOnChain:!1,isEncoded:!1};let g=e.replace(c,"");if(g.startsWith("{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeLabelhash=function(e){return`[${e.slice(2)}]`}},2627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodedLabelToLabelhash=function(e){if(66!==e.length)return null;if(0!==e.indexOf("["))return null;if(65!==e.indexOf("]"))return null;const t=`0x${e.slice(1,65)}`;return(0,n.isHex)(t)?t:null};const n=r(36015)},25971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNullUniversalResolverError=function(e,t){if(!(e instanceof o.BaseError))return!1;const r=e.walk((e=>e instanceof a.ContractFunctionRevertedError));return r instanceof a.ContractFunctionRevertedError&&("ResolverNotFound"===r.data?.errorName||"ResolverWildcardNotSupported"===r.data?.errorName||"ResolverNotContract"===r.data?.errorName||"ResolverError"===r.data?.errorName||"HttpError"===r.data?.errorName||!!r.reason?.includes("Wildcard on non-extended resolvers is not supported")||"reverse"===t&&r.reason===n.panicReasons[50])};const n=r(30924),o=r(6246),a=r(87677)},43484:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.labelhash=function(e){const t=new Uint8Array(32).fill(0);return e?(0,i.encodedLabelToLabelhash)(e)||(0,a.keccak256)((0,n.stringToBytes)(e)):(0,o.bytesToHex)(t)};const n=r(27655),o=r(90985),a=r(23625),i=r(2627)},64931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.namehash=function(e){let t=new Uint8Array(32).fill(0);if(!e)return(0,a.bytesToHex)(t);const r=e.split(".");for(let e=r.length-1;e>=0;e-=1){const a=(0,s.encodedLabelToLabelhash)(r[e]),c=a?(0,o.toBytes)(a):(0,i.keccak256)((0,o.stringToBytes)(r[e]),"bytes");t=(0,i.keccak256)((0,n.concat)([t,c]),"bytes")}return(0,a.bytesToHex)(t)};const n=r(16776),o=r(27655),a=r(90985),i=r(23625),s=r(2627)},10846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packetToBytes=function(e){const t=e.replace(/^\.|\.$/gm,"");if(0===t.length)return new Uint8Array(1);const r=new Uint8Array((0,n.stringToBytes)(t).byteLength+2);let i=0;const s=t.split(".");for(let e=0;e255&&(t=(0,n.stringToBytes)((0,o.encodeLabelhash)((0,a.labelhash)(s[e])))),r[i]=t.length,r.set(t,i+1),i+=t.length+1}return r.byteLength!==i+1?r.slice(0,i+1):r};const n=r(27655),o=r(88050),a=r(43484)},71403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCallError=function(e,{docsPath:t,...r}){const i=(()=>{const t=(0,a.getNodeError)(e,r);return t instanceof o.UnknownNodeError?e:t})();return new n.CallExecutionError(i,{docsPath:t,...r})};const n=r(87677),o=r(62731),a=r(26339)},56173:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContractError=function(e,{abi:t,address:r,args:c,docsPath:u,functionName:l,sender:d}){const{code:p,data:f,message:m,shortMessage:b}=e instanceof a.RawContractError?e:e instanceof o.BaseError?e.walk((e=>"data"in e))||e.walk():{},h=e instanceof n.AbiDecodingZeroDataError?new a.ContractFunctionZeroDataError({functionName:l}):[s,i.InternalRpcError.code].includes(p)&&(f||m||b)?new a.ContractFunctionRevertedError({abi:t,data:"object"==typeof f?f.data:f,functionName:l,message:b??m}):e;return new a.ContractFunctionExecutionError(h,{abi:t,args:c,contractAddress:r,docsPath:u,functionName:l,sender:d})};const n=r(66953),o=r(6246),a=r(87677),i=r(37992),s=3},93642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEstimateGasError=function(e,{docsPath:t,...r}){const i=(()=>{const t=(0,a.getNodeError)(e,r);return t instanceof o.UnknownNodeError?e:t})();return new n.EstimateGasExecutionError(i,{docsPath:t,...r})};const n=r(25772),o=r(62731),a=r(26339)},26339:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.containsNodeError=function(e){return e instanceof i.TransactionRejectedRpcError||e instanceof i.InvalidInputRpcError||e instanceof a.RpcRequestError&&e.code===o.ExecutionRevertedError.code},t.getNodeError=function(e,t){const r=(e.details||"").toLowerCase(),a=e instanceof n.BaseError?e.walk((e=>e.code===o.ExecutionRevertedError.code)):e;return a instanceof n.BaseError?new o.ExecutionRevertedError({cause:e,message:a.details}):o.ExecutionRevertedError.nodeMessage.test(r)?new o.ExecutionRevertedError({cause:e,message:e.details}):o.FeeCapTooHighError.nodeMessage.test(r)?new o.FeeCapTooHighError({cause:e,maxFeePerGas:t?.maxFeePerGas}):o.FeeCapTooLowError.nodeMessage.test(r)?new o.FeeCapTooLowError({cause:e,maxFeePerGas:t?.maxFeePerGas}):o.NonceTooHighError.nodeMessage.test(r)?new o.NonceTooHighError({cause:e,nonce:t?.nonce}):o.NonceTooLowError.nodeMessage.test(r)?new o.NonceTooLowError({cause:e,nonce:t?.nonce}):o.NonceMaxValueError.nodeMessage.test(r)?new o.NonceMaxValueError({cause:e,nonce:t?.nonce}):o.InsufficientFundsError.nodeMessage.test(r)?new o.InsufficientFundsError({cause:e}):o.IntrinsicGasTooHighError.nodeMessage.test(r)?new o.IntrinsicGasTooHighError({cause:e,gas:t?.gas}):o.IntrinsicGasTooLowError.nodeMessage.test(r)?new o.IntrinsicGasTooLowError({cause:e,gas:t?.gas}):o.TransactionTypeNotSupportedError.nodeMessage.test(r)?new o.TransactionTypeNotSupportedError({cause:e}):o.TipAboveFeeCapError.nodeMessage.test(r)?new o.TipAboveFeeCapError({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new o.UnknownNodeError({cause:e})};const n=r(6246),o=r(62731),a=r(82202),i=r(37992)},42403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransactionError=function(e,{docsPath:t,...r}){const i=(()=>{const t=(0,a.getNodeError)(e,r);return t instanceof n.UnknownNodeError?e:t})();return new o.TransactionExecutionError(i,{docsPath:t,...r})};const n=r(62731),o=r(3727),a=r(26339)},83044:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFilterRequestScope=function(e,{method:t}){const r={};return"fallback"===e.transport.type&&e.transport.onResponse?.((({method:e,response:n,status:o,transport:a})=>{"success"===o&&t===e&&(r[n]=a.request)})),t=>r[t]||e.request}},78900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineBlock=void 0,t.formatBlock=a;const n=r(51547),o=r(49473);function a(e){const t=e.transactions?.map((e=>"string"==typeof e?e:(0,o.formatTransaction)(e)));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:t,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}t.defineBlock=(0,n.defineFormatter)("block",a)},10796:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e,{format:t}){if(!t)return{};const r={};return function t(n){const o=Object.keys(n);for(const a of o)a in e&&(r[a]=e[a]),n[a]&&"object"==typeof n[a]&&!Array.isArray(n[a])&&t(n[a])}(t(e||{})),r}},5549:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatFeeHistory=function(e){return{baseFeePerGas:e.baseFeePerGas.map((e=>BigInt(e))),gasUsedRatio:e.gasUsedRatio,oldestBlock:BigInt(e.oldestBlock),reward:e.reward?.map((e=>e.map((e=>BigInt(e)))))}}},51547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineFormatter=function(e,t){return({exclude:r,format:n})=>({exclude:r,format:e=>{const o=t(e);if(r)for(const e of r)delete o[e];return{...o,...n(e)}},type:e})}},10095:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatLog=function(e,{args:t,eventName:r}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...r?{args:t,eventName:r}:{}}}},21707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatProof=function(e){return{...e,balance:e.balance?BigInt(e.balance):void 0,nonce:e.nonce?(0,n.hexToNumber)(e.nonce):void 0,storageProof:e.storageProof?(t=e.storageProof,t.map((e=>({...e,value:BigInt(e.value)})))):void 0};var t};const n=r(4661)},49473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineTransaction=t.transactionType=void 0,t.formatTransaction=a;const n=r(70294),o=r(51547);function a(e){const r={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?(0,n.hexToNumber)(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?(0,n.hexToNumber)(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?t.transactionType[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return r.yParity=(()=>{if(e.yParity)return Number(e.yParity);if("bigint"==typeof r.v){if(0n===r.v||27n===r.v)return 0;if(1n===r.v||28n===r.v)return 1;if(r.v>=35n)return r.v%2n===0n?1:0}})(),"legacy"===r.type&&(delete r.accessList,delete r.maxFeePerBlobGas,delete r.maxFeePerGas,delete r.maxPriorityFeePerGas,delete r.yParity),"eip2930"===r.type&&(delete r.maxFeePerBlobGas,delete r.maxFeePerGas,delete r.maxPriorityFeePerGas),"eip1559"===r.type&&delete r.maxFeePerBlobGas,r}t.transactionType={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844"},t.defineTransaction=(0,o.defineFormatter)("transaction",a)},54537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineTransactionReceipt=t.receiptStatuses=void 0,t.formatTransactionReceipt=s;const n=r(70294),o=r(51547),a=r(10095),i=r(49473);function s(e){const r={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map((e=>(0,a.formatLog)(e))):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?(0,n.hexToNumber)(e.transactionIndex):null,status:e.status?t.receiptStatuses[e.status]:null,type:e.type?i.transactionType[e.type]||e.type:null};return e.blobGasPrice&&(r.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(r.blobGasUsed=BigInt(e.blobGasUsed)),r}t.receiptStatuses={"0x0":"reverted","0x1":"success"},t.defineTransactionReceipt=(0,o.defineFormatter)("transactionReceipt",s)},44712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineTransactionRequest=t.rpcTransactionType=void 0,t.formatTransactionRequest=a;const n=r(90985),o=r(51547);function a(e){const r={};return 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,n.bytesToHex)(e))):r.blobs=e.blobs),void 0!==e.data&&(r.data=e.data),void 0!==e.from&&(r.from=e.from),void 0!==e.gas&&(r.gas=(0,n.numberToHex)(e.gas)),void 0!==e.gasPrice&&(r.gasPrice=(0,n.numberToHex)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(r.maxFeePerBlobGas=(0,n.numberToHex)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(r.maxFeePerGas=(0,n.numberToHex)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=(0,n.numberToHex)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(r.nonce=(0,n.numberToHex)(e.nonce)),void 0!==e.to&&(r.to=e.to),void 0!==e.type&&(r.type=t.rpcTransactionType[e.type]),void 0!==e.value&&(r.value=(0,n.numberToHex)(e.value)),r}t.rpcTransactionType={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3"},t.defineTransactionRequest=(0,o.defineFormatter)("transactionRequest",a)},6207:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAction=function(e,t,r){const n=e[t.name];if("function"==typeof n)return n;const o=e[r];return"function"==typeof o?o:r=>t(e,r)}},18992:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashSignature=function(e){return a(e)};const n=r(27655),o=r(23625),a=e=>(0,o.keccak256)((0,n.toBytes)(e))},84624:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHash=function(e){return(0,n.isHex)(e)&&32===(0,o.size)(e)};const n=r(36015),o=r(12285)},23625:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keccak256=function(e,t){const r=t||"hex",s=(0,n.keccak_256)((0,o.isHex)(e,{strict:!1})?(0,a.toBytes)(e):e);return"bytes"===r?s:(0,i.toHex)(s)};const n=r(32955),o=r(36015),a=r(27655),i=r(90985)},34519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeSignature=function(e){let t=!0,r="",o=0,a="",i=!1;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ripemd160=function(e,t){const r=t||"hex",s=(0,n.ripemd160)((0,o.isHex)(e,{strict:!1})?(0,a.toBytes)(e):e);return"bytes"===r?s:(0,i.toHex)(s)};const n=r(93238),o=r(36015),a=r(27655),i=r(90985)},77415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha256=function(e,t){const r=t||"hex",s=(0,n.sha256)((0,o.isHex)(e,{strict:!1})?(0,a.toBytes)(e):e);return"bytes"===r?s:(0,i.toHex)(s)};const n=r(22623),o=r(36015),a=r(27655),i=r(90985)},60325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toEventHash=void 0;var n=r(13239);Object.defineProperty(t,"toEventHash",{enumerable:!0,get:function(){return n.toSignatureHash}})},7144:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toEventSelector=void 0;const n=r(13239);t.toEventSelector=n.toSignatureHash},23467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toEventSignature=void 0;var n=r(22967);Object.defineProperty(t,"toEventSignature",{enumerable:!0,get:function(){return n.toSignature}})},92461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toFunctionHash=void 0;var n=r(13239);Object.defineProperty(t,"toFunctionHash",{enumerable:!0,get:function(){return n.toSignatureHash}})},21456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toFunctionSelector=void 0;const n=r(77688),o=r(13239);t.toFunctionSelector=e=>(0,n.slice)((0,o.toSignatureHash)(e),0,4)},8611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toFunctionSignature=void 0;var n=r(22967);Object.defineProperty(t,"toFunctionSignature",{enumerable:!0,get:function(){return n.toSignature}})},22967:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toSignature=void 0;const n=r(76524),o=r(34519);t.toSignature=e=>{const t="string"==typeof e?e:(0,n.formatAbiItem)(e);return(0,o.normalizeSignature)(t)}},13239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toSignatureHash=function(e){return(0,n.hashSignature)((0,o.toSignature)(e))};const n=r(18992),o=r(22967)},4661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAddress=t.getAddress=t.getCreate2Address=t.getCreateAddress=t.getContractAddress=t.publicKeyToAddress=t.parseAccount=t.formatAbiParams=t.formatAbiItem=t.formatAbiItemWithArgs=t.encodePacked=t.parseAbiParameters=t.parseAbiParameter=t.parseAbiItem=t.parseAbi=t.getAbiItem=t.parseEventLogs=t.encodeFunctionResult=t.encodeFunctionData=t.encodeEventTopics=t.encodeErrorResult=t.encodeDeployData=t.encodeAbiParameters=t.decodeFunctionResult=t.decodeFunctionData=t.decodeEventLog=t.decodeErrorResult=t.decodeAbiParameters=t.validateTypedData=t.serializeTypedData=t.stringify=t.getWebSocketRpcClient=t.socketClientCache=t.getSocketRpcClient=t.getHttpRpcClient=t.rpc=t.getSocket=t.integerRegex=t.bytesRegex=t.arrayRegex=t.getChainContractAddress=t.extractChain=t.defineChain=t.assertCurrentChain=t.offchainLookupSignature=t.offchainLookupAbiItem=t.offchainLookup=t.ccipFetch=t.ccipRequest=t.buildRequest=void 0,t.getCallError=t.getNodeError=t.containsNodeError=t.fromRlp=t.hexToString=t.hexToNumber=t.hexToBigInt=t.hexToBool=t.fromHex=t.fromBytes=t.bytesToString=t.bytesToNumber=t.bytesToBool=t.bytesToBigint=t.bytesToBigInt=t.stringToHex=t.numberToHex=t.toHex=t.bytesToHex=t.boolToHex=t.stringToBytes=t.numberToBytes=t.hexToBytes=t.toBytes=t.boolToBytes=t.toRlp=t.extract=t.formatTransactionRequest=t.defineTransactionRequest=t.defineTransactionReceipt=t.formatLog=t.transactionType=t.formatTransaction=t.defineTransaction=t.formatBlock=t.defineBlock=t.trim=t.sliceHex=t.sliceBytes=t.slice=t.size=t.padHex=t.padBytes=t.pad=t.isHex=t.isBytes=t.concatHex=t.concatBytes=t.concat=t.isAddressEqual=void 0,t.nonceManager=t.createNonceManager=t.parseGwei=t.parseEther=t.parseUnits=t.formatUnits=t.formatGwei=t.formatEther=t.serializeAccessList=t.serializeTransaction=t.parseTransaction=t.assertTransactionLegacy=t.assertTransactionEIP2930=t.assertTransactionEIP1559=t.assertRequest=t.getTransactionType=t.getSerializedTransactionType=t.serializeErc6492Signature=t.isErc6492Signature=t.parseErc6492Signature=t.hashMessage=t.verifyTypedData=t.verifyMessage=t.verifyHash=t.recoverTypedDataAddress=t.recoverPublicKey=t.recoverMessageAddress=t.recoverAddress=t.hashTypedData=t.ripemd160=t.sha256=t.keccak256=t.isHash=t.toFunctionHash=t.toEventHash=t.getFunctionSignature=t.toFunctionSignature=t.getEventSignature=t.toEventSignature=t.getFunctionSelector=t.toFunctionSelector=t.getEventSelector=t.toEventSelector=t.defineFormatter=t.getAction=t.getTransactionError=t.getEstimateGasError=t.getContractError=void 0;var n=r(25e3);Object.defineProperty(t,"buildRequest",{enumerable:!0,get:function(){return n.buildRequest}});var o=r(45678);Object.defineProperty(t,"ccipRequest",{enumerable:!0,get:function(){return o.ccipRequest}}),Object.defineProperty(t,"ccipFetch",{enumerable:!0,get:function(){return o.ccipRequest}}),Object.defineProperty(t,"offchainLookup",{enumerable:!0,get:function(){return o.offchainLookup}}),Object.defineProperty(t,"offchainLookupAbiItem",{enumerable:!0,get:function(){return o.offchainLookupAbiItem}}),Object.defineProperty(t,"offchainLookupSignature",{enumerable:!0,get:function(){return o.offchainLookupSignature}});var a=r(62779);Object.defineProperty(t,"assertCurrentChain",{enumerable:!0,get:function(){return a.assertCurrentChain}});var i=r(95731);Object.defineProperty(t,"defineChain",{enumerable:!0,get:function(){return i.defineChain}});var s=r(42057);Object.defineProperty(t,"extractChain",{enumerable:!0,get:function(){return s.extractChain}});var c=r(93454);Object.defineProperty(t,"getChainContractAddress",{enumerable:!0,get:function(){return c.getChainContractAddress}});var u=r(32162);Object.defineProperty(t,"arrayRegex",{enumerable:!0,get:function(){return u.arrayRegex}}),Object.defineProperty(t,"bytesRegex",{enumerable:!0,get:function(){return u.bytesRegex}}),Object.defineProperty(t,"integerRegex",{enumerable:!0,get:function(){return u.integerRegex}});var l=r(16311);Object.defineProperty(t,"getSocket",{enumerable:!0,get:function(){return l.getSocket}}),Object.defineProperty(t,"rpc",{enumerable:!0,get:function(){return l.rpc}});var d=r(14017);Object.defineProperty(t,"getHttpRpcClient",{enumerable:!0,get:function(){return d.getHttpRpcClient}});var p=r(16228);Object.defineProperty(t,"getSocketRpcClient",{enumerable:!0,get:function(){return p.getSocketRpcClient}}),Object.defineProperty(t,"socketClientCache",{enumerable:!0,get:function(){return p.socketClientCache}});var f=r(41370);Object.defineProperty(t,"getWebSocketRpcClient",{enumerable:!0,get:function(){return f.getWebSocketRpcClient}});var m=r(44900);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return m.stringify}});var b=r(78377);Object.defineProperty(t,"serializeTypedData",{enumerable:!0,get:function(){return b.serializeTypedData}}),Object.defineProperty(t,"validateTypedData",{enumerable:!0,get:function(){return b.validateTypedData}});var h=r(54612);Object.defineProperty(t,"decodeAbiParameters",{enumerable:!0,get:function(){return h.decodeAbiParameters}});var y=r(68181);Object.defineProperty(t,"decodeErrorResult",{enumerable:!0,get:function(){return y.decodeErrorResult}});var g=r(18182);Object.defineProperty(t,"decodeEventLog",{enumerable:!0,get:function(){return g.decodeEventLog}});var v=r(93064);Object.defineProperty(t,"decodeFunctionData",{enumerable:!0,get:function(){return v.decodeFunctionData}});var x=r(17541);Object.defineProperty(t,"decodeFunctionResult",{enumerable:!0,get:function(){return x.decodeFunctionResult}});var E=r(82732);Object.defineProperty(t,"encodeAbiParameters",{enumerable:!0,get:function(){return E.encodeAbiParameters}});var w=r(4687);Object.defineProperty(t,"encodeDeployData",{enumerable:!0,get:function(){return w.encodeDeployData}});var P=r(7757);Object.defineProperty(t,"encodeErrorResult",{enumerable:!0,get:function(){return P.encodeErrorResult}});var T=r(378);Object.defineProperty(t,"encodeEventTopics",{enumerable:!0,get:function(){return T.encodeEventTopics}});var k=r(76144);Object.defineProperty(t,"encodeFunctionData",{enumerable:!0,get:function(){return k.encodeFunctionData}});var O=r(24829);Object.defineProperty(t,"encodeFunctionResult",{enumerable:!0,get:function(){return O.encodeFunctionResult}});var C=r(48);Object.defineProperty(t,"parseEventLogs",{enumerable:!0,get:function(){return C.parseEventLogs}});var j=r(60775);Object.defineProperty(t,"getAbiItem",{enumerable:!0,get:function(){return j.getAbiItem}});var _=r(76524);Object.defineProperty(t,"parseAbi",{enumerable:!0,get:function(){return _.parseAbi}}),Object.defineProperty(t,"parseAbiItem",{enumerable:!0,get:function(){return _.parseAbiItem}}),Object.defineProperty(t,"parseAbiParameter",{enumerable:!0,get:function(){return _.parseAbiParameter}}),Object.defineProperty(t,"parseAbiParameters",{enumerable:!0,get:function(){return _.parseAbiParameters}});var A=r(75020);Object.defineProperty(t,"encodePacked",{enumerable:!0,get:function(){return A.encodePacked}});var S=r(80449);Object.defineProperty(t,"formatAbiItemWithArgs",{enumerable:!0,get:function(){return S.formatAbiItemWithArgs}});var B=r(54520);Object.defineProperty(t,"formatAbiItem",{enumerable:!0,get:function(){return B.formatAbiItem}}),Object.defineProperty(t,"formatAbiParams",{enumerable:!0,get:function(){return B.formatAbiParams}});var I=r(39006);Object.defineProperty(t,"parseAccount",{enumerable:!0,get:function(){return I.parseAccount}});var M=r(17911);Object.defineProperty(t,"publicKeyToAddress",{enumerable:!0,get:function(){return M.publicKeyToAddress}});var F=r(18666);Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return F.getContractAddress}}),Object.defineProperty(t,"getCreateAddress",{enumerable:!0,get:function(){return F.getCreateAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return F.getCreate2Address}});var R=r(78728);Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return R.getAddress}});var U=r(89742);Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return U.isAddress}});var N=r(64324);Object.defineProperty(t,"isAddressEqual",{enumerable:!0,get:function(){return N.isAddressEqual}});var H=r(16776);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return H.concat}}),Object.defineProperty(t,"concatBytes",{enumerable:!0,get:function(){return H.concatBytes}}),Object.defineProperty(t,"concatHex",{enumerable:!0,get:function(){return H.concatHex}});var z=r(97085);Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return z.isBytes}});var D=r(36015);Object.defineProperty(t,"isHex",{enumerable:!0,get:function(){return D.isHex}});var L=r(68987);Object.defineProperty(t,"pad",{enumerable:!0,get:function(){return L.pad}}),Object.defineProperty(t,"padBytes",{enumerable:!0,get:function(){return L.padBytes}}),Object.defineProperty(t,"padHex",{enumerable:!0,get:function(){return L.padHex}});var $=r(12285);Object.defineProperty(t,"size",{enumerable:!0,get:function(){return $.size}});var q=r(77688);Object.defineProperty(t,"slice",{enumerable:!0,get:function(){return q.slice}}),Object.defineProperty(t,"sliceBytes",{enumerable:!0,get:function(){return q.sliceBytes}}),Object.defineProperty(t,"sliceHex",{enumerable:!0,get:function(){return q.sliceHex}});var G=r(7488);Object.defineProperty(t,"trim",{enumerable:!0,get:function(){return G.trim}});var V=r(78900);Object.defineProperty(t,"defineBlock",{enumerable:!0,get:function(){return V.defineBlock}}),Object.defineProperty(t,"formatBlock",{enumerable:!0,get:function(){return V.formatBlock}});var K=r(49473);Object.defineProperty(t,"defineTransaction",{enumerable:!0,get:function(){return K.defineTransaction}}),Object.defineProperty(t,"formatTransaction",{enumerable:!0,get:function(){return K.formatTransaction}}),Object.defineProperty(t,"transactionType",{enumerable:!0,get:function(){return K.transactionType}});var W=r(10095);Object.defineProperty(t,"formatLog",{enumerable:!0,get:function(){return W.formatLog}});var Z=r(54537);Object.defineProperty(t,"defineTransactionReceipt",{enumerable:!0,get:function(){return Z.defineTransactionReceipt}});var X=r(44712);Object.defineProperty(t,"defineTransactionRequest",{enumerable:!0,get:function(){return X.defineTransactionRequest}}),Object.defineProperty(t,"formatTransactionRequest",{enumerable:!0,get:function(){return X.formatTransactionRequest}});var Y=r(10796);Object.defineProperty(t,"extract",{enumerable:!0,get:function(){return Y.extract}});var J=r(97926);Object.defineProperty(t,"toRlp",{enumerable:!0,get:function(){return J.toRlp}});var Q=r(27655);Object.defineProperty(t,"boolToBytes",{enumerable:!0,get:function(){return Q.boolToBytes}}),Object.defineProperty(t,"toBytes",{enumerable:!0,get:function(){return Q.toBytes}}),Object.defineProperty(t,"hexToBytes",{enumerable:!0,get:function(){return Q.hexToBytes}}),Object.defineProperty(t,"numberToBytes",{enumerable:!0,get:function(){return Q.numberToBytes}}),Object.defineProperty(t,"stringToBytes",{enumerable:!0,get:function(){return Q.stringToBytes}});var ee=r(90985);Object.defineProperty(t,"boolToHex",{enumerable:!0,get:function(){return ee.boolToHex}}),Object.defineProperty(t,"bytesToHex",{enumerable:!0,get:function(){return ee.bytesToHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return ee.toHex}}),Object.defineProperty(t,"numberToHex",{enumerable:!0,get:function(){return ee.numberToHex}}),Object.defineProperty(t,"stringToHex",{enumerable:!0,get:function(){return ee.stringToHex}});var te=r(4592);Object.defineProperty(t,"bytesToBigInt",{enumerable:!0,get:function(){return te.bytesToBigInt}}),Object.defineProperty(t,"bytesToBigint",{enumerable:!0,get:function(){return te.bytesToBigInt}}),Object.defineProperty(t,"bytesToBool",{enumerable:!0,get:function(){return te.bytesToBool}}),Object.defineProperty(t,"bytesToNumber",{enumerable:!0,get:function(){return te.bytesToNumber}}),Object.defineProperty(t,"bytesToString",{enumerable:!0,get:function(){return te.bytesToString}}),Object.defineProperty(t,"fromBytes",{enumerable:!0,get:function(){return te.fromBytes}});var re=r(70294);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return re.fromHex}}),Object.defineProperty(t,"hexToBool",{enumerable:!0,get:function(){return re.hexToBool}}),Object.defineProperty(t,"hexToBigInt",{enumerable:!0,get:function(){return re.hexToBigInt}}),Object.defineProperty(t,"hexToNumber",{enumerable:!0,get:function(){return re.hexToNumber}}),Object.defineProperty(t,"hexToString",{enumerable:!0,get:function(){return re.hexToString}});var ne=r(57349);Object.defineProperty(t,"fromRlp",{enumerable:!0,get:function(){return ne.fromRlp}});var oe=r(26339);Object.defineProperty(t,"containsNodeError",{enumerable:!0,get:function(){return oe.containsNodeError}}),Object.defineProperty(t,"getNodeError",{enumerable:!0,get:function(){return oe.getNodeError}});var ae=r(71403);Object.defineProperty(t,"getCallError",{enumerable:!0,get:function(){return ae.getCallError}});var ie=r(56173);Object.defineProperty(t,"getContractError",{enumerable:!0,get:function(){return ie.getContractError}});var se=r(93642);Object.defineProperty(t,"getEstimateGasError",{enumerable:!0,get:function(){return se.getEstimateGasError}});var ce=r(42403);Object.defineProperty(t,"getTransactionError",{enumerable:!0,get:function(){return ce.getTransactionError}});var ue=r(6207);Object.defineProperty(t,"getAction",{enumerable:!0,get:function(){return ue.getAction}});var le=r(51547);Object.defineProperty(t,"defineFormatter",{enumerable:!0,get:function(){return le.defineFormatter}});var de=r(7144);Object.defineProperty(t,"toEventSelector",{enumerable:!0,get:function(){return de.toEventSelector}}),Object.defineProperty(t,"getEventSelector",{enumerable:!0,get:function(){return de.toEventSelector}});var pe=r(21456);Object.defineProperty(t,"toFunctionSelector",{enumerable:!0,get:function(){return pe.toFunctionSelector}}),Object.defineProperty(t,"getFunctionSelector",{enumerable:!0,get:function(){return pe.toFunctionSelector}});var fe=r(23467);Object.defineProperty(t,"toEventSignature",{enumerable:!0,get:function(){return fe.toEventSignature}}),Object.defineProperty(t,"getEventSignature",{enumerable:!0,get:function(){return fe.toEventSignature}});var me=r(8611);Object.defineProperty(t,"toFunctionSignature",{enumerable:!0,get:function(){return me.toFunctionSignature}}),Object.defineProperty(t,"getFunctionSignature",{enumerable:!0,get:function(){return me.toFunctionSignature}});var be=r(60325);Object.defineProperty(t,"toEventHash",{enumerable:!0,get:function(){return be.toEventHash}});var he=r(92461);Object.defineProperty(t,"toFunctionHash",{enumerable:!0,get:function(){return he.toFunctionHash}});var ye=r(84624);Object.defineProperty(t,"isHash",{enumerable:!0,get:function(){return ye.isHash}});var ge=r(23625);Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return ge.keccak256}});var ve=r(77415);Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return ve.sha256}});var xe=r(52830);Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return xe.ripemd160}});var Ee=r(59984);Object.defineProperty(t,"hashTypedData",{enumerable:!0,get:function(){return Ee.hashTypedData}});var we=r(22374);Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return we.recoverAddress}});var Pe=r(50593);Object.defineProperty(t,"recoverMessageAddress",{enumerable:!0,get:function(){return Pe.recoverMessageAddress}});var Te=r(53874);Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return Te.recoverPublicKey}});var ke=r(57948);Object.defineProperty(t,"recoverTypedDataAddress",{enumerable:!0,get:function(){return ke.recoverTypedDataAddress}});var Oe=r(55599);Object.defineProperty(t,"verifyHash",{enumerable:!0,get:function(){return Oe.verifyHash}});var Ce=r(98428);Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return Ce.verifyMessage}});var je=r(94803);Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return je.verifyTypedData}});var _e=r(92955);Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return _e.hashMessage}});var Ae=r(60102);Object.defineProperty(t,"parseErc6492Signature",{enumerable:!0,get:function(){return Ae.parseErc6492Signature}});var Se=r(2803);Object.defineProperty(t,"isErc6492Signature",{enumerable:!0,get:function(){return Se.isErc6492Signature}});var Be=r(42599);Object.defineProperty(t,"serializeErc6492Signature",{enumerable:!0,get:function(){return Be.serializeErc6492Signature}});var Ie=r(88465);Object.defineProperty(t,"getSerializedTransactionType",{enumerable:!0,get:function(){return Ie.getSerializedTransactionType}});var Me=r(99788);Object.defineProperty(t,"getTransactionType",{enumerable:!0,get:function(){return Me.getTransactionType}});var Fe=r(54969);Object.defineProperty(t,"assertRequest",{enumerable:!0,get:function(){return Fe.assertRequest}});var Re=r(67964);Object.defineProperty(t,"assertTransactionEIP1559",{enumerable:!0,get:function(){return Re.assertTransactionEIP1559}}),Object.defineProperty(t,"assertTransactionEIP2930",{enumerable:!0,get:function(){return Re.assertTransactionEIP2930}}),Object.defineProperty(t,"assertTransactionLegacy",{enumerable:!0,get:function(){return Re.assertTransactionLegacy}});var Ue=r(48057);Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return Ue.parseTransaction}});var Ne=r(95886);Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return Ne.serializeTransaction}});var He=r(71270);Object.defineProperty(t,"serializeAccessList",{enumerable:!0,get:function(){return He.serializeAccessList}});var ze=r(86117);Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return ze.formatEther}});var De=r(55277);Object.defineProperty(t,"formatGwei",{enumerable:!0,get:function(){return De.formatGwei}});var Le=r(41902);Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return Le.formatUnits}});var $e=r(84800);Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return $e.parseUnits}});var qe=r(82819);Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return qe.parseEther}});var Ge=r(87723);Object.defineProperty(t,"parseGwei",{enumerable:!0,get:function(){return Ge.parseGwei}});var Ve=r(91519);Object.defineProperty(t,"createNonceManager",{enumerable:!0,get:function(){return Ve.createNonceManager}}),Object.defineProperty(t,"nonceManager",{enumerable:!0,get:function(){return Ve.nonceManager}})},32843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineKzg=function({blobToKzgCommitment:e,computeBlobKzgProof:t}){return{blobToKzgCommitment:e,computeBlobKzgProof:t}}},88287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupKzg=function(e,t){try{e.loadTrustedSetup(t)}catch(e){const t=e;if(!t.message.includes("trusted setup is already loaded"))throw t}return(0,n.defineKzg)(e)};const n=r(32843)},77848:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LruMap=void 0;class r extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}set(e,t){return super.set(e,t),this.maxSize&&this.size>this.maxSize&&this.delete(this.keys().next().value),this}}t.LruMap=r},91519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonceManager=void 0,t.createNonceManager=a,t.jsonRpc=i;const n=r(51998),o=r(77848);function a(e){const{source:t}=e,r=new Map,n=new o.LruMap(8192),a=new Map,i=({address:e,chainId:t})=>`${e}.${t}`;return{async consume({address:e,chainId:r,client:o}){const a=i({address:e,chainId:r}),s=this.get({address:e,chainId:r,client:o});this.increment({address:e,chainId:r});const c=await s;return await t.set({address:e,chainId:r},c),n.set(a,c),c},async increment({address:e,chainId:t}){const n=i({address:e,chainId:t}),o=r.get(n)??0;r.set(n,o+1)},async get({address:e,chainId:o,client:s}){const c=i({address:e,chainId:o});let u=a.get(c);return u||(u=(async()=>{try{const r=await t.get({address:e,chainId:o,client:s}),a=n.get(c)??0;return a>0&&r<=a?a+1:(n.delete(c),r)}finally{this.reset({address:e,chainId:o})}})(),a.set(c,u)),(r.get(c)??0)+await u},reset({address:e,chainId:t}){const n=i({address:e,chainId:t});r.delete(n),a.delete(n)}}}function i(){return{async get(e){const{address:t,client:r}=e;return(0,n.getTransactionCount)(r,{address:t,blockTag:"pending"})},set(){}}}t.nonceManager=a({source:i()})},72093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cleanupCache=t.listenersCache=void 0,t.observe=function(e,n,o){const a=++r,i=()=>t.listenersCache.get(e)||[],s=()=>{const r=t.cleanupCache.get(e);1===i().length&&r&&r(),(()=>{const r=i();t.listenersCache.set(e,r.filter((e=>e.id!==a)))})()},c=i();if(t.listenersCache.set(e,[...c,{id:a,fns:n}]),c&&c.length>0)return s;const u={};for(const e in n)u[e]=(...t)=>{const r=i();if(0!==r.length)for(const n of r)n.fns[e]?.(...t)};const l=o(u);return"function"==typeof l&&t.cleanupCache.set(e,l),s},t.listenersCache=new Map,t.cleanupCache=new Map;let r=0},53940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poll=function(e,{emitOnBegin:t,initialWaitTime:r,interval:o}){let a=!0;const i=()=>a=!1;return(async()=>{let s;t&&(s=await e({unpoll:i}));const c=await(r?.(s))??o;await(0,n.wait)(c);const u=async()=>{a&&(await e({unpoll:i}),await(0,n.wait)(o),u())};u()})(),i};const n=r(48664)},85290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBatchScheduler=function({fn:e,id:t,shouldSplitBatch:n,wait:o=0,sort:a}){const i=async()=>{const t=c();s();const 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{for(let r=0;rr.delete(t),c=()=>r.get(t)||[],u=e=>r.set(t,[...c(),e]);return{flush:s,async schedule(e){const t={},r=new Promise(((e,r)=>{t.resolve=e,t.reject=r})),a=n?.([...c().map((({args:e})=>e)),e]);return a&&i(),c().length>0?(u({args:e,pendingPromise:t}),r):(u({args:e,pendingPromise:t}),setTimeout(i,o),r)}}};const r=new Map},31861:(e,t)=>{"use strict";function r(e){const r=(e,t)=>({clear:()=>t.delete(e),get:()=>t.get(e),set:r=>t.set(e,r)}),n=r(e,t.promiseCache),o=r(e,t.responseCache);return{clear:()=>{n.clear(),o.clear()},promise:n,response:o}}Object.defineProperty(t,"__esModule",{value:!0}),t.responseCache=t.promiseCache=void 0,t.getCache=r,t.withCache=async function(e,{cacheKey:t,cacheTime:n=Number.POSITIVE_INFINITY}){const o=r(t),a=o.response.get();if(a&&n>0&&(new Date).getTime()-a.created.getTime(){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promiseCache=void 0,t.withDedupe=function(e,{enabled:r=!0,id:n}){if(!r||!n)return e();if(t.promiseCache.get(n))return t.promiseCache.get(n);const o=e().finally((()=>t.promiseCache.delete(n)));return t.promiseCache.set(n,o),o};const n=r(77848);t.promiseCache=new n.LruMap(8192)},71525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withRetry=function(e,{delay:t=100,retryCount:r=2,shouldRetry:o=()=>!0}={}){return new Promise(((a,i)=>{const s=async({count:c=0}={})=>{try{const t=await e();a(t)}catch(e){if(c{const r="function"==typeof t?t({count:c,error:e}):t;r&&await(0,n.wait)(r),s({count:c+1})})({error:e});i(e)}};s()}))};const n=r(48664)},71208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTimeout=function(e,{errorInstance:t=new Error("timed out"),timeout:r,signal:n}){return new Promise(((o,a)=>{(async()=>{let i;try{const s=new AbortController;r>0&&(i=setTimeout((()=>{n?s.abort():a(t)}),r)),o(await e({signal:s?.signal||null}))}catch(e){"AbortError"===e?.name&&a(t),a(e)}finally{clearTimeout(i)}})()}))}},32162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.integerRegex=t.bytesRegex=t.arrayRegex=void 0,t.arrayRegex=/^(.*)\[([0-9]*)\]$/,t.bytesRegex=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,t.integerRegex=/^(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)?$/},16311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rpc=void 0,t.getSocket=async function(e){const t=await(0,o.getWebSocketRpcClient)(e);return Object.assign(t.socket,{requests:t.requests,subscriptions:t.subscriptions})};const n=r(14017),o=r(41370);t.rpc={http:(e,t)=>(0,n.getHttpRpcClient)(e).request(t),webSocket:function(e,{body:t,onError:r,onResponse:n}){return e.request({body:t,onError:r,onResponse:n}),e},webSocketAsync:async function(e,{body:t,timeout:r=1e4}){return e.requestAsync({body:t,timeout:r})}}},14017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHttpRpcClient=function(e,t={}){return{async request(r){const{body:s,onRequest:c=t.onRequest,onResponse:u=t.onResponse,timeout:l=t.timeout??1e4}=r,d={...t.fetchOptions??{},...r.fetchOptions??{}},{headers:p,method:f,signal:m}=d;try{const t=await(0,o.withTimeout)((async({signal:t})=>{const r={...d,body:Array.isArray(s)?(0,a.stringify)(s.map((e=>({jsonrpc:"2.0",id:e.id??i.idCache.take(),...e})))):(0,a.stringify)({jsonrpc:"2.0",id:s.id??i.idCache.take(),...s}),headers:{"Content-Type":"application/json",...p},method:f||"POST",signal:m||(l>0?t:null)},n=new Request(e,r);return c&&await c(n),await fetch(e,r)}),{errorInstance:new n.TimeoutError({body:s,url:e}),timeout:l,signal:!0});let r;if(u&&await u(t),t.headers.get("Content-Type")?.startsWith("application/json")?r=await t.json():(r=await t.text(),r=JSON.parse(r||"{}")),!t.ok)throw new n.HttpRequestError({body:s,details:(0,a.stringify)(r.error)||t.statusText,headers:t.headers,status:t.status,url:e});return r}catch(t){if(t instanceof n.HttpRequestError)throw t;if(t instanceof n.TimeoutError)throw t;throw new n.HttpRequestError({body:s,cause:t,url:e})}}}};const n=r(82202),o=r(71208),a=r(44900),i=r(77440)},77440:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idCache=void 0,t.idCache={current:0,take(){return this.current++},reset(){this.current=0}}},16228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.socketClientCache=void 0,t.getSocketRpcClient=async function(e){const{getSocket:r,keepAlive:s=!0,key:c="socket",reconnect:u=!0,url:l}=e,{interval:d=3e4}="object"==typeof s?s:{},{attempts:p=5,delay:f=2e3}="object"==typeof u?u:{};let m=t.socketClientCache.get(`${c}:${l}`);if(m)return m;let b=0;const{schedule:h}=(0,o.createBatchScheduler)({id:`${c}:${l}`,fn:async()=>{const e=new Map,o=new Map;let h,y,g;return await async function t(){const a=await r({onClose(){for(const t of e.values())t.onError?.(new n.SocketClosedError({url:l}));for(const e of o.values())e.onError?.(new n.SocketClosedError({url:l}));e.clear(),o.clear(),u&&b{b++,await t().catch(console.error)}),f)},onError(r){h=r;for(const t of e.values())t.onError?.(h);for(const e of o.values())e.onError?.(h);e.clear(),o.clear(),u&&b{b++,await t().catch(console.error)}),f)},onOpen(){h=void 0,b=0},onResponse(t){const r="eth_subscription"===t.method,n=r?t.params.subscription:t.id,a=r?o:e,i=a.get(n);i&&i.onResponse(t),r||a.delete(n)}});return y=a,s&&(g&&clearInterval(g),g=setInterval((()=>y.ping?.()),d)),a}(),h=void 0,m={close(){g&&clearInterval(g),y.close(),t.socketClientCache.delete(`${c}:${l}`)},get socket(){return y},request({body:t,onError:r,onResponse:n}){h&&r&&r(h);const a=t.id??i.idCache.take(),s=e=>{"number"==typeof e.id&&a!==e.id||("eth_subscribe"===t.method&&"string"==typeof e.result&&o.set(e.result,{onResponse:s,onError:r}),"eth_unsubscribe"===t.method&&o.delete(t.params?.[0]),n(e))};e.set(a,{onResponse:s,onError:r});try{y.request({body:{jsonrpc:"2.0",id:a,...t}})}catch(e){r?.(e)}},requestAsync({body:e,timeout:t=1e4}){return(0,a.withTimeout)((()=>new Promise(((t,r)=>this.request({body:e,onError:r,onResponse:t})))),{errorInstance:new n.TimeoutError({body:e,url:l}),timeout:t})},requests:e,subscriptions:o,url:l},t.socketClientCache.set(`${c}:${l}`,m),[m]}}),[y,[g]]=await h();return g};const n=r(82202),o=r(85290),a=r(71208),i=r(77440);t.socketClientCache=new Map},41370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWebSocketRpcClient=async function(e,t={}){const{keepAlive:a,reconnect:i}=t;return(0,o.getSocketRpcClient)({async getSocket({onClose:t,onError:o,onOpen:a,onResponse:i}){const s=await Promise.resolve().then((()=>r(58626))).then((e=>e.WebSocket)),c=new s(e);function u({data:e}){i(JSON.parse(e))}c.addEventListener("close",(function e(){t(),c.removeEventListener("close",e),c.removeEventListener("message",u),c.removeEventListener("error",o),c.removeEventListener("open",a)})),c.addEventListener("message",u),c.addEventListener("error",o),c.addEventListener("open",a),c.readyState===s.CONNECTING&&await new Promise(((e,t)=>{c&&(c.onopen=e,c.onerror=t)}));const{close:l}=c;return Object.assign(c,{close(){l.bind(c)(),t()},ping(){try{if(c.readyState===c.CLOSED||c.readyState===c.CLOSING)throw new n.WebSocketRequestError({url:c.url,cause:new n.SocketClosedError({url:c.url})});c.send("net_version")}catch(e){o(e)}},request({body:e}){if(c.readyState===c.CLOSED||c.readyState===c.CLOSING)throw new n.WebSocketRequestError({body:e,url:c.url,cause:new n.SocketClosedError({url:c.url})});return c.send(JSON.stringify(e))}})},keepAlive:a,reconnect:i,url:e})};const n=r(82202),o=r(16228)},5970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compactSignatureToSignature=function({r:e,yParityAndS:t}){const r=(0,n.hexToBytes)(t),a=128&r[0]?1:0,i=r;return 1===a&&(i[0]&=127),{r:e,s:(0,o.bytesToHex)(i),yParity:a}};const n=r(27655),o=r(90985)},92955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashMessage=function(e,t){return(0,n.keccak256)((0,o.toPrefixedMessage)(e),t)};const n=r(23625),o=r(27707)},59984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashTypedData=function(e){const{domain:t={},message:r,primaryType:n}=e,a={EIP712Domain:(0,s.getTypesForEIP712Domain)({domain:t}),...e.types};(0,s.validateTypedData)({domain:t,message:r,primaryType:n,types:a});const l=["0x1901"];return t&&l.push(c({domain:t,types:a})),"EIP712Domain"!==n&&l.push(u({data:r,primaryType:n,types:a})),(0,i.keccak256)((0,o.concat)(l))},t.hashDomain=c,t.hashStruct=u,t.encodeType=p;const n=r(82732),o=r(16776),a=r(90985),i=r(23625),s=r(78377);function c({domain:e,types:t}){return u({data:e,primaryType:"EIP712Domain",types:t})}function u({data:e,primaryType:t,types:r}){const n=l({data:e,primaryType:t,types:r});return(0,i.keccak256)(n)}function l({data:e,primaryType:t,types:r}){const o=[{type:"bytes32"}],a=[d({primaryType:t,types:r})];for(const n of r[t]){const[t,i]=m({types:r,name:n.name,type:n.type,value:e[n.name]});o.push(t),a.push(i)}return(0,n.encodeAbiParameters)(o,a)}function d({primaryType:e,types:t}){const r=(0,a.toHex)(p({primaryType:e,types:t}));return(0,i.keccak256)(r)}function p({primaryType:e,types:t}){let r="";const n=f({primaryType:e,types:t});n.delete(e);const o=[e,...Array.from(n).sort()];for(const e of o)r+=`${e}(${t[e].map((({name:e,type:t})=>`${t} ${e}`)).join(",")})`;return r}function f({primaryType:e,types:t},r=new Set){const n=e.match(/^\w*/u),o=n?.[0];if(r.has(o)||void 0===t[o])return r;r.add(o);for(const e of t[o])f({primaryType:e.type,types:t},r);return r}function m({types:e,name:t,type:r,value:o}){if(void 0!==e[r])return[{type:"bytes32"},(0,i.keccak256)(l({data:o,primaryType:r,types:e}))];if("bytes"===r)return o="0x"+((o.length%2?"0":"")+o.slice(2)),[{type:"bytes32"},(0,i.keccak256)(o)];if("string"===r)return[{type:"bytes32"},(0,i.keccak256)((0,a.toHex)(o))];if(r.lastIndexOf("]")===r.length-1){const a=r.slice(0,r.lastIndexOf("[")),s=o.map((r=>m({name:t,type:a,types:e,value:r})));return[{type:"bytes32"},(0,i.keccak256)((0,n.encodeAbiParameters)(s.map((([e])=>e)),s.map((([,e])=>e))))]}return[{type:r},o]}},2803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isErc6492Signature=function(e){return(0,o.sliceHex)(e,-32)===n.erc6492MagicBytes};const n=r(79494),o=r(77688)},62534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCompactSignature=function(e){const{r:t,s:r}=n.secp256k1.Signature.fromCompact(e.slice(2,130));return{r:(0,o.numberToHex)(t,{size:32}),yParityAndS:(0,o.numberToHex)(r,{size:32})}};const n=r(8510),o=r(90985)},60102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseErc6492Signature=function(e){if(!(0,o.isErc6492Signature)(e))return{signature:e};const[t,r,a]=(0,n.decodeAbiParameters)([{type:"address"},{type:"bytes"},{type:"bytes"}],e);return{address:t,data:r,signature:a}};const n=r(54612),o=r(2803)},72325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseSignature=function(e){const{r:t,s:r}=n.secp256k1.Signature.fromCompact(e.slice(2,130)),a=Number(`0x${e.slice(130)}`),[i,s]=(()=>{if(0===a||1===a)return[void 0,a];if(27===a)return[BigInt(a),0];if(28===a)return[BigInt(a),1];throw new Error("Invalid yParityOrV value")})();return void 0!==i?{r:(0,o.numberToHex)(t,{size:32}),s:(0,o.numberToHex)(r,{size:32}),v:i,yParity:s}:{r:(0,o.numberToHex)(t,{size:32}),s:(0,o.numberToHex)(r,{size:32}),yParity:s}};const n=r(8510),o=r(90985)},22374:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.recoverAddress=async function({hash:e,signature:t}){return(0,n.publicKeyToAddress)(await(0,o.recoverPublicKey)({hash:e,signature:t}))};const n=r(17911),o=r(53874)},50593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.recoverMessageAddress=async function({message:e,signature:t}){return(0,o.recoverAddress)({hash:(0,n.hashMessage)(e),signature:t})};const n=r(92955),o=r(22374)},53874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.recoverPublicKey=async function({hash:e,signature:t}){const s=(0,n.isHex)(e)?e:(0,a.toHex)(e),{secp256k1:c}=await Promise.resolve().then((()=>r(8510)));return`0x${(()=>{if("object"==typeof t&&"r"in t&&"s"in t){const{r:e,s:r,v:n,yParity:a}=t,s=i(Number(a??n));return new c.Signature((0,o.hexToBigInt)(e),(0,o.hexToBigInt)(r)).addRecoveryBit(s)}const e=(0,n.isHex)(t)?t:(0,a.toHex)(t),r=i((0,o.hexToNumber)(`0x${e.slice(130)}`));return c.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(r)})().recoverPublicKey(s.substring(2)).toHex(!1)}`};const n=r(36015),o=r(70294),a=r(90985);function i(e){if(0===e||1===e)return e;if(27===e)return 0;if(28===e)return 1;throw new Error("Invalid yParityOrV value")}},27572:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.recoverTransactionAddress=async function(e){const{serializedTransaction:t,signature:r}=e,s=(0,o.parseTransaction)(t),c=r??{r:s.r,s:s.s,v:s.v,yParity:s.yParity},u=(0,a.serializeTransaction)({...s,r:void 0,s:void 0,v:void 0,yParity:void 0,sidecars:void 0});return await(0,i.recoverAddress)({hash:(0,n.keccak256)(u),signature:c})};const n=r(23625),o=r(48057),a=r(95886),i=r(22374)},57948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.recoverTypedDataAddress=async function(e){const{domain:t,message:r,primaryType:a,signature:i,types:s}=e;return(0,o.recoverAddress)({hash:(0,n.hashTypedData)({domain:t,message:r,primaryType:a,types:s}),signature:i})};const n=r(59984),o=r(22374)},20155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeCompactSignature=function({r:e,yParityAndS:t}){return`0x${new n.secp256k1.Signature((0,o.hexToBigInt)(e),(0,o.hexToBigInt)(t)).toCompactHex()}`};const n=r(8510),o=r(70294)},42599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeErc6492Signature=function(e){const{address:t,data:r,signature:s,to:c="hex"}=e,u=(0,a.concatHex)([(0,o.encodeAbiParameters)([{type:"address"},{type:"bytes"},{type:"bytes"}],[t,r,s]),n.erc6492MagicBytes]);return"hex"===c?u:(0,i.hexToBytes)(u)};const n=r(79494),o=r(82732),a=r(16776),i=r(27655)},81926:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeSignature=function({r:e,s:t,to:r="hex",v:i,yParity:s}){const c=(()=>{if(0===s||1===s)return s;if(i&&(27n===i||28n===i||i>=35n))return i%2n===0n?1:0;throw new Error("Invalid `v` or `yParity` value")})(),u=`0x${new n.secp256k1.Signature((0,o.hexToBigInt)(e),(0,o.hexToBigInt)(t)).toCompactHex()}${0===c?"1b":"1c"}`;return"hex"===r?u:(0,a.hexToBytes)(u)};const n=r(8510),o=r(70294),a=r(27655)},5190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signatureToCompactSignature=function(e){const{r:t,s:r,v:a,yParity:i}=e;let s=r;if(1===Number(i??a-27n)){const e=(0,n.hexToBytes)(r);e[0]|=128,s=(0,o.bytesToHex)(e)}return{r:t,yParityAndS:s}};const n=r(27655),o=r(90985)},27707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toPrefixedMessage=function(e){const t="string"==typeof e?(0,i.stringToHex)(e):"string"==typeof e.raw?e.raw:(0,i.bytesToHex)(e.raw),r=(0,i.stringToHex)(`${n.presignMessagePrefix}${(0,a.size)(t)}`);return(0,o.concat)([r,t])};const n=r(24019),o=r(16776),a=r(12285),i=r(90985)},55599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyHash=async function({address:e,hash:t,signature:r}){return(0,o.isAddressEqual)((0,n.getAddress)(e),await(0,a.recoverAddress)({hash:t,signature:r}))};const n=r(78728),o=r(64324),a=r(22374)},98428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyMessage=async function({address:e,message:t,signature:r}){return(0,o.isAddressEqual)((0,n.getAddress)(e),await(0,a.recoverMessageAddress)({message:t,signature:r}))};const n=r(78728),o=r(64324),a=r(50593)},94803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyTypedData=async function(e){const{address:t,domain:r,message:i,primaryType:s,signature:c,types:u}=e;return(0,o.isAddressEqual)((0,n.getAddress)(t),await(0,a.recoverTypedDataAddress)({domain:r,message:i,primaryType:s,signature:c,types:u}))};const n=r(78728),o=r(64324),a=r(57948)},19694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseSiweMessage=function(e){const{scheme:t,statement:o,...a}=e.match(r)?.groups??{},{chainId:i,expirationTime:s,issuedAt:c,notBefore:u,requestId:l,...d}=e.match(n)?.groups??{},p=e.split("Resources:")[1]?.split("\n- ").slice(1);return{...a,...d,...i?{chainId:Number(i)}:{},...s?{expirationTime:new Date(s)}:{},...c?{issuedAt:new Date(c)}:{},...u?{notBefore:new Date(u)}:{},...l?{requestId:l}:{},...p?{resources:p}:{},...t?{scheme:t}:{},...o?{statement:o}:{}}};const r=/^(?:(?[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?
0x[a-fA-F0-9]{40})\n\n(?:(?.*)\n\n)?/,n=/(?:URI: (?.+))\n(?:Version: (?.+))\n(?:Chain ID: (?\d+))\n(?:Nonce: (?[a-zA-Z0-9]+))\n(?:Issued At: (?.+))(?:\nExpiration Time: (?.+))?(?:\nNot Before: (?.+))?(?:\nRequest ID: (?.+))?/},96491:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSiweMessage=function(e){const{address:t,domain:r,message:o,nonce:a,scheme:i,time:s=new Date}=e;if(r&&o.domain!==r)return!1;if(a&&o.nonce!==a)return!1;if(i&&o.scheme!==i)return!1;if(o.expirationTime&&s>=o.expirationTime)return!1;if(o.notBefore&&s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeStateMapping=c,t.serializeAccountStateOverride=u,t.serializeStateOverride=function(e){if(!e)return;const t={};for(const{address:r,...o}of e){if(!(0,i.isAddress)(r,{strict:!1}))throw new n.InvalidAddressError({address:r});if(t[r])throw new a.AccountStateConflictError({address:r});t[r]=u(o)}return t};const n=r(26311),o=r(75375),a=r(76254),i=r(89742),s=r(90985);function c(e){if(e&&0!==e.length)return e.reduce(((e,{slot:t,value:r})=>{if(66!==t.length)throw new o.InvalidBytesLengthError({size:t.length,targetSize:66,type:"hex"});if(66!==r.length)throw new o.InvalidBytesLengthError({size:r.length,targetSize:66,type:"hex"});return e[t]=r,e}),{})}function u(e){const{balance:t,nonce:r,state:n,stateDiff:o,code:i}=e,u={};if(void 0!==i&&(u.code=i),void 0!==t&&(u.balance=(0,s.numberToHex)(t)),void 0!==r&&(u.nonce=(0,s.numberToHex)(r)),void 0!==n&&(u.state=c(n)),void 0!==o){if(u.state)throw new a.StateAssignmentConflictError;u.stateDiff=c(o)}return u}},44900:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=void 0,t.stringify=(e,t,r)=>JSON.stringify(e,((e,r)=>{const n="bigint"==typeof r?r.toString():r;return"function"==typeof t?t(e,n):n}),r)},54969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertRequest=function(e){const{account:t,gasPrice:r,maxFeePerGas:c,maxPriorityFeePerGas:u,to:l}=e,d=t?(0,n.parseAccount)(t):void 0;if(d&&!(0,s.isAddress)(d.address))throw new o.InvalidAddressError({address:d.address});if(l&&!(0,s.isAddress)(l))throw new o.InvalidAddressError({address:l});if(void 0!==r&&(void 0!==c||void 0!==u))throw new i.FeeConflictError;if(c&&c>2n**256n-1n)throw new a.FeeCapTooHighError({maxFeePerGas:c});if(u&&c&&u>c)throw new a.TipAboveFeeCapError({maxFeePerGas:c,maxPriorityFeePerGas:u})};const n=r(39006),o=r(26311),a=r(62731),i=r(3727),s=r(89742)},67964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertTransactionEIP4844=function(e){const{blobVersionedHashes:t}=e;if(t){if(0===t.length)throw new i.EmptyBlobError;for(const e of t){const t=(0,l.size)(e),r=(0,p.hexToNumber)((0,d.slice)(e,0,1));if(32!==t)throw new i.InvalidVersionedHashSizeError({hash:e,size:t});if(r!==n.versionedHashVersionKzg)throw new i.InvalidVersionedHashVersionError({hash:e,version:r})}}f(e)},t.assertTransactionEIP1559=f,t.assertTransactionEIP2930=function(e){const{chainId:t,maxPriorityFeePerGas:r,gasPrice:n,maxFeePerGas:i,to:l}=e;if(t<=0)throw new s.InvalidChainIdError({chainId:t});if(l&&!(0,u.isAddress)(l))throw new o.InvalidAddressError({address:l});if(r||i)throw new a.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(n&&n>2n**256n-1n)throw new c.FeeCapTooHighError({maxFeePerGas:n})},t.assertTransactionLegacy=function(e){const{chainId:t,maxPriorityFeePerGas:r,gasPrice:n,maxFeePerGas:i,to:l,accessList:d}=e;if(l&&!(0,u.isAddress)(l))throw new o.InvalidAddressError({address:l});if(void 0!==t&&t<=0)throw new s.InvalidChainIdError({chainId:t});if(r||i)throw new a.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(n&&n>2n**256n-1n)throw new c.FeeCapTooHighError({maxFeePerGas:n});if(d)throw new a.BaseError("`accessList` is not a valid Legacy Transaction attribute.")};const n=r(30975),o=r(26311),a=r(6246),i=r(92592),s=r(94698),c=r(62731),u=r(89742),l=r(12285),d=r(77688),p=r(70294);function f(e){const{chainId:t,maxPriorityFeePerGas:r,maxFeePerGas:n,to:a}=e;if(t<=0)throw new s.InvalidChainIdError({chainId:t});if(a&&!(0,u.isAddress)(a))throw new o.InvalidAddressError({address:a});if(n&&n>2n**256n-1n)throw new c.FeeCapTooHighError({maxFeePerGas:n});if(r&&n&&r>n)throw new c.TipAboveFeeCapError({maxFeePerGas:n,maxPriorityFeePerGas:r})}},88465:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSerializedTransactionType=function(e){const t=(0,o.sliceHex)(e,0,1);if("0x03"===t)return"eip4844";if("0x02"===t)return"eip1559";if("0x01"===t)return"eip2930";if("0x"!==t&&(0,a.hexToNumber)(t)>=192)return"legacy";throw new n.InvalidSerializedTransactionTypeError({serializedType:t})};const n=r(3727),o=r(77688),a=r(70294)},99788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransactionType=function(e){if(e.type)return e.type;if(void 0!==e.blobs||void 0!==e.blobVersionedHashes||void 0!==e.maxFeePerBlobGas||void 0!==e.sidecars)return"eip4844";if(void 0!==e.maxFeePerGas||void 0!==e.maxPriorityFeePerGas)return"eip1559";if(void 0!==e.gasPrice)return void 0!==e.accessList?"eip2930":"legacy";throw new n.InvalidSerializableTransactionError({transaction:e})};const n=r(3727)},48057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseTransaction=function(e){const t=(0,m.getSerializedTransactionType)(e);return"eip1559"===t?function(e){const t=b(e),[r,n,a,i,c,u,d,p,m,g,v,x]=t;if(9!==t.length&&12!==t.length)throw new o.InvalidSerializedTransactionError({attributes:{chainId:r,nonce:n,maxPriorityFeePerGas:a,maxFeePerGas:i,gas:c,to:u,value:d,data:p,accessList:m,...t.length>9?{v:g,r:v,s:x}:{}},serializedTransaction:e,type:"eip1559"});const E={chainId:(0,l.hexToNumber)(r),type:"eip1559"};return(0,s.isHex)(u)&&"0x"!==u&&(E.to=u),(0,s.isHex)(c)&&"0x"!==c&&(E.gas=(0,l.hexToBigInt)(c)),(0,s.isHex)(p)&&"0x"!==p&&(E.data=p),(0,s.isHex)(n)&&"0x"!==n&&(E.nonce=(0,l.hexToNumber)(n)),(0,s.isHex)(d)&&"0x"!==d&&(E.value=(0,l.hexToBigInt)(d)),(0,s.isHex)(i)&&"0x"!==i&&(E.maxFeePerGas=(0,l.hexToBigInt)(i)),(0,s.isHex)(a)&&"0x"!==a&&(E.maxPriorityFeePerGas=(0,l.hexToBigInt)(a)),0!==m.length&&"0x"!==m&&(E.accessList=h(m)),(0,f.assertTransactionEIP1559)(E),{...12===t.length?y(t):void 0,...E}}(e):"eip2930"===t?function(e){const t=b(e),[r,n,a,i,c,u,d,p,m,g,v]=t;if(8!==t.length&&11!==t.length)throw new o.InvalidSerializedTransactionError({attributes:{chainId:r,nonce:n,gasPrice:a,gas:i,to:c,value:u,data:d,accessList:p,...t.length>8?{v:m,r:g,s:v}:{}},serializedTransaction:e,type:"eip2930"});const x={chainId:(0,l.hexToNumber)(r),type:"eip2930"};return(0,s.isHex)(c)&&"0x"!==c&&(x.to=c),(0,s.isHex)(i)&&"0x"!==i&&(x.gas=(0,l.hexToBigInt)(i)),(0,s.isHex)(d)&&"0x"!==d&&(x.data=d),(0,s.isHex)(n)&&"0x"!==n&&(x.nonce=(0,l.hexToNumber)(n)),(0,s.isHex)(u)&&"0x"!==u&&(x.value=(0,l.hexToBigInt)(u)),(0,s.isHex)(a)&&"0x"!==a&&(x.gasPrice=(0,l.hexToBigInt)(a)),0!==p.length&&"0x"!==p&&(x.accessList=h(p)),(0,f.assertTransactionEIP2930)(x),{...11===t.length?y(t):void 0,...x}}(e):"eip4844"===t?function(e){const t=b(e),r=4===t.length,n=r?t[0]:t,a=r?t.slice(1):[],[c,u,d,p,m,g,v,x,E,w,P,T,k,O]=n,[C,j,_]=a;if(11!==n.length&&14!==n.length)throw new o.InvalidSerializedTransactionError({attributes:{chainId:c,nonce:u,maxPriorityFeePerGas:d,maxFeePerGas:p,gas:m,to:g,value:v,data:x,accessList:E,...n.length>9?{v:T,r:k,s:O}:{}},serializedTransaction:e,type:"eip4844"});const A={blobVersionedHashes:P,chainId:(0,l.hexToNumber)(c),type:"eip4844"};return(0,s.isHex)(g)&&"0x"!==g&&(A.to=g),(0,s.isHex)(m)&&"0x"!==m&&(A.gas=(0,l.hexToBigInt)(m)),(0,s.isHex)(x)&&"0x"!==x&&(A.data=x),(0,s.isHex)(u)&&"0x"!==u&&(A.nonce=(0,l.hexToNumber)(u)),(0,s.isHex)(v)&&"0x"!==v&&(A.value=(0,l.hexToBigInt)(v)),(0,s.isHex)(w)&&"0x"!==w&&(A.maxFeePerBlobGas=(0,l.hexToBigInt)(w)),(0,s.isHex)(p)&&"0x"!==p&&(A.maxFeePerGas=(0,l.hexToBigInt)(p)),(0,s.isHex)(d)&&"0x"!==d&&(A.maxPriorityFeePerGas=(0,l.hexToBigInt)(d)),0!==E.length&&"0x"!==E&&(A.accessList=h(E)),C&&j&&_&&(A.sidecars=(0,i.toBlobSidecars)({blobs:C,commitments:j,proofs:_})),(0,f.assertTransactionEIP4844)(A),{...14===n.length?y(n):void 0,...A}}(e):function(e){const t=(0,d.fromRlp)(e,"hex"),[r,n,a,i,c,u,p,m,b]=t;if(6!==t.length&&9!==t.length)throw new o.InvalidSerializedTransactionError({attributes:{nonce:r,gasPrice:n,gas:a,to:i,value:c,data:u,...t.length>6?{v:p,r:m,s:b}:{}},serializedTransaction:e,type:"legacy"});const h={type:"legacy"};if((0,s.isHex)(i)&&"0x"!==i&&(h.to=i),(0,s.isHex)(a)&&"0x"!==a&&(h.gas=(0,l.hexToBigInt)(a)),(0,s.isHex)(u)&&"0x"!==u&&(h.data=u),(0,s.isHex)(r)&&"0x"!==r&&(h.nonce=(0,l.hexToNumber)(r)),(0,s.isHex)(c)&&"0x"!==c&&(h.value=(0,l.hexToBigInt)(c)),(0,s.isHex)(n)&&"0x"!==n&&(h.gasPrice=(0,l.hexToBigInt)(n)),(0,f.assertTransactionLegacy)(h),6===t.length)return h;const y=(0,s.isHex)(p)&&"0x"!==p?(0,l.hexToBigInt)(p):0n;if("0x"===b&&"0x"===m)return y>0&&(h.chainId=Number(y)),h;const g=y,v=Number((g-35n)/2n);if(v>0)h.chainId=v;else if(27n!==g&&28n!==g)throw new o.InvalidLegacyVError({v:g});return h.v=g,h.s=b,h.r=m,h.yParity=g%2n===0n?1:0,h}(e)},t.toTransactionArray=b,t.parseAccessList=h;const n=r(26311),o=r(3727),a=r(89742),i=r(33339),s=r(36015),c=r(68987),u=r(7488),l=r(70294),d=r(57349),p=r(84624),f=r(67964),m=r(88465);function b(e){return(0,d.fromRlp)(`0x${e.slice(4)}`,"hex")}function h(e){const t=[];for(let r=0;r(0,p.isHash)(e)?e:(0,u.trim)(e)))})}return t}function y(e){const t=e.slice(-3),r="0x"===t[0]||0n===(0,l.hexToBigInt)(t[0])?27n:28n;return{r:(0,c.padHex)(t[1],{size:32}),s:(0,c.padHex)(t[2],{size:32}),v:r,yParity:27n===r?0:1}}},71270:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeAccessList=function(e){if(!e||0===e.length)return[];const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeTransaction=function(e,t){const r=(0,f.getTransactionType)(e);return"eip1559"===r?function(e,t){const{chainId:r,gas:n,nonce:o,to:a,value:i,maxFeePerGas:s,maxPriorityFeePerGas:u,accessList:f,data:h}=e;(0,p.assertTransactionEIP1559)(e);const y=(0,m.serializeAccessList)(f),g=[(0,l.toHex)(r),o?(0,l.toHex)(o):"0x",u?(0,l.toHex)(u):"0x",s?(0,l.toHex)(s):"0x",n?(0,l.toHex)(n):"0x",a??"0x",i?(0,l.toHex)(i):"0x",h??"0x",y,...b(e,t)];return(0,c.concatHex)(["0x02",(0,d.toRlp)(g)])}(e,t):"eip2930"===r?function(e,t){const{chainId:r,gas:n,data:o,nonce:a,to:i,value:s,accessList:u,gasPrice:f}=e;(0,p.assertTransactionEIP2930)(e);const h=(0,m.serializeAccessList)(u),y=[(0,l.toHex)(r),a?(0,l.toHex)(a):"0x",f?(0,l.toHex)(f):"0x",n?(0,l.toHex)(n):"0x",i??"0x",s?(0,l.toHex)(s):"0x",o??"0x",h,...b(e,t)];return(0,c.concatHex)(["0x01",(0,d.toRlp)(y)])}(e,t):"eip4844"===r?function(e,t){const{chainId:r,gas:n,nonce:u,to:f,value:h,maxFeePerBlobGas:y,maxFeePerGas:g,maxPriorityFeePerGas:v,accessList:x,data:E}=e;(0,p.assertTransactionEIP4844)(e);let w=e.blobVersionedHashes,P=e.sidecars;if(e.blobs&&(void 0===w||void 0===P)){const t="string"==typeof e.blobs[0]?e.blobs:e.blobs.map((e=>(0,l.bytesToHex)(e))),r=e.kzg,n=(0,o.blobsToCommitments)({blobs:t,kzg:r});if(void 0===w&&(w=(0,i.commitmentsToVersionedHashes)({commitments:n})),void 0===P){const e=(0,a.blobsToProofs)({blobs:t,commitments:n,kzg:r});P=(0,s.toBlobSidecars)({blobs:t,commitments:n,proofs:e})}}const T=(0,m.serializeAccessList)(x),k=[(0,l.toHex)(r),u?(0,l.toHex)(u):"0x",v?(0,l.toHex)(v):"0x",g?(0,l.toHex)(g):"0x",n?(0,l.toHex)(n):"0x",f??"0x",h?(0,l.toHex)(h):"0x",E??"0x",T,y?(0,l.toHex)(y):"0x",w??[],...b(e,t)],O=[],C=[],j=[];if(P)for(let e=0;e{if(t.v>=35n)return(t.v-35n)/2n>0?t.v:27n+(35n===t.v?0n:1n);if(r>0)return BigInt(2*r)+BigInt(35n+t.v-27n);const e=27n+(27n===t.v?0n:1n);if(t.v!==e)throw new n.InvalidLegacyVError({v:t.v});return e})(),o=(0,u.trim)(t.r),a=(0,u.trim)(t.s);m=[...m,(0,l.toHex)(e),"0x00"===o?"0x":o,"0x00"===a?"0x":a]}else r>0&&(m=[...m,(0,l.toHex)(r),"0x","0x"]);return(0,d.toRlp)(m)}(e,t)},t.toYParitySignatureArray=b;const n=r(3727),o=r(75956),a=r(63611),i=r(84445),s=r(33339),c=r(16776),u=r(7488),l=r(90985),d=r(97926),p=r(67964),f=r(99788),m=r(71270);function b(e,t){const r=t??e,{v:n,yParity:o}=r;if(void 0===r.r)return[];if(void 0===r.s)return[];if(void 0===n&&void 0===o)return[];const a=(0,u.trim)(r.r),i=(0,u.trim)(r.s);return["number"==typeof o?o?(0,l.toHex)(1):"0x":0n===n?"0x":1n===n?(0,l.toHex)(1):27n===n?"0x":(0,l.toHex)(1),"0x00"===a?"0x":a,"0x00"===i?"0x":i]}},78377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeTypedData=function(e){const{domain:t,message:r,primaryType:n,types:o}=e,a=(e,t)=>{const r={...t};for(const t of e){const{name:e,type:n}=t;"address"===n&&(r[e]=r[e].toLowerCase())}return r},i=o.EIP712Domain&&t?a(o.EIP712Domain,t):{},s=(()=>{if("EIP712Domain"!==n)return a(o[n],r)})();return(0,l.stringify)({domain:i,message:s,primaryType:n,types:o})},t.validateTypedData=function(e){const{domain:t,message:r,primaryType:u,types:l}=e,d=(e,t)=>{for(const r of e){const{name:e,type:u}=r,p=t[e],f=u.match(c.integerRegex);if(f&&("number"==typeof p||"bigint"==typeof p)){const[e,t,r]=f;(0,s.numberToHex)(p,{signed:"int"===t,size:Number.parseInt(r)/8})}if("address"===u&&"string"==typeof p&&!(0,a.isAddress)(p))throw new o.InvalidAddressError({address:p});const m=u.match(c.bytesRegex);if(m){const[e,t]=m;if(t&&(0,i.size)(p)!==Number.parseInt(t))throw new n.BytesSizeMismatchError({expectedSize:Number.parseInt(t),givenSize:(0,i.size)(p)})}const b=l[u];b&&d(b,p)}};l.EIP712Domain&&t&&d(l.EIP712Domain,t),"EIP712Domain"!==u&&d(l[u],r)},t.getTypesForEIP712Domain=d,t.domainSeparator=function({domain:e}){return(0,u.hashDomain)({domain:e,types:{EIP712Domain:d({domain:e})}})};const n=r(66953),o=r(26311),a=r(89742),i=r(12285),s=r(90985),c=r(32162),u=r(59984),l=r(44900);function d({domain:e}){return["string"==typeof e?.name&&{name:"name",type:"string"},e?.version&&{name:"version",type:"string"},"number"==typeof e?.chainId&&{name:"chainId",type:"uint256"},e?.verifyingContract&&{name:"verifyingContract",type:"address"},e?.salt&&{name:"salt",type:"bytes32"}].filter(Boolean)}},11667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uid=function(e=11){if(!n||o+e>2*r){n="",o=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatEther=function(e,t="wei"){return(0,o.formatUnits)(e,n.etherUnits[t])};const n=r(54839),o=r(41902)},55277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatGwei=function(e,t="wei"){return(0,o.formatUnits)(e,n.gweiUnits[t])};const n=r(54839),o=r(41902)},41902:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUnits=function(e,t){let r=e.toString();const n=r.startsWith("-");n&&(r=r.slice(1)),r=r.padStart(t,"0");let[o,a]=[r.slice(0,r.length-t),r.slice(r.length-t)];return a=a.replace(/(0+)$/,""),`${n?"-":""}${o||"0"}${a?`.${a}`:""}`}},82819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseEther=function(e,t="wei"){return(0,o.parseUnits)(e,n.etherUnits[t])};const n=r(54839),o=r(84800)},87723:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseGwei=function(e,t="wei"){return(0,o.parseUnits)(e,n.gweiUnits[t])};const n=r(54839),o=r(84800)},84800:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseUnits=function(e,t){let[r,n="0"]=e.split(".");const o=r.startsWith("-");if(o&&(r=r.slice(1)),n=n.replace(/(0+)$/,""),0===t)1===Math.round(Number(`.${n}`))&&(r=`${BigInt(r)+1n}`),n="";else if(n.length>t){const[e,o,a]=[n.slice(0,t-1),n.slice(t-1,t),n.slice(t)],i=Math.round(Number(`${o}.${a}`));n=i>9?`${BigInt(e)+BigInt(1)}0`.padStart(e.length+1,"0"):`${e}${i}`,n.length>t&&(n=n.slice(1),r=`${BigInt(r)+1n}`),n=n.slice(0,t)}else n=n.padEnd(t,"0");return BigInt(`${o?"-":""}${r}${n}`)}},48664:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=async function(e){return new Promise((t=>setTimeout(t,e)))}},76399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chainConfig=void 0;const n=r(34405),o=r(88569),a=r(63350);t.chainConfig={formatters:n.formatters,serializers:o.serializers,custom:{getEip712Domain:a.getEip712Domain}}},54001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maxBytecodeSize=t.gasPerPubdataDefault=void 0;const n=r(12856);t.gasPerPubdataDefault=50000n,t.maxBytecodeSize=32n*n.maxUint16},65223:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BytecodeLengthMustBeDivisibleBy32Error=t.BytecodeLengthInWordsMustBeOddError=t.BytecodeLengthExceedsMaxSizeError=void 0;const n=r(6246);class o extends n.BaseError{constructor({givenLength:e,maxBytecodeSize:t}){super(`Bytecode cannot be longer than ${t} bytes. Given length: ${e}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytecodeLengthExceedsMaxSizeError"})}}t.BytecodeLengthExceedsMaxSizeError=o;class a extends n.BaseError{constructor({givenLengthInWords:e}){super(`Bytecode length in 32-byte words must be odd. Given length in words: ${e}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytecodeLengthInWordsMustBeOddError"})}}t.BytecodeLengthInWordsMustBeOddError=a;class i extends n.BaseError{constructor({givenLength:e}){super(`The bytecode length in bytes must be divisible by 32. Given length: ${e}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytecodeLengthMustBeDivisibleBy32Error"})}}t.BytecodeLengthMustBeDivisibleBy32Error=i},54254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidEip712TransactionError=void 0;const n=r(6246);class o extends n.BaseError{constructor(){super(["Transaction is not an EIP712 transaction.","","Transaction must:",' - include `type: "eip712"`'," - include one of the following: `customSignature`, `paymaster`, `paymasterInput`, `gasPerPubdata`, `factoryDeps`"].join("\n")),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidEip712TransactionError"})}}t.InvalidEip712TransactionError=o},34405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatters=void 0;const n=r(70294),o=r(27655),a=r(90985),i=r(78900),s=r(10095),c=r(49473),u=r(54537),l=r(44712),d=r(54001);t.formatters={block:(0,i.defineBlock)({format(e){const r=e.transactions?.map((e=>{if("string"==typeof e)return e;const r=t.formatters.transaction?.format(e);return"0x71"===r.typeHex?r.type="eip712":"0xff"===r.typeHex&&(r.type="priority"),r}));return{l1BatchNumber:e.l1BatchNumber?(0,n.hexToBigInt)(e.l1BatchNumber):null,l1BatchTimestamp:e.l1BatchTimestamp?(0,n.hexToBigInt)(e.l1BatchTimestamp):null,transactions:r}}}),transaction:(0,c.defineTransaction)({format(e){const t={};return"0x71"===e.type?t.type="eip712":"0xff"===e.type&&(t.type="priority"),{...t,l1BatchNumber:e.l1BatchNumber?(0,n.hexToBigInt)(e.l1BatchNumber):null,l1BatchTxIndex:e.l1BatchTxIndex?(0,n.hexToBigInt)(e.l1BatchTxIndex):null}}}),transactionReceipt:(0,u.defineTransactionReceipt)({format:e=>({l1BatchNumber:e.l1BatchNumber?(0,n.hexToBigInt)(e.l1BatchNumber):null,l1BatchTxIndex:e.l1BatchTxIndex?(0,n.hexToBigInt)(e.l1BatchTxIndex):null,logs:e.logs.map((e=>({...(0,s.formatLog)(e),l1BatchNumber:e.l1BatchNumber?(0,n.hexToBigInt)(e.l1BatchNumber):null,transactionLogIndex:(0,n.hexToNumber)(e.transactionLogIndex),logType:e.logType}))),l2ToL1Logs:e.l2ToL1Logs.map((e=>({blockNumber:(0,n.hexToBigInt)(e.blockHash),blockHash:e.blockHash,l1BatchNumber:(0,n.hexToBigInt)(e.l1BatchNumber),transactionIndex:(0,n.hexToBigInt)(e.transactionIndex),shardId:(0,n.hexToBigInt)(e.shardId),isService:e.isService,sender:e.sender,key:e.key,value:e.value,transactionHash:e.transactionHash,logIndex:(0,n.hexToBigInt)(e.logIndex)})))})}),transactionRequest:(0,l.defineTransactionRequest)({exclude:["customSignature","factoryDeps","gasPerPubdata","paymaster","paymasterInput"],format:e=>e.gasPerPubdata||e.paymaster&&e.paymasterInput||e.factoryDeps||e.customSignature?{eip712Meta:{...e.gasPerPubdata?{gasPerPubdata:(0,a.toHex)(e.gasPerPubdata)}:{gasPerPubdata:(0,a.toHex)(d.gasPerPubdataDefault)},...e.paymaster&&e.paymasterInput?{paymasterParams:{paymaster:e.paymaster,paymasterInput:Array.from((0,o.hexToBytes)(e.paymasterInput))}}:{},...e.factoryDeps?{factoryDeps:e.factoryDeps.map((e=>Array.from((0,o.hexToBytes)(e))))}:{},...e.customSignature?{customSignature:Array.from((0,o.hexToBytes)(e.customSignature))}:{}},type:"0x71"}:{}})}},88569:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializers=void 0,t.serializeTransaction=l;const n=r(16776),o=r(90985),a=r(97926),i=r(95886),s=r(54001),c=r(70524),u=r(86150);function l(e,t){return(0,u.isEIP712Transaction)(e)?function(e){const{chainId:t,gas:r,nonce:i,to:u,from:l,value:d,maxFeePerGas:p,maxPriorityFeePerGas:f,customSignature:m,factoryDeps:b,paymaster:h,paymasterInput:y,gasPerPubdata:g,data:v}=e;(0,c.assertEip712Transaction)(e);const x=[i?(0,o.toHex)(i):"0x",f?(0,o.toHex)(f):"0x",p?(0,o.toHex)(p):"0x",r?(0,o.toHex)(r):"0x",u??"0x",d?(0,o.toHex)(d):"0x",v??"0x0",(0,o.toHex)(t),(0,o.toHex)(""),(0,o.toHex)(""),(0,o.toHex)(t),l??"0x",g?(0,o.toHex)(g):(0,o.toHex)(s.gasPerPubdataDefault),b??[],m??"0x",h&&y?[h,y]:[]];return(0,n.concatHex)(["0x71",(0,a.toRlp)(x)])}(e):(0,i.serializeTransaction)(e,t)}t.serializers={transaction:l}},70524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertEip712Transaction=function(e){const{chainId:t,to:r,from:u,paymaster:l,paymasterInput:d}=e;if(!(0,c.isEIP712Transaction)(e))throw new s.InvalidEip712TransactionError;if(!t||t<=0)throw new a.InvalidChainIdError({chainId:t});if(r&&!(0,i.isAddress)(r))throw new n.InvalidAddressError({address:r});if(u&&!(0,i.isAddress)(u))throw new n.InvalidAddressError({address:u});if(l&&!(0,i.isAddress)(l))throw new n.InvalidAddressError({address:l});if(l&&!d)throw new o.BaseError("`paymasterInput` must be provided when `paymaster` is defined");if(!l&&d)throw new o.BaseError("`paymaster` must be provided when `paymasterInput` is defined")};const n=r(26311),o=r(6246),a=r(94698),i=r(89742),s=r(54254),c=r(86150)},63350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEip712Domain=void 0;const n=r(90985),o=r(54001),a=r(70524),i=r(28671);t.getEip712Domain=e=>{(0,a.assertEip712Transaction)(e);const t=function(e){const{gas:t,nonce:r,to:a,from:s,value:c,maxFeePerGas:u,maxPriorityFeePerGas:l,factoryDeps:d,paymaster:p,paymasterInput:f,gasPerPubdata:m,data:b}=e;return{txType:113n,from:BigInt(s),to:a?BigInt(a):0n,gasLimit:t??0n,gasPerPubdataByteLimit:m??o.gasPerPubdataDefault,maxFeePerGas:u??0n,maxPriorityFeePerGas:l??0n,paymaster:p?BigInt(p):0n,nonce:r?BigInt(r):0n,value:c??0n,data:b||"0x0",factoryDeps:d?.map((e=>(0,n.toHex)((0,i.hashBytecode)(e))))??[],paymasterInput:f||"0x"}}(e);return{domain:{name:"zkSync",version:"2",chainId:e.chainId},types:{Transaction:[{name:"txType",type:"uint256"},{name:"from",type:"uint256"},{name:"to",type:"uint256"},{name:"gasLimit",type:"uint256"},{name:"gasPerPubdataByteLimit",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymaster",type:"uint256"},{name:"nonce",type:"uint256"},{name:"value",type:"uint256"},{name:"data",type:"bytes"},{name:"factoryDeps",type:"bytes32[]"},{name:"paymasterInput",type:"bytes"}]},primaryType:"Transaction",message:t}}},28671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashBytecode=function(e){const t=(0,o.toBytes)(e);if(t.length%32!=0)throw new s.BytecodeLengthMustBeDivisibleBy32Error({givenLength:t.length});if(t.length>i.maxBytecodeSize)throw new s.BytecodeLengthExceedsMaxSizeError({givenLength:t.length,maxBytecodeSize:i.maxBytecodeSize});const r=(0,a.sha256)(t),c=(0,o.toBytes)(r),u=t.length/32;if(u%2==0)throw new s.BytecodeLengthInWordsMustBeOddError({givenLengthInWords:u});const l=(0,o.toBytes)(u),d=(0,n.pad)(l,{size:2}),p=new Uint8Array([1,0]);return c.set(p,0),c.set(d,2),c};const n=r(68987),o=r(27655),a=r(77415),i=r(54001),s=r(65223)},86150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEIP712Transaction=function(e){return"eip712"===e.type||!!("customSignature"in e&&e.customSignature||"paymaster"in e&&e.paymaster||"paymasterInput"in e&&e.paymasterInput||"gasPerPubdata"in e&&"bigint"==typeof e.gasPerPubdata||"factoryDeps"in e&&e.factoryDeps)}},58626:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WebSocket:()=>n});const n=function(){if("undefined"!=typeof WebSocket)return WebSocket;if(void 0!==global.WebSocket)return global.WebSocket;if(void 0!==window.WebSocket)return window.WebSocket;if(void 0!==self.WebSocket)return self.WebSocket;throw new Error("`WebSocket` is not supported in this environment")}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(24839)})(); \ No newline at end of file diff --git a/build/comets.js.LICENSE.txt b/build/comets.js.LICENSE.txt new file mode 100644 index 0000000..4b96d46 --- /dev/null +++ b/build/comets.js.LICENSE.txt @@ -0,0 +1,9 @@ +/*! Hammer.JS - v2.0.7 - 2016-04-22 + * http://hammerjs.github.io/ + * + * Copyright (c) 2016 Jorik Tangelder; + * Licensed under the MIT license */ + +/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */ + +/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */ diff --git a/publish_date.txt b/publish_date.txt new file mode 100644 index 0000000..5aec04f --- /dev/null +++ b/publish_date.txt @@ -0,0 +1 @@ +Thu Aug 1 13:50:11 UTC 2024