viem 2.0.0-alpha.1 → 2.0.0-alpha.3

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 (196) hide show
  1. package/_cjs/{abi.js → abi/index.js} +9 -9
  2. package/_cjs/abi/index.js.map +1 -0
  3. package/_cjs/actions/public/estimateFeesPerGas.js +3 -2
  4. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  5. package/_cjs/actions/public/waitForTransactionReceipt.js +9 -4
  6. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  7. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  8. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  9. package/_cjs/chains/definitions/holesky.js +21 -0
  10. package/_cjs/chains/definitions/holesky.js.map +1 -0
  11. package/_cjs/chains/index.js +4 -2
  12. package/_cjs/chains/index.js.map +1 -1
  13. package/_cjs/chains/{utils.js → utils/index.js} +5 -5
  14. package/_cjs/chains/utils/index.js.map +1 -0
  15. package/_cjs/{contract.js → contract/index.js} +25 -25
  16. package/_cjs/contract/index.js.map +1 -0
  17. package/_cjs/{ens.js → ens/index.js} +9 -9
  18. package/_cjs/ens/index.js.map +1 -0
  19. package/_cjs/errors/node.js +11 -11
  20. package/_cjs/errors/node.js.map +1 -1
  21. package/_cjs/errors/rpc.js +18 -18
  22. package/_cjs/errors/rpc.js.map +1 -1
  23. package/_cjs/errors/version.js +1 -1
  24. package/_cjs/index.js.map +1 -1
  25. package/_cjs/{public.js → public/index.js} +29 -29
  26. package/_cjs/public/index.js.map +1 -0
  27. package/_cjs/{test.js → test/index.js} +29 -29
  28. package/_cjs/test/index.js.map +1 -0
  29. package/_cjs/types/eip1193.js.map +1 -1
  30. package/_cjs/utils/rpc.js +6 -3
  31. package/_cjs/utils/rpc.js.map +1 -1
  32. package/_cjs/{wallet.js → wallet/index.js} +11 -11
  33. package/_cjs/wallet/index.js.map +1 -0
  34. package/_cjs/{window.js → window/index.js} +2 -2
  35. package/_cjs/window/index.js.map +1 -0
  36. package/_esm/abi/index.js +7 -0
  37. package/_esm/abi/index.js.map +1 -0
  38. package/_esm/actions/public/estimateFeesPerGas.js +3 -2
  39. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
  40. package/_esm/actions/public/waitForTransactionReceipt.js +9 -4
  41. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
  42. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  43. package/_esm/actions/wallet/writeContract.js.map +1 -1
  44. package/_esm/chains/definitions/holesky.js +18 -0
  45. package/_esm/chains/definitions/holesky.js.map +1 -0
  46. package/_esm/chains/index.js +1 -0
  47. package/_esm/chains/index.js.map +1 -1
  48. package/_esm/chains/utils/index.js +5 -0
  49. package/_esm/chains/utils/index.js.map +1 -0
  50. package/_esm/contract/index.js +26 -0
  51. package/_esm/contract/index.js.map +1 -0
  52. package/_esm/ens/index.js +9 -0
  53. package/_esm/ens/index.js.map +1 -0
  54. package/_esm/errors/node.js +11 -22
  55. package/_esm/errors/node.js.map +1 -1
  56. package/_esm/errors/rpc.js +18 -36
  57. package/_esm/errors/rpc.js.map +1 -1
  58. package/_esm/errors/version.js +1 -1
  59. package/_esm/index.js.map +1 -1
  60. package/_esm/public/index.js +30 -0
  61. package/_esm/public/index.js.map +1 -0
  62. package/_esm/test/index.js +30 -0
  63. package/_esm/test/index.js.map +1 -0
  64. package/_esm/types/eip1193.js.map +1 -1
  65. package/_esm/utils/rpc.js +6 -2
  66. package/_esm/utils/rpc.js.map +1 -1
  67. package/_esm/wallet/index.js +12 -0
  68. package/_esm/wallet/index.js.map +1 -0
  69. package/_esm/window/index.js +2 -0
  70. package/_esm/window/index.js.map +1 -0
  71. package/_types/{abi.d.ts → abi/index.d.ts} +5 -5
  72. package/_types/abi/index.d.ts.map +1 -0
  73. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  74. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  75. package/_types/actions/wallet/signTypedData.d.ts +1 -1
  76. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  77. package/_types/actions/wallet/writeContract.d.ts +1 -1
  78. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  79. package/_types/chains/celo/formatters.d.ts +50 -50
  80. package/_types/chains/definitions/base.d.ts +162 -162
  81. package/_types/chains/definitions/baseGoerli.d.ts +162 -162
  82. package/_types/chains/definitions/celo.d.ts +165 -165
  83. package/_types/chains/definitions/celoAlfajores.d.ts +165 -165
  84. package/_types/chains/definitions/celoCannoli.d.ts +165 -165
  85. package/_types/chains/definitions/holesky.d.ts +24 -0
  86. package/_types/chains/definitions/holesky.d.ts.map +1 -0
  87. package/_types/chains/definitions/optimism.d.ts +162 -162
  88. package/_types/chains/definitions/optimismGoerli.d.ts +162 -162
  89. package/_types/chains/definitions/zora.d.ts +162 -162
  90. package/_types/chains/definitions/zoraTestnet.d.ts +162 -162
  91. package/_types/chains/index.d.ts +1 -0
  92. package/_types/chains/index.d.ts.map +1 -1
  93. package/_types/chains/optimism/formatters.d.ts +50 -50
  94. package/_types/chains/{utils.d.ts → utils/index.d.ts} +7 -7
  95. package/_types/chains/utils/index.d.ts.map +1 -0
  96. package/_types/clients/transports/webSocket.d.ts +2 -1
  97. package/_types/clients/transports/webSocket.d.ts.map +1 -1
  98. package/_types/{contract.d.ts → contract/index.d.ts} +26 -26
  99. package/_types/contract/index.d.ts.map +1 -0
  100. package/_types/ens/index.d.ts +9 -0
  101. package/_types/ens/index.d.ts.map +1 -0
  102. package/_types/errors/version.d.ts +1 -1
  103. package/_types/index.d.ts +1 -1
  104. package/_types/index.d.ts.map +1 -1
  105. package/_types/public/index.d.ts +33 -0
  106. package/_types/public/index.d.ts.map +1 -0
  107. package/_types/test/index.d.ts +29 -0
  108. package/_types/test/index.d.ts.map +1 -0
  109. package/_types/types/contract.d.ts +1 -1
  110. package/_types/types/contract.d.ts.map +1 -1
  111. package/_types/types/eip1193.d.ts +2 -2
  112. package/_types/types/eip1193.d.ts.map +1 -1
  113. package/_types/types/typedData.d.ts +2 -2
  114. package/_types/types/typedData.d.ts.map +1 -1
  115. package/_types/utils/formatters/transaction.d.ts +1 -1
  116. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  117. package/_types/utils/rpc.d.ts +3 -3
  118. package/_types/utils/rpc.d.ts.map +1 -1
  119. package/_types/wallet/index.d.ts +11 -0
  120. package/_types/wallet/index.d.ts.map +1 -0
  121. package/_types/window/index.d.ts +2 -0
  122. package/_types/window/index.d.ts.map +1 -0
  123. package/{abi.ts → abi/index.ts} +15 -13
  124. package/abi/package.json +6 -0
  125. package/accounts/package.json +6 -0
  126. package/actions/package.json +6 -0
  127. package/actions/public/estimateFeesPerGas.ts +3 -2
  128. package/actions/public/waitForTransactionReceipt.ts +13 -4
  129. package/actions/wallet/signTypedData.ts +4 -2
  130. package/actions/wallet/writeContract.ts +4 -1
  131. package/chains/definitions/holesky.ts +18 -0
  132. package/chains/index.ts +1 -0
  133. package/chains/package.json +6 -0
  134. package/chains/{utils.ts → utils/index.ts} +6 -6
  135. package/chains/utils/package.json +6 -0
  136. package/clients/package.json +6 -0
  137. package/clients/transports/webSocket.ts +1 -1
  138. package/{contract.ts → contract/index.ts} +27 -25
  139. package/contract/package.json +6 -0
  140. package/{ens.ts → ens/index.ts} +8 -8
  141. package/ens/package.json +6 -0
  142. package/errors/version.ts +1 -1
  143. package/index.ts +2 -0
  144. package/package.json +35 -34
  145. package/{public.ts → public/index.ts} +30 -28
  146. package/public/package.json +6 -0
  147. package/test/index.ts +85 -0
  148. package/test/package.json +6 -0
  149. package/types/contract.ts +1 -1
  150. package/types/eip1193.ts +5 -3
  151. package/types/typedData.ts +3 -2
  152. package/utils/package.json +6 -0
  153. package/utils/rpc.ts +6 -3
  154. package/{wallet.ts → wallet/index.ts} +15 -10
  155. package/wallet/package.json +6 -0
  156. package/window/index.ts +1 -0
  157. package/window/package.json +6 -0
  158. package/_cjs/abi.js.map +0 -1
  159. package/_cjs/chains/utils.js.map +0 -1
  160. package/_cjs/contract.js.map +0 -1
  161. package/_cjs/ens.js.map +0 -1
  162. package/_cjs/public.js.map +0 -1
  163. package/_cjs/test.js.map +0 -1
  164. package/_cjs/wallet.js.map +0 -1
  165. package/_cjs/window.js.map +0 -1
  166. package/_esm/abi.js +0 -6
  167. package/_esm/abi.js.map +0 -1
  168. package/_esm/chains/utils.js +0 -5
  169. package/_esm/chains/utils.js.map +0 -1
  170. package/_esm/contract.js +0 -25
  171. package/_esm/contract.js.map +0 -1
  172. package/_esm/ens.js +0 -9
  173. package/_esm/ens.js.map +0 -1
  174. package/_esm/public.js +0 -29
  175. package/_esm/public.js.map +0 -1
  176. package/_esm/test.js +0 -29
  177. package/_esm/test.js.map +0 -1
  178. package/_esm/wallet.js +0 -11
  179. package/_esm/wallet.js.map +0 -1
  180. package/_esm/window.js +0 -2
  181. package/_esm/window.js.map +0 -1
  182. package/_types/abi.d.ts.map +0 -1
  183. package/_types/chains/utils.d.ts.map +0 -1
  184. package/_types/contract.d.ts.map +0 -1
  185. package/_types/ens.d.ts +0 -9
  186. package/_types/ens.d.ts.map +0 -1
  187. package/_types/public.d.ts +0 -33
  188. package/_types/public.d.ts.map +0 -1
  189. package/_types/test.d.ts +0 -29
  190. package/_types/test.d.ts.map +0 -1
  191. package/_types/wallet.d.ts +0 -11
  192. package/_types/wallet.d.ts.map +0 -1
  193. package/_types/window.d.ts +0 -2
  194. package/_types/window.d.ts.map +0 -1
  195. package/test.ts +0 -83
  196. package/window.ts +0 -1
@@ -1,17 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.encodePacked = exports.parseAbiParameters = exports.parseAbiParameter = exports.parseAbiItem = exports.parseAbi = exports.getAbiItem = exports.encodeAbiParameters = exports.decodeAbiParameters = void 0;
4
- var decodeAbiParameters_js_1 = require("./utils/abi/decodeAbiParameters.js");
5
- Object.defineProperty(exports, "decodeAbiParameters", { enumerable: true, get: function () { return decodeAbiParameters_js_1.decodeAbiParameters; } });
6
- var encodeAbiParameters_js_1 = require("./utils/abi/encodeAbiParameters.js");
7
- Object.defineProperty(exports, "encodeAbiParameters", { enumerable: true, get: function () { return encodeAbiParameters_js_1.encodeAbiParameters; } });
8
- var getAbiItem_js_1 = require("./utils/abi/getAbiItem.js");
9
- Object.defineProperty(exports, "getAbiItem", { enumerable: true, get: function () { return getAbiItem_js_1.getAbiItem; } });
3
+ exports.encodePacked = exports.getAbiItem = exports.encodeAbiParameters = exports.decodeAbiParameters = exports.parseAbiParameters = exports.parseAbiParameter = exports.parseAbiItem = exports.parseAbi = void 0;
10
4
  var abitype_1 = require("abitype");
11
5
  Object.defineProperty(exports, "parseAbi", { enumerable: true, get: function () { return abitype_1.parseAbi; } });
12
6
  Object.defineProperty(exports, "parseAbiItem", { enumerable: true, get: function () { return abitype_1.parseAbiItem; } });
13
7
  Object.defineProperty(exports, "parseAbiParameter", { enumerable: true, get: function () { return abitype_1.parseAbiParameter; } });
14
8
  Object.defineProperty(exports, "parseAbiParameters", { enumerable: true, get: function () { return abitype_1.parseAbiParameters; } });
15
- var encodePacked_js_1 = require("./utils/abi/encodePacked.js");
9
+ var decodeAbiParameters_js_1 = require("../utils/abi/decodeAbiParameters.js");
10
+ Object.defineProperty(exports, "decodeAbiParameters", { enumerable: true, get: function () { return decodeAbiParameters_js_1.decodeAbiParameters; } });
11
+ var encodeAbiParameters_js_1 = require("../utils/abi/encodeAbiParameters.js");
12
+ Object.defineProperty(exports, "encodeAbiParameters", { enumerable: true, get: function () { return encodeAbiParameters_js_1.encodeAbiParameters; } });
13
+ var getAbiItem_js_1 = require("../utils/abi/getAbiItem.js");
14
+ Object.defineProperty(exports, "getAbiItem", { enumerable: true, get: function () { return getAbiItem_js_1.getAbiItem; } });
15
+ var encodePacked_js_1 = require("../utils/abi/encodePacked.js");
16
16
  Object.defineProperty(exports, "encodePacked", { enumerable: true, get: function () { return encodePacked_js_1.encodePacked; } });
17
- //# sourceMappingURL=abi.js.map
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../abi/index.ts"],"names":[],"mappings":";;;AAEA,mCASgB;AAJd,mGAAA,QAAQ,OAAA;AACR,uGAAA,YAAY,OAAA;AACZ,4GAAA,iBAAiB,OAAA;AACjB,6GAAA,kBAAkB,OAAA;AAEpB,8EAG4C;AAD1C,6HAAA,mBAAmB,OAAA;AAErB,8EAG4C;AAD1C,6HAAA,mBAAmB,OAAA;AAErB,4DAGmC;AADjC,2GAAA,UAAU,OAAA;AAEZ,gEAA2D;AAAlD,+GAAA,YAAY,OAAA"}
@@ -22,9 +22,10 @@ async function internal_estimateFeesPerGas(client, args) {
22
22
  })();
23
23
  if (baseFeeMultiplier < 1)
24
24
  throw new fee_js_1.BaseFeeScalarError();
25
- const decimals = baseFeeMultiplier.toString().split('.')[1].length;
25
+ const decimals = baseFeeMultiplier.toString().split('.')[1]?.length ?? 0;
26
26
  const denominator = 10 ** decimals;
27
- const multiply = (base) => (base * BigInt(baseFeeMultiplier * denominator)) / BigInt(denominator);
27
+ const multiply = (base) => (base * BigInt(Math.ceil(baseFeeMultiplier * denominator))) /
28
+ BigInt(denominator);
28
29
  const block = block_ ? block_ : await (0, getBlock_js_1.getBlock)(client);
29
30
  if (typeof chain?.fees?.estimateFeesPerGas === 'function')
30
31
  return chain.fees.estimateFeesPerGas({
@@ -1 +1 @@
1
- {"version":3,"file":"estimateFeesPerGas.js","sourceRoot":"","sources":["../../../actions/public/estimateFeesPerGas.ts"],"names":[],"mappings":";;;AAEA,gDAG4B;AAc5B,uFAAyF;AACzF,+CAAwC;AACxC,qDAA8C;AA+CvC,KAAK,UAAU,kBAAkB,CAKtC,MAAgC,EAChC,IAA+D;IAE/D,OAAO,2BAA2B,CAAC,MAAM,EAAE,IAAW,CAAC,CAAA;AACzD,CAAC;AATD,gDASC;AAEM,KAAK,UAAU,2BAA2B,CAK/C,MAAgC,EAChC,IAGC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MAAM,IAAA,uEAAqC,EACzC,MAAkC,EAClC;gBACE,KAAK;gBACL,KAAK;gBACL,OAAO;aACR,CACF,CAAA;QAEL,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;QACnD,MAAM,YAAY,GAChB,OAAO,EAAE,YAAY,IAAI,aAAa,GAAG,oBAAoB,CAAA;QAE/D,OAAO;YACL,YAAY;YACZ,oBAAoB;SACiB,CAAA;KACxC;IAED,MAAM,QAAQ,GAAG,OAAO,EAAE,QAAQ,IAAI,QAAQ,CAAC,MAAM,IAAA,4BAAW,EAAC,MAAM,CAAC,CAAC,CAAA;IACzE,OAAO;QACL,QAAQ;KAC6B,CAAA;AACzC,CAAC;AA3ED,kEA2EC"}
@@ -35,7 +35,9 @@ async function waitForTransactionReceipt(client, { confirmations = 1, hash, onRe
35
35
  };
36
36
  try {
37
37
  if (receipt) {
38
- if (blockNumber - receipt.blockNumber + 1n < confirmations)
38
+ if (confirmations > 1 &&
39
+ (!receipt.blockNumber ||
40
+ blockNumber - receipt.blockNumber + 1n < confirmations))
39
41
  return;
40
42
  done(() => emit.resolve(receipt));
41
43
  return;
@@ -53,8 +55,9 @@ async function waitForTransactionReceipt(client, { confirmations = 1, hash, onRe
53
55
  retrying = false;
54
56
  }
55
57
  receipt = await (0, getTransactionReceipt_js_1.getTransactionReceipt)(client, { hash });
56
- if (confirmations > 0 &&
57
- blockNumber - receipt.blockNumber + 1n < confirmations)
58
+ if (confirmations > 1 &&
59
+ (!receipt.blockNumber ||
60
+ blockNumber - receipt.blockNumber + 1n < confirmations))
58
61
  return;
59
62
  done(() => emit.resolve(receipt));
60
63
  }
@@ -75,7 +78,9 @@ async function waitForTransactionReceipt(client, { confirmations = 1, hash, onRe
75
78
  receipt = await (0, getTransactionReceipt_js_1.getTransactionReceipt)(client, {
76
79
  hash: replacementTransaction.hash,
77
80
  });
78
- if (blockNumber - receipt.blockNumber + 1n < confirmations)
81
+ if (confirmations > 1 &&
82
+ (!receipt.blockNumber ||
83
+ blockNumber - receipt.blockNumber + 1n < confirmations))
79
84
  return;
80
85
  let reason = 'replaced';
81
86
  if (replacementTransaction.to === replacedTransaction.to &&
@@ -1 +1 @@
1
- {"version":3,"file":"waitForTransactionReceipt.js","sourceRoot":"","sources":["../../../actions/public/waitForTransactionReceipt.ts"],"names":[],"mappings":";;;AAEA,gEAIoC;AAIpC,uDAAgD;AAChD,mEAA4D;AAC5D,2DAAoD;AAEpD,+CAAwC;AACxC,2DAG4B;AAC5B,yEAGmC;AACnC,+DAAwD;AA2EjD,KAAK,UAAU,yBAAyB,CAG7C,MAAiC,EACjC,EACE,aAAa,GAAG,CAAC,EACjB,IAAI,EACJ,UAAU,EACV,eAAe,GAAG,MAAM,CAAC,eAAe,EACxC,OAAO,GACqC;IAE9C,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC,CAAC,2BAA2B,EAAE,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,CAAA;IAE7E,IAAI,WAAyD,CAAA;IAC7D,IAAI,mBAAiE,CAAA;IACrE,IAAI,OAAgD,CAAA;IACpD,IAAI,QAAQ,GAAG,KAAK,CAAA;IAEpB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,IAAI,OAAO;YACT,UAAU,CACR,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,sDAAqC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EACjE,OAAO,CACR,CAAA;QAEH,MAAM,UAAU,GAAG,IAAA,oBAAO,EACxB,UAAU,EACV,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,EAC/B,CAAC,IAAI,EAAE,EAAE;YACP,MAAM,QAAQ,GAAG,IAAA,sCAAgB,EAAC,MAAM,EAAE;gBACxC,UAAU,EAAE,IAAI;gBAChB,WAAW,EAAE,IAAI;gBACjB,IAAI,EAAE,IAAI;gBACV,eAAe;gBACf,KAAK,CAAC,aAAa,CAAC,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CAAA;oCACF,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;gCACvB,CAAC,CAAC,CAAA;6BACH;4BAAC,OAAO,IAAI,EAAE;gCACb,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA;6BAC9B;yBACF;6BAAM;4BACL,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;yBAC7B;qBACF;gBACH,CAAC;aACF,CAAC,CAAA;QACJ,CAAC,CACF,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC;AA/JD,8DA+JC"}
1
+ {"version":3,"file":"waitForTransactionReceipt.js","sourceRoot":"","sources":["../../../actions/public/waitForTransactionReceipt.ts"],"names":[],"mappings":";;;AAEA,gEAIoC;AAIpC,uDAAgD;AAChD,mEAA4D;AAC5D,2DAAoD;AAEpD,+CAAwC;AACxC,2DAG4B;AAC5B,yEAGmC;AACnC,+DAAwD;AA2EjD,KAAK,UAAU,yBAAyB,CAG7C,MAAiC,EACjC,EACE,aAAa,GAAG,CAAC,EACjB,IAAI,EACJ,UAAU,EACV,eAAe,GAAG,MAAM,CAAC,eAAe,EACxC,OAAO,GACqC;IAE9C,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC,CAAC,2BAA2B,EAAE,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,CAAA;IAE7E,IAAI,WAAyD,CAAA;IAC7D,IAAI,mBAAiE,CAAA;IACrE,IAAI,OAAgD,CAAA;IACpD,IAAI,QAAQ,GAAG,KAAK,CAAA;IAEpB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,IAAI,OAAO;YACT,UAAU,CACR,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,sDAAqC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EACjE,OAAO,CACR,CAAA;QAEH,MAAM,UA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E,sBAAsB,CAAC,EAAE,KAAK,mBAAmB,CAAC,EAAE;oCACpD,sBAAsB,CAAC,KAAK,KAAK,mBAAmB,CAAC,KAAK,EAC1D;oCACA,MAAM,GAAG,UAAU,CAAA;iCACpB;qCAAM,IACL,sBAAsB,CAAC,IAAI,KAAK,sBAAsB,CAAC,EAAE;oCACzD,sBAAsB,CAAC,KAAK,KAAK,EAAE,EACnC;oCACA,MAAM,GAAG,WAAW,CAAA;iCACrB;gCAED,IAAI,CAAC,GAAG,EAAE;oCACR,IAAI,CAAC,UAAU,EAAE,CAAC;wCAChB,MAAM;wCACN,mBAAmB,EAAE,mBAAoB;wCACzC,WAAW,EAAE,sBAAsB;wCACnC,kBAAkB,EAAE,OAAO;qCAC5B,CAAC,CAAA;oCACF,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;gCACvB,CAAC,CAAC,CAAA;6BACH;4BAAC,OAAO,IAAI,EAAE;gCACb,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA;6BAC9B;yBACF;6BAAM;4BACL,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;yBAC7B;qBACF;gBACH,CAAC;aACF,CAAC,CAAA;QACJ,CAAC,CACF,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC;AAxKD,8DAwKC"}
@@ -1 +1 @@
1
- {"version":3,"file":"signTypedData.js","sourceRoot":"","sources":["../../../actions/wallet/signTypedData.ts"],"names":[],"mappings":";;;AAGA,0EAAmE;AAGnE,wDAA8D;AAK9D,wDAAiD;AACjD,2DAAoD;AACpD,2DAGiC;AA6G1B,KAAK,UAAU,aAAa,CAMjC,MAAyC,EACzC,UAAoE;IAEpE,MAAM,EACJ,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,MAAM,EACN,OAAO,EACP,WAAW,GACZ,GAAG,UAAgD,CAAA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CAAC;AA3BD,sCA2BC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.holesky = void 0;
4
+ const chain_js_1 = require("../../utils/chain.js");
5
+ exports.holesky = (0, chain_js_1.defineChain)({
6
+ id: 17000,
7
+ network: 'holesky',
8
+ name: 'Holesky',
9
+ nativeCurrency: { name: 'Holesky Ether', symbol: 'ETH', decimals: 18 },
10
+ rpcUrls: {
11
+ default: {
12
+ http: ['https://rpc.holesky.ethpandaops.io'],
13
+ },
14
+ public: {
15
+ http: ['https://rpc.holesky.ethpandaops.io'],
16
+ },
17
+ },
18
+ contracts: {},
19
+ testnet: true,
20
+ });
21
+ //# sourceMappingURL=holesky.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"holesky.js","sourceRoot":"","sources":["../../../chains/definitions/holesky.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAErC,QAAA,OAAO,GAAiB,IAAA,sBAAW,EAAC;IAC/C,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,oCAAoC,CAAC;SAC7C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,oCAAoC,CAAC;SAC7C;KACF;IACD,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.iotexTestnet = exports.iotex = exports.fuseSparknet = exports.fuse = exports.foundry = exports.flareTestnet = exports.flare = exports.filecoinHyperspace = exports.filecoinCalibration = exports.filecoin = exports.fibo = exports.fantomTestnet = exports.fantom = exports.ektaTestnet = exports.ekta = exports.evmosTestnet = exports.evmos = exports.eosTestnet = exports.eos = exports.edgewareTestnet = exports.edgeware = exports.dogechain = exports.dfk = exports.crossbell = exports.cronosTestnet = exports.cronos = exports.confluxESpace = exports.classic = exports.celoCannoli = exports.celoAlfajores = exports.celo = exports.canto = exports.bxnTestnet = exports.bxn = exports.bscTestnet = exports.bsc = exports.bronosTestnet = exports.bronos = exports.boba = exports.bearNetworkChainTestnet = exports.bearNetworkChainMainnet = exports.baseGoerli = exports.base = exports.avalancheFuji = exports.avalanche = exports.auroraTestnet = exports.aurora = exports.arbitrumNova = exports.arbitrumGoerli = exports.arbitrum = void 0;
4
- exports.sepolia = exports.scrollTestnet = exports.scrollSepolia = exports.saigon = exports.ronin = exports.rolluxTestnet = exports.rollux = exports.qTestnet = exports.qMainnet = exports.pulsechainV4 = exports.pulsechain = exports.polygonZkEvm = exports.polygonZkEvmTestnet = exports.polygonMumbai = exports.polygon = exports.plinga = exports.opBNBTestnet = exports.opBNB = exports.optimismGoerli = exports.optimism = exports.okc = exports.oasys = exports.nexilix = exports.nexi = exports.neonDevnet = exports.moonriver = exports.moonbeam = exports.moonbaseAlpha = exports.modeTestnet = exports.mevTestnet = exports.mev = exports.metisGoerli = exports.metis = exports.meterTestnet = exports.meter = exports.mantleTestnet = exports.mantle = exports.mainnet = exports.localhost = exports.lineaTestnet = exports.linea = exports.klaytn = exports.haqqTestedge2 = exports.haqqMainnet = exports.harmonyOne = exports.hardhat = exports.gnosisChiado = exports.gnosis = exports.goerli = exports.gobi = void 0;
5
- exports.zoraTestnet = exports.zora = exports.zetachainAthensTestnet = exports.zkSyncTestnet = exports.zkSync = exports.zhejiang = exports.xdcTestnet = exports.xdc = exports.wanchainTestnet = exports.wanchain = exports.vechain = exports.thunderTestnet = exports.telosTestnet = exports.telos = exports.taraxaTestnet = exports.taikoTestnetSepolia = exports.taikoJolnir = exports.taraxa = exports.syscoinTestnet = exports.syscoin = exports.shardeumSphinx = exports.songbirdTestnet = exports.songbird = exports.skaleTitanTestnet = exports.skaleTitan = exports.skaleRazor = exports.skaleNebulaTestnet = exports.skaleNebula = exports.skaleHumanProtocol = exports.skaleExorde = exports.skaleEuropaTestnet = exports.skaleEuropa = exports.skaleCryptoColosseum = exports.skaleCryptoBlades = exports.skaleChaosTestnet = exports.skaleCalypsoTestnet = exports.skaleCalypso = exports.skaleBlockBrawlers = void 0;
4
+ exports.scrollTestnet = exports.scrollSepolia = exports.saigon = exports.ronin = exports.rolluxTestnet = exports.rollux = exports.qTestnet = exports.qMainnet = exports.pulsechainV4 = exports.pulsechain = exports.polygonZkEvm = exports.polygonZkEvmTestnet = exports.polygonMumbai = exports.polygon = exports.plinga = exports.opBNBTestnet = exports.opBNB = exports.optimismGoerli = exports.optimism = exports.okc = exports.oasys = exports.nexilix = exports.nexi = exports.neonDevnet = exports.moonriver = exports.moonbeam = exports.moonbaseAlpha = exports.modeTestnet = exports.mevTestnet = exports.mev = exports.metisGoerli = exports.metis = exports.meterTestnet = exports.meter = exports.mantleTestnet = exports.mantle = exports.mainnet = exports.localhost = exports.lineaTestnet = exports.linea = exports.klaytn = exports.holesky = exports.haqqTestedge2 = exports.haqqMainnet = exports.harmonyOne = exports.hardhat = exports.gnosisChiado = exports.gnosis = exports.goerli = exports.gobi = void 0;
5
+ exports.zoraTestnet = exports.zora = exports.zetachainAthensTestnet = exports.zkSyncTestnet = exports.zkSync = exports.zhejiang = exports.xdcTestnet = exports.xdc = exports.wanchainTestnet = exports.wanchain = exports.vechain = exports.thunderTestnet = exports.telosTestnet = exports.telos = exports.taraxaTestnet = exports.taikoTestnetSepolia = exports.taikoJolnir = exports.taraxa = exports.syscoinTestnet = exports.syscoin = exports.shardeumSphinx = exports.songbirdTestnet = exports.songbird = exports.skaleTitanTestnet = exports.skaleTitan = exports.skaleRazor = exports.skaleNebulaTestnet = exports.skaleNebula = exports.skaleHumanProtocol = exports.skaleExorde = exports.skaleEuropaTestnet = exports.skaleEuropa = exports.skaleCryptoColosseum = exports.skaleCryptoBlades = exports.skaleChaosTestnet = exports.skaleCalypsoTestnet = exports.skaleCalypso = exports.skaleBlockBrawlers = exports.sepolia = void 0;
6
6
  var arbitrum_js_1 = require("./definitions/arbitrum.js");
7
7
  Object.defineProperty(exports, "arbitrum", { enumerable: true, get: function () { return arbitrum_js_1.arbitrum; } });
8
8
  var arbitrumGoerli_js_1 = require("./definitions/arbitrumGoerli.js");
@@ -119,6 +119,8 @@ var haqqMainnet_js_1 = require("./definitions/haqqMainnet.js");
119
119
  Object.defineProperty(exports, "haqqMainnet", { enumerable: true, get: function () { return haqqMainnet_js_1.haqqMainnet; } });
120
120
  var haqqTestedge2_js_1 = require("./definitions/haqqTestedge2.js");
121
121
  Object.defineProperty(exports, "haqqTestedge2", { enumerable: true, get: function () { return haqqTestedge2_js_1.haqqTestedge2; } });
122
+ var holesky_js_1 = require("./definitions/holesky.js");
123
+ Object.defineProperty(exports, "holesky", { enumerable: true, get: function () { return holesky_js_1.holesky; } });
122
124
  var klaytn_js_1 = require("./definitions/klaytn.js");
123
125
  Object.defineProperty(exports, "klaytn", { enumerable: true, get: function () { return klaytn_js_1.klaytn; } });
124
126
  var linea_js_1 = require("./definitions/linea.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":";;;;;AAKA,yDAAoD;AAA3C,uGAAA,QAAQ,OAAA;AACjB,qEAAgE;AAAvD,mHAAA,cAAc,OAAA;AACvB,iEAA4D;AAAnD,+GAAA,YAAY,OAAA;AACrB,qDAAgD;AAAvC,mGAAA,MAAM,OAAA;AACf,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,2DAAsD;AAA7C,yGAAA,SAAS,OAAA;AAClB,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,iDAA4C;AAAnC,+FAAA,IAAI,OAAA;AACb,6DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,uFAAkF;AAAzE,qIAAA,uBAAuB,OAAA;AAChC,uFAAkF;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,yEAAyE;AAAhE,sHAAA,kBAAkB,OAAA;AAC3B,yDAAyD;AAAhD,sGAAA,UAAU,OAAA;AACnB,yDAAyD;AAAhD,sGAAA,UAAU,OAAA;AACnB,uEAAuE;AAA9D,oHAAA,iBAAiB,OAAA;AAC1B,yDAAoD;AAA3C,uGAAA,QAAQ,OAAA;AACjB,uEAAkE;AAAzD,qHAAA,eAAe,OAAA;AACxB,qEAAgE;AAAvD,mHAAA,cAAc,OAAA;AACvB,uDAAkD;AAAzC,qGAAA,OAAO,OAAA;AAChB,qEAAgE;AAAvD,mHAAA,cAAc,OAAA;AACvB,qDAAgD;AAAvC,mGAAA,MAAM,OAAA;AACf,+DAA0D;AAAjD,6GAAA,WAAW,OAAA;AACpB,+EAA0E;AAAjE,6HAAA,mBAAmB,OAAA;AAC5B,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,mDAA8C;AAArC,iGAAA,KAAK,OAAA;AACd,iEAA4D;AAAnD,+GAAA,YAAY,OAAA;AACrB,qEAAgE;AAAvD,mHAAA,cAAc,OAAA;AACvB,uDAAkD;AAAzC,qGAAA,OAAO,OAAA;AAChB,yDAAoD;AAA3C,uGAAA,QAAQ,OAAA;AACjB,uEAAkE;AAAzD,qHAAA,eAAe,OAAA;AACxB,+CAA0C;AAAjC,6FAAA,GAAG,OAAA;AACZ,6DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,yDAAoD;AAA3C,uGAAA,QAAQ,OAAA;AACjB,qDAAgD;AAAvC,mGAAA,MAAM,OAAA;AACf,mEAA8D;AAArD,iHAAA,aAAa,OAAA;AACtB,qFAAgF;AAAvE,mIAAA,sBAAsB,OAAA;AAC/B,iDAA4C;AAAnC,+FAAA,IAAI,OAAA;AACb,+DAA0D;AAAjD,6GAAA,WAAW,OAAA"}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.formattersOptimism = exports.parseTransactionCelo = exports.serializersCelo = exports.serializeTransactionCelo = exports.formattersCelo = void 0;
4
- var formatters_js_1 = require("./celo/formatters.js");
4
+ var formatters_js_1 = require("../celo/formatters.js");
5
5
  Object.defineProperty(exports, "formattersCelo", { enumerable: true, get: function () { return formatters_js_1.formattersCelo; } });
6
- var serializers_js_1 = require("./celo/serializers.js");
6
+ var serializers_js_1 = require("../celo/serializers.js");
7
7
  Object.defineProperty(exports, "serializeTransactionCelo", { enumerable: true, get: function () { return serializers_js_1.serializeTransactionCelo; } });
8
8
  Object.defineProperty(exports, "serializersCelo", { enumerable: true, get: function () { return serializers_js_1.serializersCelo; } });
9
- var parsers_js_1 = require("./celo/parsers.js");
9
+ var parsers_js_1 = require("../celo/parsers.js");
10
10
  Object.defineProperty(exports, "parseTransactionCelo", { enumerable: true, get: function () { return parsers_js_1.parseTransactionCelo; } });
11
- var formatters_js_2 = require("./optimism/formatters.js");
11
+ var formatters_js_2 = require("../optimism/formatters.js");
12
12
  Object.defineProperty(exports, "formattersOptimism", { enumerable: true, get: function () { return formatters_js_2.formattersOptimism; } });
13
- //# sourceMappingURL=utils.js.map
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../chains/utils/index.ts"],"names":[],"mappings":";;;AAAA,uDAAsD;AAA7C,+GAAA,cAAc,OAAA;AACvB,yDAG+B;AAF7B,0HAAA,wBAAwB,OAAA;AACxB,iHAAA,eAAe,OAAA;AAEjB,iDAAyD;AAAhD,kHAAA,oBAAoB,OAAA;AAyB7B,2DAA8D;AAArD,mHAAA,kBAAkB,OAAA"}
@@ -1,52 +1,52 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.formatAbiItem = exports.formatAbiItemWithArgs = exports.getAbiItem = exports.encodeFunctionResult = exports.encodeFunctionData = exports.encodeEventTopics = exports.encodeErrorResult = exports.encodeDeployData = exports.encodeAbiParameters = exports.decodeFunctionResult = exports.decodeFunctionData = exports.decodeEventLog = exports.decodeErrorResult = exports.decodeAbiParameters = exports.writeContract = exports.deployContract = exports.watchContractEvent = exports.simulateContract = exports.readContract = exports.multicall = exports.getStorageAt = exports.getBytecode = exports.estimateContractGas = exports.createContractEventFilter = void 0;
4
- var createContractEventFilter_js_1 = require("./actions/public/createContractEventFilter.js");
4
+ var createContractEventFilter_js_1 = require("../actions/public/createContractEventFilter.js");
5
5
  Object.defineProperty(exports, "createContractEventFilter", { enumerable: true, get: function () { return createContractEventFilter_js_1.createContractEventFilter; } });
6
- var estimateContractGas_js_1 = require("./actions/public/estimateContractGas.js");
6
+ var estimateContractGas_js_1 = require("../actions/public/estimateContractGas.js");
7
7
  Object.defineProperty(exports, "estimateContractGas", { enumerable: true, get: function () { return estimateContractGas_js_1.estimateContractGas; } });
8
- var getBytecode_js_1 = require("./actions/public/getBytecode.js");
8
+ var getBytecode_js_1 = require("../actions/public/getBytecode.js");
9
9
  Object.defineProperty(exports, "getBytecode", { enumerable: true, get: function () { return getBytecode_js_1.getBytecode; } });
10
- var getStorageAt_js_1 = require("./actions/public/getStorageAt.js");
10
+ var getStorageAt_js_1 = require("../actions/public/getStorageAt.js");
11
11
  Object.defineProperty(exports, "getStorageAt", { enumerable: true, get: function () { return getStorageAt_js_1.getStorageAt; } });
12
- var multicall_js_1 = require("./actions/public/multicall.js");
12
+ var multicall_js_1 = require("../actions/public/multicall.js");
13
13
  Object.defineProperty(exports, "multicall", { enumerable: true, get: function () { return multicall_js_1.multicall; } });
14
- var readContract_js_1 = require("./actions/public/readContract.js");
14
+ var readContract_js_1 = require("../actions/public/readContract.js");
15
15
  Object.defineProperty(exports, "readContract", { enumerable: true, get: function () { return readContract_js_1.readContract; } });
16
- var simulateContract_js_1 = require("./actions/public/simulateContract.js");
16
+ var simulateContract_js_1 = require("../actions/public/simulateContract.js");
17
17
  Object.defineProperty(exports, "simulateContract", { enumerable: true, get: function () { return simulateContract_js_1.simulateContract; } });
18
- var watchContractEvent_js_1 = require("./actions/public/watchContractEvent.js");
18
+ var watchContractEvent_js_1 = require("../actions/public/watchContractEvent.js");
19
19
  Object.defineProperty(exports, "watchContractEvent", { enumerable: true, get: function () { return watchContractEvent_js_1.watchContractEvent; } });
20
- var deployContract_js_1 = require("./actions/wallet/deployContract.js");
20
+ var deployContract_js_1 = require("../actions/wallet/deployContract.js");
21
21
  Object.defineProperty(exports, "deployContract", { enumerable: true, get: function () { return deployContract_js_1.deployContract; } });
22
- var writeContract_js_1 = require("./actions/wallet/writeContract.js");
22
+ var writeContract_js_1 = require("../actions/wallet/writeContract.js");
23
23
  Object.defineProperty(exports, "writeContract", { enumerable: true, get: function () { return writeContract_js_1.writeContract; } });
24
- var decodeAbiParameters_js_1 = require("./utils/abi/decodeAbiParameters.js");
24
+ var decodeAbiParameters_js_1 = require("../utils/abi/decodeAbiParameters.js");
25
25
  Object.defineProperty(exports, "decodeAbiParameters", { enumerable: true, get: function () { return decodeAbiParameters_js_1.decodeAbiParameters; } });
26
- var decodeErrorResult_js_1 = require("./utils/abi/decodeErrorResult.js");
26
+ var decodeErrorResult_js_1 = require("../utils/abi/decodeErrorResult.js");
27
27
  Object.defineProperty(exports, "decodeErrorResult", { enumerable: true, get: function () { return decodeErrorResult_js_1.decodeErrorResult; } });
28
- var decodeEventLog_js_1 = require("./utils/abi/decodeEventLog.js");
28
+ var decodeEventLog_js_1 = require("../utils/abi/decodeEventLog.js");
29
29
  Object.defineProperty(exports, "decodeEventLog", { enumerable: true, get: function () { return decodeEventLog_js_1.decodeEventLog; } });
30
- var decodeFunctionData_js_1 = require("./utils/abi/decodeFunctionData.js");
30
+ var decodeFunctionData_js_1 = require("../utils/abi/decodeFunctionData.js");
31
31
  Object.defineProperty(exports, "decodeFunctionData", { enumerable: true, get: function () { return decodeFunctionData_js_1.decodeFunctionData; } });
32
- var decodeFunctionResult_js_1 = require("./utils/abi/decodeFunctionResult.js");
32
+ var decodeFunctionResult_js_1 = require("../utils/abi/decodeFunctionResult.js");
33
33
  Object.defineProperty(exports, "decodeFunctionResult", { enumerable: true, get: function () { return decodeFunctionResult_js_1.decodeFunctionResult; } });
34
- var encodeAbiParameters_js_1 = require("./utils/abi/encodeAbiParameters.js");
34
+ var encodeAbiParameters_js_1 = require("../utils/abi/encodeAbiParameters.js");
35
35
  Object.defineProperty(exports, "encodeAbiParameters", { enumerable: true, get: function () { return encodeAbiParameters_js_1.encodeAbiParameters; } });
36
- var encodeDeployData_js_1 = require("./utils/abi/encodeDeployData.js");
36
+ var encodeDeployData_js_1 = require("../utils/abi/encodeDeployData.js");
37
37
  Object.defineProperty(exports, "encodeDeployData", { enumerable: true, get: function () { return encodeDeployData_js_1.encodeDeployData; } });
38
- var encodeErrorResult_js_1 = require("./utils/abi/encodeErrorResult.js");
38
+ var encodeErrorResult_js_1 = require("../utils/abi/encodeErrorResult.js");
39
39
  Object.defineProperty(exports, "encodeErrorResult", { enumerable: true, get: function () { return encodeErrorResult_js_1.encodeErrorResult; } });
40
- var encodeEventTopics_js_1 = require("./utils/abi/encodeEventTopics.js");
40
+ var encodeEventTopics_js_1 = require("../utils/abi/encodeEventTopics.js");
41
41
  Object.defineProperty(exports, "encodeEventTopics", { enumerable: true, get: function () { return encodeEventTopics_js_1.encodeEventTopics; } });
42
- var encodeFunctionData_js_1 = require("./utils/abi/encodeFunctionData.js");
42
+ var encodeFunctionData_js_1 = require("../utils/abi/encodeFunctionData.js");
43
43
  Object.defineProperty(exports, "encodeFunctionData", { enumerable: true, get: function () { return encodeFunctionData_js_1.encodeFunctionData; } });
44
- var encodeFunctionResult_js_1 = require("./utils/abi/encodeFunctionResult.js");
44
+ var encodeFunctionResult_js_1 = require("../utils/abi/encodeFunctionResult.js");
45
45
  Object.defineProperty(exports, "encodeFunctionResult", { enumerable: true, get: function () { return encodeFunctionResult_js_1.encodeFunctionResult; } });
46
- var getAbiItem_js_1 = require("./utils/abi/getAbiItem.js");
46
+ var getAbiItem_js_1 = require("../utils/abi/getAbiItem.js");
47
47
  Object.defineProperty(exports, "getAbiItem", { enumerable: true, get: function () { return getAbiItem_js_1.getAbiItem; } });
48
- var formatAbiItemWithArgs_js_1 = require("./utils/abi/formatAbiItemWithArgs.js");
48
+ var formatAbiItemWithArgs_js_1 = require("../utils/abi/formatAbiItemWithArgs.js");
49
49
  Object.defineProperty(exports, "formatAbiItemWithArgs", { enumerable: true, get: function () { return formatAbiItemWithArgs_js_1.formatAbiItemWithArgs; } });
50
- var formatAbiItem_js_1 = require("./utils/abi/formatAbiItem.js");
50
+ var formatAbiItem_js_1 = require("../utils/abi/formatAbiItem.js");
51
51
  Object.defineProperty(exports, "formatAbiItem", { enumerable: true, get: function () { return formatAbiItem_js_1.formatAbiItem; } });
52
- //# sourceMappingURL=contract.js.map
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../contract/index.ts"],"names":[],"mappings":";;;AAEA,+FAIuD;AADrD,yIAAA,yBAAyB,OAAA;AAE3B,mFAIiD;AAD/C,6HAAA,mBAAmB,OAAA;AAErB,mEAIyC;AADvC,6GAAA,WAAW,OAAA;AAEb,qEAI0C;AADxC,+GAAA,YAAY,OAAA;AAEd,+DAIuC;AADrC,yGAAA,SAAS,OAAA;AAUX,qEAI0C;AADxC,+GAAA,YAAY,OAAA;AAEd,6EAI8C;AAD5C,uHAAA,gBAAgB,OAAA;AAElB,iFAGgD;AAD9C,2HAAA,kBAAkB,OAAA;AAEpB,yEAI4C;AAD1C,mHAAA,cAAc,OAAA;AAEhB,uEAI2C;AADzC,iHAAA,aAAa,OAAA;AAEf,8EAG4C;AAD1C,6HAAA,mBAAmB,OAAA;AAErB,0EAI0C;AADxC,yHAAA,iBAAiB,OAAA;AAEnB,oEAIuC;AADrC,mHAAA,cAAc,OAAA;AAEhB,4EAG2C;AADzC,2HAAA,kBAAkB,OAAA;AAEpB,gFAI6C;AAD3C,+HAAA,oBAAoB,OAAA;AAEtB,8EAG4C;AAD1C,6HAAA,mBAAmB,OAAA;AAErB,wEAGyC;AADvC,uHAAA,gBAAgB,OAAA;AAElB,0EAG0C;AADxC,yHAAA,iBAAiB,OAAA;AAEnB,0EAG0C;AADxC,yHAAA,iBAAiB,OAAA;AAEnB,4EAG2C;AADzC,2HAAA,kBAAkB,OAAA;AAEpB,gFAG6C;AAD3C,+HAAA,oBAAoB,OAAA;AAEtB,4DAGmC;AADjC,2GAAA,UAAU,OAAA;AAEZ,kFAA6E;AAApE,iIAAA,qBAAqB,OAAA;AAC9B,kEAA6D;AAApD,iHAAA,aAAa,OAAA"}
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.namehash = exports.labelhash = exports.getEnsText = exports.getEnsResolver = exports.getEnsName = exports.getEnsAvatar = exports.getEnsAddress = exports.normalize = void 0;
4
- var normalize_js_1 = require("./utils/ens/normalize.js");
4
+ var normalize_js_1 = require("../utils/ens/normalize.js");
5
5
  Object.defineProperty(exports, "normalize", { enumerable: true, get: function () { return normalize_js_1.normalize; } });
6
- var getEnsAddress_js_1 = require("./actions/ens/getEnsAddress.js");
6
+ var getEnsAddress_js_1 = require("../actions/ens/getEnsAddress.js");
7
7
  Object.defineProperty(exports, "getEnsAddress", { enumerable: true, get: function () { return getEnsAddress_js_1.getEnsAddress; } });
8
- var getEnsAvatar_js_1 = require("./actions/ens/getEnsAvatar.js");
8
+ var getEnsAvatar_js_1 = require("../actions/ens/getEnsAvatar.js");
9
9
  Object.defineProperty(exports, "getEnsAvatar", { enumerable: true, get: function () { return getEnsAvatar_js_1.getEnsAvatar; } });
10
- var getEnsName_js_1 = require("./actions/ens/getEnsName.js");
10
+ var getEnsName_js_1 = require("../actions/ens/getEnsName.js");
11
11
  Object.defineProperty(exports, "getEnsName", { enumerable: true, get: function () { return getEnsName_js_1.getEnsName; } });
12
- var getEnsResolver_js_1 = require("./actions/ens/getEnsResolver.js");
12
+ var getEnsResolver_js_1 = require("../actions/ens/getEnsResolver.js");
13
13
  Object.defineProperty(exports, "getEnsResolver", { enumerable: true, get: function () { return getEnsResolver_js_1.getEnsResolver; } });
14
- var getEnsText_js_1 = require("./actions/ens/getEnsText.js");
14
+ var getEnsText_js_1 = require("../actions/ens/getEnsText.js");
15
15
  Object.defineProperty(exports, "getEnsText", { enumerable: true, get: function () { return getEnsText_js_1.getEnsText; } });
16
- var labelhash_js_1 = require("./utils/ens/labelhash.js");
16
+ var labelhash_js_1 = require("../utils/ens/labelhash.js");
17
17
  Object.defineProperty(exports, "labelhash", { enumerable: true, get: function () { return labelhash_js_1.labelhash; } });
18
- var namehash_js_1 = require("./utils/ens/namehash.js");
18
+ var namehash_js_1 = require("../utils/ens/namehash.js");
19
19
  Object.defineProperty(exports, "namehash", { enumerable: true, get: function () { return namehash_js_1.namehash; } });
20
- //# sourceMappingURL=ens.js.map
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../ens/index.ts"],"names":[],"mappings":";;;AAAA,0DAAqD;AAA5C,yGAAA,SAAS,OAAA;AAClB,oEAIwC;AADtC,iHAAA,aAAa,OAAA;AAEf,kEAIuC;AADrC,+GAAA,YAAY,OAAA;AAEd,8DAIqC;AADnC,2GAAA,UAAU,OAAA;AAEZ,sEAIyC;AADvC,mHAAA,cAAc,OAAA;AAEhB,8DAIqC;AADnC,2GAAA,UAAU,OAAA;AAEZ,0DAAqD;AAA5C,yGAAA,SAAS,OAAA;AAClB,wDAAmD;AAA1C,uGAAA,QAAQ,OAAA"}
@@ -19,6 +19,7 @@ class ExecutionRevertedError extends base_js_1.BaseError {
19
19
  });
20
20
  }
21
21
  }
22
+ exports.ExecutionRevertedError = ExecutionRevertedError;
22
23
  Object.defineProperty(ExecutionRevertedError, "code", {
23
24
  enumerable: true,
24
25
  configurable: true,
@@ -31,7 +32,6 @@ Object.defineProperty(ExecutionRevertedError, "nodeMessage", {
31
32
  writable: true,
32
33
  value: /execution reverted/
33
34
  });
34
- exports.ExecutionRevertedError = ExecutionRevertedError;
35
35
  class FeeCapTooHighError extends base_js_1.BaseError {
36
36
  constructor({ cause, maxFeePerGas, } = {}) {
37
37
  super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${(0, formatGwei_js_1.formatGwei)(maxFeePerGas)} gwei` : ''}) cannot be higher than the maximum allowed value (2^256-1).`, {
@@ -45,13 +45,13 @@ class FeeCapTooHighError extends base_js_1.BaseError {
45
45
  });
46
46
  }
47
47
  }
48
+ exports.FeeCapTooHighError = FeeCapTooHighError;
48
49
  Object.defineProperty(FeeCapTooHighError, "nodeMessage", {
49
50
  enumerable: true,
50
51
  configurable: true,
51
52
  writable: true,
52
53
  value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
53
54
  });
54
- exports.FeeCapTooHighError = FeeCapTooHighError;
55
55
  class FeeCapTooLowError extends base_js_1.BaseError {
56
56
  constructor({ cause, maxFeePerGas, } = {}) {
57
57
  super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${(0, formatGwei_js_1.formatGwei)(maxFeePerGas)}` : ''} gwei) cannot be lower than the block base fee.`, {
@@ -65,13 +65,13 @@ class FeeCapTooLowError extends base_js_1.BaseError {
65
65
  });
66
66
  }
67
67
  }
68
+ exports.FeeCapTooLowError = FeeCapTooLowError;
68
69
  Object.defineProperty(FeeCapTooLowError, "nodeMessage", {
69
70
  enumerable: true,
70
71
  configurable: true,
71
72
  writable: true,
72
73
  value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
73
74
  });
74
- exports.FeeCapTooLowError = FeeCapTooLowError;
75
75
  class NonceTooHighError extends base_js_1.BaseError {
76
76
  constructor({ cause, nonce } = {}) {
77
77
  super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is higher than the next one expected.`, { cause });
@@ -83,13 +83,13 @@ class NonceTooHighError extends base_js_1.BaseError {
83
83
  });
84
84
  }
85
85
  }
86
+ exports.NonceTooHighError = NonceTooHighError;
86
87
  Object.defineProperty(NonceTooHighError, "nodeMessage", {
87
88
  enumerable: true,
88
89
  configurable: true,
89
90
  writable: true,
90
91
  value: /nonce too high/
91
92
  });
92
- exports.NonceTooHighError = NonceTooHighError;
93
93
  class NonceTooLowError extends base_js_1.BaseError {
94
94
  constructor({ cause, nonce } = {}) {
95
95
  super([
@@ -104,13 +104,13 @@ class NonceTooLowError extends base_js_1.BaseError {
104
104
  });
105
105
  }
106
106
  }
107
+ exports.NonceTooLowError = NonceTooLowError;
107
108
  Object.defineProperty(NonceTooLowError, "nodeMessage", {
108
109
  enumerable: true,
109
110
  configurable: true,
110
111
  writable: true,
111
112
  value: /nonce too low|transaction already imported|already known/
112
113
  });
113
- exports.NonceTooLowError = NonceTooLowError;
114
114
  class NonceMaxValueError extends base_js_1.BaseError {
115
115
  constructor({ cause, nonce } = {}) {
116
116
  super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}exceeds the maximum allowed nonce.`, { cause });
@@ -122,13 +122,13 @@ class NonceMaxValueError extends base_js_1.BaseError {
122
122
  });
123
123
  }
124
124
  }
125
+ exports.NonceMaxValueError = NonceMaxValueError;
125
126
  Object.defineProperty(NonceMaxValueError, "nodeMessage", {
126
127
  enumerable: true,
127
128
  configurable: true,
128
129
  writable: true,
129
130
  value: /nonce has max value/
130
131
  });
131
- exports.NonceMaxValueError = NonceMaxValueError;
132
132
  class InsufficientFundsError extends base_js_1.BaseError {
133
133
  constructor({ cause } = {}) {
134
134
  super([
@@ -154,13 +154,13 @@ class InsufficientFundsError extends base_js_1.BaseError {
154
154
  });
155
155
  }
156
156
  }
157
+ exports.InsufficientFundsError = InsufficientFundsError;
157
158
  Object.defineProperty(InsufficientFundsError, "nodeMessage", {
158
159
  enumerable: true,
159
160
  configurable: true,
160
161
  writable: true,
161
162
  value: /insufficient funds/
162
163
  });
163
- exports.InsufficientFundsError = InsufficientFundsError;
164
164
  class IntrinsicGasTooHighError extends base_js_1.BaseError {
165
165
  constructor({ cause, gas } = {}) {
166
166
  super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction exceeds the limit allowed for the block.`, {
@@ -174,13 +174,13 @@ class IntrinsicGasTooHighError extends base_js_1.BaseError {
174
174
  });
175
175
  }
176
176
  }
177
+ exports.IntrinsicGasTooHighError = IntrinsicGasTooHighError;
177
178
  Object.defineProperty(IntrinsicGasTooHighError, "nodeMessage", {
178
179
  enumerable: true,
179
180
  configurable: true,
180
181
  writable: true,
181
182
  value: /intrinsic gas too high|gas limit reached/
182
183
  });
183
- exports.IntrinsicGasTooHighError = IntrinsicGasTooHighError;
184
184
  class IntrinsicGasTooLowError extends base_js_1.BaseError {
185
185
  constructor({ cause, gas } = {}) {
186
186
  super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction is too low.`, {
@@ -194,13 +194,13 @@ class IntrinsicGasTooLowError extends base_js_1.BaseError {
194
194
  });
195
195
  }
196
196
  }
197
+ exports.IntrinsicGasTooLowError = IntrinsicGasTooLowError;
197
198
  Object.defineProperty(IntrinsicGasTooLowError, "nodeMessage", {
198
199
  enumerable: true,
199
200
  configurable: true,
200
201
  writable: true,
201
202
  value: /intrinsic gas too low/
202
203
  });
203
- exports.IntrinsicGasTooLowError = IntrinsicGasTooLowError;
204
204
  class TransactionTypeNotSupportedError extends base_js_1.BaseError {
205
205
  constructor({ cause }) {
206
206
  super('The transaction type is not supported for this chain.', {
@@ -214,13 +214,13 @@ class TransactionTypeNotSupportedError extends base_js_1.BaseError {
214
214
  });
215
215
  }
216
216
  }
217
+ exports.TransactionTypeNotSupportedError = TransactionTypeNotSupportedError;
217
218
  Object.defineProperty(TransactionTypeNotSupportedError, "nodeMessage", {
218
219
  enumerable: true,
219
220
  configurable: true,
220
221
  writable: true,
221
222
  value: /transaction type not valid/
222
223
  });
223
- exports.TransactionTypeNotSupportedError = TransactionTypeNotSupportedError;
224
224
  class TipAboveFeeCapError extends base_js_1.BaseError {
225
225
  constructor({ cause, maxPriorityFeePerGas, maxFeePerGas, } = {}) {
226
226
  super([
@@ -238,13 +238,13 @@ class TipAboveFeeCapError extends base_js_1.BaseError {
238
238
  });
239
239
  }
240
240
  }
241
+ exports.TipAboveFeeCapError = TipAboveFeeCapError;
241
242
  Object.defineProperty(TipAboveFeeCapError, "nodeMessage", {
242
243
  enumerable: true,
243
244
  configurable: true,
244
245
  writable: true,
245
246
  value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
246
247
  });
247
- exports.TipAboveFeeCapError = TipAboveFeeCapError;
248
248
  class UnknownNodeError extends base_js_1.BaseError {
249
249
  constructor({ cause }) {
250
250
  super(`An error occurred while executing: ${cause?.shortMessage}`, {
@@ -1 +1 @@
1
- {"version":3,"file":"node.js","sourceRoot":"","sources":["../../errors/node.ts"],"names":[],"mappings":";;;AAAA,+DAAwD;AAExD,uCAAqC;AAYrC,MAAa,sBAAuB,SAAQ,mBAAS;IAMnD,YAAY,EACV,KAAK,EACL,OAAO,MACoC,EAAE;QAC7C,MAAM,MAAM,GAAG,OAAO;YACpB,EAAE,OAAO,CAAC,sBAAsB,EAAE,EAAE,CAAC;YACrC,EAAE,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAA;QACrC,KAAK,CACH,sBACE,MAAM,CAAC,CAAC,CAAC,gBAAgB,MAAM,EAAE,CAAC,CAAC,CAAC,uBACtC,GAAG,EACH;YACE,KAAK;SACN,CACF,CAAA;QAhBM;;;;mBAAO,wBAAwB;WAAA;IAiBxC,CAAC;;AApBM;;;;WAAO,CAAC;EAAJ,CAAI;AACR;;;;WAAc,oBAAoB;EAAvB,CAAuB;AAF9B,wDAAsB;AAwBnC,MAAa,kBAAmB,SAAQ,mBAAS;IAI/C,YAAY,EACV,KAAK,EACL,YAAY,MACoC,EAAE;QAClD,KAAK,CACH,gCACE,YAAY,CAAC,CAAC,CAAC,MAAM,IAAA,0BAAU,EAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EACzD,8DAA8D,EAC9D;YACE,KAAK;SACN,CACF,CAAA;QAZM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