viem 2.0.0-rc.0 → 2.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/_cjs/actions/public/getFilterChanges.js +3 -2
  3. package/_cjs/actions/public/getFilterChanges.js.map +1 -1
  4. package/_cjs/actions/public/getFilterLogs.js +3 -2
  5. package/_cjs/actions/public/getFilterLogs.js.map +1 -1
  6. package/_cjs/actions/public/getLogs.js +3 -2
  7. package/_cjs/actions/public/getLogs.js.map +1 -1
  8. package/_cjs/actions/public/verifyTypedData.js +2 -1
  9. package/_cjs/actions/public/verifyTypedData.js.map +1 -1
  10. package/_cjs/chains/celo/formatters.js +0 -10
  11. package/_cjs/chains/celo/formatters.js.map +1 -1
  12. package/_cjs/chains/definitions/astar.js +0 -1
  13. package/_cjs/chains/definitions/astar.js.map +1 -1
  14. package/_cjs/chains/definitions/astarZkatana.js +0 -6
  15. package/_cjs/chains/definitions/astarZkatana.js.map +1 -1
  16. package/_cjs/chains/definitions/baseSepolia.js +0 -3
  17. package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
  18. package/_cjs/chains/definitions/bscTestnet.js +0 -1
  19. package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
  20. package/_cjs/chains/definitions/confluxESpaceTestnet.js +0 -4
  21. package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -1
  22. package/_cjs/chains/definitions/fantomSonicTestnet.js +0 -1
  23. package/_cjs/chains/definitions/fantomSonicTestnet.js.map +1 -1
  24. package/_cjs/chains/definitions/kava.js +0 -1
  25. package/_cjs/chains/definitions/kava.js.map +1 -1
  26. package/_cjs/chains/definitions/kavaTestnet.js +0 -1
  27. package/_cjs/chains/definitions/kavaTestnet.js.map +1 -1
  28. package/_cjs/chains/definitions/klaytnBaobab.js +0 -1
  29. package/_cjs/chains/definitions/klaytnBaobab.js.map +1 -1
  30. package/_cjs/chains/definitions/lukso.js +0 -4
  31. package/_cjs/chains/definitions/lukso.js.map +1 -1
  32. package/_cjs/chains/definitions/manta.js +0 -1
  33. package/_cjs/chains/definitions/manta.js.map +1 -1
  34. package/_cjs/chains/definitions/mantaTestnet.js +0 -1
  35. package/_cjs/chains/definitions/mantaTestnet.js.map +1 -1
  36. package/_cjs/chains/definitions/neonMainnet.js +0 -3
  37. package/_cjs/chains/definitions/neonMainnet.js.map +1 -1
  38. package/_cjs/chains/definitions/pgn.js +0 -3
  39. package/_cjs/chains/definitions/pgn.js.map +1 -1
  40. package/_cjs/chains/definitions/pgnTestnet.js +0 -3
  41. package/_cjs/chains/definitions/pgnTestnet.js.map +1 -1
  42. package/_cjs/chains/definitions/rootstock.js +0 -1
  43. package/_cjs/chains/definitions/rootstock.js.map +1 -1
  44. package/_cjs/chains/definitions/sapphire.js +0 -4
  45. package/_cjs/chains/definitions/sapphire.js.map +1 -1
  46. package/_cjs/chains/definitions/sapphireTestnet.js +0 -4
  47. package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -1
  48. package/_cjs/chains/definitions/shibarium.js +0 -3
  49. package/_cjs/chains/definitions/shibarium.js.map +1 -1
  50. package/_cjs/chains/definitions/shimmer.js +0 -3
  51. package/_cjs/chains/definitions/shimmer.js.map +1 -1
  52. package/_cjs/chains/definitions/shimmerTestnet.js +0 -3
  53. package/_cjs/chains/definitions/shimmerTestnet.js.map +1 -1
  54. package/_cjs/chains/definitions/taikoJolnir.js +2 -2
  55. package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
  56. package/_cjs/chains/definitions/tenet.js +0 -1
  57. package/_cjs/chains/definitions/tenet.js.map +1 -1
  58. package/_cjs/chains/definitions/zilliqa.js +0 -3
  59. package/_cjs/chains/definitions/zilliqa.js.map +1 -1
  60. package/_cjs/chains/definitions/zilliqaTestnet.js +0 -3
  61. package/_cjs/chains/definitions/zilliqaTestnet.js.map +1 -1
  62. package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js +0 -4
  63. package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -1
  64. package/_cjs/chains/definitions/zkSyncTestnet.js +0 -4
  65. package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
  66. package/_cjs/chains/definitions/zoraSepolia.js +0 -4
  67. package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
  68. package/_cjs/errors/version.js +1 -1
  69. package/_esm/actions/public/getFilterChanges.js +3 -2
  70. package/_esm/actions/public/getFilterChanges.js.map +1 -1
  71. package/_esm/actions/public/getFilterLogs.js +3 -2
  72. package/_esm/actions/public/getFilterLogs.js.map +1 -1
  73. package/_esm/actions/public/getLogs.js +3 -2
  74. package/_esm/actions/public/getLogs.js.map +1 -1
  75. package/_esm/actions/public/verifyTypedData.js +2 -1
  76. package/_esm/actions/public/verifyTypedData.js.map +1 -1
  77. package/_esm/chains/celo/formatters.js +0 -10
  78. package/_esm/chains/celo/formatters.js.map +1 -1
  79. package/_esm/chains/definitions/astar.js +0 -1
  80. package/_esm/chains/definitions/astar.js.map +1 -1
  81. package/_esm/chains/definitions/astarZkatana.js +0 -6
  82. package/_esm/chains/definitions/astarZkatana.js.map +1 -1
  83. package/_esm/chains/definitions/baseSepolia.js +0 -3
  84. package/_esm/chains/definitions/baseSepolia.js.map +1 -1
  85. package/_esm/chains/definitions/bscTestnet.js +0 -1
  86. package/_esm/chains/definitions/bscTestnet.js.map +1 -1
  87. package/_esm/chains/definitions/confluxESpaceTestnet.js +0 -4
  88. package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -1
  89. package/_esm/chains/definitions/fantomSonicTestnet.js +0 -1
  90. package/_esm/chains/definitions/fantomSonicTestnet.js.map +1 -1
  91. package/_esm/chains/definitions/kava.js +0 -1
  92. package/_esm/chains/definitions/kava.js.map +1 -1
  93. package/_esm/chains/definitions/kavaTestnet.js +0 -1
  94. package/_esm/chains/definitions/kavaTestnet.js.map +1 -1
  95. package/_esm/chains/definitions/klaytnBaobab.js +0 -1
  96. package/_esm/chains/definitions/klaytnBaobab.js.map +1 -1
  97. package/_esm/chains/definitions/lukso.js +0 -4
  98. package/_esm/chains/definitions/lukso.js.map +1 -1
  99. package/_esm/chains/definitions/manta.js +0 -1
  100. package/_esm/chains/definitions/manta.js.map +1 -1
  101. package/_esm/chains/definitions/mantaTestnet.js +0 -1
  102. package/_esm/chains/definitions/mantaTestnet.js.map +1 -1
  103. package/_esm/chains/definitions/neonMainnet.js +0 -3
  104. package/_esm/chains/definitions/neonMainnet.js.map +1 -1
  105. package/_esm/chains/definitions/pgn.js +0 -3
  106. package/_esm/chains/definitions/pgn.js.map +1 -1
  107. package/_esm/chains/definitions/pgnTestnet.js +0 -3
  108. package/_esm/chains/definitions/pgnTestnet.js.map +1 -1
  109. package/_esm/chains/definitions/rootstock.js +0 -1
  110. package/_esm/chains/definitions/rootstock.js.map +1 -1
  111. package/_esm/chains/definitions/sapphire.js +0 -4
  112. package/_esm/chains/definitions/sapphire.js.map +1 -1
  113. package/_esm/chains/definitions/sapphireTestnet.js +0 -4
  114. package/_esm/chains/definitions/sapphireTestnet.js.map +1 -1
  115. package/_esm/chains/definitions/shibarium.js +0 -3
  116. package/_esm/chains/definitions/shibarium.js.map +1 -1
  117. package/_esm/chains/definitions/shimmer.js +0 -3
  118. package/_esm/chains/definitions/shimmer.js.map +1 -1
  119. package/_esm/chains/definitions/shimmerTestnet.js +0 -3
  120. package/_esm/chains/definitions/shimmerTestnet.js.map +1 -1
  121. package/_esm/chains/definitions/taikoJolnir.js +2 -2
  122. package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
  123. package/_esm/chains/definitions/tenet.js +0 -1
  124. package/_esm/chains/definitions/tenet.js.map +1 -1
  125. package/_esm/chains/definitions/zilliqa.js +0 -3
  126. package/_esm/chains/definitions/zilliqa.js.map +1 -1
  127. package/_esm/chains/definitions/zilliqaTestnet.js +0 -3
  128. package/_esm/chains/definitions/zilliqaTestnet.js.map +1 -1
  129. package/_esm/chains/definitions/zkSyncSepoliaTestnet.js +0 -4
  130. package/_esm/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -1
  131. package/_esm/chains/definitions/zkSyncTestnet.js +0 -4
  132. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
  133. package/_esm/chains/definitions/zoraSepolia.js +0 -4
  134. package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
  135. package/_esm/errors/version.js +1 -1
  136. package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
  137. package/_types/actions/public/verifyTypedData.d.ts +2 -4
  138. package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
  139. package/_types/chains/celo/chainConfig.d.ts +154 -177
  140. package/_types/chains/celo/chainConfig.d.ts.map +1 -1
  141. package/_types/chains/celo/formatters.d.ts +155 -178
  142. package/_types/chains/celo/formatters.d.ts.map +1 -1
  143. package/_types/chains/celo/index.d.ts +1 -1
  144. package/_types/chains/celo/index.d.ts.map +1 -1
  145. package/_types/chains/celo/types.d.ts +2 -14
  146. package/_types/chains/celo/types.d.ts.map +1 -1
  147. package/_types/chains/definitions/astar.d.ts +0 -3
  148. package/_types/chains/definitions/astar.d.ts.map +1 -1
  149. package/_types/chains/definitions/astarZkatana.d.ts +0 -3
  150. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
  151. package/_types/chains/definitions/base.d.ts +116 -116
  152. package/_types/chains/definitions/baseGoerli.d.ts +116 -116
  153. package/_types/chains/definitions/baseSepolia.d.ts +116 -119
  154. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  155. package/_types/chains/definitions/bscTestnet.d.ts +0 -3
  156. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
  157. package/_types/chains/definitions/celo.d.ts +154 -177
  158. package/_types/chains/definitions/celo.d.ts.map +1 -1
  159. package/_types/chains/definitions/celoAlfajores.d.ts +154 -177
  160. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  161. package/_types/chains/definitions/celoCannoli.d.ts +154 -177
  162. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  163. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -4
  164. package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -1
  165. package/_types/chains/definitions/fantomSonicTestnet.d.ts +0 -3
  166. package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -1
  167. package/_types/chains/definitions/kava.d.ts +0 -3
  168. package/_types/chains/definitions/kava.d.ts.map +1 -1
  169. package/_types/chains/definitions/kavaTestnet.d.ts +0 -3
  170. package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -1
  171. package/_types/chains/definitions/klaytnBaobab.d.ts +0 -3
  172. package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -1
  173. package/_types/chains/definitions/lukso.d.ts +0 -4
  174. package/_types/chains/definitions/lukso.d.ts.map +1 -1
  175. package/_types/chains/definitions/manta.d.ts +0 -3
  176. package/_types/chains/definitions/manta.d.ts.map +1 -1
  177. package/_types/chains/definitions/mantaTestnet.d.ts +0 -3
  178. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
  179. package/_types/chains/definitions/neonMainnet.d.ts +0 -3
  180. package/_types/chains/definitions/neonMainnet.d.ts.map +1 -1
  181. package/_types/chains/definitions/optimism.d.ts +116 -116
  182. package/_types/chains/definitions/optimismGoerli.d.ts +116 -116
  183. package/_types/chains/definitions/optimismSepolia.d.ts +116 -116
  184. package/_types/chains/definitions/pgn.d.ts +116 -119
  185. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  186. package/_types/chains/definitions/pgnTestnet.d.ts +116 -119
  187. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  188. package/_types/chains/definitions/rootstock.d.ts +0 -3
  189. package/_types/chains/definitions/rootstock.d.ts.map +1 -1
  190. package/_types/chains/definitions/sapphire.d.ts +0 -4
  191. package/_types/chains/definitions/sapphire.d.ts.map +1 -1
  192. package/_types/chains/definitions/sapphireTestnet.d.ts +0 -4
  193. package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -1
  194. package/_types/chains/definitions/shibarium.d.ts +0 -3
  195. package/_types/chains/definitions/shibarium.d.ts.map +1 -1
  196. package/_types/chains/definitions/shimmer.d.ts +0 -3
  197. package/_types/chains/definitions/shimmer.d.ts.map +1 -1
  198. package/_types/chains/definitions/shimmerTestnet.d.ts +0 -3
  199. package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -1
  200. package/_types/chains/definitions/taikoJolnir.d.ts +2 -2
  201. package/_types/chains/definitions/tenet.d.ts +0 -3
  202. package/_types/chains/definitions/tenet.d.ts.map +1 -1
  203. package/_types/chains/definitions/zilliqa.d.ts +0 -3
  204. package/_types/chains/definitions/zilliqa.d.ts.map +1 -1
  205. package/_types/chains/definitions/zilliqaTestnet.d.ts +0 -3
  206. package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -1
  207. package/_types/chains/definitions/zkSync.d.ts +27 -27
  208. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +27 -31
  209. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  210. package/_types/chains/definitions/zkSyncTestnet.d.ts +27 -31
  211. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  212. package/_types/chains/definitions/zora.d.ts +116 -116
  213. package/_types/chains/definitions/zoraSepolia.d.ts +116 -120
  214. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  215. package/_types/chains/definitions/zoraTestnet.d.ts +116 -116
  216. package/_types/chains/opStack/chainConfig.d.ts +116 -116
  217. package/_types/chains/opStack/formatters.d.ts +116 -116
  218. package/_types/chains/zksync/chainConfig.d.ts +27 -27
  219. package/_types/chains/zksync/formatters.d.ts +27 -27
  220. package/_types/errors/version.d.ts +1 -1
  221. package/_types/utils/formatters/transaction.d.ts +1 -1
  222. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  223. package/actions/public/getFilterChanges.ts +3 -5
  224. package/actions/public/getFilterLogs.ts +3 -3
  225. package/actions/public/getLogs.ts +3 -3
  226. package/actions/public/verifyTypedData.ts +13 -8
  227. package/chains/celo/formatters.ts +0 -14
  228. package/chains/celo/index.ts +0 -4
  229. package/chains/celo/types.ts +0 -18
  230. package/chains/definitions/astar.ts +0 -1
  231. package/chains/definitions/astarZkatana.ts +0 -6
  232. package/chains/definitions/baseSepolia.ts +0 -3
  233. package/chains/definitions/bscTestnet.ts +0 -1
  234. package/chains/definitions/confluxESpaceTestnet.ts +0 -4
  235. package/chains/definitions/fantomSonicTestnet.ts +0 -1
  236. package/chains/definitions/kava.ts +0 -1
  237. package/chains/definitions/kavaTestnet.ts +0 -1
  238. package/chains/definitions/klaytnBaobab.ts +0 -1
  239. package/chains/definitions/lukso.ts +0 -4
  240. package/chains/definitions/manta.ts +0 -1
  241. package/chains/definitions/mantaTestnet.ts +0 -1
  242. package/chains/definitions/neonMainnet.ts +0 -3
  243. package/chains/definitions/pgn.ts +0 -3
  244. package/chains/definitions/pgnTestnet.ts +0 -3
  245. package/chains/definitions/rootstock.ts +0 -1
  246. package/chains/definitions/sapphire.ts +0 -4
  247. package/chains/definitions/sapphireTestnet.ts +0 -4
  248. package/chains/definitions/shibarium.ts +0 -3
  249. package/chains/definitions/shimmer.ts +0 -3
  250. package/chains/definitions/shimmerTestnet.ts +0 -3
  251. package/chains/definitions/taikoJolnir.ts +2 -2
  252. package/chains/definitions/tenet.ts +0 -1
  253. package/chains/definitions/zilliqa.ts +0 -3
  254. package/chains/definitions/zilliqaTestnet.ts +0 -3
  255. package/chains/definitions/zkSyncSepoliaTestnet.ts +0 -4
  256. package/chains/definitions/zkSyncTestnet.ts +0 -4
  257. package/chains/definitions/zoraSepolia.ts +0 -4
  258. package/errors/version.ts +1 -1
  259. package/package.json +1 -1
@@ -36,9 +36,6 @@ export declare const pgn: {
36
36
  readonly default: {
37
37
  readonly http: readonly ["https://rpc.publicgoods.network"];
38
38
  };
39
- readonly public: {
40
- readonly http: readonly ["https://rpc.publicgoods.network"];
41
- };
42
39
  };
43
40
  sourceId: 1;
44
41
  testnet?: boolean | undefined;
@@ -78,24 +75,24 @@ export declare const pgn: {
78
75
  readonly transaction: {
79
76
  exclude: [] | undefined;
80
77
  format: (args: ({
81
- gas?: `0x${string}` | undefined;
82
- nonce?: `0x${string}` | undefined;
83
78
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
79
+ blockHash?: `0x${string}` | null | undefined;
80
+ gasPrice?: `0x${string}` | undefined;
84
81
  maxFeePerGas?: `0x${string}` | undefined;
85
82
  maxPriorityFeePerGas?: `0x${string}` | undefined;
86
- gasPrice?: `0x${string}` | undefined;
87
- from?: `0x${string}` | undefined;
88
- to?: `0x${string}` | null | undefined;
89
- value?: `0x${string}` | undefined;
90
- r?: `0x${string}` | undefined;
91
- s?: `0x${string}` | undefined;
92
- v?: `0x${string}` | undefined;
93
83
  yParity?: `0x${string}` | undefined;
94
- blockHash?: `0x${string}` | null | undefined;
95
84
  blockNumber?: `0x${string}` | null | undefined;
85
+ from?: `0x${string}` | undefined;
86
+ gas?: `0x${string}` | undefined;
96
87
  hash?: `0x${string}` | undefined;
97
88
  input?: `0x${string}` | undefined;
89
+ nonce?: `0x${string}` | undefined;
90
+ r?: `0x${string}` | undefined;
91
+ s?: `0x${string}` | undefined;
92
+ to?: `0x${string}` | null | undefined;
98
93
  transactionIndex?: `0x${string}` | null | undefined;
94
+ v?: `0x${string}` | undefined;
95
+ value?: `0x${string}` | undefined;
99
96
  accessList?: undefined;
100
97
  chainId?: `0x${string}` | undefined;
101
98
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -103,24 +100,24 @@ export declare const pgn: {
103
100
  mint?: undefined;
104
101
  sourceHash?: undefined;
105
102
  }) | ({
106
- gas?: `0x${string}` | undefined;
107
- nonce?: `0x${string}` | undefined;
108
103
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
104
+ blockHash?: `0x${string}` | null | undefined;
105
+ gasPrice?: `0x${string}` | undefined;
109
106
  maxFeePerGas?: `0x${string}` | undefined;
110
107
  maxPriorityFeePerGas?: `0x${string}` | undefined;
111
- gasPrice?: `0x${string}` | undefined;
112
- from?: `0x${string}` | undefined;
113
- to?: `0x${string}` | null | undefined;
114
- value?: `0x${string}` | undefined;
115
- r?: `0x${string}` | undefined;
116
- s?: `0x${string}` | undefined;
117
- v?: `0x${string}` | undefined;
118
108
  yParity?: `0x${string}` | undefined;
119
- blockHash?: `0x${string}` | null | undefined;
120
109
  blockNumber?: `0x${string}` | null | undefined;
110
+ from?: `0x${string}` | undefined;
111
+ gas?: `0x${string}` | undefined;
121
112
  hash?: `0x${string}` | undefined;
122
113
  input?: `0x${string}` | undefined;
114
+ nonce?: `0x${string}` | undefined;
115
+ r?: `0x${string}` | undefined;
116
+ s?: `0x${string}` | undefined;
117
+ to?: `0x${string}` | null | undefined;
123
118
  transactionIndex?: `0x${string}` | null | undefined;
119
+ v?: `0x${string}` | undefined;
120
+ value?: `0x${string}` | undefined;
124
121
  accessList?: undefined;
125
122
  chainId?: `0x${string}` | undefined;
126
123
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -129,24 +126,24 @@ export declare const pgn: {
129
126
  sourceHash: `0x${string}`;
130
127
  type: "0x7e";
131
128
  }) | ({
132
- gas?: `0x${string}` | undefined;
133
- nonce?: `0x${string}` | undefined;
134
129
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
130
+ blockHash?: `0x${string}` | null | undefined;
131
+ gasPrice?: `0x${string}` | undefined;
135
132
  maxFeePerGas?: `0x${string}` | undefined;
136
133
  maxPriorityFeePerGas?: `0x${string}` | undefined;
137
- gasPrice?: `0x${string}` | undefined;
138
- from?: `0x${string}` | undefined;
139
- to?: `0x${string}` | null | undefined;
140
- value?: `0x${string}` | undefined;
141
- r?: `0x${string}` | undefined;
142
- s?: `0x${string}` | undefined;
143
- v?: `0x${string}` | undefined;
144
134
  yParity?: `0x${string}` | undefined;
145
- blockHash?: `0x${string}` | null | undefined;
146
135
  blockNumber?: `0x${string}` | null | undefined;
136
+ from?: `0x${string}` | undefined;
137
+ gas?: `0x${string}` | undefined;
147
138
  hash?: `0x${string}` | undefined;
148
139
  input?: `0x${string}` | undefined;
140
+ nonce?: `0x${string}` | undefined;
141
+ r?: `0x${string}` | undefined;
142
+ s?: `0x${string}` | undefined;
143
+ to?: `0x${string}` | null | undefined;
149
144
  transactionIndex?: `0x${string}` | null | undefined;
145
+ v?: `0x${string}` | undefined;
146
+ value?: `0x${string}` | undefined;
150
147
  accessList?: import("../../index.js").AccessList | undefined;
151
148
  chainId?: `0x${string}` | undefined;
152
149
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -154,24 +151,24 @@ export declare const pgn: {
154
151
  mint?: undefined;
155
152
  sourceHash?: undefined;
156
153
  }) | ({
157
- gas?: `0x${string}` | undefined;
158
- nonce?: `0x${string}` | undefined;
159
154
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
155
+ blockHash?: `0x${string}` | null | undefined;
156
+ gasPrice?: `0x${string}` | undefined;
160
157
  maxFeePerGas?: `0x${string}` | undefined;
161
158
  maxPriorityFeePerGas?: `0x${string}` | undefined;
162
- gasPrice?: `0x${string}` | undefined;
163
- from?: `0x${string}` | undefined;
164
- to?: `0x${string}` | null | undefined;
165
- value?: `0x${string}` | undefined;
166
- r?: `0x${string}` | undefined;
167
- s?: `0x${string}` | undefined;
168
- v?: `0x${string}` | undefined;
169
159
  yParity?: `0x${string}` | undefined;
170
- blockHash?: `0x${string}` | null | undefined;
171
160
  blockNumber?: `0x${string}` | null | undefined;
161
+ from?: `0x${string}` | undefined;
162
+ gas?: `0x${string}` | undefined;
172
163
  hash?: `0x${string}` | undefined;
173
164
  input?: `0x${string}` | undefined;
165
+ nonce?: `0x${string}` | undefined;
166
+ r?: `0x${string}` | undefined;
167
+ s?: `0x${string}` | undefined;
168
+ to?: `0x${string}` | null | undefined;
174
169
  transactionIndex?: `0x${string}` | null | undefined;
170
+ v?: `0x${string}` | undefined;
171
+ value?: `0x${string}` | undefined;
175
172
  accessList?: import("../../index.js").AccessList | undefined;
176
173
  chainId?: `0x${string}` | undefined;
177
174
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
@@ -179,24 +176,24 @@ export declare const pgn: {
179
176
  mint?: undefined;
180
177
  sourceHash?: undefined;
181
178
  }) | ({
182
- gas?: `0x${string}` | undefined;
183
- nonce?: `0x${string}` | undefined;
184
179
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
180
+ blockHash?: `0x${string}` | null | undefined;
181
+ gasPrice?: `0x${string}` | undefined;
185
182
  maxFeePerGas?: `0x${string}` | undefined;
186
183
  maxPriorityFeePerGas?: `0x${string}` | undefined;
187
- gasPrice?: `0x${string}` | undefined;
188
- from?: `0x${string}` | undefined;
189
- to?: `0x${string}` | null | undefined;
190
- value?: `0x${string}` | undefined;
191
- r?: `0x${string}` | undefined;
192
- s?: `0x${string}` | undefined;
193
- v?: `0x${string}` | undefined;
194
184
  yParity?: `0x${string}` | undefined;
195
- blockHash?: `0x${string}` | null | undefined;
196
185
  blockNumber?: `0x${string}` | null | undefined;
186
+ from?: `0x${string}` | undefined;
187
+ gas?: `0x${string}` | undefined;
197
188
  hash?: `0x${string}` | undefined;
198
189
  input?: `0x${string}` | undefined;
190
+ nonce?: `0x${string}` | undefined;
191
+ r?: `0x${string}` | undefined;
192
+ s?: `0x${string}` | undefined;
193
+ to?: `0x${string}` | null | undefined;
199
194
  transactionIndex?: `0x${string}` | null | undefined;
195
+ v?: `0x${string}` | undefined;
196
+ value?: `0x${string}` | undefined;
200
197
  accessList?: import("../../index.js").AccessList | undefined;
201
198
  chainId?: `0x${string}` | undefined;
202
199
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
@@ -204,24 +201,24 @@ export declare const pgn: {
204
201
  mint?: undefined;
205
202
  sourceHash?: undefined;
206
203
  }) | ({
207
- gas?: `0x${string}` | undefined;
208
- nonce?: `0x${string}` | undefined;
209
204
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
205
+ blockHash?: `0x${string}` | null | undefined;
206
+ gasPrice?: `0x${string}` | undefined;
210
207
  maxFeePerGas?: `0x${string}` | undefined;
211
208
  maxPriorityFeePerGas?: `0x${string}` | undefined;
212
- gasPrice?: `0x${string}` | undefined;
213
- from?: `0x${string}` | undefined;
214
- to?: `0x${string}` | null | undefined;
215
- value?: `0x${string}` | undefined;
216
- r?: `0x${string}` | undefined;
217
- s?: `0x${string}` | undefined;
218
- v?: `0x${string}` | undefined;
219
209
  yParity?: `0x${string}` | undefined;
220
- blockHash?: `0x${string}` | null | undefined;
221
210
  blockNumber?: `0x${string}` | null | undefined;
211
+ from?: `0x${string}` | undefined;
212
+ gas?: `0x${string}` | undefined;
222
213
  hash?: `0x${string}` | undefined;
223
214
  input?: `0x${string}` | undefined;
215
+ nonce?: `0x${string}` | undefined;
216
+ r?: `0x${string}` | undefined;
217
+ s?: `0x${string}` | undefined;
218
+ to?: `0x${string}` | null | undefined;
224
219
  transactionIndex?: `0x${string}` | null | undefined;
220
+ v?: `0x${string}` | undefined;
221
+ value?: `0x${string}` | undefined;
225
222
  accessList?: import("../../index.js").AccessList | undefined;
226
223
  chainId?: `0x${string}` | undefined;
227
224
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -230,24 +227,24 @@ export declare const pgn: {
230
227
  sourceHash: `0x${string}`;
231
228
  type: "0x7e";
232
229
  }) | ({
233
- gas?: `0x${string}` | undefined;
234
- nonce?: `0x${string}` | undefined;
235
230
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
231
+ blockHash?: `0x${string}` | null | undefined;
232
+ gasPrice?: `0x${string}` | undefined;
236
233
  maxFeePerGas?: `0x${string}` | undefined;
237
234
  maxPriorityFeePerGas?: `0x${string}` | undefined;
238
- gasPrice?: `0x${string}` | undefined;
239
- from?: `0x${string}` | undefined;
240
- to?: `0x${string}` | null | undefined;
241
- value?: `0x${string}` | undefined;
242
- r?: `0x${string}` | undefined;
243
- s?: `0x${string}` | undefined;
244
- v?: `0x${string}` | undefined;
245
235
  yParity?: `0x${string}` | undefined;
246
- blockHash?: `0x${string}` | null | undefined;
247
236
  blockNumber?: `0x${string}` | null | undefined;
237
+ from?: `0x${string}` | undefined;
238
+ gas?: `0x${string}` | undefined;
248
239
  hash?: `0x${string}` | undefined;
249
240
  input?: `0x${string}` | undefined;
241
+ nonce?: `0x${string}` | undefined;
242
+ r?: `0x${string}` | undefined;
243
+ s?: `0x${string}` | undefined;
244
+ to?: `0x${string}` | null | undefined;
250
245
  transactionIndex?: `0x${string}` | null | undefined;
246
+ v?: `0x${string}` | undefined;
247
+ value?: `0x${string}` | undefined;
251
248
  accessList?: import("../../index.js").AccessList | undefined;
252
249
  chainId?: `0x${string}` | undefined;
253
250
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -255,24 +252,24 @@ export declare const pgn: {
255
252
  mint?: undefined;
256
253
  sourceHash?: undefined;
257
254
  }) | ({
258
- gas?: `0x${string}` | undefined;
259
- nonce?: `0x${string}` | undefined;
260
255
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
256
+ blockHash?: `0x${string}` | null | undefined;
257
+ gasPrice?: `0x${string}` | undefined;
261
258
  maxFeePerGas?: `0x${string}` | undefined;
262
259
  maxPriorityFeePerGas?: `0x${string}` | undefined;
263
- gasPrice?: `0x${string}` | undefined;
264
- from?: `0x${string}` | undefined;
265
- to?: `0x${string}` | null | undefined;
266
- value?: `0x${string}` | undefined;
267
- r?: `0x${string}` | undefined;
268
- s?: `0x${string}` | undefined;
269
- v?: `0x${string}` | undefined;
270
260
  yParity?: `0x${string}` | undefined;
271
- blockHash?: `0x${string}` | null | undefined;
272
261
  blockNumber?: `0x${string}` | null | undefined;
262
+ from?: `0x${string}` | undefined;
263
+ gas?: `0x${string}` | undefined;
273
264
  hash?: `0x${string}` | undefined;
274
265
  input?: `0x${string}` | undefined;
266
+ nonce?: `0x${string}` | undefined;
267
+ r?: `0x${string}` | undefined;
268
+ s?: `0x${string}` | undefined;
269
+ to?: `0x${string}` | null | undefined;
275
270
  transactionIndex?: `0x${string}` | null | undefined;
271
+ v?: `0x${string}` | undefined;
272
+ value?: `0x${string}` | undefined;
276
273
  accessList?: import("../../index.js").AccessList | undefined;
277
274
  chainId?: `0x${string}` | undefined;
278
275
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
@@ -280,24 +277,24 @@ export declare const pgn: {
280
277
  mint?: undefined;
281
278
  sourceHash?: undefined;
282
279
  }) | ({
283
- gas?: `0x${string}` | undefined;
284
- nonce?: `0x${string}` | undefined;
285
280
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
281
+ blockHash?: `0x${string}` | null | undefined;
282
+ gasPrice?: `0x${string}` | undefined;
286
283
  maxFeePerGas?: `0x${string}` | undefined;
287
284
  maxPriorityFeePerGas?: `0x${string}` | undefined;
288
- gasPrice?: `0x${string}` | undefined;
289
- from?: `0x${string}` | undefined;
290
- to?: `0x${string}` | null | undefined;
291
- value?: `0x${string}` | undefined;
292
- r?: `0x${string}` | undefined;
293
- s?: `0x${string}` | undefined;
294
- v?: `0x${string}` | undefined;
295
285
  yParity?: `0x${string}` | undefined;
296
- blockHash?: `0x${string}` | null | undefined;
297
286
  blockNumber?: `0x${string}` | null | undefined;
287
+ from?: `0x${string}` | undefined;
288
+ gas?: `0x${string}` | undefined;
298
289
  hash?: `0x${string}` | undefined;
299
290
  input?: `0x${string}` | undefined;
291
+ nonce?: `0x${string}` | undefined;
292
+ r?: `0x${string}` | undefined;
293
+ s?: `0x${string}` | undefined;
294
+ to?: `0x${string}` | null | undefined;
300
295
  transactionIndex?: `0x${string}` | null | undefined;
296
+ v?: `0x${string}` | undefined;
297
+ value?: `0x${string}` | undefined;
301
298
  accessList?: import("../../index.js").AccessList | undefined;
302
299
  chainId?: `0x${string}` | undefined;
303
300
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
@@ -305,24 +302,24 @@ export declare const pgn: {
305
302
  mint?: undefined;
306
303
  sourceHash?: undefined;
307
304
  }) | ({
308
- gas?: `0x${string}` | undefined;
309
- nonce?: `0x${string}` | undefined;
310
305
  type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
306
+ blockHash?: `0x${string}` | null | undefined;
307
+ gasPrice?: `0x${string}` | undefined;
311
308
  maxFeePerGas?: `0x${string}` | undefined;
312
309
  maxPriorityFeePerGas?: `0x${string}` | undefined;
313
- gasPrice?: `0x${string}` | undefined;
314
- from?: `0x${string}` | undefined;
315
- to?: `0x${string}` | null | undefined;
316
- value?: `0x${string}` | undefined;
317
- r?: `0x${string}` | undefined;
318
- s?: `0x${string}` | undefined;
319
- v?: `0x${string}` | undefined;
320
310
  yParity?: `0x${string}` | undefined;
321
- blockHash?: `0x${string}` | null | undefined;
322
311
  blockNumber?: `0x${string}` | null | undefined;
312
+ from?: `0x${string}` | undefined;
313
+ gas?: `0x${string}` | undefined;
323
314
  hash?: `0x${string}` | undefined;
324
315
  input?: `0x${string}` | undefined;
316
+ nonce?: `0x${string}` | undefined;
317
+ r?: `0x${string}` | undefined;
318
+ s?: `0x${string}` | undefined;
319
+ to?: `0x${string}` | null | undefined;
325
320
  transactionIndex?: `0x${string}` | null | undefined;
321
+ v?: `0x${string}` | undefined;
322
+ value?: `0x${string}` | undefined;
326
323
  accessList?: import("../../index.js").AccessList | undefined;
327
324
  chainId?: `0x${string}` | undefined;
328
325
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -331,20 +328,20 @@ export declare const pgn: {
331
328
  sourceHash: `0x${string}`;
332
329
  type: "0x7e";
333
330
  })) => ({
334
- gas: bigint;
335
- nonce: number;
336
- from: `0x${string}`;
337
- to: `0x${string}` | null;
338
- value: bigint;
339
- r: `0x${string}`;
340
- s: `0x${string}`;
341
- v: bigint;
342
331
  blockHash: `0x${string}` | null;
343
332
  blockNumber: bigint | null;
333
+ from: `0x${string}`;
334
+ gas: bigint;
344
335
  hash: `0x${string}`;
345
336
  input: `0x${string}`;
337
+ nonce: number;
338
+ r: `0x${string}`;
339
+ s: `0x${string}`;
340
+ to: `0x${string}` | null;
346
341
  transactionIndex: number | null;
347
342
  typeHex: `0x${string}` | null;
343
+ v: bigint;
344
+ value: bigint;
348
345
  gasPrice: bigint;
349
346
  maxFeePerGas?: undefined;
350
347
  maxPriorityFeePerGas?: undefined;
@@ -356,20 +353,20 @@ export declare const pgn: {
356
353
  mint?: undefined;
357
354
  sourceHash?: undefined;
358
355
  } | {
359
- gas: bigint;
360
- nonce: number;
361
- from: `0x${string}`;
362
- to: `0x${string}` | null;
363
- value: bigint;
364
- r: `0x${string}`;
365
- s: `0x${string}`;
366
- v: bigint;
367
356
  blockHash: `0x${string}` | null;
368
357
  blockNumber: bigint | null;
358
+ from: `0x${string}`;
359
+ gas: bigint;
369
360
  hash: `0x${string}`;
370
361
  input: `0x${string}`;
362
+ nonce: number;
363
+ r: `0x${string}`;
364
+ s: `0x${string}`;
365
+ to: `0x${string}` | null;
371
366
  transactionIndex: number | null;
372
367
  typeHex: `0x${string}` | null;
368
+ v: bigint;
369
+ value: bigint;
373
370
  gasPrice: undefined;
374
371
  maxFeePerGas: bigint;
375
372
  maxPriorityFeePerGas: bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"pgn.d.ts","sourceRoot":"","sources":["../../../chains/definitions/pgn.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCd,CAAA"}
1
+ {"version":3,"file":"pgn.d.ts","sourceRoot":"","sources":["../../../chains/definitions/pgn.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCd,CAAA"}