@pufferfinance/puffer-sdk 1.12.2 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/dist/api/puffer-client-helpers.cjs +1 -1
  2. package/dist/api/puffer-client-helpers.cjs.map +1 -1
  3. package/dist/api/puffer-client-helpers.js +70 -65
  4. package/dist/api/puffer-client-helpers.js.map +1 -1
  5. package/dist/api/puffer-client.cjs +1 -1
  6. package/dist/api/puffer-client.cjs.map +1 -1
  7. package/dist/api/puffer-client.d.ts +3 -0
  8. package/dist/api/puffer-client.js +20 -13
  9. package/dist/api/puffer-client.js.map +1 -1
  10. package/dist/{ccip-BO_b9tFc.cjs → ccip-C0xwQhXU.cjs} +2 -2
  11. package/dist/ccip-C0xwQhXU.cjs.map +1 -0
  12. package/dist/{ccip-DLDO0_x2.js → ccip-K-z2PL4P.js} +3 -3
  13. package/dist/ccip-K-z2PL4P.js.map +1 -0
  14. package/dist/chains/constants.cjs +1 -1
  15. package/dist/chains/constants.js +1 -1
  16. package/dist/constants-BcPRVxdH.cjs +9 -0
  17. package/dist/constants-BcPRVxdH.cjs.map +1 -0
  18. package/dist/{constants-BjRNQpT2.js → constants-CH7Tz5jz.js} +745 -694
  19. package/dist/constants-CH7Tz5jz.js.map +1 -0
  20. package/dist/contracts/abis/l1-reward-manager-abis.cjs +1 -1
  21. package/dist/contracts/abis/l1-reward-manager-abis.d.ts +527 -1
  22. package/dist/contracts/abis/l1-reward-manager-abis.js +1 -1
  23. package/dist/contracts/abis/l2-reward-manager-abis.cjs +1 -1
  24. package/dist/contracts/abis/l2-reward-manager-abis.d.ts +1416 -1
  25. package/dist/contracts/abis/l2-reward-manager-abis.js +1 -1
  26. package/dist/contracts/abis/mainnet/Distributor.cjs +2 -0
  27. package/dist/contracts/abis/mainnet/Distributor.cjs.map +1 -0
  28. package/dist/contracts/abis/mainnet/Distributor.d.ts +618 -0
  29. package/dist/contracts/abis/mainnet/Distributor.js +492 -0
  30. package/dist/contracts/abis/mainnet/Distributor.js.map +1 -0
  31. package/dist/contracts/abis/nucleus-accountant-abis.cjs +1 -1
  32. package/dist/contracts/abis/nucleus-accountant-abis.d.ts +2 -1
  33. package/dist/contracts/abis/nucleus-accountant-abis.js +1 -1
  34. package/dist/contracts/abis/nucleus-atomic-queue-abis.cjs +1 -1
  35. package/dist/contracts/abis/nucleus-atomic-queue-abis.d.ts +2 -1
  36. package/dist/contracts/abis/nucleus-atomic-queue-abis.js +1 -1
  37. package/dist/contracts/abis/nucleus-boring-vault-abis.cjs +1 -1
  38. package/dist/contracts/abis/nucleus-boring-vault-abis.d.ts +2 -1
  39. package/dist/contracts/abis/nucleus-boring-vault-abis.js +1 -1
  40. package/dist/contracts/abis/nucleus-teller-abis.cjs +1 -1
  41. package/dist/contracts/abis/nucleus-teller-abis.d.ts +2 -1
  42. package/dist/contracts/abis/nucleus-teller-abis.js +1 -1
  43. package/dist/contracts/abis/puf-locker-abis.cjs +1 -1
  44. package/dist/contracts/abis/puf-locker-abis.d.ts +484 -1
  45. package/dist/contracts/abis/puf-locker-abis.js +1 -1
  46. package/dist/contracts/abis/puffer-depositor-abis.cjs +1 -1
  47. package/dist/contracts/abis/puffer-depositor-abis.d.ts +663 -2
  48. package/dist/contracts/abis/puffer-depositor-abis.js +1 -1
  49. package/dist/contracts/abis/puffer-vault-abis.cjs +1 -1
  50. package/dist/contracts/abis/puffer-vault-abis.d.ts +4 -2
  51. package/dist/contracts/abis/puffer-vault-abis.js +1 -1
  52. package/dist/contracts/abis/puffer-withdrawal-manager-abis.cjs +1 -1
  53. package/dist/contracts/abis/puffer-withdrawal-manager-abis.d.ts +514 -1
  54. package/dist/contracts/abis/puffer-withdrawal-manager-abis.js +1 -1
  55. package/dist/contracts/addresses.cjs +1 -1
  56. package/dist/contracts/addresses.cjs.map +1 -1
  57. package/dist/contracts/addresses.d.ts +7 -13
  58. package/dist/contracts/addresses.js +6 -5
  59. package/dist/contracts/addresses.js.map +1 -1
  60. package/dist/contracts/handlers/carrot-staking-handler.cjs +1 -1
  61. package/dist/contracts/handlers/carrot-staking-handler.js +2 -2
  62. package/dist/contracts/handlers/distributor-handler.cjs +2 -0
  63. package/dist/contracts/handlers/distributor-handler.cjs.map +1 -0
  64. package/dist/contracts/handlers/distributor-handler.js +318 -0
  65. package/dist/contracts/handlers/distributor-handler.js.map +1 -0
  66. package/dist/contracts/handlers/erc20-permit-handler.cjs +1 -1
  67. package/dist/contracts/handlers/erc20-permit-handler.cjs.map +1 -1
  68. package/dist/contracts/handlers/erc20-permit-handler.d.ts +17101 -14898
  69. package/dist/contracts/handlers/erc20-permit-handler.js +3 -3
  70. package/dist/contracts/handlers/erc20-permit-handler.js.map +1 -1
  71. package/dist/contracts/handlers/l1-reward-manager-handler.cjs +1 -1
  72. package/dist/contracts/handlers/l1-reward-manager-handler.js +2 -2
  73. package/dist/contracts/handlers/l2-reward-manager-handler.cjs +1 -1
  74. package/dist/contracts/handlers/l2-reward-manager-handler.js +2 -2
  75. package/dist/contracts/handlers/mtw-carrot-handler.cjs +1 -1
  76. package/dist/contracts/handlers/mtw-carrot-handler.js +2 -2
  77. package/dist/contracts/handlers/nucleus-accountant-handler.cjs +1 -1
  78. package/dist/contracts/handlers/nucleus-accountant-handler.js +1 -1
  79. package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs +1 -1
  80. package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs.map +1 -1
  81. package/dist/contracts/handlers/nucleus-atomic-queue-handler.d.ts +7619 -14812
  82. package/dist/contracts/handlers/nucleus-atomic-queue-handler.js +2 -2
  83. package/dist/contracts/handlers/nucleus-atomic-queue-handler.js.map +1 -1
  84. package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs +1 -1
  85. package/dist/contracts/handlers/nucleus-boring-vault-handler.js +2 -2
  86. package/dist/contracts/handlers/nucleus-teller-handler.cjs +1 -1
  87. package/dist/contracts/handlers/nucleus-teller-handler.js +2 -2
  88. package/dist/contracts/handlers/puf-locker-handler.cjs +1 -1
  89. package/dist/contracts/handlers/puf-locker-handler.cjs.map +1 -1
  90. package/dist/contracts/handlers/puf-locker-handler.js +2 -2
  91. package/dist/contracts/handlers/puf-locker-handler.js.map +1 -1
  92. package/dist/contracts/handlers/puffer-depositor-handler.cjs +1 -1
  93. package/dist/contracts/handlers/puffer-depositor-handler.d.ts +11215 -14794
  94. package/dist/contracts/handlers/puffer-depositor-handler.js +2 -2
  95. package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs +1 -1
  96. package/dist/contracts/handlers/puffer-l2-depositor-handler.js +2 -2
  97. package/dist/contracts/handlers/puffer-vault-handler.cjs +1 -1
  98. package/dist/contracts/handlers/puffer-vault-handler.js +2 -2
  99. package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs +1 -1
  100. package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js +2 -2
  101. package/dist/contracts/tokens.cjs +1 -1
  102. package/dist/contracts/tokens.js +1 -1
  103. package/dist/contracts/vaults-addresses.cjs +1 -1
  104. package/dist/contracts/vaults-addresses.d.ts +5 -4
  105. package/dist/contracts/vaults-addresses.js +1 -1
  106. package/dist/createWalletClient-DNLhBkOd.js +3289 -0
  107. package/dist/createWalletClient-DNLhBkOd.js.map +1 -0
  108. package/dist/createWalletClient-Di5of07E.cjs +6 -0
  109. package/dist/createWalletClient-Di5of07E.cjs.map +1 -0
  110. package/dist/{getContract-CezEyDf-.js → getContract-6ajhFbP2.js} +2 -2
  111. package/dist/getContract-6ajhFbP2.js.map +1 -0
  112. package/dist/{getContract-3QbyfZBF.cjs → getContract-ChPFzc5y.cjs} +2 -2
  113. package/dist/{getContract-CezEyDf-.js.map → getContract-ChPFzc5y.cjs.map} +1 -1
  114. package/dist/main.cjs +1 -1
  115. package/dist/main.d.ts +1 -0
  116. package/dist/main.js +13 -11
  117. package/dist/main.js.map +1 -1
  118. package/dist/secp256k1-B8plqpXf.cjs +2 -0
  119. package/dist/secp256k1-B8plqpXf.cjs.map +1 -0
  120. package/dist/secp256k1-Ev0s9Yr6.js +1340 -0
  121. package/dist/secp256k1-Ev0s9Yr6.js.map +1 -0
  122. package/dist/utils/version.cjs +1 -1
  123. package/dist/utils/version.js +1 -1
  124. package/dist/writeContract-BatuNuTe.cjs +32 -0
  125. package/dist/writeContract-BatuNuTe.cjs.map +1 -0
  126. package/dist/{writeContract-ChuHpJLC.js → writeContract-CjcOEtWX.js} +822 -763
  127. package/dist/writeContract-CjcOEtWX.js.map +1 -0
  128. package/package.json +15 -15
  129. package/dist/ccip-BO_b9tFc.cjs.map +0 -1
  130. package/dist/ccip-DLDO0_x2.js.map +0 -1
  131. package/dist/constants-BjRNQpT2.js.map +0 -1
  132. package/dist/constants-DA2xUb9r.cjs +0 -9
  133. package/dist/constants-DA2xUb9r.cjs.map +0 -1
  134. package/dist/contracts/handlers/carrot-staking-handler.d.ts +0 -15063
  135. package/dist/contracts/handlers/l1-reward-manager-handler.d.ts +0 -15107
  136. package/dist/contracts/handlers/l2-reward-manager-handler.d.ts +0 -15353
  137. package/dist/contracts/handlers/mtw-carrot-handler.d.ts +0 -15293
  138. package/dist/contracts/handlers/nucleus-accountant-handler.d.ts +0 -15126
  139. package/dist/contracts/handlers/nucleus-boring-vault-handler.d.ts +0 -15284
  140. package/dist/contracts/handlers/nucleus-teller-handler.d.ts +0 -15201
  141. package/dist/contracts/handlers/puf-locker-handler.d.ts +0 -15116
  142. package/dist/contracts/handlers/puffer-l2-depositor-handler.d.ts +0 -14969
  143. package/dist/contracts/handlers/puffer-vault-handler.d.ts +0 -17452
  144. package/dist/contracts/handlers/puffer-withdrawal-manager-handler.d.ts +0 -15111
  145. package/dist/createWalletClient-BuLYysrp.cjs +0 -4
  146. package/dist/createWalletClient-BuLYysrp.cjs.map +0 -1
  147. package/dist/createWalletClient-DNcW-ENe.js +0 -2028
  148. package/dist/createWalletClient-DNcW-ENe.js.map +0 -1
  149. package/dist/getContract-3QbyfZBF.cjs.map +0 -1
  150. package/dist/secp256k1-3OC5y4qp.js +0 -1579
  151. package/dist/secp256k1-3OC5y4qp.js.map +0 -1
  152. package/dist/secp256k1-bcahnPX9.cjs +0 -2
  153. package/dist/secp256k1-bcahnPX9.cjs.map +0 -1
  154. package/dist/writeContract-ChuHpJLC.js.map +0 -1
  155. package/dist/writeContract-D97dSJQe.cjs +0 -32
  156. package/dist/writeContract-D97dSJQe.cjs.map +0 -1
@@ -1,9 +0,0 @@
1
- "use strict";function G(e,{strict:t=!0}={}){return!e||typeof e!="string"?!1:t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x")}function g(e){return G(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}const Le="2.21.55";let O={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:`viem@${Le}`};class u extends Error{constructor(t,n={}){var a;const s=(()=>{var c;return n.cause instanceof u?n.cause.details:(c=n.cause)!=null&&c.message?n.cause.message:n.details})(),r=n.cause instanceof u&&n.cause.docsPath||n.docsPath,i=(a=O.getDocsUrl)==null?void 0:a.call(O,{...n,docsPath:r}),o=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...i?[`Docs: ${i}`]:[],...s?[`Details: ${s}`]:[],...O.version?[`Version: ${O.version}`]:[]].join(`
2
- `);super(o,n.cause?{cause:n.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:"BaseError"}),this.details=s,this.docsPath=r,this.metaMessages=n.metaMessages,this.name=n.name??this.name,this.shortMessage=t,this.version=Le}walk(t){return He(this,t)}}function He(e,t){return t!=null&&t(e)?e:e&&typeof e=="object"&&"cause"in e&&e.cause!==void 0?He(e.cause,t):t?null:e}class Ge extends u{constructor({offset:t,position:n,size:s}){super(`Slice ${n==="start"?"starting":"ending"} at offset "${t}" is out-of-bounds (size: ${s}).`,{name:"SliceOffsetOutOfBoundsError"})}}class Se extends u{constructor({size:t,targetSize:n,type:s}){super(`${s.charAt(0).toUpperCase()}${s.slice(1).toLowerCase()} size (${t}) exceeds padding size (${n}).`,{name:"SizeExceedsPaddingSizeError"})}}class $t extends u{constructor({size:t,targetSize:n,type:s}){super(`${s.charAt(0).toUpperCase()}${s.slice(1).toLowerCase()} is expected to be ${n} ${s} long, but is ${t} ${s} long.`,{name:"InvalidBytesLengthError"})}}function S(e,{dir:t,size:n=32}={}){return typeof e=="string"?ke(e,{dir:t,size:n}):zt(e,{dir:t,size:n})}function ke(e,{dir:t,size:n=32}={}){if(n===null)return e;const s=e.replace("0x","");if(s.length>n*2)throw new Se({size:Math.ceil(s.length/2),targetSize:n,type:"hex"});return`0x${s[t==="right"?"padEnd":"padStart"](n*2,"0")}`}function zt(e,{dir:t,size:n=32}={}){if(n===null)return e;if(e.length>n)throw new Se({size:e.length,targetSize:n,type:"bytes"});const s=new Uint8Array(n);for(let r=0;r<n;r++){const i=t==="right";s[i?r:n-r-1]=e[i?r:e.length-r-1]}return s}class Ne extends u{constructor({max:t,min:n,signed:s,size:r,value:i}){super(`Number "${i}" is not in safe ${r?`${r*8}-bit ${s?"signed":"unsigned"} `:""}integer range ${t?`(${n} to ${t})`:`(above ${n})`}`,{name:"IntegerOutOfRangeError"})}}class Ct extends u{constructor(t){super(`Bytes value "${t}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class At extends u{constructor(t){super(`Hex value "${t}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class Ft extends u{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed ${n} bytes. Given size: ${t} bytes.`,{name:"SizeOverflowError"})}}function I(e,{dir:t="left"}={}){let n=typeof e=="string"?e.replace("0x",""):e,s=0;for(let r=0;r<n.length-1&&n[t==="left"?r:n.length-r-1].toString()==="0";r++)s++;return n=t==="left"?n.slice(s):n.slice(0,n.length-s),typeof e=="string"?(n.length===1&&t==="right"&&(n=`${n}0`),`0x${n.length%2===1?`0${n}`:n}`):n}function C(e,{size:t}){if(g(e)>t)throw new Ft({givenSize:g(e),maxSize:t})}function F(e,t={}){const{signed:n}=t;t.size&&C(e,{size:t.size});const s=BigInt(e);if(!n)return s;const r=(e.length-2)/2,i=(1n<<BigInt(r)*8n-1n)-1n;return s<=i?s:s-BigInt(`0x${"f".padStart(r*2,"f")}`)-1n}function Ut(e,t={}){let n=e;if(t.size&&(C(n,{size:t.size}),n=I(n)),I(n)==="0x00")return!1;if(I(n)==="0x01")return!0;throw new At(n)}function _(e,t={}){return Number(F(e,t))}const Lt=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function d(e,t={}){return typeof e=="number"||typeof e=="bigint"?ne(e,t):typeof e=="string"?Me(e,t):typeof e=="boolean"?Oe(e,t):E(e,t)}function Oe(e,t={}){const n=`0x${Number(e)}`;return typeof t.size=="number"?(C(n,{size:t.size}),S(n,{size:t.size})):n}function E(e,t={}){let n="";for(let r=0;r<e.length;r++)n+=Lt[e[r]];const s=`0x${n}`;return typeof t.size=="number"?(C(s,{size:t.size}),S(s,{dir:"right",size:t.size})):s}function ne(e,t={}){const{signed:n,size:s}=t,r=BigInt(e);let i;s?n?i=(1n<<BigInt(s)*8n-1n)-1n:i=2n**(BigInt(s)*8n)-1n:typeof e=="number"&&(i=BigInt(Number.MAX_SAFE_INTEGER));const o=typeof i=="bigint"&&n?-i-1n:0;if(i&&r>i||r<o){const c=typeof e=="bigint"?"n":"";throw new Ne({max:i?`${i}${c}`:void 0,min:`${o}${c}`,signed:n,size:s,value:`${e}${c}`})}const a=`0x${(n&&r<0?(1n<<BigInt(s*8))+BigInt(r):r).toString(16)}`;return s?S(a,{size:s}):a}const Ht=new TextEncoder;function Me(e,t={}){const n=Ht.encode(e);return E(n,t)}const Gt=new TextEncoder;function se(e,t={}){return typeof e=="number"||typeof e=="bigint"?kt(e,t):typeof e=="boolean"?St(e,t):G(e)?$(e,t):re(e,t)}function St(e,t={}){const n=new Uint8Array(1);return n[0]=Number(e),typeof t.size=="number"?(C(n,{size:t.size}),S(n,{size:t.size})):n}const m={zero:48,nine:57,A:65,F:70,a:97,f:102};function Pe(e){if(e>=m.zero&&e<=m.nine)return e-m.zero;if(e>=m.A&&e<=m.F)return e-(m.A-10);if(e>=m.a&&e<=m.f)return e-(m.a-10)}function $(e,t={}){let n=e;t.size&&(C(n,{size:t.size}),n=S(n,{dir:"right",size:t.size}));let s=n.slice(2);s.length%2&&(s=`0${s}`);const r=s.length/2,i=new Uint8Array(r);for(let o=0,a=0;o<r;o++){const c=Pe(s.charCodeAt(a++)),f=Pe(s.charCodeAt(a++));if(c===void 0||f===void 0)throw new u(`Invalid byte sequence ("${s[a-2]}${s[a-1]}" in "${s}").`);i[o]=c*16+f}return i}function kt(e,t){const n=ne(e,t);return $(n)}function re(e,t={}){const n=Gt.encode(e);return typeof t.size=="number"?(C(n,{size:t.size}),S(n,{dir:"right",size:t.size})):n}function Be(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function Nt(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function ie(e,...t){if(!Nt(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function W(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 Ve(e,t){ie(e);const n=t.outputLen;if(e.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}const K=BigInt(2**32-1),Te=BigInt(32);function Ot(e,t=!1){return t?{h:Number(e&K),l:Number(e>>Te&K)}:{h:Number(e>>Te&K)|0,l:Number(e&K)|0}}function Mt(e,t=!1){let n=new Uint32Array(e.length),s=new Uint32Array(e.length);for(let r=0;r<e.length;r++){const{h:i,l:o}=Ot(e[r],t);[n[r],s[r]]=[i,o]}return[n,s]}const Vt=(e,t,n)=>e<<n|t>>>32-n,_t=(e,t,n)=>t<<n|e>>>32-n,jt=(e,t,n)=>t<<n-32|e>>>64-n,Rt=(e,t,n)=>e<<n-32|t>>>64-n;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Dt=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),Z=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),x=(e,t)=>e<<32-t|e>>>t,Ie=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,Kt=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function ve(e){for(let t=0;t<e.length;t++)e[t]=Kt(e[t])}function Wt(e){if(typeof e!="string")throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array(new TextEncoder().encode(e))}function oe(e){return typeof e=="string"&&(e=Wt(e)),ie(e),e}class _e{clone(){return this._cloneInto()}}function je(e){const t=s=>e().update(oe(s)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}const Re=[],De=[],Ke=[],Xt=BigInt(0),M=BigInt(1),qt=BigInt(2),Yt=BigInt(7),Jt=BigInt(256),Qt=BigInt(113);for(let e=0,t=M,n=1,s=0;e<24;e++){[n,s]=[s,(2*n+3*s)%5],Re.push(2*(5*s+n)),De.push((e+1)*(e+2)/2%64);let r=Xt;for(let i=0;i<7;i++)t=(t<<M^(t>>Yt)*Qt)%Jt,t&qt&&(r^=M<<(M<<BigInt(i))-M);Ke.push(r)}const[Zt,en]=Mt(Ke,!0),$e=(e,t,n)=>n>32?jt(e,t,n):Vt(e,t,n),ze=(e,t,n)=>n>32?Rt(e,t,n):_t(e,t,n);function tn(e,t=24){const n=new Uint32Array(10);for(let s=24-t;s<24;s++){for(let o=0;o<10;o++)n[o]=e[o]^e[o+10]^e[o+20]^e[o+30]^e[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,f=n[c],h=n[c+1],l=$e(f,h,1)^n[a],b=ze(f,h,1)^n[a+1];for(let p=0;p<50;p+=10)e[o+p]^=l,e[o+p+1]^=b}let r=e[2],i=e[3];for(let o=0;o<24;o++){const a=De[o],c=$e(r,i,a),f=ze(r,i,a),h=Re[o];r=e[h],i=e[h+1],e[h]=c,e[h+1]=f}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=e[o+a];for(let a=0;a<10;a++)e[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}e[0]^=Zt[s],e[1]^=en[s]}n.fill(0)}class ae extends _e{constructor(t,n,s,r=!1,i=24){if(super(),this.blockLen=t,this.suffix=n,this.outputLen=s,this.enableXOF=r,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,Be(s),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=Dt(this.state)}keccak(){Ie||ve(this.state32),tn(this.state32,this.rounds),Ie||ve(this.state32),this.posOut=0,this.pos=0}update(t){W(this);const{blockLen:n,state:s}=this;t=oe(t);const r=t.length;for(let i=0;i<r;){const o=Math.min(n-this.pos,r-i);for(let a=0;a<o;a++)s[this.pos++]^=t[i++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:t,suffix:n,pos:s,blockLen:r}=this;t[s]^=n,n&128&&s===r-1&&this.keccak(),t[r-1]^=128,this.keccak()}writeInto(t){W(this,!1),ie(t),this.finish();const n=this.state,{blockLen:s}=this;for(let r=0,i=t.length;r<i;){this.posOut>=s&&this.keccak();const o=Math.min(s-this.posOut,i-r);t.set(n.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return Be(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(Ve(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){const{blockLen:n,suffix:s,outputLen:r,rounds:i,enableXOF:o}=this;return t||(t=new ae(n,s,r,o,i)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=i,t.suffix=s,t.outputLen=r,t.enableXOF=o,t.destroyed=this.destroyed,t}}const nn=(e,t,n)=>je(()=>new ae(t,e,n)),sn=nn(1,136,256/8);function We(e,t){const n=t||"hex",s=sn(G(e,{strict:!1})?se(e):e);return n==="bytes"?s:d(s)}class y extends u{constructor({address:t}){super(`Address "${t}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}class ce extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&n!==void 0&&(this.delete(t),super.set(t,n)),n}set(t,n){if(super.set(t,n),this.maxSize&&this.size>this.maxSize){const s=this.keys().next().value;s&&this.delete(s)}return this}}const ee=new ce(8192);function ue(e,t){if(ee.has(`${e}.${t}`))return ee.get(`${e}.${t}`);const n=e.substring(2).toLowerCase(),s=We(re(n),"bytes"),r=n.split("");for(let o=0;o<40;o+=2)s[o>>1]>>4>=8&&r[o]&&(r[o]=r[o].toUpperCase()),(s[o>>1]&15)>=8&&r[o+1]&&(r[o+1]=r[o+1].toUpperCase());const i=`0x${r.join("")}`;return ee.set(`${e}.${t}`,i),i}function rn(e,t){if(!w(e,{strict:!1}))throw new y({address:e});return ue(e,t)}const on=/^0x[a-fA-F0-9]{40}$/,te=new ce(8192);function w(e,t){const{strict:n=!0}=t??{},s=`${e}.${n}`;if(te.has(s))return te.get(s);const r=on.test(e)?e.toLowerCase()===e?!0:n?ue(e)===e:!0:!1;return te.set(s,r),r}function an(e){return typeof e[0]=="string"?U(e):cn(e)}function cn(e){let t=0;for(const r of e)t+=r.length;const n=new Uint8Array(t);let s=0;for(const r of e)n.set(r,s),s+=r.length;return n}function U(e){return`0x${e.reduce((t,n)=>t+n.replace("0x",""),"")}`}function Xe(e,t,n,{strict:s}={}){return G(e,{strict:!1})?Qe(e,t,n,{strict:s}):Je(e,t,n,{strict:s})}function qe(e,t){if(typeof t=="number"&&t>0&&t>g(e)-1)throw new Ge({offset:t,position:"start",size:g(e)})}function Ye(e,t,n){if(typeof t=="number"&&typeof n=="number"&&g(e)!==n-t)throw new Ge({offset:n,position:"end",size:g(e)})}function Je(e,t,n,{strict:s}={}){qe(e,t);const r=e.slice(t,n);return s&&Ye(r,t,n),r}function Qe(e,t,n,{strict:s}={}){qe(e,t);const r=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return s&&Ye(r,t,n),r}class Ce extends u{constructor({offset:t}){super(`Offset \`${t}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class Ze extends u{constructor({length:t,position:n}){super(`Position \`${n}\` is out of bounds (\`0 < position < ${t}\`).`,{name:"PositionOutOfBoundsError"})}}class un extends u{constructor({count:t,limit:n}){super(`Recursive read limit of \`${n}\` exceeded (recursive read count: \`${t}\`).`,{name:"RecursiveReadLimitExceededError"})}}const fn={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 un({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new Ze({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new Ce({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 Ce({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 n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+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,e&255),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 n=this.inspectBytes(e);return this.position+=t??e,n},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++}};function fe(e,{recursiveReadLimit:t=8192}={}){const n=Object.create(fn);return n.bytes=e,n.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}const ln={gwei:9,wei:18},dn={ether:-9,wei:9};function et(e,t){let n=e.toString();const s=n.startsWith("-");s&&(n=n.slice(1)),n=n.padStart(t,"0");let[r,i]=[n.slice(0,n.length-t),n.slice(n.length-t)];return i=i.replace(/(0+)$/,""),`${s?"-":""}${r||"0"}${i?`.${i}`:""}`}function tt(e,t="wei"){return et(e,ln[t])}function v(e,t="wei"){return et(e,dn[t])}function le(e){const t=Object.entries(e).map(([s,r])=>r===void 0||r===!1?null:[s,r]).filter(Boolean),n=t.reduce((s,[r])=>Math.max(s,r.length),0);return t.map(([s,r])=>` ${`${s}:`.padEnd(n+1)} ${r}`).join(`
3
- `)}class hn extends u{constructor(){super(["Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.","Use `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others."].join(`
4
- `),{name:"FeeConflictError"})}}class pn extends u{constructor({v:t}){super(`Invalid \`v\` value "${t}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class bn extends u{constructor({transaction:t}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",le(t),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}class xn extends u{constructor({storageKey:t}){super(`Size for storage key "${t}" is invalid. Expected 32 bytes. Got ${Math.floor((t.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class mn extends u{constructor(t,{account:n,docsPath:s,chain:r,data:i,gas:o,gasPrice:a,maxFeePerGas:c,maxPriorityFeePerGas:f,nonce:h,to:l,value:b}){var P;const p=le({chain:r&&`${r==null?void 0:r.name} (id: ${r==null?void 0:r.id})`,from:n==null?void 0:n.address,to:l,value:typeof b<"u"&&`${tt(b)} ${((P=r==null?void 0:r.nativeCurrency)==null?void 0:P.symbol)||"ETH"}`,data:i,gas:o,gasPrice:typeof a<"u"&&`${v(a)} gwei`,maxFeePerGas:typeof c<"u"&&`${v(c)} gwei`,maxPriorityFeePerGas:typeof f<"u"&&`${v(f)} gwei`,nonce:h});super(t.shortMessage,{cause:t,docsPath:s,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Request Arguments:",p].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}class gn extends u{constructor({blockHash:t,blockNumber:n,blockTag:s,hash:r,index:i}){let o="Transaction";s&&i!==void 0&&(o=`Transaction at block time "${s}" at index "${i}"`),t&&i!==void 0&&(o=`Transaction at block hash "${t}" at index "${i}"`),n&&i!==void 0&&(o=`Transaction at block number "${n}" at index "${i}"`),r&&(o=`Transaction with hash "${r}"`),super(`${o} could not be found.`,{name:"TransactionNotFoundError"})}}class yn extends u{constructor({hash:t}){super(`Transaction receipt with hash "${t}" could not be found. The Transaction may not be processed on a block yet.`,{name:"TransactionReceiptNotFoundError"})}}class wn extends u{constructor({hash:t}){super(`Timed out while waiting for transaction with hash "${t}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}function z(e,t="hex"){const n=nt(e),s=fe(new Uint8Array(n.length));return n.encode(s),t==="hex"?E(s.bytes):s.bytes}function nt(e){return Array.isArray(e)?En(e.map(t=>nt(t))):Pn(e)}function En(e){const t=e.reduce((r,i)=>r+i.length,0),n=st(t);return{length:t<=55?1+t:1+n+t,encode(r){t<=55?r.pushByte(192+t):(r.pushByte(247+n),n===1?r.pushUint8(t):n===2?r.pushUint16(t):n===3?r.pushUint24(t):r.pushUint32(t));for(const{encode:i}of e)i(r)}}}function Pn(e){const t=typeof e=="string"?$(e):e,n=st(t.length);return{length:t.length===1&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(r){t.length===1&&t[0]<128?r.pushBytes(t):t.length<=55?(r.pushByte(128+t.length),r.pushBytes(t)):(r.pushByte(183+n),n===1?r.pushUint8(t.length):n===2?r.pushUint16(t.length):n===3?r.pushUint24(t.length):r.pushUint32(t.length),r.pushBytes(t))}}}function st(e){if(e<2**8)return 1;if(e<2**16)return 2;if(e<2**24)return 3;if(e<2**32)return 4;throw new u("Length is too large.")}class de extends u{constructor({cause:t,message:n}={}){var r;const s=(r=n==null?void 0:n.replace("execution reverted: ",""))==null?void 0:r.replace("execution reverted","");super(`Execution reverted ${s?`with reason: ${s}`:"for an unknown reason"}.`,{cause:t,name:"ExecutionRevertedError"})}}Object.defineProperty(de,"code",{enumerable:!0,configurable:!0,writable:!0,value:3});Object.defineProperty(de,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class j extends u{constructor({cause:t,maxFeePerGas:n}={}){super(`The fee cap (\`maxFeePerGas\`${n?` = ${v(n)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:t,name:"FeeCapTooHighError"})}}Object.defineProperty(j,"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 rt extends u{constructor({cause:t,maxFeePerGas:n}={}){super(`The fee cap (\`maxFeePerGas\`${n?` = ${v(n)}`:""} gwei) cannot be lower than the block base fee.`,{cause:t,name:"FeeCapTooLowError"})}}Object.defineProperty(rt,"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 it extends u{constructor({cause:t,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}is higher than the next one expected.`,{cause:t,name:"NonceTooHighError"})}}Object.defineProperty(it,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class ot extends u{constructor({cause:t,nonce:n}={}){super([`Nonce provided for the transaction ${n?`(${n}) `:""}is lower than the current nonce of the account.`,"Try increasing the nonce or find the latest nonce with `getTransactionCount`."].join(`
5
- `),{cause:t,name:"NonceTooLowError"})}}Object.defineProperty(ot,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class at extends u{constructor({cause:t,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}exceeds the maximum allowed nonce.`,{cause:t,name:"NonceMaxValueError"})}}Object.defineProperty(at,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class ct extends u{constructor({cause:t}={}){super(["The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."].join(`
6
- `),{cause:t,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(ct,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class ut extends u{constructor({cause:t,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:t,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(ut,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class ft extends u{constructor({cause:t,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction is too low.`,{cause:t,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(ft,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class lt extends u{constructor({cause:t}){super("The transaction type is not supported for this chain.",{cause:t,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(lt,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class he extends u{constructor({cause:t,maxPriorityFeePerGas:n,maxFeePerGas:s}={}){super([`The provided tip (\`maxPriorityFeePerGas\`${n?` = ${v(n)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${s?` = ${v(s)} gwei`:""}).`].join(`
7
- `),{cause:t,name:"TipAboveFeeCapError"})}}Object.defineProperty(he,"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 Bn extends u{constructor({cause:t}){super(`An error occurred while executing: ${t==null?void 0:t.shortMessage}`,{cause:t,name:"UnknownNodeError"})}}function pe(e,t){return({exclude:n,format:s})=>({exclude:n,format:r=>{const i=t(r);if(n)for(const o of n)delete i[o];return{...i,...s(r)}},type:e})}const X=2n**256n-1n,dt={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function q(e){const t={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,chainId:e.chainId?_(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?_(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?dt[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(t.authorizationList=In(e.authorizationList)),t.yParity=(()=>{if(e.yParity)return Number(e.yParity);if(typeof t.v=="bigint"){if(t.v===0n||t.v===27n)return 0;if(t.v===1n||t.v===28n)return 1;if(t.v>=35n)return t.v%2n===0n?1:0}})(),t.type==="legacy"&&(delete t.accessList,delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas,delete t.yParity),t.type==="eip2930"&&(delete t.maxFeePerBlobGas,delete t.maxFeePerGas,delete t.maxPriorityFeePerGas),t.type==="eip1559"&&delete t.maxFeePerBlobGas,t}const Tn=pe("transaction",q);function In(e){return e.map(t=>({contractAddress:t.address,chainId:Number(t.chainId),nonce:Number(t.nonce),r:t.r,s:t.s,yParity:Number(t.yParity)}))}function ht(e){const t=(e.transactions??[]).map(n=>typeof n=="string"?n:q(n));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}}const vn=pe("block",ht);function be(e){const{kzg:t}=e,n=e.to??(typeof e.blobs[0]=="string"?"hex":"bytes"),s=typeof e.blobs[0]=="string"?e.blobs.map(i=>$(i)):e.blobs,r=[];for(const i of s)r.push(Uint8Array.from(t.blobToKzgCommitment(i)));return n==="bytes"?r:r.map(i=>E(i))}function xe(e){const{kzg:t}=e,n=e.to??(typeof e.blobs[0]=="string"?"hex":"bytes"),s=typeof e.blobs[0]=="string"?e.blobs.map(o=>$(o)):e.blobs,r=typeof e.commitments[0]=="string"?e.commitments.map(o=>$(o)):e.commitments,i=[];for(let o=0;o<s.length;o++){const a=s[o],c=r[o];i.push(Uint8Array.from(t.computeBlobKzgProof(a,c)))}return n==="bytes"?i:i.map(o=>E(o))}function $n(e,t,n,s){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,n,s);const r=BigInt(32),i=BigInt(4294967295),o=Number(n>>r&i),a=Number(n&i),c=s?4:0,f=s?0:4;e.setUint32(t+c,o,s),e.setUint32(t+f,a,s)}const zn=(e,t,n)=>e&t^~e&n,Cn=(e,t,n)=>e&t^e&n^t&n;class An extends _e{constructor(t,n,s,r){super(),this.blockLen=t,this.outputLen=n,this.padOffset=s,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=Z(this.buffer)}update(t){W(this);const{view:n,buffer:s,blockLen:r}=this;t=oe(t);const i=t.length;for(let o=0;o<i;){const a=Math.min(r-this.pos,i-o);if(a===r){const c=Z(t);for(;r<=i-o;o+=r)this.process(c,o);continue}s.set(t.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===r&&(this.process(n,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){W(this),Ve(t,this),this.finished=!0;const{buffer:n,view:s,blockLen:r,isLE:i}=this;let{pos:o}=this;n[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>r-o&&(this.process(s,0),o=0);for(let l=o;l<r;l++)n[l]=0;$n(s,r-8,BigInt(this.length*8),i),this.process(s,0);const a=Z(t),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=c/4,h=this.get();if(f>h.length)throw new Error("_sha2: outputLen bigger than state");for(let l=0;l<f;l++)a.setUint32(4*l,h[l],i)}digest(){const{buffer:t,outputLen:n}=this;this.digestInto(t);const s=t.slice(0,n);return this.destroy(),s}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:n,buffer:s,length:r,finished:i,destroyed:o,pos:a}=this;return t.length=r,t.pos=a,t.finished=i,t.destroyed=o,r%n&&t.buffer.set(s),t}}const Fn=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]),B=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),T=new Uint32Array(64);class Un extends An{constructor(){super(64,32,8,!1),this.A=B[0]|0,this.B=B[1]|0,this.C=B[2]|0,this.D=B[3]|0,this.E=B[4]|0,this.F=B[5]|0,this.G=B[6]|0,this.H=B[7]|0}get(){const{A:t,B:n,C:s,D:r,E:i,F:o,G:a,H:c}=this;return[t,n,s,r,i,o,a,c]}set(t,n,s,r,i,o,a,c){this.A=t|0,this.B=n|0,this.C=s|0,this.D=r|0,this.E=i|0,this.F=o|0,this.G=a|0,this.H=c|0}process(t,n){for(let l=0;l<16;l++,n+=4)T[l]=t.getUint32(n,!1);for(let l=16;l<64;l++){const b=T[l-15],p=T[l-2],P=x(b,7)^x(b,18)^b>>>3,L=x(p,17)^x(p,19)^p>>>10;T[l]=L+T[l-7]+P+T[l-16]|0}let{A:s,B:r,C:i,D:o,E:a,F:c,G:f,H:h}=this;for(let l=0;l<64;l++){const b=x(a,6)^x(a,11)^x(a,25),p=h+b+zn(a,c,f)+Fn[l]+T[l]|0,L=(x(s,2)^x(s,13)^x(s,22))+Cn(s,r,i)|0;h=f,f=c,c=a,a=o+p|0,o=i,i=r,r=s,s=p+L|0}s=s+this.A|0,r=r+this.B|0,i=i+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,f=f+this.G|0,h=h+this.H|0,this.set(s,r,i,o,a,c,f,h)}roundClean(){T.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Ln=je(()=>new Un);function Hn(e,t){return Ln(G(e,{strict:!1})?se(e):e)}function Gn(e){const{commitment:t,version:n=1}=e,s=e.to??(typeof t=="string"?"hex":"bytes"),r=Hn(t);return r.set([n],0),s==="bytes"?r:E(r)}function pt(e){const{commitments:t,version:n}=e,s=e.to??(typeof t[0]=="string"?"hex":"bytes"),r=[];for(const i of t)r.push(Gn({commitment:i,to:s,version:n}));return r}const Ae=6,bt=32,me=4096,xt=bt*me,Fe=xt*Ae-1-1*me*Ae,mt=1;class Sn extends u{constructor({maxSize:t,size:n}){super("Blob size is too large.",{metaMessages:[`Max: ${t} bytes`,`Given: ${n} bytes`],name:"BlobSizeTooLargeError"})}}class gt extends u{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class kn extends u{constructor({hash:t,size:n}){super(`Versioned hash "${t}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${n}`],name:"InvalidVersionedHashSizeError"})}}class Nn extends u{constructor({hash:t,version:n}){super(`Versioned hash "${t}" version is invalid.`,{metaMessages:[`Expected: ${mt}`,`Received: ${n}`],name:"InvalidVersionedHashVersionError"})}}function On(e){const t=e.to??(typeof e.data=="string"?"hex":"bytes"),n=typeof e.data=="string"?$(e.data):e.data,s=g(n);if(!s)throw new gt;if(s>Fe)throw new Sn({maxSize:Fe,size:s});const r=[];let i=!0,o=0;for(;i;){const a=fe(new Uint8Array(xt));let c=0;for(;c<me;){const f=n.slice(o,o+(bt-1));if(a.pushByte(0),a.pushBytes(f),f.length<31){a.pushByte(128),i=!1;break}c++,o+=31}r.push(a)}return t==="bytes"?r.map(a=>a.bytes):r.map(a=>E(a.bytes))}function yt(e){const{data:t,kzg:n,to:s}=e,r=e.blobs??On({data:t,to:s}),i=e.commitments??be({blobs:r,kzg:n,to:s}),o=e.proofs??xe({blobs:r,commitments:i,kzg:n,to:s}),a=[];for(let c=0;c<r.length;c++)a.push({blob:r[c],commitment:i[c],proof:o[c]});return a}function wt(e){if(e.type)return e.type;if(typeof e.authorizationList<"u")return"eip7702";if(typeof e.blobs<"u"||typeof e.blobVersionedHashes<"u"||typeof e.maxFeePerBlobGas<"u"||typeof e.sidecars<"u")return"eip4844";if(typeof e.maxFeePerGas<"u"||typeof e.maxPriorityFeePerGas<"u")return"eip1559";if(typeof e.gasPrice<"u")return typeof e.accessList<"u"?"eip2930":"legacy";throw new bn({transaction:e})}function Et(e,{args:t,eventName:n}={}){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,...n?{args:t,eventName:n}:{}}}class Mn extends u{constructor({blockNumber:t,chain:n,contract:s}){super(`Chain "${n.name}" does not support contract "${s.name}".`,{metaMessages:["This could be due to any of the following:",...t&&s.blockCreated&&s.blockCreated>t?[`- The contract "${s.name}" was not deployed until block ${s.blockCreated} (current block ${t}).`]:[`- The chain does not have the contract "${s.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class Vn extends u{constructor({chain:t,currentChainId:n}){super(`The current chain of the wallet (id: ${n}) does not match the target chain for the transaction (id: ${t.id} – ${t.name}).`,{metaMessages:[`Current Chain ID: ${n}`,`Expected Chain ID: ${t.id} – ${t.name}`],name:"ChainMismatchError"})}}class _n extends u{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(`
8
- `),{name:"ChainNotFoundError"})}}class jn extends u{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class Y extends u{constructor({chainId:t}){super(typeof t=="number"?`Chain ID "${t}" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}function J(e){return{formatters:void 0,fees:void 0,serializers:void 0,...e}}const Rn={"0x0":"reverted","0x1":"success"};function Pt(e){const t={...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(n=>Et(n)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?_(e.transactionIndex):null,status:e.status?Rn[e.status]:null,type:e.type?dt[e.type]||e.type:null};return e.blobGasPrice&&(t.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(t.blobGasUsed=BigInt(e.blobGasUsed)),t}const Dn=pe("transactionReceipt",Pt);function Kn(e){const{authorizationList:t}=e;if(t)for(const n of t){const{contractAddress:s,chainId:r}=n;if(!w(s))throw new y({address:s});if(r<0)throw new Y({chainId:r})}ge(e)}function Wn(e){const{blobVersionedHashes:t}=e;if(t){if(t.length===0)throw new gt;for(const n of t){const s=g(n),r=_(Xe(n,0,1));if(s!==32)throw new kn({hash:n,size:s});if(r!==mt)throw new Nn({hash:n,version:r})}}ge(e)}function ge(e){const{chainId:t,maxPriorityFeePerGas:n,maxFeePerGas:s,to:r}=e;if(t<=0)throw new Y({chainId:t});if(r&&!w(r))throw new y({address:r});if(s&&s>X)throw new j({maxFeePerGas:s});if(n&&s&&n>s)throw new he({maxFeePerGas:s,maxPriorityFeePerGas:n})}function Xn(e){const{chainId:t,maxPriorityFeePerGas:n,gasPrice:s,maxFeePerGas:r,to:i}=e;if(t<=0)throw new Y({chainId:t});if(i&&!w(i))throw new y({address:i});if(n||r)throw new u("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(s&&s>X)throw new j({maxFeePerGas:s})}function qn(e){const{chainId:t,maxPriorityFeePerGas:n,gasPrice:s,maxFeePerGas:r,to:i}=e;if(i&&!w(i))throw new y({address:i});if(typeof t<"u"&&t<=0)throw new Y({chainId:t});if(n||r)throw new u("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(s&&s>X)throw new j({maxFeePerGas:s})}function Yn(e){if(!e||e.length===0)return[];const t=[];for(const n of e){const{contractAddress:s,chainId:r,nonce:i,...o}=n;t.push([r?d(r):"0x",s,i?d(i):"0x",...R({},o)])}return t}function Q(e){if(!e||e.length===0)return[];const t=[];for(let n=0;n<e.length;n++){const{address:s,storageKeys:r}=e[n];for(let i=0;i<r.length;i++)if(r[i].length-2!==64)throw new xn({storageKey:r[i]});if(!w(s,{strict:!1}))throw new y({address:s});t.push([s,r])}return t}function Jn(e,t){const n=wt(e);return n==="eip1559"?es(e,t):n==="eip2930"?ts(e,t):n==="eip4844"?Zn(e,t):n==="eip7702"?Qn(e,t):ns(e,t)}function Qn(e,t){const{authorizationList:n,chainId:s,gas:r,nonce:i,to:o,value:a,maxFeePerGas:c,maxPriorityFeePerGas:f,accessList:h,data:l}=e;Kn(e);const b=Q(h),p=Yn(n);return U(["0x04",z([d(s),i?d(i):"0x",f?d(f):"0x",c?d(c):"0x",r?d(r):"0x",o??"0x",a?d(a):"0x",l??"0x",b,p,...R(e,t)])])}function Zn(e,t){const{chainId:n,gas:s,nonce:r,to:i,value:o,maxFeePerBlobGas:a,maxFeePerGas:c,maxPriorityFeePerGas:f,accessList:h,data:l}=e;Wn(e);let b=e.blobVersionedHashes,p=e.sidecars;if(e.blobs&&(typeof b>"u"||typeof p>"u")){const A=typeof e.blobs[0]=="string"?e.blobs:e.blobs.map(N=>E(N)),D=e.kzg,k=be({blobs:A,kzg:D});if(typeof b>"u"&&(b=pt({commitments:k})),typeof p>"u"){const N=xe({blobs:A,commitments:k,kzg:D});p=yt({blobs:A,commitments:k,proofs:N})}}const P=Q(h),L=[d(n),r?d(r):"0x",f?d(f):"0x",c?d(c):"0x",s?d(s):"0x",i??"0x",o?d(o):"0x",l??"0x",P,a?d(a):"0x",b??[],...R(e,t)],ye=[],we=[],Ee=[];if(p)for(let A=0;A<p.length;A++){const{blob:D,commitment:k,proof:N}=p[A];ye.push(D),we.push(k),Ee.push(N)}return U(["0x03",z(p?[L,ye,we,Ee]:L)])}function es(e,t){const{chainId:n,gas:s,nonce:r,to:i,value:o,maxFeePerGas:a,maxPriorityFeePerGas:c,accessList:f,data:h}=e;ge(e);const l=Q(f),b=[d(n),r?d(r):"0x",c?d(c):"0x",a?d(a):"0x",s?d(s):"0x",i??"0x",o?d(o):"0x",h??"0x",l,...R(e,t)];return U(["0x02",z(b)])}function ts(e,t){const{chainId:n,gas:s,data:r,nonce:i,to:o,value:a,accessList:c,gasPrice:f}=e;Xn(e);const h=Q(c),l=[d(n),i?d(i):"0x",f?d(f):"0x",s?d(s):"0x",o??"0x",a?d(a):"0x",r??"0x",h,...R(e,t)];return U(["0x01",z(l)])}function ns(e,t){const{chainId:n=0,gas:s,data:r,nonce:i,to:o,value:a,gasPrice:c}=e;qn(e);let f=[i?d(i):"0x",c?d(c):"0x",s?d(s):"0x",o??"0x",a?d(a):"0x",r??"0x"];if(t){const h=(()=>{if(t.v>=35n)return(t.v-35n)/2n>0?t.v:27n+(t.v===35n?0n:1n);if(n>0)return BigInt(n*2)+BigInt(35n+t.v-27n);const p=27n+(t.v===27n?0n:1n);if(t.v!==p)throw new pn({v:t.v});return p})(),l=I(t.r),b=I(t.s);f=[...f,d(h),l==="0x00"?"0x":l,b==="0x00"?"0x":b]}else n>0&&(f=[...f,d(n),"0x","0x"]);return z(f)}function R(e,t){const n=t??e,{v:s,yParity:r}=n;if(typeof n.r>"u")return[];if(typeof n.s>"u")return[];if(typeof s>"u"&&typeof r>"u")return[];const i=I(n.r),o=I(n.s);return[typeof r=="number"?r?d(1):"0x":s===0n?"0x":s===1n?d(1):s===27n?"0x":d(1),i==="0x00"?"0x":i,o==="0x00"?"0x":o]}const ss={gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}},rs={block:vn({format(e){var n;return{transactions:(n=e.transactions)==null?void 0:n.map(s=>{if(typeof s=="string")return s;const r=q(s);return r.typeHex==="0x7e"&&(r.isSystemTx=s.isSystemTx,r.mint=s.mint?F(s.mint):void 0,r.sourceHash=s.sourceHash,r.type="deposit"),r}),stateRoot:e.stateRoot}}}),transaction:Tn({format(e){const t={};return e.type==="0x7e"&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?F(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}}),transactionReceipt:Dn({format(e){return{l1GasPrice:e.l1GasPrice?F(e.l1GasPrice):null,l1GasUsed:e.l1GasUsed?F(e.l1GasUsed):null,l1Fee:e.l1Fee?F(e.l1Fee):null,l1FeeScalar:e.l1FeeScalar?Number(e.l1FeeScalar):null}}})};function is(e,t){return cs(e)?as(e):Jn(e,t)}const os={transaction:is};function as(e){us(e);const{sourceHash:t,data:n,from:s,gas:r,isSystemTx:i,mint:o,to:a,value:c}=e,f=[t,s,a??"0x",o?d(o):"0x",c?d(c):"0x",r?d(r):"0x",i?"0x1":"0x",n??"0x"];return U(["0x7e",z(f)])}function cs(e){return e.type==="deposit"||typeof e.sourceHash<"u"}function us(e){const{from:t,to:n}=e;if(t&&!w(t))throw new y({address:t});if(n&&!w(n))throw new y({address:n})}const Ue={contracts:ss,formatters:rs,serializers:os},V=1,Bt=J({...Ue,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:{...Ue.contracts,disputeGameFactory:{[V]:{address:"0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"}},l2OutputOracle:{[V]:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{[V]:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:17482143}},l1StandardBridge:{[V]:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:17482143}}},sourceId:V}),Tt=J({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}}}),It=J({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",apiUrl:"https://api-holesky.etherscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:77},ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",blockCreated:801613},ensUniversalResolver:{address:"0xa6AC935D4971E3CD133b950aE053bECD16fE7f3b",blockCreated:973484}},testnet:!0}),vt=J({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}}});var H=(e=>(e[e.Mainnet=vt.id]="Mainnet",e[e.Holesky=It.id]="Holesky",e[e.Base=Bt.id]="Base",e[e.Bsc=Tt.id]="Bsc",e))(H||{});const fs={[H.Mainnet]:vt,[H.Holesky]:It,[H.Base]:Bt,[H.Bsc]:Tt};exports.BaseError=u;exports.Chain=H;exports.ChainDoesNotSupportContract=Mn;exports.ChainMismatchError=Vn;exports.ChainNotFoundError=_n;exports.ClientChainNotConfiguredError=jn;exports.ExecutionRevertedError=de;exports.FeeCapTooHighError=j;exports.FeeCapTooLowError=rt;exports.FeeConflictError=hn;exports.InsufficientFundsError=ct;exports.IntegerOutOfRangeError=Ne;exports.IntrinsicGasTooHighError=ut;exports.IntrinsicGasTooLowError=ft;exports.InvalidAddressError=y;exports.InvalidBytesBooleanError=Ct;exports.InvalidBytesLengthError=$t;exports.LruMap=ce;exports.NonceMaxValueError=at;exports.NonceTooHighError=it;exports.NonceTooLowError=ot;exports.PositionOutOfBoundsError=Ze;exports.TipAboveFeeCapError=he;exports.TransactionExecutionError=mn;exports.TransactionNotFoundError=gn;exports.TransactionReceiptNotFoundError=yn;exports.TransactionTypeNotSupportedError=lt;exports.UnknownNodeError=Bn;exports.VIEM_CHAINS=fs;exports.WaitForTransactionReceiptTimeoutError=wn;exports.assertSize=C;exports.blobsToCommitments=be;exports.blobsToProofs=xe;exports.boolToHex=Oe;exports.bytesToHex=E;exports.checksumAddress=ue;exports.commitmentsToVersionedHashes=pt;exports.concat=an;exports.concatHex=U;exports.createCursor=fe;exports.formatBlock=ht;exports.formatEther=tt;exports.formatGwei=v;exports.formatLog=Et;exports.formatTransaction=q;exports.formatTransactionReceipt=Pt;exports.getAddress=rn;exports.getTransactionType=wt;exports.hexToBigInt=F;exports.hexToBool=Ut;exports.hexToBytes=$;exports.hexToNumber=_;exports.isAddress=w;exports.isHex=G;exports.keccak256=We;exports.maxUint256=X;exports.numberToHex=ne;exports.padHex=ke;exports.prettyPrint=le;exports.size=g;exports.slice=Xe;exports.sliceBytes=Je;exports.sliceHex=Qe;exports.stringToBytes=re;exports.stringToHex=Me;exports.toBlobSidecars=yt;exports.toBytes=se;exports.toHex=d;exports.toRlp=z;exports.trim=I;
9
- //# sourceMappingURL=constants-DA2xUb9r.cjs.map