viem 2.0.0-beta.0 → 2.0.0-beta.2

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 (203) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/README.md +4 -0
  3. package/_cjs/actions/index.js.map +1 -1
  4. package/_cjs/actions/public/getBlockNumber.js +2 -2
  5. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  6. package/_cjs/actions/public/watchContractEvent.js +2 -1
  7. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  8. package/_cjs/chains/celo/formatters.js +23 -35
  9. package/_cjs/chains/celo/formatters.js.map +1 -1
  10. package/_cjs/chains/celo/serializers.js +20 -38
  11. package/_cjs/chains/celo/serializers.js.map +1 -1
  12. package/_cjs/chains/celo/utils.js +44 -0
  13. package/_cjs/chains/celo/utils.js.map +1 -0
  14. package/_cjs/chains/definitions/astar.js +29 -0
  15. package/_cjs/chains/definitions/astar.js.map +1 -0
  16. package/_cjs/chains/definitions/gnosis.js +4 -1
  17. package/_cjs/chains/definitions/gnosis.js.map +1 -1
  18. package/_cjs/chains/definitions/gnosisChiado.js +10 -1
  19. package/_cjs/chains/definitions/gnosisChiado.js.map +1 -1
  20. package/_cjs/chains/definitions/kava.js +29 -0
  21. package/_cjs/chains/definitions/kava.js.map +1 -0
  22. package/_cjs/chains/definitions/kavaTestnet.js +32 -0
  23. package/_cjs/chains/definitions/kavaTestnet.js.map +1 -0
  24. package/_cjs/chains/definitions/neonDevnet.js +1 -1
  25. package/_cjs/chains/definitions/neonDevnet.js.map +1 -1
  26. package/_cjs/chains/definitions/neonMainnet.js +27 -0
  27. package/_cjs/chains/definitions/neonMainnet.js.map +1 -0
  28. package/_cjs/chains/definitions/scrollSepolia.js +0 -1
  29. package/_cjs/chains/definitions/scrollSepolia.js.map +1 -1
  30. package/_cjs/chains/definitions/tenet.js +23 -0
  31. package/_cjs/chains/definitions/tenet.js.map +1 -0
  32. package/_cjs/chains/index.js +14 -4
  33. package/_cjs/chains/index.js.map +1 -1
  34. package/_cjs/chains/zksync/formatters.js +6 -2
  35. package/_cjs/chains/zksync/formatters.js.map +1 -1
  36. package/_cjs/errors/contract.js +1 -1
  37. package/_cjs/errors/contract.js.map +1 -1
  38. package/_cjs/errors/encoding.js +1 -37
  39. package/_cjs/errors/encoding.js.map +1 -1
  40. package/_cjs/errors/estimateGas.js +1 -1
  41. package/_cjs/errors/estimateGas.js.map +1 -1
  42. package/_cjs/errors/node.js +11 -11
  43. package/_cjs/errors/node.js.map +1 -1
  44. package/_cjs/errors/rpc.js +18 -18
  45. package/_cjs/errors/rpc.js.map +1 -1
  46. package/_cjs/errors/transaction.js +1 -1
  47. package/_cjs/errors/transaction.js.map +1 -1
  48. package/_cjs/errors/version.js +1 -1
  49. package/_cjs/index.js +5 -9
  50. package/_cjs/index.js.map +1 -1
  51. package/_cjs/utils/hash/getFunctionSignature.js +9 -9
  52. package/_cjs/utils/hash/getFunctionSignature.js.map +1 -1
  53. package/_cjs/utils/hash/normalizeSignature.js +48 -0
  54. package/_cjs/utils/hash/normalizeSignature.js.map +1 -0
  55. package/_cjs/utils/index.js +3 -10
  56. package/_cjs/utils/index.js.map +1 -1
  57. package/_cjs/utils/transaction/serializeTransaction.js +14 -5
  58. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  59. package/_esm/actions/index.js.map +1 -1
  60. package/_esm/actions/public/getBlockNumber.js +2 -2
  61. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  62. package/_esm/actions/public/watchContractEvent.js +2 -1
  63. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  64. package/_esm/chains/celo/formatters.js +23 -35
  65. package/_esm/chains/celo/formatters.js.map +1 -1
  66. package/_esm/chains/celo/serializers.js +19 -44
  67. package/_esm/chains/celo/serializers.js.map +1 -1
  68. package/_esm/chains/celo/utils.js +39 -0
  69. package/_esm/chains/celo/utils.js.map +1 -0
  70. package/_esm/chains/definitions/astar.js +26 -0
  71. package/_esm/chains/definitions/astar.js.map +1 -0
  72. package/_esm/chains/definitions/gnosis.js +4 -1
  73. package/_esm/chains/definitions/gnosis.js.map +1 -1
  74. package/_esm/chains/definitions/gnosisChiado.js +10 -1
  75. package/_esm/chains/definitions/gnosisChiado.js.map +1 -1
  76. package/_esm/chains/definitions/kava.js +26 -0
  77. package/_esm/chains/definitions/kava.js.map +1 -0
  78. package/_esm/chains/definitions/kavaTestnet.js +29 -0
  79. package/_esm/chains/definitions/kavaTestnet.js.map +1 -0
  80. package/_esm/chains/definitions/neonDevnet.js +1 -1
  81. package/_esm/chains/definitions/neonDevnet.js.map +1 -1
  82. package/_esm/chains/definitions/neonMainnet.js +24 -0
  83. package/_esm/chains/definitions/neonMainnet.js.map +1 -0
  84. package/_esm/chains/definitions/scrollSepolia.js +0 -1
  85. package/_esm/chains/definitions/scrollSepolia.js.map +1 -1
  86. package/_esm/chains/definitions/tenet.js +20 -0
  87. package/_esm/chains/definitions/tenet.js.map +1 -0
  88. package/_esm/chains/index.js +5 -0
  89. package/_esm/chains/index.js.map +1 -1
  90. package/_esm/chains/zksync/formatters.js +6 -2
  91. package/_esm/chains/zksync/formatters.js.map +1 -1
  92. package/_esm/errors/contract.js +1 -1
  93. package/_esm/errors/contract.js.map +1 -1
  94. package/_esm/errors/encoding.js +0 -36
  95. package/_esm/errors/encoding.js.map +1 -1
  96. package/_esm/errors/estimateGas.js +1 -1
  97. package/_esm/errors/estimateGas.js.map +1 -1
  98. package/_esm/errors/node.js +11 -22
  99. package/_esm/errors/node.js.map +1 -1
  100. package/_esm/errors/rpc.js +18 -36
  101. package/_esm/errors/rpc.js.map +1 -1
  102. package/_esm/errors/transaction.js +1 -1
  103. package/_esm/errors/transaction.js.map +1 -1
  104. package/_esm/errors/version.js +1 -1
  105. package/_esm/index.js +2 -4
  106. package/_esm/index.js.map +1 -1
  107. package/_esm/utils/hash/getFunctionSignature.js +9 -9
  108. package/_esm/utils/hash/getFunctionSignature.js.map +1 -1
  109. package/_esm/utils/hash/normalizeSignature.js +51 -0
  110. package/_esm/utils/hash/normalizeSignature.js.map +1 -0
  111. package/_esm/utils/index.js +1 -7
  112. package/_esm/utils/index.js.map +1 -1
  113. package/_esm/utils/transaction/serializeTransaction.js +17 -5
  114. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  115. package/_types/actions/index.d.ts +1 -5
  116. package/_types/actions/index.d.ts.map +1 -1
  117. package/_types/actions/public/getBlockNumber.d.ts +1 -3
  118. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  119. package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
  120. package/_types/chains/celo/formatters.d.ts +6 -6
  121. package/_types/chains/celo/formatters.d.ts.map +1 -1
  122. package/_types/chains/celo/serializers.d.ts +3 -2
  123. package/_types/chains/celo/serializers.d.ts.map +1 -1
  124. package/_types/chains/celo/types.d.ts +13 -9
  125. package/_types/chains/celo/types.d.ts.map +1 -1
  126. package/_types/chains/celo/utils.d.ts +7 -0
  127. package/_types/chains/celo/utils.d.ts.map +1 -0
  128. package/_types/chains/definitions/astar.d.ts +36 -0
  129. package/_types/chains/definitions/astar.d.ts.map +1 -0
  130. package/_types/chains/definitions/celo.d.ts +7 -7
  131. package/_types/chains/definitions/celoAlfajores.d.ts +7 -7
  132. package/_types/chains/definitions/celoCannoli.d.ts +7 -7
  133. package/_types/chains/definitions/gnosis.d.ts +1 -0
  134. package/_types/chains/definitions/gnosis.d.ts.map +1 -1
  135. package/_types/chains/definitions/gnosisChiado.d.ts +7 -8
  136. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
  137. package/_types/chains/definitions/kava.d.ts +36 -0
  138. package/_types/chains/definitions/kava.d.ts.map +1 -0
  139. package/_types/chains/definitions/kavaTestnet.d.ts +36 -0
  140. package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
  141. package/_types/chains/definitions/neonDevnet.d.ts +1 -1
  142. package/_types/chains/definitions/neonMainnet.d.ts +31 -0
  143. package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
  144. package/_types/chains/definitions/scrollSepolia.d.ts +0 -1
  145. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
  146. package/_types/chains/definitions/tenet.d.ts +38 -0
  147. package/_types/chains/definitions/tenet.d.ts.map +1 -0
  148. package/_types/chains/index.d.ts +5 -0
  149. package/_types/chains/index.d.ts.map +1 -1
  150. package/_types/chains/zksync/formatters.d.ts.map +1 -1
  151. package/_types/chains/zksync/types.d.ts +7 -7
  152. package/_types/chains/zksync/types.d.ts.map +1 -1
  153. package/_types/errors/encoding.d.ts +0 -33
  154. package/_types/errors/encoding.d.ts.map +1 -1
  155. package/_types/errors/version.d.ts +1 -1
  156. package/_types/index.d.ts +5 -25
  157. package/_types/index.d.ts.map +1 -1
  158. package/_types/types/contract.d.ts +6 -6
  159. package/_types/types/contract.d.ts.map +1 -1
  160. package/_types/utils/hash/getFunctionSignature.d.ts +4 -5
  161. package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -1
  162. package/_types/utils/hash/normalizeSignature.d.ts +6 -0
  163. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
  164. package/_types/utils/index.d.ts +1 -7
  165. package/_types/utils/index.d.ts.map +1 -1
  166. package/actions/index.ts +0 -4
  167. package/actions/public/getBlockNumber.ts +2 -4
  168. package/actions/public/watchContractEvent.ts +2 -1
  169. package/chains/celo/formatters.ts +24 -37
  170. package/chains/celo/serializers.ts +23 -59
  171. package/chains/celo/types.ts +30 -21
  172. package/chains/celo/utils.ts +68 -0
  173. package/chains/definitions/astar.ts +26 -0
  174. package/chains/definitions/gnosis.ts +4 -1
  175. package/chains/definitions/gnosisChiado.ts +10 -1
  176. package/chains/definitions/kava.ts +26 -0
  177. package/chains/definitions/kavaTestnet.ts +29 -0
  178. package/chains/definitions/neonDevnet.ts +1 -1
  179. package/chains/definitions/neonMainnet.ts +24 -0
  180. package/chains/definitions/scrollSepolia.ts +0 -1
  181. package/chains/definitions/tenet.ts +20 -0
  182. package/chains/index.ts +5 -0
  183. package/chains/zksync/formatters.ts +6 -2
  184. package/chains/zksync/types.ts +7 -7
  185. package/errors/contract.ts +1 -1
  186. package/errors/encoding.ts +0 -43
  187. package/errors/estimateGas.ts +1 -1
  188. package/errors/transaction.ts +1 -1
  189. package/errors/version.ts +1 -1
  190. package/index.ts +0 -26
  191. package/package.json +2 -1
  192. package/types/contract.ts +4 -20
  193. package/utils/hash/getFunctionSignature.ts +11 -21
  194. package/utils/hash/normalizeSignature.ts +64 -0
  195. package/utils/index.ts +0 -15
  196. package/utils/transaction/serializeTransaction.ts +17 -4
  197. package/_cjs/utils/contract/extractFunctionParts.js +0 -31
  198. package/_cjs/utils/contract/extractFunctionParts.js.map +0 -1
  199. package/_esm/utils/contract/extractFunctionParts.js +0 -24
  200. package/_esm/utils/contract/extractFunctionParts.js.map +0 -1
  201. package/_types/utils/contract/extractFunctionParts.d.ts +0 -18
  202. package/_types/utils/contract/extractFunctionParts.d.ts.map +0 -1
  203. package/utils/contract/extractFunctionParts.ts +0 -37
@@ -61,13 +61,13 @@ class ParseRpcError extends RpcError {
61
61
  });
62
62
  }
63
63
  }
64
+ exports.ParseRpcError = ParseRpcError;
64
65
  Object.defineProperty(ParseRpcError, "code", {
65
66
  enumerable: true,
66
67
  configurable: true,
67
68
  writable: true,
68
69
  value: -32700
69
70
  });
70
- exports.ParseRpcError = ParseRpcError;
71
71
  class InvalidRequestRpcError extends RpcError {
72
72
  constructor(cause) {
73
73
  super(cause, {
@@ -82,13 +82,13 @@ class InvalidRequestRpcError extends RpcError {
82
82
  });
83
83
  }
84
84
  }
85
+ exports.InvalidRequestRpcError = InvalidRequestRpcError;
85
86
  Object.defineProperty(InvalidRequestRpcError, "code", {
86
87
  enumerable: true,
87
88
  configurable: true,
88
89
  writable: true,
89
90
  value: -32600
90
91
  });
91
- exports.InvalidRequestRpcError = InvalidRequestRpcError;
92
92
  class MethodNotFoundRpcError extends RpcError {
93
93
  constructor(cause) {
94
94
  super(cause, {
@@ -103,13 +103,13 @@ class MethodNotFoundRpcError extends RpcError {
103
103
  });
104
104
  }
105
105
  }
106
+ exports.MethodNotFoundRpcError = MethodNotFoundRpcError;
106
107
  Object.defineProperty(MethodNotFoundRpcError, "code", {
107
108
  enumerable: true,
108
109
  configurable: true,
109
110
  writable: true,
110
111
  value: -32601
111
112
  });
112
- exports.MethodNotFoundRpcError = MethodNotFoundRpcError;
113
113
  class InvalidParamsRpcError extends RpcError {
114
114
  constructor(cause) {
115
115
  super(cause, {
@@ -127,13 +127,13 @@ class InvalidParamsRpcError extends RpcError {
127
127
  });
128
128
  }
129
129
  }
130
+ exports.InvalidParamsRpcError = InvalidParamsRpcError;
130
131
  Object.defineProperty(InvalidParamsRpcError, "code", {
131
132
  enumerable: true,
132
133
  configurable: true,
133
134
  writable: true,
134
135
  value: -32602
135
136
  });
136
- exports.InvalidParamsRpcError = InvalidParamsRpcError;
137
137
  class InternalRpcError extends RpcError {
138
138
  constructor(cause) {
139
139
  super(cause, {
@@ -148,13 +148,13 @@ class InternalRpcError extends RpcError {
148
148
  });
149
149
  }
150
150
  }
151
+ exports.InternalRpcError = InternalRpcError;
151
152
  Object.defineProperty(InternalRpcError, "code", {
152
153
  enumerable: true,
153
154
  configurable: true,
154
155
  writable: true,
155
156
  value: -32603
156
157
  });
157
- exports.InternalRpcError = InternalRpcError;
158
158
  class InvalidInputRpcError extends RpcError {
159
159
  constructor(cause) {
160
160
  super(cause, {
@@ -172,13 +172,13 @@ class InvalidInputRpcError extends RpcError {
172
172
  });
173
173
  }
174
174
  }
175
+ exports.InvalidInputRpcError = InvalidInputRpcError;
175
176
  Object.defineProperty(InvalidInputRpcError, "code", {
176
177
  enumerable: true,
177
178
  configurable: true,
178
179
  writable: true,
179
180
  value: -32000
180
181
  });
181
- exports.InvalidInputRpcError = InvalidInputRpcError;
182
182
  class ResourceNotFoundRpcError extends RpcError {
183
183
  constructor(cause) {
184
184
  super(cause, {
@@ -193,13 +193,13 @@ class ResourceNotFoundRpcError extends RpcError {
193
193
  });
194
194
  }
195
195
  }
196
+ exports.ResourceNotFoundRpcError = ResourceNotFoundRpcError;
196
197
  Object.defineProperty(ResourceNotFoundRpcError, "code", {
197
198
  enumerable: true,
198
199
  configurable: true,
199
200
  writable: true,
200
201
  value: -32001
201
202
  });
202
- exports.ResourceNotFoundRpcError = ResourceNotFoundRpcError;
203
203
  class ResourceUnavailableRpcError extends RpcError {
204
204
  constructor(cause) {
205
205
  super(cause, {
@@ -214,13 +214,13 @@ class ResourceUnavailableRpcError extends RpcError {
214
214
  });
215
215
  }
216
216
  }
217
+ exports.ResourceUnavailableRpcError = ResourceUnavailableRpcError;
217
218
  Object.defineProperty(ResourceUnavailableRpcError, "code", {
218
219
  enumerable: true,
219
220
  configurable: true,
220
221
  writable: true,
221
222
  value: -32002
222
223
  });
223
- exports.ResourceUnavailableRpcError = ResourceUnavailableRpcError;
224
224
  class TransactionRejectedRpcError extends RpcError {
225
225
  constructor(cause) {
226
226
  super(cause, {
@@ -235,13 +235,13 @@ class TransactionRejectedRpcError extends RpcError {
235
235
  });
236
236
  }
237
237
  }
238
+ exports.TransactionRejectedRpcError = TransactionRejectedRpcError;
238
239
  Object.defineProperty(TransactionRejectedRpcError, "code", {
239
240
  enumerable: true,
240
241
  configurable: true,
241
242
  writable: true,
242
243
  value: -32003
243
244
  });
244
- exports.TransactionRejectedRpcError = TransactionRejectedRpcError;
245
245
  class MethodNotSupportedRpcError extends RpcError {
246
246
  constructor(cause) {
247
247
  super(cause, {
@@ -256,13 +256,13 @@ class MethodNotSupportedRpcError extends RpcError {
256
256
  });
257
257
  }
258
258
  }
259
+ exports.MethodNotSupportedRpcError = MethodNotSupportedRpcError;
259
260
  Object.defineProperty(MethodNotSupportedRpcError, "code", {
260
261
  enumerable: true,
261
262
  configurable: true,
262
263
  writable: true,
263
264
  value: -32004
264
265
  });
265
- exports.MethodNotSupportedRpcError = MethodNotSupportedRpcError;
266
266
  class LimitExceededRpcError extends RpcError {
267
267
  constructor(cause) {
268
268
  super(cause, {
@@ -277,13 +277,13 @@ class LimitExceededRpcError extends RpcError {
277
277
  });
278
278
  }
279
279
  }
280
+ exports.LimitExceededRpcError = LimitExceededRpcError;
280
281
  Object.defineProperty(LimitExceededRpcError, "code", {
281
282
  enumerable: true,
282
283
  configurable: true,
283
284
  writable: true,
284
285
  value: -32005
285
286
  });
286
- exports.LimitExceededRpcError = LimitExceededRpcError;
287
287
  class JsonRpcVersionUnsupportedError extends RpcError {
288
288
  constructor(cause) {
289
289
  super(cause, {
@@ -298,13 +298,13 @@ class JsonRpcVersionUnsupportedError extends RpcError {
298
298
  });
299
299
  }
300
300
  }
301
+ exports.JsonRpcVersionUnsupportedError = JsonRpcVersionUnsupportedError;
301
302
  Object.defineProperty(JsonRpcVersionUnsupportedError, "code", {
302
303
  enumerable: true,
303
304
  configurable: true,
304
305
  writable: true,
305
306
  value: -32006
306
307
  });
307
- exports.JsonRpcVersionUnsupportedError = JsonRpcVersionUnsupportedError;
308
308
  class UserRejectedRequestError extends ProviderRpcError {
309
309
  constructor(cause) {
310
310
  super(cause, {
@@ -319,13 +319,13 @@ class UserRejectedRequestError extends ProviderRpcError {
319
319
  });
320
320
  }
321
321
  }
322
+ exports.UserRejectedRequestError = UserRejectedRequestError;
322
323
  Object.defineProperty(UserRejectedRequestError, "code", {
323
324
  enumerable: true,
324
325
  configurable: true,
325
326
  writable: true,
326
327
  value: 4001
327
328
  });
328
- exports.UserRejectedRequestError = UserRejectedRequestError;
329
329
  class UnauthorizedProviderError extends ProviderRpcError {
330
330
  constructor(cause) {
331
331
  super(cause, {
@@ -340,13 +340,13 @@ class UnauthorizedProviderError extends ProviderRpcError {
340
340
  });
341
341
  }
342
342
  }
343
+ exports.UnauthorizedProviderError = UnauthorizedProviderError;
343
344
  Object.defineProperty(UnauthorizedProviderError, "code", {
344
345
  enumerable: true,
345
346
  configurable: true,
346
347
  writable: true,
347
348
  value: 4100
348
349
  });
349
- exports.UnauthorizedProviderError = UnauthorizedProviderError;
350
350
  class UnsupportedProviderMethodError extends ProviderRpcError {
351
351
  constructor(cause) {
352
352
  super(cause, {
@@ -361,13 +361,13 @@ class UnsupportedProviderMethodError extends ProviderRpcError {
361
361
  });
362
362
  }
363
363
  }
364
+ exports.UnsupportedProviderMethodError = UnsupportedProviderMethodError;
364
365
  Object.defineProperty(UnsupportedProviderMethodError, "code", {
365
366
  enumerable: true,
366
367
  configurable: true,
367
368
  writable: true,
368
369
  value: 4200
369
370
  });
370
- exports.UnsupportedProviderMethodError = UnsupportedProviderMethodError;
371
371
  class ProviderDisconnectedError extends ProviderRpcError {
372
372
  constructor(cause) {
373
373
  super(cause, {
@@ -382,13 +382,13 @@ class ProviderDisconnectedError extends ProviderRpcError {
382
382
  });
383
383
  }
384
384
  }
385
+ exports.ProviderDisconnectedError = ProviderDisconnectedError;
385
386
  Object.defineProperty(ProviderDisconnectedError, "code", {
386
387
  enumerable: true,
387
388
  configurable: true,
388
389
  writable: true,
389
390
  value: 4900
390
391
  });
391
- exports.ProviderDisconnectedError = ProviderDisconnectedError;
392
392
  class ChainDisconnectedError extends ProviderRpcError {
393
393
  constructor(cause) {
394
394
  super(cause, {
@@ -403,13 +403,13 @@ class ChainDisconnectedError extends ProviderRpcError {
403
403
  });
404
404
  }
405
405
  }
406
+ exports.ChainDisconnectedError = ChainDisconnectedError;
406
407
  Object.defineProperty(ChainDisconnectedError, "code", {
407
408
  enumerable: true,
408
409
  configurable: true,
409
410
  writable: true,
410
411
  value: 4901
411
412
  });
412
- exports.ChainDisconnectedError = ChainDisconnectedError;
413
413
  class SwitchChainError extends ProviderRpcError {
414
414
  constructor(cause) {
415
415
  super(cause, {
@@ -424,13 +424,13 @@ class SwitchChainError extends ProviderRpcError {
424
424
  });
425
425
  }
426
426
  }
427
+ exports.SwitchChainError = SwitchChainError;
427
428
  Object.defineProperty(SwitchChainError, "code", {
428
429
  enumerable: true,
429
430
  configurable: true,
430
431
  writable: true,
431
432
  value: 4902
432
433
  });
433
- exports.SwitchChainError = SwitchChainError;
434
434
  class UnknownRpcError extends RpcError {
435
435
  constructor(cause) {
436
436
  super(cause, {
@@ -1 +1 @@
1
- {"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../errors/rpc.ts"],"names":[],"mappings":";;;AACA,uCAAqC;AACrC,6CAA8C;AAE9C,MAAM,gBAAgB,GAAG,CAAC,CAAC,CAAA;AA+B3B,MAAa,QAA8C,SAAQ,mBAAS;IAK1E,YACE,KAAY,EACZ,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAA0B;QAEtE,KAAK,CAAC,YAAY,EAAE;YAClB,KAAK;YACL,QAAQ;YACR,YAAY,EACV,YAAY,IAAK,KAAqC,EAAE,YAAY;SACvE,CAAC,CAAA;QAbK;;;;mBAAO,UAAU;WAAA;QAE1B;;;;;WAA2B;QAYzB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,CACV,KAAK,YAAY,4BAAe,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,gBAAgB,CAChE,CAAA;IACZ,CAAC;CACF;AApBD,4BAoBC;AAkBD,MAAa,gBAEX,SAAQ,QAA8B;IAKtC,YACE,KAAY,EACZ,OAIC;QAED,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAZd;;;;mBAAO,kBAAkB;WAAA;QAElC;;;;;WAAQ;QAYN,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1B,CAAC;CACF;AAnBD,4CAmBC;AAWD,MAAa,aAAc,SAAQ,QAAQ;IAIzC,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,IAAI,EAAE,aAAa,CAAC,IAAI;YACxB,YAAY,EACV,uGAAuG;SAC1G,CAAC,CAAA;QARK;;;;mBAAO,eAAe;WAAA;IAS/B,CAAC;;AARM;;;;WAAO,CAAC,KAAc;EAAlB,C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AAE,qDAAqD;SACpE,CAAC,CAAA;QAPK;;;;mBAAO,gCAAgC;WAAA;IAQhD,CAAC;;AATH,wEAUC;AARQ;;;;WAAO,IAAa;EAAhB,CAAgB;AAmB7B,MAAa,yBAA0B,SAAQ,gBAAgB;IAI7D,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,IAAI,EAAE,yBAAyB,CAAC,IAAI;YACpC,YAAY,EAAE,+CAA+C;SAC9D,CAAC,CAAA;QAPK;;;;mBAAO,2BAA2B;WAAA;IAQ3C,CAAC;;AATH,8DAUC;AARQ;;;;WAAO,IAAa;EAAhB,CAAgB;AAmB7B,MAAa,sBAAuB,SAAQ,gBAAgB;IAI1D,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,IAAI,EAAE,sBAAsB,CAAC,IAAI;YACjC,YAAY,EAAE,uDAAuD;SACtE,CAAC,CAAA;QAPK;;;;mBAAO,wBAAwB;WAAA;IAQxC,CAAC;;AATH,wDAUC;AARQ;;;;WAAO,IAAa;EAAhB,CAAgB;AAmB7B,MAAa,gBAAiB,SAAQ,gBAAgB;IAIpD,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,IAAI,EAAE,gBAAgB,CAAC,IAAI;YAC3B,YAAY,EAAE,oDAAoD;SACnE,CAAC,CAAA;QAPK;;;;mBAAO,kBAAkB;WAAA;IAQlC,CAAC;;AATH,4CAUC;AARQ;;;;WAAO,IAAa;EAAhB,CAAgB;AAgB7B,MAAa,eAAgB,SAAQ,QAAQ;IAG3C,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,YAAY,EAAE,gCAAgC;SAC/C,CAAC,CAAA;QALK;;;;mBAAO,iBAAiB;WAAA;IAMjC,CAAC;CACF;AARD,0CAQC"}
@@ -142,7 +142,7 @@ class TransactionExecutionError extends base_js_1.BaseError {
142
142
  from: account?.address,
143
143
  to,
144
144
  value: typeof value !== 'undefined' &&
145
- `${(0, formatEther_js_1.formatEther)(value)} ${chain?.nativeCurrency.symbol || 'ETH'}`,
145
+ `${(0, formatEther_js_1.formatEther)(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,
146
146
  data,
147
147
  gas,
148
148
  gasPrice: typeof gasPrice !== 'undefined' && `${(0, formatGwei_js_1.formatGwei)(gasPrice)} gwei`,
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../errors/transaction.ts"],"names":[],"mappings":";;;AAMA,iEAA0D;AAC1D,+DAAwD;AAExD,uCAAqC;AAErC,SAAgB,WAAW,CACzB,IAA4E;IAE5E,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;SACjC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACpB,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK;YAAE,OAAO,IAAI,CAAA;QACvD,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;IACrB,CAAC,CAAC;SACD,MAAM,CAAC,OAAO,CAAuB,CAAA;IACxC,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAA;IAC9E,OAAO,OAAO;SACX,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;SACvE,IAAI,CAAC,IAAI,CAAC,CAAA;AACf,CAAC;AAbD,kCAaC;AAKD,MAAa,gBAAiB,SAAQ,mBAAS;IAE7C;QACE,KAAK,CACH;YACE,+EAA+E;YAC/E,wGAAwG;SACzG,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,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Q,IAAI,KAAK,KAAK,SAAS;YACjC,UAAU,GAAG,8BAA8B,QAAQ,eAAe,KAAK,GAAG,CAAA;QAC5E,IAAI,SAAS,IAAI,KAAK,KAAK,SAAS;YAClC,UAAU,GAAG,8BAA8B,SAAS,eAAe,KAAK,GAAG,CAAA;QAC7E,IAAI,WAAW,IAAI,KAAK,KAAK,SAAS;YACpC,UAAU,GAAG,gCAAgC,WAAW,eAAe,KAAK,GAAG,CAAA;QACjF,IAAI,IAAI;YAAE,UAAU,GAAG,0BAA0B,IAAI,GAAG,CAAA;QACxD,KAAK,CAAC,GAAG,UAAU,sBAAsB,CAAC,CAAA;QAtBnC;;;;mBAAO,0BAA0B;WAAA;IAuB1C,CAAC;CACF;AAzBD,4DAyBC;AAMD,MAAa,+BAAgC,SAAQ,mBAAS;IAE5D,YAAY,EAAE,IAAI,EAAkB;QAClC,KAAK,CACH,kCAAkC,IAAI,4EAA4E,CACnH,CAAA;QAJM;;;;mBAAO,iCAAiC;WAAA;IAKjD,CAAC;CACF;AAPD,0EAOC;AAMD,MAAa,qCAAsC,SAAQ,mBAAS;IAElE,YAAY,EAAE,IAAI,EAAkB;QAClC,KAAK,CACH,sDAAsD,IAAI,oBAAoB,CAC/E,CAAA;QAJM;;;;mBAAO,uCAAuC;WAAA;IAKvD,CAAC;CACF;AAPD,sFAOC"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '2.0.0-beta.0';
4
+ exports.version = '2.0.0-beta.2';
5
5
  //# sourceMappingURL=version.js.map
package/_cjs/index.js CHANGED
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.maxInt80 = exports.maxInt72 = exports.maxInt64 = exports.maxInt56 = exports.maxInt48 = exports.maxInt40 = exports.maxInt32 = exports.maxInt24 = exports.maxInt16 = exports.maxInt8 = exports.weiUnits = exports.gweiUnits = exports.etherUnits = exports.zeroAddress = exports.erc4626Abi = exports.erc721Abi = exports.erc20Abi_bytes32 = exports.erc20Abi = exports.multicall3Abi = exports.webSocket = exports.createWalletClient = exports.createTransport = exports.walletActions = exports.testActions = exports.publicActions = exports.createTestClient = exports.createPublicClient = exports.http = exports.fallback = exports.custom = exports.createClient = exports.getContract = exports.parseAbiParameters = exports.parseAbiParameter = exports.parseAbiItem = exports.parseAbi = exports.UnknownSignatureError = exports.UnknownTypeError = exports.SolidityProtectedKeywordError = exports.InvalidStructSignatureError = exports.InvalidSignatureError = exports.InvalidParenthesisError = exports.InvalidParameterError = exports.InvalidModifierError = exports.InvalidFunctionModifierError = exports.InvalidAbiTypeParameterError = exports.InvalidAbiItemError = exports.InvalidAbiParametersError = exports.InvalidAbiParameterError = exports.CircularReferenceError = void 0;
4
4
  exports.maxUint224 = exports.maxUint216 = exports.maxUint208 = exports.maxUint200 = exports.maxUint192 = exports.maxUint184 = exports.maxUint176 = exports.maxUint168 = exports.maxUint160 = exports.maxUint152 = exports.maxUint144 = exports.maxUint136 = exports.maxUint128 = exports.maxUint120 = exports.maxUint112 = exports.maxUint104 = exports.maxUint96 = exports.maxUint88 = exports.maxUint80 = exports.maxUint72 = exports.maxUint64 = exports.maxUint56 = exports.maxUint48 = exports.maxUint40 = exports.maxUint32 = exports.maxUint24 = exports.maxUint16 = exports.maxUint8 = exports.maxInt256 = exports.maxInt248 = exports.maxInt240 = exports.maxInt232 = exports.maxInt224 = exports.maxInt216 = exports.maxInt208 = exports.maxInt200 = exports.maxInt192 = exports.maxInt184 = exports.maxInt176 = exports.maxInt168 = exports.maxInt160 = exports.maxInt152 = exports.maxInt144 = exports.maxInt136 = exports.maxInt128 = exports.maxInt120 = exports.maxInt112 = exports.maxInt104 = exports.maxInt96 = exports.maxInt88 = void 0;
5
5
  exports.AbiEventSignatureNotFoundError = exports.AbiEventSignatureEmptyTopicsError = exports.AbiEventNotFoundError = exports.AbiErrorSignatureNotFoundError = exports.AbiErrorNotFoundError = exports.AbiErrorInputsNotFoundError = exports.AbiEncodingBytesSizeMismatchError = exports.AbiEncodingLengthMismatchError = exports.AbiEncodingArrayLengthMismatchError = exports.AbiDecodingZeroDataError = exports.AbiDecodingDataSizeTooSmallError = exports.AbiDecodingDataSizeInvalidError = exports.AbiConstructorParamsNotFoundError = exports.AbiConstructorNotFoundError = exports.minInt256 = exports.minInt248 = exports.minInt240 = exports.minInt232 = exports.minInt224 = exports.minInt216 = exports.minInt208 = exports.minInt200 = exports.minInt192 = exports.minInt184 = exports.minInt176 = exports.minInt168 = exports.minInt160 = exports.minInt152 = exports.minInt144 = exports.minInt136 = exports.minInt128 = exports.minInt120 = exports.minInt112 = exports.minInt104 = exports.minInt96 = exports.minInt88 = exports.minInt80 = exports.minInt72 = exports.minInt64 = exports.minInt56 = exports.minInt48 = exports.minInt40 = exports.minInt32 = exports.minInt24 = exports.minInt16 = exports.minInt8 = exports.maxUint256 = exports.maxUint248 = exports.maxUint240 = exports.maxUint232 = void 0;
6
- exports.InvalidBytesBooleanError = exports.DataLengthTooShortError = exports.DataLengthTooLongError = exports.InvalidChainIdError = exports.ClientChainNotConfiguredError = exports.ChainNotFoundError = exports.ChainMismatchError = exports.ChainDoesNotSupportContract = exports.UserRejectedRequestError = exports.UnsupportedProviderMethodError = exports.UnknownRpcError = exports.UnauthorizedProviderError = exports.TransactionRejectedRpcError = exports.SwitchChainError = exports.RpcError = exports.ResourceUnavailableRpcError = exports.ResourceNotFoundRpcError = exports.ProviderRpcError = exports.ProviderDisconnectedError = exports.ParseRpcError = exports.MethodNotSupportedRpcError = exports.MethodNotFoundRpcError = exports.LimitExceededRpcError = exports.JsonRpcVersionUnsupportedError = exports.InvalidRequestRpcError = exports.InvalidParamsRpcError = exports.InvalidInputRpcError = exports.InternalRpcError = exports.ChainDisconnectedError = exports.MaxFeePerGasTooLowError = exports.Eip1559FeesNotSupportedError = exports.BaseFeeScalarError = exports.RawContractError = exports.ContractFunctionZeroDataError = exports.ContractFunctionRevertedError = exports.ContractFunctionExecutionError = exports.CallExecutionError = exports.BlockNotFoundError = exports.BaseError = exports.UnsupportedPackedAbiType = exports.InvalidDefinitionTypeError = exports.InvalidArrayError = exports.InvalidAbiEncodingTypeError = exports.InvalidAbiDecodingTypeError = exports.DecodeLogTopicsMismatch = exports.DecodeLogDataMismatch = exports.BytesSizeMismatchError = exports.AbiFunctionSignatureNotFoundError = exports.AbiFunctionOutputsNotFoundError = exports.AbiFunctionNotFoundError = void 0;
7
- exports.decodeFunctionData = exports.decodeEventLog = exports.decodeErrorResult = exports.decodeDeployData = exports.decodeAbiParameters = exports.formatLog = exports.formatBlock = exports.defineBlock = exports.namehash = exports.labelhash = exports.UrlRequiredError = exports.SliceOffsetOutOfBoundsError = exports.SizeExceedsPaddingSizeError = exports.WaitForTransactionReceiptTimeoutError = exports.TransactionReceiptNotFoundError = exports.TransactionNotFoundError = exports.TransactionExecutionError = exports.InvalidStorageKeySizeError = exports.InvalidSerializedTransactionTypeError = exports.InvalidSerializedTransactionError = exports.InvalidSerializableTransactionError = exports.InvalidLegacyVError = exports.FeeConflictError = exports.InvalidAddressError = exports.WebSocketRequestError = exports.TimeoutError = exports.RpcRequestError = exports.HttpRequestError = exports.FilterTypeNotSupportedError = exports.UnknownNodeError = exports.TransactionTypeNotSupportedError = exports.TipAboveFeeCapError = exports.NonceTooLowError = exports.NonceTooHighError = exports.NonceMaxValueError = exports.IntrinsicGasTooLowError = exports.IntrinsicGasTooHighError = exports.InsufficientFundsError = exports.FeeCapTooLowError = exports.FeeCapTooHighError = exports.ExecutionRevertedError = exports.EstimateGasExecutionError = exports.EnsAvatarUnsupportedNamespaceError = exports.EnsAvatarInvalidNftUriError = exports.EnsAvatarUriResolutionError = exports.SizeOverflowError = exports.OffsetOutOfBoundsError = exports.InvalidHexValueError = exports.InvalidHexBooleanError = exports.IntegerOutOfRangeError = void 0;
8
- exports.numberToHex = exports.bytesToHex = exports.boolToHex = exports.toBytes = exports.stringToBytes = exports.numberToBytes = exports.hexToBytes = exports.boolToBytes = exports.assertTransactionLegacy = exports.assertTransactionEIP2930 = exports.assertTransactionEIP1559 = exports.assertRequest = exports.verifyTypedData = exports.verifyMessage = exports.toRlp = exports.hexToRlp = exports.bytesToRlp = exports.signatureToHex = exports.compactSignatureToHex = exports.signatureToCompactSignature = exports.recoverTypedDataAddress = exports.recoverPublicKey = exports.recoverMessageAddress = exports.recoverAddress = exports.hexToSignature = exports.hexToCompactSignature = exports.compactSignatureToSignature = exports.hashTypedData = exports.hashDomain = exports.getTransactionType = exports.getSerializedTransactionType = exports.getCreateAddress = exports.getCreate2Address = exports.getContractAddress = exports.getAbiItem = exports.rpcTransactionType = exports.formatTransactionRequest = exports.defineTransactionRequest = exports.formatTransactionReceipt = exports.defineTransactionReceipt = exports.transactionType = exports.formatTransaction = exports.defineTransaction = exports.encodeFunctionResult = exports.encodeFunctionData = exports.encodeEventTopics = exports.encodeErrorResult = exports.encodeDeployData = exports.encodeAbiParameters = exports.decodeFunctionResult = void 0;
9
- exports.parseUnits = exports.parseTransaction = exports.parseGwei = exports.parseEther = exports.padHex = exports.padBytes = exports.pad = exports.keccak256 = exports.isHex = exports.isHash = exports.isBytes = exports.isAddressEqual = exports.isAddress = exports.hashMessage = exports.getFunctionSignature = exports.getFunctionSelector = exports.getEventSignature = exports.getEventSelector = exports.getContractError = exports.getAddress = exports.checksumAddress = exports.fromRlp = exports.hexToString = exports.hexToNumber = exports.hexToBool = exports.hexToBigInt = exports.fromHex = exports.formatUnits = exports.formatGwei = exports.formatEther = exports.encodePacked = exports.getChainContractAddress = exports.extractChain = exports.defineChain = exports.assertCurrentChain = exports.concatHex = exports.concatBytes = exports.concat = exports.offchainLookupSignature = exports.offchainLookupAbiItem = exports.offchainLookup = exports.ccipFetch = exports.fromBytes = exports.bytesToString = exports.bytesToNumber = exports.bytesToBool = exports.bytesToBigint = exports.bytesToBigInt = exports.toHex = exports.stringToHex = void 0;
10
- exports.getTypesForEIP712Domain = exports.domainSeparator = exports.validateTypedData = exports.trim = exports.stringify = exports.sliceHex = exports.sliceBytes = exports.slice = exports.size = exports.serializeTransaction = exports.serializeAccessList = void 0;
6
+ exports.InvalidHexBooleanError = exports.IntegerOutOfRangeError = exports.InvalidBytesBooleanError = exports.InvalidChainIdError = exports.ClientChainNotConfiguredError = exports.ChainNotFoundError = exports.ChainMismatchError = exports.ChainDoesNotSupportContract = exports.UserRejectedRequestError = exports.UnsupportedProviderMethodError = exports.UnknownRpcError = exports.UnauthorizedProviderError = exports.TransactionRejectedRpcError = exports.SwitchChainError = exports.RpcError = exports.ResourceUnavailableRpcError = exports.ResourceNotFoundRpcError = exports.ProviderRpcError = exports.ProviderDisconnectedError = exports.ParseRpcError = exports.MethodNotSupportedRpcError = exports.MethodNotFoundRpcError = exports.LimitExceededRpcError = exports.JsonRpcVersionUnsupportedError = exports.InvalidRequestRpcError = exports.InvalidParamsRpcError = exports.InvalidInputRpcError = exports.InternalRpcError = exports.ChainDisconnectedError = exports.MaxFeePerGasTooLowError = exports.Eip1559FeesNotSupportedError = exports.BaseFeeScalarError = exports.RawContractError = exports.ContractFunctionZeroDataError = exports.ContractFunctionRevertedError = exports.ContractFunctionExecutionError = exports.CallExecutionError = exports.BlockNotFoundError = exports.BaseError = exports.UnsupportedPackedAbiType = exports.InvalidDefinitionTypeError = exports.InvalidArrayError = exports.InvalidAbiEncodingTypeError = exports.InvalidAbiDecodingTypeError = exports.DecodeLogTopicsMismatch = exports.DecodeLogDataMismatch = exports.BytesSizeMismatchError = exports.AbiFunctionSignatureNotFoundError = exports.AbiFunctionOutputsNotFoundError = exports.AbiFunctionNotFoundError = void 0;
7
+ exports.encodeDeployData = exports.encodeAbiParameters = exports.decodeFunctionResult = exports.decodeFunctionData = exports.decodeEventLog = exports.decodeErrorResult = exports.decodeDeployData = exports.decodeAbiParameters = exports.formatLog = exports.formatBlock = exports.defineBlock = exports.namehash = exports.labelhash = exports.UrlRequiredError = exports.SliceOffsetOutOfBoundsError = exports.SizeExceedsPaddingSizeError = exports.WaitForTransactionReceiptTimeoutError = exports.TransactionReceiptNotFoundError = exports.TransactionNotFoundError = exports.TransactionExecutionError = exports.InvalidStorageKeySizeError = exports.InvalidSerializedTransactionTypeError = exports.InvalidSerializedTransactionError = exports.InvalidSerializableTransactionError = exports.InvalidLegacyVError = exports.FeeConflictError = exports.InvalidAddressError = exports.WebSocketRequestError = exports.TimeoutError = exports.RpcRequestError = exports.HttpRequestError = exports.FilterTypeNotSupportedError = exports.UnknownNodeError = exports.TransactionTypeNotSupportedError = exports.TipAboveFeeCapError = exports.NonceTooLowError = exports.NonceTooHighError = exports.NonceMaxValueError = exports.IntrinsicGasTooLowError = exports.IntrinsicGasTooHighError = exports.InsufficientFundsError = exports.FeeCapTooLowError = exports.FeeCapTooHighError = exports.ExecutionRevertedError = exports.EstimateGasExecutionError = exports.EnsAvatarUnsupportedNamespaceError = exports.EnsAvatarInvalidNftUriError = exports.EnsAvatarUriResolutionError = exports.SizeOverflowError = exports.InvalidHexValueError = void 0;
8
+ exports.bytesToBigInt = exports.toHex = exports.stringToHex = exports.numberToHex = exports.bytesToHex = exports.boolToHex = exports.toBytes = exports.stringToBytes = exports.numberToBytes = exports.hexToBytes = exports.boolToBytes = exports.assertTransactionLegacy = exports.assertTransactionEIP2930 = exports.assertTransactionEIP1559 = exports.assertRequest = exports.verifyTypedData = exports.verifyMessage = exports.toRlp = exports.hexToRlp = exports.bytesToRlp = exports.signatureToHex = exports.compactSignatureToHex = exports.signatureToCompactSignature = exports.recoverTypedDataAddress = exports.recoverPublicKey = exports.recoverMessageAddress = exports.recoverAddress = exports.hexToSignature = exports.hexToCompactSignature = exports.compactSignatureToSignature = exports.hashTypedData = exports.hashDomain = exports.getTransactionType = exports.getSerializedTransactionType = exports.getCreateAddress = exports.getCreate2Address = exports.getContractAddress = exports.getAbiItem = exports.rpcTransactionType = exports.formatTransactionRequest = exports.defineTransactionRequest = exports.formatTransactionReceipt = exports.defineTransactionReceipt = exports.transactionType = exports.formatTransaction = exports.defineTransaction = exports.encodeFunctionResult = exports.encodeFunctionData = exports.encodeEventTopics = exports.encodeErrorResult = void 0;
9
+ exports.slice = exports.size = exports.serializeTransaction = exports.serializeAccessList = exports.parseUnits = exports.parseTransaction = exports.parseGwei = exports.parseEther = exports.padHex = exports.padBytes = exports.pad = exports.keccak256 = exports.isHex = exports.isHash = exports.isBytes = exports.isAddressEqual = exports.isAddress = exports.hashMessage = exports.getFunctionSignature = exports.getFunctionSelector = exports.getEventSignature = exports.getEventSelector = exports.getContractError = exports.getAddress = exports.checksumAddress = exports.fromRlp = exports.hexToString = exports.hexToNumber = exports.hexToBool = exports.hexToBigInt = exports.fromHex = exports.formatUnits = exports.formatGwei = exports.formatEther = exports.encodePacked = exports.getChainContractAddress = exports.extractChain = exports.defineChain = exports.assertCurrentChain = exports.concatHex = exports.concatBytes = exports.concat = exports.offchainLookupSignature = exports.offchainLookupAbiItem = exports.offchainLookup = exports.ccipFetch = exports.fromBytes = exports.bytesToString = exports.bytesToNumber = exports.bytesToBool = void 0;
10
+ exports.getTypesForEIP712Domain = exports.domainSeparator = exports.validateTypedData = exports.trim = exports.stringify = exports.sliceHex = exports.sliceBytes = void 0;
11
11
  var abitype_1 = require("abitype");
12
12
  Object.defineProperty(exports, "CircularReferenceError", { enumerable: true, get: function () { return abitype_1.CircularReferenceError; } });
13
13
  Object.defineProperty(exports, "InvalidAbiParameterError", { enumerable: true, get: function () { return abitype_1.InvalidAbiParameterError; } });
@@ -231,13 +231,10 @@ Object.defineProperty(exports, "ChainNotFoundError", { enumerable: true, get: fu
231
231
  Object.defineProperty(exports, "ClientChainNotConfiguredError", { enumerable: true, get: function () { return chain_js_1.ClientChainNotConfiguredError; } });
232
232
  Object.defineProperty(exports, "InvalidChainIdError", { enumerable: true, get: function () { return chain_js_1.InvalidChainIdError; } });
233
233
  var encoding_js_1 = require("./errors/encoding.js");
234
- Object.defineProperty(exports, "DataLengthTooLongError", { enumerable: true, get: function () { return encoding_js_1.DataLengthTooLongError; } });
235
- Object.defineProperty(exports, "DataLengthTooShortError", { enumerable: true, get: function () { return encoding_js_1.DataLengthTooShortError; } });
236
234
  Object.defineProperty(exports, "InvalidBytesBooleanError", { enumerable: true, get: function () { return encoding_js_1.InvalidBytesBooleanError; } });
237
235
  Object.defineProperty(exports, "IntegerOutOfRangeError", { enumerable: true, get: function () { return encoding_js_1.IntegerOutOfRangeError; } });
238
236
  Object.defineProperty(exports, "InvalidHexBooleanError", { enumerable: true, get: function () { return encoding_js_1.InvalidHexBooleanError; } });
239
237
  Object.defineProperty(exports, "InvalidHexValueError", { enumerable: true, get: function () { return encoding_js_1.InvalidHexValueError; } });
240
- Object.defineProperty(exports, "OffsetOutOfBoundsError", { enumerable: true, get: function () { return encoding_js_1.OffsetOutOfBoundsError; } });
241
238
  Object.defineProperty(exports, "SizeOverflowError", { enumerable: true, get: function () { return encoding_js_1.SizeOverflowError; } });
242
239
  var ens_js_1 = require("./errors/ens.js");
243
240
  Object.defineProperty(exports, "EnsAvatarUriResolutionError", { enumerable: true, get: function () { return ens_js_1.EnsAvatarUriResolutionError; } });
@@ -388,7 +385,6 @@ Object.defineProperty(exports, "stringToHex", { enumerable: true, get: function
388
385
  Object.defineProperty(exports, "toHex", { enumerable: true, get: function () { return toHex_js_1.toHex; } });
389
386
  var fromBytes_js_1 = require("./utils/encoding/fromBytes.js");
390
387
  Object.defineProperty(exports, "bytesToBigInt", { enumerable: true, get: function () { return fromBytes_js_1.bytesToBigInt; } });
391
- Object.defineProperty(exports, "bytesToBigint", { enumerable: true, get: function () { return fromBytes_js_1.bytesToBigInt; } });
392
388
  Object.defineProperty(exports, "bytesToBool", { enumerable: true, get: function () { return fromBytes_js_1.bytesToBool; } });
393
389
  Object.defineProperty(exports, "bytesToNumber", { enumerable: true, get: function () { return fromBytes_js_1.bytesToNumber; } });
394
390
  Object.defineProperty(exports, "bytesToString", { enumerable: true, get: function () { return fromBytes_js_1.bytesToString; } });
package/_cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version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C,+EAIgD;AAD9C,uHAAA,gBAAgB,OAAA;AAElB,4DAGmC;AADjC,2GAAA,UAAU,OAAA;AAEZ,qFAGmD;AADjD,6HAAA,mBAAmB,OAAA;AAErB,uFAKoD;AAJlD,+HAAA,oBAAoB,OAAA;AAKtB,gDAA+D;AAAlC,+FAAA,IAAI,OAAA;AACjC,kDAO8B;AAH5B,iGAAA,KAAK,OAAA;AACL,sGAAA,UAAU,OAAA;AACV,oGAAA,QAAQ,OAAA;AAEV,qDAAyE;AAAvC,yGAAA,SAAS,OAAA;AAC3C,gDAI6B;AAD3B,+FAAA,IAAI,OAAA;AAEN,qDAO6B;AAH3B,iHAAA,iBAAiB,OAAA;AACjB,+GAAA,eAAe,OAAA;AACf,uHAAA,uBAAuB,OAAA"}
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getFunctionSignature = void 0;
4
- const formatAbiItem_js_1 = require("../abi/formatAbiItem.js");
5
- const extractFunctionParts_js_1 = require("../contract/extractFunctionParts.js");
6
- const getFunctionSignature = (fn) => {
7
- if (typeof fn === 'string') {
8
- const name = (0, extractFunctionParts_js_1.extractFunctionName)(fn);
9
- const params = (0, extractFunctionParts_js_1.extractFunctionParams)(fn) || [];
10
- return `${name}(${params.map(({ type }) => type).join(',')})`;
11
- }
12
- return (0, formatAbiItem_js_1.formatAbiItem)(fn);
4
+ const abitype_1 = require("abitype");
5
+ const normalizeSignature_js_1 = require("./normalizeSignature.js");
6
+ const getFunctionSignature = (fn_) => {
7
+ const fn = (() => {
8
+ if (typeof fn_ === 'string')
9
+ return fn_;
10
+ return (0, abitype_1.formatAbiItem)(fn_);
11
+ })();
12
+ return (0, normalizeSignature_js_1.normalizeSignature)(fn);
13
13
  };
14
14
  exports.getFunctionSignature = getFunctionSignature;
15
15
  //# sourceMappingURL=getFunctionSignature.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getFunctionSignature.js","sourceRoot":"","sources":["../../../utils/hash/getFunctionSignature.ts"],"names":[],"mappings":";;;AAGA,8DAGgC;AAChC,iFAK4C;AAQrC,MAAM,oBAAoB,GAAG,CAAC,EAAwB,EAAE,EAAE;IAC/D,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE;QAC1B,MAAM,IAAI,GAAG,IAAA,6CAAmB,EAAC,EAAE,CAAC,CAAA;QACpC,MAAM,MAAM,GAAG,IAAA,+CAAqB,EAAC,EAAE,CAAC,IAAI,EAAE,CAAA;QAC9C,OAAO,GAAG,IAAI,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAA;KAC9D;IAED,OAAO,IAAA,gCAAa,EAAC,EAAE,CAAC,CAAA;AAC1B,CAAC,CAAA;AARY,QAAA,oBAAoB,wBAQhC"}
1
+ {"version":3,"file":"getFunctionSignature.js","sourceRoot":"","sources":["../../../utils/hash/getFunctionSignature.ts"],"names":[],"mappings":";;;AAAA,qCAAyD;AAGzD,mEAGgC;AAMzB,MAAM,oBAAoB,GAAG,CAAC,GAAyB,EAAE,EAAE;IAChE,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE;QACf,IAAI,OAAO,GAAG,KAAK,QAAQ;YAAE,OAAO,GAAG,CAAA;QACvC,OAAO,IAAA,uBAAa,EAAC,GAAG,CAAC,CAAA;IAC3B,CAAC,CAAC,EAAE,CAAA;IACJ,OAAO,IAAA,0CAAkB,EAAC,EAAE,CAAC,CAAA;AAC/B,CAAC,CAAA;AANY,QAAA,oBAAoB,wBAMhC"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.normalizeSignature = void 0;
4
+ const base_js_1 = require("../../errors/base.js");
5
+ function normalizeSignature(signature) {
6
+ let active = true;
7
+ let current = '';
8
+ let level = 0;
9
+ let result = '';
10
+ let valid = false;
11
+ for (let i = 0; i < signature.length; i++) {
12
+ const char = signature[i];
13
+ if (['(', ')', ','].includes(char))
14
+ active = true;
15
+ if (char === '(')
16
+ level++;
17
+ if (char === ')')
18
+ level--;
19
+ if (!active)
20
+ continue;
21
+ if (level === 0) {
22
+ if (char === ' ' && ['event', 'function', ''].includes(result))
23
+ result = '';
24
+ else {
25
+ result += char;
26
+ if (char === ')') {
27
+ valid = true;
28
+ break;
29
+ }
30
+ }
31
+ continue;
32
+ }
33
+ if (char === ' ') {
34
+ if (signature[i - 1] !== ',' && current !== ',' && current !== ',(') {
35
+ current = '';
36
+ active = false;
37
+ }
38
+ continue;
39
+ }
40
+ result += char;
41
+ current += char;
42
+ }
43
+ if (!valid)
44
+ throw new base_js_1.BaseError('Unable to normalize signature.');
45
+ return result;
46
+ }
47
+ exports.normalizeSignature = normalizeSignature;
48
+ //# sourceMappingURL=normalizeSignature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalizeSignature.js","sourceRoot":"","sources":["../../../utils/hash/normalizeSignature.ts"],"names":[],"mappings":";;;AAAA,kDAAgD;AAOhD,SAAgB,kBAAkB,CAChC,SAAuC;IAEvC,IAAI,MAAM,GAAG,IAAI,CAAA;IACjB,IAAI,OAAO,GAAG,EAAE,CAAA;IAChB,IAAI,KAAK,GAAG,CAAC,CAAA;IACb,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,KAAK,GAAG,KAAK,CAAA;IAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACzC,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,CAAA;QAGzB,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,MAAM,GAAG,IAAI,CAAA;QAGjD,IAAI,IAAI,KAAK,GAAG;YAAE,KAAK,EAAE,CAAA;QACzB,IAAI,IAAI,KAAK,GAAG;YAAE,KAAK,EAAE,CAAA;QAGzB,IAAI,CAAC,MAAM;YAAE,SAAQ;QAGrB,IAAI,KAAK,KAAK,CAAC,EAAE;YACf,IAAI,IAAI,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;gBAC5D,MAAM,GAAG,EAAE,CAAA;iBACR;gBACH,MAAM,IAAI,IAAI,CAAA;gBAGd,IAAI,IAAI,KAAK,GAAG,EAAE;oBAChB,KAAK,GAAG,IAAI,CAAA;oBACZ,MAAK;iBACN;aACF;YAED,SAAQ;SACT;QAGD,IAAI,IAAI,KAAK,GAAG,EAAE;YAEhB,IAAI,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG,IAAI,OAAO,KAAK,GAAG,IAAI,OAAO,KAAK,IAAI,EAAE;gBACnE,OAAO,GAAG,EAAE,CAAA;gBACZ,MAAM,GAAG,KAAK,CAAA;aACf;YACD,SAAQ;SACT;QAED,MAAM,IAAI,IAAI,CAAA;QACd,OAAO,IAAI,IAAI,CAAA;KAChB;IAED,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,mBAAS,CAAC,gCAAgC,CAAC,CAAA;IAEjE,OAAO,MAAM,CAAA;AACf,CAAC;AAxDD,gDAwDC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.concat = exports.extractFunctionParts = exports.extractFunctionType = exports.extractFunctionParams = exports.extractFunctionName = exports.isAddressEqual = exports.isAddress = exports.getAddress = exports.getCreate2Address = exports.getCreateAddress = exports.getContractAddress = exports.publicKeyToAddress = exports.parseAccount = exports.formatAbiParams = exports.formatAbiItem = exports.formatAbiItemWithArgs = exports.encodePacked = exports.parseAbiParameters = exports.parseAbiParameter = exports.parseAbiItem = exports.parseAbi = 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.validateTypedData = exports.stringify = exports.rpc = exports.getSocket = exports.integerRegex = exports.bytesRegex = exports.arrayRegex = exports.getChainContractAddress = exports.extractChain = exports.defineChain = exports.assertCurrentChain = exports.offchainLookupSignature = exports.offchainLookupAbiItem = exports.offchainLookup = exports.ccipFetch = exports.buildRequest = exports.isDeterministicError = void 0;
4
- exports.getEstimateGasError = exports.getContractError = exports.getCallError = exports.getNodeError = exports.containsNodeError = exports.fromRlp = exports.hexToString = exports.hexToNumber = exports.hexToBigInt = exports.hexToBool = exports.fromHex = exports.fromBytes = exports.bytesToString = exports.bytesToNumber = exports.bytesToBool = exports.bytesToBigint = exports.bytesToBigInt = exports.stringToHex = exports.numberToHex = exports.toHex = exports.bytesToHex = exports.boolToHex = exports.stringToBytes = exports.numberToBytes = exports.hexToBytes = exports.toBytes = exports.boolToBytes = exports.toRlp = exports.extract = exports.formatTransactionRequest = exports.defineTransactionRequest = exports.defineTransactionReceipt = exports.formatLog = exports.transactionType = exports.formatTransaction = exports.defineTransaction = exports.formatBlock = exports.defineBlock = exports.trim = exports.sliceHex = exports.sliceBytes = exports.slice = exports.size = exports.padHex = exports.padBytes = exports.pad = exports.isHex = exports.isBytes = exports.concatHex = exports.concatBytes = void 0;
5
- exports.parseGwei = exports.parseEther = exports.parseUnits = exports.formatUnits = exports.formatGwei = exports.formatEther = exports.serializeAccessList = exports.serializeTransaction = exports.prepareTransactionRequest = exports.parseTransaction = exports.assertTransactionLegacy = exports.assertTransactionEIP2930 = exports.assertTransactionEIP1559 = exports.assertRequest = exports.getTransactionType = exports.getSerializedTransactionType = exports.hashMessage = exports.verifyTypedData = exports.verifyMessage = exports.recoverTypedDataAddress = exports.recoverPublicKey = exports.recoverMessageAddress = exports.recoverAddress = exports.hashTypedData = exports.keccak256 = exports.isHash = exports.getFunctionSelector = exports.getEventSelector = exports.defineFormatter = exports.getTransactionError = void 0;
3
+ exports.isHex = exports.isBytes = exports.concatHex = exports.concatBytes = exports.concat = exports.isAddressEqual = exports.isAddress = exports.getAddress = exports.getCreate2Address = exports.getCreateAddress = exports.getContractAddress = exports.publicKeyToAddress = exports.parseAccount = exports.formatAbiParams = exports.formatAbiItem = exports.formatAbiItemWithArgs = exports.encodePacked = exports.parseAbiParameters = exports.parseAbiParameter = exports.parseAbiItem = exports.parseAbi = 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.validateTypedData = exports.stringify = exports.rpc = exports.getSocket = exports.integerRegex = exports.bytesRegex = exports.arrayRegex = exports.getChainContractAddress = exports.extractChain = exports.defineChain = exports.assertCurrentChain = exports.offchainLookupSignature = exports.offchainLookupAbiItem = exports.offchainLookup = exports.ccipFetch = exports.buildRequest = exports.isDeterministicError = void 0;
4
+ exports.getFunctionSelector = exports.getEventSelector = exports.defineFormatter = exports.getTransactionError = exports.getEstimateGasError = exports.getContractError = exports.getCallError = exports.getNodeError = exports.containsNodeError = exports.fromRlp = exports.hexToString = exports.hexToNumber = exports.hexToBigInt = exports.hexToBool = exports.fromHex = exports.fromBytes = exports.bytesToString = exports.bytesToNumber = exports.bytesToBool = exports.bytesToBigint = exports.bytesToBigInt = exports.stringToHex = exports.numberToHex = exports.toHex = exports.bytesToHex = exports.boolToHex = exports.stringToBytes = exports.numberToBytes = exports.hexToBytes = exports.toBytes = exports.boolToBytes = exports.toRlp = exports.extract = exports.formatTransactionRequest = exports.defineTransactionRequest = exports.defineTransactionReceipt = exports.formatLog = exports.transactionType = exports.formatTransaction = exports.defineTransaction = exports.formatBlock = exports.defineBlock = exports.trim = exports.sliceHex = exports.sliceBytes = exports.slice = exports.size = exports.padHex = exports.padBytes = exports.pad = void 0;
5
+ exports.parseGwei = exports.parseEther = exports.parseUnits = exports.formatUnits = exports.formatGwei = exports.formatEther = exports.serializeAccessList = exports.serializeTransaction = exports.parseTransaction = exports.assertTransactionLegacy = exports.assertTransactionEIP2930 = exports.assertTransactionEIP1559 = exports.assertRequest = exports.getTransactionType = exports.getSerializedTransactionType = exports.hashMessage = exports.verifyTypedData = exports.verifyMessage = exports.recoverTypedDataAddress = exports.recoverPublicKey = exports.recoverMessageAddress = exports.recoverAddress = exports.hashTypedData = exports.keccak256 = exports.isHash = void 0;
6
6
  var buildRequest_js_1 = require("./buildRequest.js");
7
7
  Object.defineProperty(exports, "isDeterministicError", { enumerable: true, get: function () { return buildRequest_js_1.isDeterministicError; } });
8
8
  Object.defineProperty(exports, "buildRequest", { enumerable: true, get: function () { return buildRequest_js_1.buildRequest; } });
@@ -80,11 +80,6 @@ var isAddress_js_1 = require("./address/isAddress.js");
80
80
  Object.defineProperty(exports, "isAddress", { enumerable: true, get: function () { return isAddress_js_1.isAddress; } });
81
81
  var isAddressEqual_js_1 = require("./address/isAddressEqual.js");
82
82
  Object.defineProperty(exports, "isAddressEqual", { enumerable: true, get: function () { return isAddressEqual_js_1.isAddressEqual; } });
83
- var extractFunctionParts_js_1 = require("./contract/extractFunctionParts.js");
84
- Object.defineProperty(exports, "extractFunctionName", { enumerable: true, get: function () { return extractFunctionParts_js_1.extractFunctionName; } });
85
- Object.defineProperty(exports, "extractFunctionParams", { enumerable: true, get: function () { return extractFunctionParts_js_1.extractFunctionParams; } });
86
- Object.defineProperty(exports, "extractFunctionType", { enumerable: true, get: function () { return extractFunctionParts_js_1.extractFunctionType; } });
87
- Object.defineProperty(exports, "extractFunctionParts", { enumerable: true, get: function () { return extractFunctionParts_js_1.extractFunctionParts; } });
88
83
  var concat_js_1 = require("./data/concat.js");
89
84
  Object.defineProperty(exports, "concat", { enumerable: true, get: function () { return concat_js_1.concat; } });
90
85
  Object.defineProperty(exports, "concatBytes", { enumerable: true, get: function () { return concat_js_1.concatBytes; } });
@@ -199,8 +194,6 @@ Object.defineProperty(exports, "assertTransactionEIP2930", { enumerable: true, g
199
194
  Object.defineProperty(exports, "assertTransactionLegacy", { enumerable: true, get: function () { return assertTransaction_js_1.assertTransactionLegacy; } });
200
195
  var parseTransaction_js_1 = require("./transaction/parseTransaction.js");
201
196
  Object.defineProperty(exports, "parseTransaction", { enumerable: true, get: function () { return parseTransaction_js_1.parseTransaction; } });
202
- var prepareTransactionRequest_js_1 = require("../actions/wallet/prepareTransactionRequest.js");
203
- Object.defineProperty(exports, "prepareTransactionRequest", { enumerable: true, get: function () { return prepareTransactionRequest_js_1.prepareTransactionRequest; } });
204
197
  var serializeTransaction_js_1 = require("./transaction/serializeTransaction.js");
205
198
  Object.defineProperty(exports, "serializeTransaction", { enumerable: true, get: function () { return serializeTransaction_js_1.serializeTransaction; } });
206
199
  var serializeAccessList_js_1 = require("./transaction/serializeAccessList.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":";;;;;AAAA,qDAK0B;AAFxB,uHAAA,oBAAoB,OAAA;AACpB,+GAAA,YAAY,OAAA;AAGd,qCAOkB;AAJhB,oGAAA,SAAS,OAAA;AACT,yGAAA,cAAc,OAAA;AACd,gHAAA,qBAAqB,OAAA;AACrB,kHAAA,uBAAuB,OAAA;AAGzB,uEAIsC;AADpC,2HAAA,kBAAkB,OAAA;AAEpB,yDAAoD;AAA3C,6GAAA,WAAW,OAAA;AACpB,2DAKgC;AAD9B,+GAAA,YAAY,OAAA;AAEd,iFAG2C;AADzC,qIAAA,uBAAuB,OAAA;AAGzB,uCAAiE;AAAxD,sGAAA,UAAU,OAAA;AAAE,sGAAA,UAAU,OAAA;AAAE,wGAAA,YAAY,OAAA;AAE7C,mCAgBiB;AAFf,mGAAA,SAAS,OAAA;AACT,6FAAA,GAAG,OAAA;AAEL,+CAAmE;AAAjC,yGAAA,SAAS,OAAA;AAC3C,+CAGuB;AADrB,iH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