viem 2.0.0-rc.0 → 2.0.0-rc.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 (262) 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 +180 -203
  140. package/_types/chains/celo/chainConfig.d.ts.map +1 -1
  141. package/_types/chains/celo/formatters.d.ts +181 -204
  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 +136 -136
  152. package/_types/chains/definitions/baseGoerli.d.ts +136 -136
  153. package/_types/chains/definitions/baseSepolia.d.ts +136 -139
  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 +180 -203
  158. package/_types/chains/definitions/celo.d.ts.map +1 -1
  159. package/_types/chains/definitions/celoAlfajores.d.ts +180 -203
  160. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  161. package/_types/chains/definitions/celoCannoli.d.ts +180 -203
  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 +136 -136
  182. package/_types/chains/definitions/optimismGoerli.d.ts +136 -136
  183. package/_types/chains/definitions/optimismSepolia.d.ts +136 -136
  184. package/_types/chains/definitions/pgn.d.ts +136 -139
  185. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  186. package/_types/chains/definitions/pgnTestnet.d.ts +136 -139
  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 +24 -24
  208. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +24 -28
  209. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  210. package/_types/chains/definitions/zkSyncTestnet.d.ts +24 -28
  211. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  212. package/_types/chains/definitions/zora.d.ts +136 -136
  213. package/_types/chains/definitions/zoraSepolia.d.ts +136 -140
  214. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  215. package/_types/chains/definitions/zoraTestnet.d.ts +136 -136
  216. package/_types/chains/index.d.ts +1 -1
  217. package/_types/chains/index.d.ts.map +1 -1
  218. package/_types/chains/opStack/chainConfig.d.ts +136 -136
  219. package/_types/chains/opStack/formatters.d.ts +136 -136
  220. package/_types/chains/zksync/chainConfig.d.ts +24 -24
  221. package/_types/chains/zksync/formatters.d.ts +24 -24
  222. package/_types/errors/version.d.ts +1 -1
  223. package/_types/utils/formatters/transaction.d.ts +1 -1
  224. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  225. package/actions/public/getFilterChanges.ts +3 -5
  226. package/actions/public/getFilterLogs.ts +3 -3
  227. package/actions/public/getLogs.ts +3 -3
  228. package/actions/public/verifyTypedData.ts +13 -8
  229. package/chains/celo/formatters.ts +0 -14
  230. package/chains/celo/index.ts +0 -4
  231. package/chains/celo/types.ts +0 -18
  232. package/chains/definitions/astar.ts +0 -1
  233. package/chains/definitions/astarZkatana.ts +0 -6
  234. package/chains/definitions/baseSepolia.ts +0 -3
  235. package/chains/definitions/bscTestnet.ts +0 -1
  236. package/chains/definitions/confluxESpaceTestnet.ts +0 -4
  237. package/chains/definitions/fantomSonicTestnet.ts +0 -1
  238. package/chains/definitions/kava.ts +0 -1
  239. package/chains/definitions/kavaTestnet.ts +0 -1
  240. package/chains/definitions/klaytnBaobab.ts +0 -1
  241. package/chains/definitions/lukso.ts +0 -4
  242. package/chains/definitions/manta.ts +0 -1
  243. package/chains/definitions/mantaTestnet.ts +0 -1
  244. package/chains/definitions/neonMainnet.ts +0 -3
  245. package/chains/definitions/pgn.ts +0 -3
  246. package/chains/definitions/pgnTestnet.ts +0 -3
  247. package/chains/definitions/rootstock.ts +0 -1
  248. package/chains/definitions/sapphire.ts +0 -4
  249. package/chains/definitions/sapphireTestnet.ts +0 -4
  250. package/chains/definitions/shibarium.ts +0 -3
  251. package/chains/definitions/shimmer.ts +0 -3
  252. package/chains/definitions/shimmerTestnet.ts +0 -3
  253. package/chains/definitions/taikoJolnir.ts +2 -2
  254. package/chains/definitions/tenet.ts +0 -1
  255. package/chains/definitions/zilliqa.ts +0 -3
  256. package/chains/definitions/zilliqaTestnet.ts +0 -3
  257. package/chains/definitions/zkSyncSepoliaTestnet.ts +0 -4
  258. package/chains/definitions/zkSyncTestnet.ts +0 -4
  259. package/chains/definitions/zoraSepolia.ts +0 -4
  260. package/chains/index.ts +8 -1
  261. package/errors/version.ts +1 -1
  262. package/package.json +34 -12
@@ -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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
84
- maxFeePerGas?: `0x${string}` | undefined;
85
- 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
78
  yParity?: `0x${string}` | undefined;
94
79
  blockHash?: `0x${string}` | null | undefined;
95
80
  blockNumber?: `0x${string}` | null | undefined;
81
+ from?: `0x${string}` | undefined;
82
+ gas?: `0x${string}` | undefined;
96
83
  hash?: `0x${string}` | undefined;
97
84
  input?: `0x${string}` | undefined;
85
+ nonce?: `0x${string}` | undefined;
86
+ r?: `0x${string}` | undefined;
87
+ s?: `0x${string}` | undefined;
88
+ to?: `0x${string}` | null | undefined;
98
89
  transactionIndex?: `0x${string}` | null | undefined;
90
+ v?: `0x${string}` | undefined;
91
+ value?: `0x${string}` | undefined;
92
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
93
+ gasPrice?: `0x${string}` | undefined;
94
+ maxFeePerGas?: `0x${string}` | undefined;
95
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
109
- maxFeePerGas?: `0x${string}` | undefined;
110
- 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
103
  yParity?: `0x${string}` | undefined;
119
104
  blockHash?: `0x${string}` | null | undefined;
120
105
  blockNumber?: `0x${string}` | null | undefined;
106
+ from?: `0x${string}` | undefined;
107
+ gas?: `0x${string}` | undefined;
121
108
  hash?: `0x${string}` | undefined;
122
109
  input?: `0x${string}` | undefined;
110
+ nonce?: `0x${string}` | undefined;
111
+ r?: `0x${string}` | undefined;
112
+ s?: `0x${string}` | undefined;
113
+ to?: `0x${string}` | null | undefined;
123
114
  transactionIndex?: `0x${string}` | null | undefined;
115
+ v?: `0x${string}` | undefined;
116
+ value?: `0x${string}` | undefined;
117
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
118
+ gasPrice?: `0x${string}` | undefined;
119
+ maxFeePerGas?: `0x${string}` | undefined;
120
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
135
- maxFeePerGas?: `0x${string}` | undefined;
136
- 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
129
  yParity?: `0x${string}` | undefined;
145
130
  blockHash?: `0x${string}` | null | undefined;
146
131
  blockNumber?: `0x${string}` | null | undefined;
132
+ from?: `0x${string}` | undefined;
133
+ gas?: `0x${string}` | undefined;
147
134
  hash?: `0x${string}` | undefined;
148
135
  input?: `0x${string}` | undefined;
136
+ nonce?: `0x${string}` | undefined;
137
+ r?: `0x${string}` | undefined;
138
+ s?: `0x${string}` | undefined;
139
+ to?: `0x${string}` | null | undefined;
149
140
  transactionIndex?: `0x${string}` | null | undefined;
141
+ v?: `0x${string}` | undefined;
142
+ value?: `0x${string}` | undefined;
143
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
144
+ gasPrice?: `0x${string}` | undefined;
145
+ maxFeePerGas?: `0x${string}` | undefined;
146
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
160
- maxFeePerGas?: `0x${string}` | undefined;
161
- 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
154
  yParity?: `0x${string}` | undefined;
170
155
  blockHash?: `0x${string}` | null | undefined;
171
156
  blockNumber?: `0x${string}` | null | undefined;
157
+ from?: `0x${string}` | undefined;
158
+ gas?: `0x${string}` | undefined;
172
159
  hash?: `0x${string}` | undefined;
173
160
  input?: `0x${string}` | undefined;
161
+ nonce?: `0x${string}` | undefined;
162
+ r?: `0x${string}` | undefined;
163
+ s?: `0x${string}` | undefined;
164
+ to?: `0x${string}` | null | undefined;
174
165
  transactionIndex?: `0x${string}` | null | undefined;
166
+ v?: `0x${string}` | undefined;
167
+ value?: `0x${string}` | undefined;
168
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
169
+ gasPrice?: `0x${string}` | undefined;
170
+ maxFeePerGas?: `0x${string}` | undefined;
171
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
185
- maxFeePerGas?: `0x${string}` | undefined;
186
- 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
179
  yParity?: `0x${string}` | undefined;
195
180
  blockHash?: `0x${string}` | null | undefined;
196
181
  blockNumber?: `0x${string}` | null | undefined;
182
+ from?: `0x${string}` | undefined;
183
+ gas?: `0x${string}` | undefined;
197
184
  hash?: `0x${string}` | undefined;
198
185
  input?: `0x${string}` | undefined;
186
+ nonce?: `0x${string}` | undefined;
187
+ r?: `0x${string}` | undefined;
188
+ s?: `0x${string}` | undefined;
189
+ to?: `0x${string}` | null | undefined;
199
190
  transactionIndex?: `0x${string}` | null | undefined;
191
+ v?: `0x${string}` | undefined;
192
+ value?: `0x${string}` | undefined;
193
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
194
+ gasPrice?: `0x${string}` | undefined;
195
+ maxFeePerGas?: `0x${string}` | undefined;
196
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
210
- maxFeePerGas?: `0x${string}` | undefined;
211
- 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
204
  yParity?: `0x${string}` | undefined;
220
205
  blockHash?: `0x${string}` | null | undefined;
221
206
  blockNumber?: `0x${string}` | null | undefined;
207
+ from?: `0x${string}` | undefined;
208
+ gas?: `0x${string}` | undefined;
222
209
  hash?: `0x${string}` | undefined;
223
210
  input?: `0x${string}` | undefined;
211
+ nonce?: `0x${string}` | undefined;
212
+ r?: `0x${string}` | undefined;
213
+ s?: `0x${string}` | undefined;
214
+ to?: `0x${string}` | null | undefined;
224
215
  transactionIndex?: `0x${string}` | null | undefined;
216
+ v?: `0x${string}` | undefined;
217
+ value?: `0x${string}` | undefined;
218
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
219
+ gasPrice?: `0x${string}` | undefined;
220
+ maxFeePerGas?: `0x${string}` | undefined;
221
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
236
- maxFeePerGas?: `0x${string}` | undefined;
237
- 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
230
  yParity?: `0x${string}` | undefined;
246
231
  blockHash?: `0x${string}` | null | undefined;
247
232
  blockNumber?: `0x${string}` | null | undefined;
233
+ from?: `0x${string}` | undefined;
234
+ gas?: `0x${string}` | undefined;
248
235
  hash?: `0x${string}` | undefined;
249
236
  input?: `0x${string}` | undefined;
237
+ nonce?: `0x${string}` | undefined;
238
+ r?: `0x${string}` | undefined;
239
+ s?: `0x${string}` | undefined;
240
+ to?: `0x${string}` | null | undefined;
250
241
  transactionIndex?: `0x${string}` | null | undefined;
242
+ v?: `0x${string}` | undefined;
243
+ value?: `0x${string}` | undefined;
244
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
245
+ gasPrice?: `0x${string}` | undefined;
246
+ maxFeePerGas?: `0x${string}` | undefined;
247
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
261
- maxFeePerGas?: `0x${string}` | undefined;
262
- 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
255
  yParity?: `0x${string}` | undefined;
271
256
  blockHash?: `0x${string}` | null | undefined;
272
257
  blockNumber?: `0x${string}` | null | undefined;
258
+ from?: `0x${string}` | undefined;
259
+ gas?: `0x${string}` | undefined;
273
260
  hash?: `0x${string}` | undefined;
274
261
  input?: `0x${string}` | undefined;
262
+ nonce?: `0x${string}` | undefined;
263
+ r?: `0x${string}` | undefined;
264
+ s?: `0x${string}` | undefined;
265
+ to?: `0x${string}` | null | undefined;
275
266
  transactionIndex?: `0x${string}` | null | undefined;
267
+ v?: `0x${string}` | undefined;
268
+ value?: `0x${string}` | undefined;
269
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
270
+ gasPrice?: `0x${string}` | undefined;
271
+ maxFeePerGas?: `0x${string}` | undefined;
272
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
286
- maxFeePerGas?: `0x${string}` | undefined;
287
- 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
280
  yParity?: `0x${string}` | undefined;
296
281
  blockHash?: `0x${string}` | null | undefined;
297
282
  blockNumber?: `0x${string}` | null | undefined;
283
+ from?: `0x${string}` | undefined;
284
+ gas?: `0x${string}` | undefined;
298
285
  hash?: `0x${string}` | undefined;
299
286
  input?: `0x${string}` | undefined;
287
+ nonce?: `0x${string}` | undefined;
288
+ r?: `0x${string}` | undefined;
289
+ s?: `0x${string}` | undefined;
290
+ to?: `0x${string}` | null | undefined;
300
291
  transactionIndex?: `0x${string}` | null | undefined;
292
+ v?: `0x${string}` | undefined;
293
+ value?: `0x${string}` | undefined;
294
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
295
+ gasPrice?: `0x${string}` | undefined;
296
+ maxFeePerGas?: `0x${string}` | undefined;
297
+ maxPriorityFeePerGas?: `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
- type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
311
- maxFeePerGas?: `0x${string}` | undefined;
312
- 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
305
  yParity?: `0x${string}` | undefined;
321
306
  blockHash?: `0x${string}` | null | undefined;
322
307
  blockNumber?: `0x${string}` | null | undefined;
308
+ from?: `0x${string}` | undefined;
309
+ gas?: `0x${string}` | undefined;
323
310
  hash?: `0x${string}` | undefined;
324
311
  input?: `0x${string}` | undefined;
312
+ nonce?: `0x${string}` | undefined;
313
+ r?: `0x${string}` | undefined;
314
+ s?: `0x${string}` | undefined;
315
+ to?: `0x${string}` | null | undefined;
325
316
  transactionIndex?: `0x${string}` | null | undefined;
317
+ v?: `0x${string}` | undefined;
318
+ value?: `0x${string}` | undefined;
319
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
320
+ gasPrice?: `0x${string}` | undefined;
321
+ maxFeePerGas?: `0x${string}` | undefined;
322
+ maxPriorityFeePerGas?: `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"}