viem 2.23.1 → 2.23.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 (204) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/_cjs/chains/definitions/b3.js +6 -0
  3. package/_cjs/chains/definitions/b3.js.map +1 -1
  4. package/_cjs/chains/definitions/b3Sepolia.js +6 -0
  5. package/_cjs/chains/definitions/b3Sepolia.js.map +1 -1
  6. package/_cjs/chains/definitions/berachainTestnet.js +6 -0
  7. package/_cjs/chains/definitions/berachainTestnet.js.map +1 -1
  8. package/_cjs/chains/definitions/donatuz.js +1 -1
  9. package/_cjs/chains/definitions/donatuz.js.map +1 -1
  10. package/_cjs/chains/definitions/hashkeyChainTestnet.js +1 -0
  11. package/_cjs/chains/definitions/hashkeyChainTestnet.js.map +1 -1
  12. package/_cjs/chains/definitions/haustTestnet.js +26 -0
  13. package/_cjs/chains/definitions/haustTestnet.js.map +1 -0
  14. package/_cjs/chains/definitions/lumoz.js +26 -0
  15. package/_cjs/chains/definitions/lumoz.js.map +1 -0
  16. package/_cjs/chains/definitions/lumozTestnet.js +20 -0
  17. package/_cjs/chains/definitions/lumozTestnet.js.map +1 -0
  18. package/_cjs/chains/definitions/newton.js +26 -0
  19. package/_cjs/chains/definitions/newton.js.map +1 -0
  20. package/_cjs/chains/definitions/peaq.js +41 -0
  21. package/_cjs/chains/definitions/peaq.js.map +1 -0
  22. package/_cjs/chains/definitions/polynomial.js +31 -0
  23. package/_cjs/chains/definitions/polynomial.js.map +1 -0
  24. package/_cjs/chains/definitions/polynomialSepolia.js +31 -0
  25. package/_cjs/chains/definitions/polynomialSepolia.js.map +1 -0
  26. package/_cjs/chains/definitions/pumpfiTestnet.js +26 -0
  27. package/_cjs/chains/definitions/pumpfiTestnet.js.map +1 -0
  28. package/_cjs/chains/definitions/story.js +7 -0
  29. package/_cjs/chains/definitions/story.js.map +1 -1
  30. package/_cjs/chains/definitions/storyAeneid.js +31 -0
  31. package/_cjs/chains/definitions/storyAeneid.js.map +1 -0
  32. package/_cjs/chains/definitions/unichain.js +21 -1
  33. package/_cjs/chains/definitions/unichain.js.map +1 -1
  34. package/_cjs/chains/definitions/worldchain.js +1 -1
  35. package/_cjs/chains/index.js +25 -7
  36. package/_cjs/chains/index.js.map +1 -1
  37. package/_cjs/errors/version.js +1 -1
  38. package/_cjs/op-stack/abis.js +7 -96
  39. package/_cjs/op-stack/abis.js.map +1 -1
  40. package/_cjs/op-stack/actions/getWithdrawalStatus.js +21 -14
  41. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  42. package/_cjs/op-stack/chains.js +3 -1
  43. package/_cjs/op-stack/chains.js.map +1 -1
  44. package/_cjs/zksync/actions/finalizeWithdrawal.js +99 -0
  45. package/_cjs/zksync/actions/finalizeWithdrawal.js.map +1 -0
  46. package/_cjs/zksync/constants/abis.js +724 -1
  47. package/_cjs/zksync/constants/abis.js.map +1 -1
  48. package/_cjs/zksync/constants/address.js +2 -1
  49. package/_cjs/zksync/constants/address.js.map +1 -1
  50. package/_cjs/zksync/decorators/walletL1.js +2 -0
  51. package/_cjs/zksync/decorators/walletL1.js.map +1 -1
  52. package/_cjs/zksync/errors/bridge.js +11 -1
  53. package/_cjs/zksync/errors/bridge.js.map +1 -1
  54. package/_cjs/zksync/index.js +4 -2
  55. package/_cjs/zksync/index.js.map +1 -1
  56. package/_cjs/zksync/utils/bridge/getWithdrawalL2ToL1Log.js +19 -0
  57. package/_cjs/zksync/utils/bridge/getWithdrawalL2ToL1Log.js.map +1 -0
  58. package/_cjs/zksync/utils/bridge/getWithdrawalLog.js +19 -0
  59. package/_cjs/zksync/utils/bridge/getWithdrawalLog.js.map +1 -0
  60. package/_esm/chains/definitions/b3.js +6 -0
  61. package/_esm/chains/definitions/b3.js.map +1 -1
  62. package/_esm/chains/definitions/b3Sepolia.js +6 -0
  63. package/_esm/chains/definitions/b3Sepolia.js.map +1 -1
  64. package/_esm/chains/definitions/berachainTestnet.js +6 -0
  65. package/_esm/chains/definitions/berachainTestnet.js.map +1 -1
  66. package/_esm/chains/definitions/donatuz.js +1 -1
  67. package/_esm/chains/definitions/donatuz.js.map +1 -1
  68. package/_esm/chains/definitions/hashkeyChainTestnet.js +1 -0
  69. package/_esm/chains/definitions/hashkeyChainTestnet.js.map +1 -1
  70. package/_esm/chains/definitions/haustTestnet.js +23 -0
  71. package/_esm/chains/definitions/haustTestnet.js.map +1 -0
  72. package/_esm/chains/definitions/lumoz.js +23 -0
  73. package/_esm/chains/definitions/lumoz.js.map +1 -0
  74. package/_esm/chains/definitions/lumozTestnet.js +17 -0
  75. package/_esm/chains/definitions/lumozTestnet.js.map +1 -0
  76. package/_esm/chains/definitions/newton.js +23 -0
  77. package/_esm/chains/definitions/newton.js.map +1 -0
  78. package/_esm/chains/definitions/peaq.js +38 -0
  79. package/_esm/chains/definitions/peaq.js.map +1 -0
  80. package/_esm/chains/definitions/polynomial.js +28 -0
  81. package/_esm/chains/definitions/polynomial.js.map +1 -0
  82. package/_esm/chains/definitions/polynomialSepolia.js +28 -0
  83. package/_esm/chains/definitions/polynomialSepolia.js.map +1 -0
  84. package/_esm/chains/definitions/pumpfiTestnet.js +23 -0
  85. package/_esm/chains/definitions/pumpfiTestnet.js.map +1 -0
  86. package/_esm/chains/definitions/story.js +7 -0
  87. package/_esm/chains/definitions/story.js.map +1 -1
  88. package/_esm/chains/definitions/storyAeneid.js +28 -0
  89. package/_esm/chains/definitions/storyAeneid.js.map +1 -0
  90. package/_esm/chains/definitions/unichain.js +21 -1
  91. package/_esm/chains/definitions/unichain.js.map +1 -1
  92. package/_esm/chains/definitions/worldchain.js +1 -1
  93. package/_esm/chains/index.js +11 -0
  94. package/_esm/chains/index.js.map +1 -1
  95. package/_esm/errors/version.js +1 -1
  96. package/_esm/op-stack/abis.js +7 -96
  97. package/_esm/op-stack/abis.js.map +1 -1
  98. package/_esm/op-stack/actions/getWithdrawalStatus.js +25 -14
  99. package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  100. package/_esm/op-stack/chains.js +1 -0
  101. package/_esm/op-stack/chains.js.map +1 -1
  102. package/_esm/zksync/actions/finalizeWithdrawal.js +147 -0
  103. package/_esm/zksync/actions/finalizeWithdrawal.js.map +1 -0
  104. package/_esm/zksync/constants/abis.js +723 -0
  105. package/_esm/zksync/constants/abis.js.map +1 -1
  106. package/_esm/zksync/constants/address.js +1 -0
  107. package/_esm/zksync/constants/address.js.map +1 -1
  108. package/_esm/zksync/decorators/walletL1.js +2 -0
  109. package/_esm/zksync/decorators/walletL1.js.map +1 -1
  110. package/_esm/zksync/errors/bridge.js +9 -0
  111. package/_esm/zksync/errors/bridge.js.map +1 -1
  112. package/_esm/zksync/index.js +1 -0
  113. package/_esm/zksync/index.js.map +1 -1
  114. package/_esm/zksync/utils/bridge/getWithdrawalL2ToL1Log.js +17 -0
  115. package/_esm/zksync/utils/bridge/getWithdrawalL2ToL1Log.js.map +1 -0
  116. package/_esm/zksync/utils/bridge/getWithdrawalLog.js +17 -0
  117. package/_esm/zksync/utils/bridge/getWithdrawalLog.js.map +1 -0
  118. package/_types/chains/definitions/b3.d.ts +6 -10
  119. package/_types/chains/definitions/b3.d.ts.map +1 -1
  120. package/_types/chains/definitions/b3Sepolia.d.ts +6 -10
  121. package/_types/chains/definitions/b3Sepolia.d.ts.map +1 -1
  122. package/_types/chains/definitions/berachainTestnet.d.ts +6 -10
  123. package/_types/chains/definitions/berachainTestnet.d.ts.map +1 -1
  124. package/_types/chains/definitions/donatuz.d.ts +1 -1
  125. package/_types/chains/definitions/hashkeyChainTestnet.d.ts +1 -1
  126. package/_types/chains/definitions/hashkeyChainTestnet.d.ts.map +1 -1
  127. package/_types/chains/definitions/haustTestnet.d.ts +37 -0
  128. package/_types/chains/definitions/haustTestnet.d.ts.map +1 -0
  129. package/_types/chains/definitions/lumoz.d.ts +37 -0
  130. package/_types/chains/definitions/lumoz.d.ts.map +1 -0
  131. package/_types/chains/definitions/lumozTestnet.d.ts +43 -0
  132. package/_types/chains/definitions/lumozTestnet.d.ts.map +1 -0
  133. package/_types/chains/definitions/newton.d.ts +37 -0
  134. package/_types/chains/definitions/newton.d.ts.map +1 -0
  135. package/_types/chains/definitions/peaq.d.ts +34 -0
  136. package/_types/chains/definitions/peaq.d.ts.map +1 -0
  137. package/_types/chains/definitions/polynomial.d.ts +32 -0
  138. package/_types/chains/definitions/polynomial.d.ts.map +1 -0
  139. package/_types/chains/definitions/polynomialSepolia.d.ts +32 -0
  140. package/_types/chains/definitions/polynomialSepolia.d.ts.map +1 -0
  141. package/_types/chains/definitions/pumpfiTestnet.d.ts +37 -0
  142. package/_types/chains/definitions/pumpfiTestnet.d.ts.map +1 -0
  143. package/_types/chains/definitions/story.d.ts +6 -11
  144. package/_types/chains/definitions/story.d.ts.map +1 -1
  145. package/_types/chains/definitions/storyAeneid.d.ts +34 -0
  146. package/_types/chains/definitions/storyAeneid.d.ts.map +1 -0
  147. package/_types/chains/definitions/unichain.d.ts +269 -4
  148. package/_types/chains/definitions/unichain.d.ts.map +1 -1
  149. package/_types/chains/definitions/worldchain.d.ts +1 -1
  150. package/_types/chains/index.d.ts +11 -0
  151. package/_types/chains/index.d.ts.map +1 -1
  152. package/_types/errors/version.d.ts +1 -1
  153. package/_types/op-stack/abis.d.ts +7 -77
  154. package/_types/op-stack/abis.d.ts.map +1 -1
  155. package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
  156. package/_types/op-stack/chains.d.ts +1 -0
  157. package/_types/op-stack/chains.d.ts.map +1 -1
  158. package/_types/zksync/actions/finalizeWithdrawal.d.ts +73 -0
  159. package/_types/zksync/actions/finalizeWithdrawal.d.ts.map +1 -0
  160. package/_types/zksync/constants/abis.d.ts +567 -0
  161. package/_types/zksync/constants/abis.d.ts.map +1 -1
  162. package/_types/zksync/constants/address.d.ts +1 -0
  163. package/_types/zksync/constants/address.d.ts.map +1 -1
  164. package/_types/zksync/decorators/walletL1.d.ts +31 -0
  165. package/_types/zksync/decorators/walletL1.d.ts.map +1 -1
  166. package/_types/zksync/errors/bridge.d.ts +9 -0
  167. package/_types/zksync/errors/bridge.d.ts.map +1 -1
  168. package/_types/zksync/index.d.ts +1 -0
  169. package/_types/zksync/index.d.ts.map +1 -1
  170. package/_types/zksync/utils/bridge/getWithdrawalL2ToL1Log.d.ts +20 -0
  171. package/_types/zksync/utils/bridge/getWithdrawalL2ToL1Log.d.ts.map +1 -0
  172. package/_types/zksync/utils/bridge/getWithdrawalLog.d.ts +20 -0
  173. package/_types/zksync/utils/bridge/getWithdrawalLog.d.ts.map +1 -0
  174. package/chains/definitions/b3.ts +6 -0
  175. package/chains/definitions/b3Sepolia.ts +6 -0
  176. package/chains/definitions/berachainTestnet.ts +6 -0
  177. package/chains/definitions/donatuz.ts +1 -1
  178. package/chains/definitions/hashkeyChainTestnet.ts +1 -0
  179. package/chains/definitions/haustTestnet.ts +23 -0
  180. package/chains/definitions/lumoz.ts +23 -0
  181. package/chains/definitions/lumozTestnet.ts +17 -0
  182. package/chains/definitions/newton.ts +23 -0
  183. package/chains/definitions/peaq.ts +38 -0
  184. package/chains/definitions/polynomial.ts +28 -0
  185. package/chains/definitions/polynomialSepolia.ts +28 -0
  186. package/chains/definitions/pumpfiTestnet.ts +23 -0
  187. package/chains/definitions/story.ts +7 -0
  188. package/chains/definitions/storyAeneid.ts +28 -0
  189. package/chains/definitions/unichain.ts +22 -1
  190. package/chains/definitions/worldchain.ts +1 -1
  191. package/chains/index.ts +11 -0
  192. package/errors/version.ts +1 -1
  193. package/op-stack/abis.ts +7 -96
  194. package/op-stack/actions/getWithdrawalStatus.ts +28 -17
  195. package/op-stack/chains.ts +1 -0
  196. package/package.json +1 -1
  197. package/zksync/actions/finalizeWithdrawal.ts +248 -0
  198. package/zksync/constants/abis.ts +724 -0
  199. package/zksync/constants/address.ts +3 -0
  200. package/zksync/decorators/walletL1.ts +48 -0
  201. package/zksync/errors/bridge.ts +17 -0
  202. package/zksync/index.ts +6 -0
  203. package/zksync/utils/bridge/getWithdrawalL2ToL1Log.ts +47 -0
  204. package/zksync/utils/bridge/getWithdrawalLog.ts +47 -0
@@ -0,0 +1,37 @@
1
+ export declare const lumoz: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Lumoz Scan";
5
+ readonly url: "https://scan.lumoz.info";
6
+ };
7
+ };
8
+ contracts?: import("../index.js").Prettify<{
9
+ [key: string]: import("../../index.js").ChainContract | {
10
+ [sourceId: number]: import("../../index.js").ChainContract | undefined;
11
+ } | undefined;
12
+ } & {
13
+ ensRegistry?: import("../../index.js").ChainContract | undefined;
14
+ ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
15
+ multicall3?: import("../../index.js").ChainContract | undefined;
16
+ universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
17
+ }> | undefined;
18
+ id: 96370;
19
+ name: "Lumoz";
20
+ nativeCurrency: {
21
+ readonly decimals: 18;
22
+ readonly name: "Lumoz Token";
23
+ readonly symbol: "MOZ";
24
+ };
25
+ rpcUrls: {
26
+ readonly default: {
27
+ readonly http: readonly ["https://rpc.lumoz.org"];
28
+ };
29
+ };
30
+ sourceId?: number | undefined;
31
+ testnet: false;
32
+ custom?: Record<string, unknown> | undefined;
33
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
34
+ formatters?: undefined;
35
+ serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
36
+ };
37
+ //# sourceMappingURL=lumoz.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lumoz.d.ts","sourceRoot":"","sources":["../../../chains/definitions/lumoz.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;mBAqBq/B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADnrC,CAAA"}
@@ -0,0 +1,43 @@
1
+ export declare const lumozTestnet: {
2
+ blockExplorers?: {
3
+ [key: string]: {
4
+ name: string;
5
+ url: string;
6
+ apiUrl?: string | undefined;
7
+ };
8
+ default: {
9
+ name: string;
10
+ url: string;
11
+ apiUrl?: string | undefined;
12
+ };
13
+ } | undefined;
14
+ contracts?: import("../index.js").Prettify<{
15
+ [key: string]: import("../../index.js").ChainContract | {
16
+ [sourceId: number]: import("../../index.js").ChainContract | undefined;
17
+ } | undefined;
18
+ } & {
19
+ ensRegistry?: import("../../index.js").ChainContract | undefined;
20
+ ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
21
+ multicall3?: import("../../index.js").ChainContract | undefined;
22
+ universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
23
+ }> | undefined;
24
+ id: 105363;
25
+ name: "Lumoz Testnet";
26
+ nativeCurrency: {
27
+ readonly decimals: 18;
28
+ readonly name: "Lumoz Testnet Token";
29
+ readonly symbol: "MOZ";
30
+ };
31
+ rpcUrls: {
32
+ readonly default: {
33
+ readonly http: readonly ["https://testnet-rpc.lumoz.org"];
34
+ };
35
+ };
36
+ sourceId?: number | undefined;
37
+ testnet: true;
38
+ custom?: Record<string, unknown> | undefined;
39
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
40
+ formatters?: undefined;
41
+ serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
42
+ };
43
+ //# sourceMappingURL=lumozTestnet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lumozTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/lumozTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;mBAe8jC,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADnwC,CAAA"}
@@ -0,0 +1,37 @@
1
+ export declare const newton: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "NewFi explorer";
5
+ readonly url: "https://explorer.newtonproject.org/";
6
+ };
7
+ };
8
+ contracts?: import("../index.js").Prettify<{
9
+ [key: string]: import("../../index.js").ChainContract | {
10
+ [sourceId: number]: import("../../index.js").ChainContract | undefined;
11
+ } | undefined;
12
+ } & {
13
+ ensRegistry?: import("../../index.js").ChainContract | undefined;
14
+ ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
15
+ multicall3?: import("../../index.js").ChainContract | undefined;
16
+ universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
17
+ }> | undefined;
18
+ id: 1012;
19
+ name: "Newton";
20
+ nativeCurrency: {
21
+ readonly name: "Newton";
22
+ readonly symbol: "NEW";
23
+ readonly decimals: 18;
24
+ };
25
+ rpcUrls: {
26
+ readonly default: {
27
+ readonly http: readonly ["hhttps://global.rpc.mainnet.newtonproject.org"];
28
+ };
29
+ };
30
+ sourceId?: number | undefined;
31
+ testnet: false;
32
+ custom?: Record<string, unknown> | undefined;
33
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
34
+ formatters?: undefined;
35
+ serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
36
+ };
37
+ //# sourceMappingURL=newton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"newton.d.ts","sourceRoot":"","sources":["../../../chains/definitions/newton.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;mBAqBi9B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADhpC,CAAA"}
@@ -0,0 +1,34 @@
1
+ export declare const peaq: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Subscan";
5
+ readonly url: "https://peaq.subscan.io";
6
+ };
7
+ };
8
+ contracts: {
9
+ readonly multicall3: {
10
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
11
+ readonly blockCreated: 3566354;
12
+ };
13
+ };
14
+ id: 3338;
15
+ name: "Peaq";
16
+ nativeCurrency: {
17
+ readonly decimals: 18;
18
+ readonly name: "peaq";
19
+ readonly symbol: "PEAQ";
20
+ };
21
+ rpcUrls: {
22
+ readonly default: {
23
+ readonly http: readonly ["https://peaq.api.onfinality.io/public", "https://peaq-rpc.dwellir.com", "https://peaq-rpc.publicnode.com", "https://evm.peaq.network"];
24
+ readonly webSocket: readonly ["wss://peaq.api.onfinality.io/public", "wss://peaq-rpc.publicnode.com", "wss://peaq-rpc.dwellir.com"];
25
+ };
26
+ };
27
+ sourceId?: number | undefined;
28
+ testnet?: boolean | undefined;
29
+ custom?: Record<string, unknown> | undefined;
30
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
31
+ formatters?: undefined;
32
+ serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
33
+ };
34
+ //# sourceMappingURL=peaq.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peaq.d.ts","sourceRoot":"","sources":["../../../chains/definitions/peaq.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCf,CAAA"}
@@ -0,0 +1,32 @@
1
+ export declare const polynomial: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Polynomial Scan";
5
+ readonly url: "https://polynomialscan.io";
6
+ };
7
+ };
8
+ contracts: {
9
+ readonly multicall3: {
10
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
11
+ };
12
+ };
13
+ id: 8008;
14
+ name: "Polynomial";
15
+ nativeCurrency: {
16
+ readonly decimals: 18;
17
+ readonly name: "Ether";
18
+ readonly symbol: "ETH";
19
+ };
20
+ rpcUrls: {
21
+ readonly default: {
22
+ readonly http: readonly ["https://rpc.polynomial.fi"];
23
+ };
24
+ };
25
+ sourceId?: number | undefined;
26
+ testnet: false;
27
+ custom?: Record<string, unknown> | undefined;
28
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
29
+ formatters?: undefined;
30
+ serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
31
+ };
32
+ //# sourceMappingURL=polynomial.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polynomial.d.ts","sourceRoot":"","sources":["../../../chains/definitions/polynomial.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBrB,CAAA"}
@@ -0,0 +1,32 @@
1
+ export declare const polynomialSepolia: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Polynomial Scan";
5
+ readonly url: "https://sepolia.polynomialscan.io";
6
+ };
7
+ };
8
+ contracts: {
9
+ readonly multicall3: {
10
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
11
+ };
12
+ };
13
+ id: 80008;
14
+ name: "Polynomia Sepolia";
15
+ nativeCurrency: {
16
+ readonly decimals: 18;
17
+ readonly name: "Ether";
18
+ readonly symbol: "ETH";
19
+ };
20
+ rpcUrls: {
21
+ readonly default: {
22
+ readonly http: readonly ["https://rpc.sepolia.polynomial.fi"];
23
+ };
24
+ };
25
+ sourceId?: number | undefined;
26
+ testnet: true;
27
+ custom?: Record<string, unknown> | undefined;
28
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
29
+ formatters?: undefined;
30
+ serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
31
+ };
32
+ //# sourceMappingURL=polynomialSepolia.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polynomialSepolia.d.ts","sourceRoot":"","sources":["../../../chains/definitions/polynomialSepolia.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB5B,CAAA"}
@@ -0,0 +1,37 @@
1
+ export declare const pumpfiTestnet: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Pumpfi Testnet Scan";
5
+ readonly url: "https://testnetscan.pumpfi.me";
6
+ };
7
+ };
8
+ contracts?: import("../index.js").Prettify<{
9
+ [key: string]: import("../../index.js").ChainContract | {
10
+ [sourceId: number]: import("../../index.js").ChainContract | undefined;
11
+ } | undefined;
12
+ } & {
13
+ ensRegistry?: import("../../index.js").ChainContract | undefined;
14
+ ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
15
+ multicall3?: import("../../index.js").ChainContract | undefined;
16
+ universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
17
+ }> | undefined;
18
+ id: 490092;
19
+ name: "Pumpfi Testnet";
20
+ nativeCurrency: {
21
+ readonly decimals: 18;
22
+ readonly name: "PMPT";
23
+ readonly symbol: "PMPT";
24
+ };
25
+ rpcUrls: {
26
+ readonly default: {
27
+ readonly http: readonly ["https://rpc1testnet.pumpfi.me"];
28
+ };
29
+ };
30
+ sourceId?: number | undefined;
31
+ testnet: true;
32
+ custom?: Record<string, unknown> | undefined;
33
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
34
+ formatters?: undefined;
35
+ serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
36
+ };
37
+ //# sourceMappingURL=pumpfiTestnet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pumpfiTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/pumpfiTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;mBAqB28B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADjpC,CAAA"}
@@ -1,16 +1,11 @@
1
1
  export declare const story: {
2
- blockExplorers?: {
3
- [key: string]: {
4
- name: string;
5
- url: string;
6
- apiUrl?: string | undefined;
7
- };
8
- default: {
9
- name: string;
10
- url: string;
11
- apiUrl?: string | undefined;
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Story explorer";
5
+ readonly url: "https://storyscan.xyz";
6
+ readonly apiUrl: "https://storyscan.xyz/api/v2";
12
7
  };
13
- } | undefined;
8
+ };
14
9
  contracts?: import("../index.js").Prettify<{
15
10
  [key: string]: import("../../index.js").ChainContract | {
16
11
  [sourceId: number]: import("../../index.js").ChainContract | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../../chains/definitions/story.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;mBAa+mC,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD7yC,CAAA"}
1
+ {"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../../chains/definitions/story.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;mBAoBg9B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD9oC,CAAA"}
@@ -0,0 +1,34 @@
1
+ export declare const storyAeneid: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Story Aeneid Explorer";
5
+ readonly url: "https://aeneid.storyscan.xyz";
6
+ };
7
+ };
8
+ contracts: {
9
+ readonly multicall3: {
10
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
11
+ readonly blockCreated: 1792;
12
+ };
13
+ };
14
+ id: 1315;
15
+ name: "Story Aeneid";
16
+ nativeCurrency: {
17
+ readonly decimals: 18;
18
+ readonly name: "IP";
19
+ readonly symbol: "IP";
20
+ };
21
+ rpcUrls: {
22
+ readonly default: {
23
+ readonly http: readonly ["https://aeneid.storyrpc.io"];
24
+ };
25
+ };
26
+ sourceId?: number | undefined;
27
+ testnet: true;
28
+ custom?: Record<string, unknown> | undefined;
29
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
30
+ formatters?: undefined;
31
+ serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
32
+ readonly network: "story-aeneid";
33
+ };
34
+ //# sourceMappingURL=storyAeneid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyAeneid.d.ts","sourceRoot":"","sources":["../../../chains/definitions/storyAeneid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBtB,CAAA"}
@@ -11,11 +11,44 @@ export declare const unichain: {
11
11
  readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
12
12
  readonly blockCreated: 0;
13
13
  };
14
+ readonly disputeGameFactory: {
15
+ readonly 1: {
16
+ readonly address: "0x2F12d621a16e2d3285929C9996f478508951dFe4";
17
+ };
18
+ };
19
+ readonly portal: {
20
+ readonly 1: {
21
+ readonly address: "0x0bd48f6B86a26D3a217d0Fa6FfE2B491B956A7a2";
22
+ };
23
+ };
24
+ readonly l1StandardBridge: {
25
+ readonly 1: {
26
+ readonly address: "0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA";
27
+ };
28
+ };
29
+ readonly gasPriceOracle: {
30
+ readonly address: "0x420000000000000000000000000000000000000F";
31
+ };
32
+ readonly l1Block: {
33
+ readonly address: "0x4200000000000000000000000000000000000015";
34
+ };
35
+ readonly l2CrossDomainMessenger: {
36
+ readonly address: "0x4200000000000000000000000000000000000007";
37
+ };
38
+ readonly l2Erc721Bridge: {
39
+ readonly address: "0x4200000000000000000000000000000000000014";
40
+ };
41
+ readonly l2StandardBridge: {
42
+ readonly address: "0x4200000000000000000000000000000000000010";
43
+ };
44
+ readonly l2ToL1MessagePasser: {
45
+ readonly address: "0x4200000000000000000000000000000000000016";
46
+ };
14
47
  };
15
48
  id: 130;
16
49
  name: "Unichain";
17
50
  nativeCurrency: {
18
- readonly name: "Unichain";
51
+ readonly name: "Ether";
19
52
  readonly symbol: "ETH";
20
53
  readonly decimals: 18;
21
54
  };
@@ -24,11 +57,243 @@ export declare const unichain: {
24
57
  readonly http: readonly ["https://mainnet.unichain.org/"];
25
58
  };
26
59
  };
27
- sourceId?: number | undefined;
60
+ sourceId: 1;
28
61
  testnet?: boolean | undefined;
29
62
  custom?: Record<string, unknown> | undefined;
30
63
  fees?: import("../../index.js").ChainFees<undefined> | undefined;
31
- formatters?: undefined;
32
- serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
64
+ formatters: {
65
+ readonly block: {
66
+ exclude: [] | undefined;
67
+ format: (args: import("../index.js").OpStackRpcBlock) => {
68
+ baseFeePerGas: bigint | null;
69
+ blobGasUsed: bigint;
70
+ difficulty: bigint;
71
+ excessBlobGas: bigint;
72
+ extraData: import("../../index.js").Hex;
73
+ gasLimit: bigint;
74
+ gasUsed: bigint;
75
+ hash: `0x${string}` | null;
76
+ logsBloom: `0x${string}` | null;
77
+ miner: import("abitype").Address;
78
+ mixHash: import("../../index.js").Hash;
79
+ nonce: `0x${string}` | null;
80
+ number: bigint | null;
81
+ parentBeaconBlockRoot?: import("../../index.js").Hex | undefined;
82
+ parentHash: import("../../index.js").Hash;
83
+ receiptsRoot: import("../../index.js").Hex;
84
+ sealFields: import("../../index.js").Hex[];
85
+ sha3Uncles: import("../../index.js").Hash;
86
+ size: bigint;
87
+ stateRoot: import("../../index.js").Hash;
88
+ timestamp: bigint;
89
+ totalDifficulty: bigint | null;
90
+ transactions: `0x${string}`[] | import("../index.js").OpStackTransaction<boolean>[];
91
+ transactionsRoot: import("../../index.js").Hash;
92
+ uncles: import("../../index.js").Hash[];
93
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
94
+ withdrawalsRoot?: import("../../index.js").Hex | undefined;
95
+ } & {};
96
+ type: "block";
97
+ };
98
+ readonly transaction: {
99
+ exclude: [] | undefined;
100
+ format: (args: import("../index.js").OpStackRpcTransaction) => ({
101
+ blockHash: `0x${string}` | null;
102
+ blockNumber: bigint | null;
103
+ from: import("abitype").Address;
104
+ gas: bigint;
105
+ hash: import("../../index.js").Hash;
106
+ input: import("../../index.js").Hex;
107
+ nonce: number;
108
+ r: import("../../index.js").Hex;
109
+ s: import("../../index.js").Hex;
110
+ to: import("abitype").Address | null;
111
+ transactionIndex: number | null;
112
+ typeHex: import("../../index.js").Hex | null;
113
+ v: bigint;
114
+ value: bigint;
115
+ yParity: number;
116
+ gasPrice?: undefined;
117
+ maxFeePerBlobGas?: undefined;
118
+ maxFeePerGas: bigint;
119
+ maxPriorityFeePerGas: bigint;
120
+ isSystemTx?: boolean;
121
+ mint?: bigint | undefined;
122
+ sourceHash: import("../../index.js").Hex;
123
+ type: "deposit";
124
+ } | {
125
+ r: import("../../index.js").Hex;
126
+ s: import("../../index.js").Hex;
127
+ v: bigint;
128
+ to: import("abitype").Address | null;
129
+ from: import("abitype").Address;
130
+ gas: bigint;
131
+ nonce: number;
132
+ value: bigint;
133
+ blockHash: `0x${string}` | null;
134
+ blockNumber: bigint | null;
135
+ hash: import("../../index.js").Hash;
136
+ input: import("../../index.js").Hex;
137
+ transactionIndex: number | null;
138
+ typeHex: import("../../index.js").Hex | null;
139
+ accessList?: undefined;
140
+ authorizationList?: undefined;
141
+ blobVersionedHashes?: undefined;
142
+ chainId?: number | undefined;
143
+ yParity?: undefined;
144
+ type: "legacy";
145
+ gasPrice: bigint;
146
+ maxFeePerBlobGas?: undefined;
147
+ maxFeePerGas?: undefined;
148
+ maxPriorityFeePerGas?: undefined;
149
+ isSystemTx?: undefined;
150
+ mint?: undefined;
151
+ sourceHash?: undefined;
152
+ } | {
153
+ blockHash: `0x${string}` | null;
154
+ blockNumber: bigint | null;
155
+ from: import("abitype").Address;
156
+ gas: bigint;
157
+ hash: import("../../index.js").Hash;
158
+ input: import("../../index.js").Hex;
159
+ nonce: number;
160
+ r: import("../../index.js").Hex;
161
+ s: import("../../index.js").Hex;
162
+ to: import("abitype").Address | null;
163
+ transactionIndex: number | null;
164
+ typeHex: import("../../index.js").Hex | null;
165
+ v: bigint;
166
+ value: bigint;
167
+ yParity: number;
168
+ accessList: import("../../index.js").AccessList;
169
+ authorizationList?: undefined;
170
+ blobVersionedHashes?: undefined;
171
+ chainId: number;
172
+ type: "eip2930";
173
+ gasPrice: bigint;
174
+ maxFeePerBlobGas?: undefined;
175
+ maxFeePerGas?: undefined;
176
+ maxPriorityFeePerGas?: undefined;
177
+ isSystemTx?: undefined;
178
+ mint?: undefined;
179
+ sourceHash?: undefined;
180
+ } | {
181
+ blockHash: `0x${string}` | null;
182
+ blockNumber: bigint | null;
183
+ from: import("abitype").Address;
184
+ gas: bigint;
185
+ hash: import("../../index.js").Hash;
186
+ input: import("../../index.js").Hex;
187
+ nonce: number;
188
+ r: import("../../index.js").Hex;
189
+ s: import("../../index.js").Hex;
190
+ to: import("abitype").Address | null;
191
+ transactionIndex: number | null;
192
+ typeHex: import("../../index.js").Hex | null;
193
+ v: bigint;
194
+ value: bigint;
195
+ yParity: number;
196
+ accessList: import("../../index.js").AccessList;
197
+ authorizationList?: undefined;
198
+ blobVersionedHashes?: undefined;
199
+ chainId: number;
200
+ type: "eip1559";
201
+ gasPrice?: undefined;
202
+ maxFeePerBlobGas?: undefined;
203
+ maxFeePerGas: bigint;
204
+ maxPriorityFeePerGas: bigint;
205
+ isSystemTx?: undefined;
206
+ mint?: undefined;
207
+ sourceHash?: undefined;
208
+ } | {
209
+ blockHash: `0x${string}` | null;
210
+ blockNumber: bigint | null;
211
+ from: import("abitype").Address;
212
+ gas: bigint;
213
+ hash: import("../../index.js").Hash;
214
+ input: import("../../index.js").Hex;
215
+ nonce: number;
216
+ r: import("../../index.js").Hex;
217
+ s: import("../../index.js").Hex;
218
+ to: import("abitype").Address | null;
219
+ transactionIndex: number | null;
220
+ typeHex: import("../../index.js").Hex | null;
221
+ v: bigint;
222
+ value: bigint;
223
+ yParity: number;
224
+ accessList: import("../../index.js").AccessList;
225
+ authorizationList?: undefined;
226
+ blobVersionedHashes: readonly import("../../index.js").Hex[];
227
+ chainId: number;
228
+ type: "eip4844";
229
+ gasPrice?: undefined;
230
+ maxFeePerBlobGas: bigint;
231
+ maxFeePerGas: bigint;
232
+ maxPriorityFeePerGas: bigint;
233
+ isSystemTx?: undefined;
234
+ mint?: undefined;
235
+ sourceHash?: undefined;
236
+ } | {
237
+ blockHash: `0x${string}` | null;
238
+ blockNumber: bigint | null;
239
+ from: import("abitype").Address;
240
+ gas: bigint;
241
+ hash: import("../../index.js").Hash;
242
+ input: import("../../index.js").Hex;
243
+ nonce: number;
244
+ r: import("../../index.js").Hex;
245
+ s: import("../../index.js").Hex;
246
+ to: import("abitype").Address | null;
247
+ transactionIndex: number | null;
248
+ typeHex: import("../../index.js").Hex | null;
249
+ v: bigint;
250
+ value: bigint;
251
+ yParity: number;
252
+ accessList: import("../../index.js").AccessList;
253
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
254
+ blobVersionedHashes?: undefined;
255
+ chainId: number;
256
+ type: "eip7702";
257
+ gasPrice?: undefined;
258
+ maxFeePerBlobGas?: undefined;
259
+ maxFeePerGas: bigint;
260
+ maxPriorityFeePerGas: bigint;
261
+ isSystemTx?: undefined;
262
+ mint?: undefined;
263
+ sourceHash?: undefined;
264
+ }) & {};
265
+ type: "transaction";
266
+ };
267
+ readonly transactionReceipt: {
268
+ exclude: [] | undefined;
269
+ format: (args: import("../index.js").OpStackRpcTransactionReceipt) => {
270
+ blobGasPrice?: bigint | undefined;
271
+ blobGasUsed?: bigint | undefined;
272
+ blockHash: import("../../index.js").Hash;
273
+ blockNumber: bigint;
274
+ contractAddress: import("abitype").Address | null | undefined;
275
+ cumulativeGasUsed: bigint;
276
+ effectiveGasPrice: bigint;
277
+ from: import("abitype").Address;
278
+ gasUsed: bigint;
279
+ logs: import("../../index.js").Log<bigint, number, false>[];
280
+ logsBloom: import("../../index.js").Hex;
281
+ root?: import("../../index.js").Hash | undefined;
282
+ status: "success" | "reverted";
283
+ to: import("abitype").Address | null;
284
+ transactionHash: import("../../index.js").Hash;
285
+ transactionIndex: number;
286
+ type: import("../../index.js").TransactionType;
287
+ l1GasPrice: bigint | null;
288
+ l1GasUsed: bigint | null;
289
+ l1Fee: bigint | null;
290
+ l1FeeScalar: number | null;
291
+ } & {};
292
+ type: "transactionReceipt";
293
+ };
294
+ };
295
+ serializers: {
296
+ readonly transaction: typeof import("../index.js").serializeTransactionOpStack;
297
+ };
33
298
  };
34
299
  //# sourceMappingURL=unichain.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unichain.d.ts","sourceRoot":"","sources":["../../../chains/definitions/unichain.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBnB,CAAA"}
1
+ {"version":3,"file":"unichain.d.ts","sourceRoot":"","sources":["../../../chains/definitions/unichain.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCnB,CAAA"}
@@ -18,7 +18,7 @@ export declare const worldchain: {
18
18
  };
19
19
  readonly disputeGameFactory: {
20
20
  readonly 1: {
21
- readonly address: "0x0E90dCAFBC242D2C861A20Bb20EC8E7182965a52";
21
+ readonly address: "0x069c4c579671f8c120b1327a73217D01Ea2EC5ea";
22
22
  };
23
23
  };
24
24
  readonly l2OutputOracle: {