viem 2.21.54 → 2.21.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +7 -0
  3. package/_cjs/account-abstraction/accounts/implementations/toSoladySmartAccount.js +0 -8
  4. package/_cjs/account-abstraction/accounts/implementations/toSoladySmartAccount.js.map +1 -1
  5. package/_cjs/actions/public/estimateContractGas.js +2 -2
  6. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  7. package/_cjs/chains/definitions/creatorTestnet.js +28 -0
  8. package/_cjs/chains/definitions/creatorTestnet.js.map +1 -0
  9. package/_cjs/chains/definitions/dailyNetwork.js +24 -0
  10. package/_cjs/chains/definitions/dailyNetwork.js.map +1 -0
  11. package/_cjs/chains/definitions/dailyNetworkTestnet.js +24 -0
  12. package/_cjs/chains/definitions/dailyNetworkTestnet.js.map +1 -0
  13. package/_cjs/chains/definitions/mitosisTestnet.js +22 -0
  14. package/_cjs/chains/definitions/mitosisTestnet.js.map +1 -0
  15. package/_cjs/chains/definitions/plume.js +29 -0
  16. package/_cjs/chains/definitions/plume.js.map +1 -0
  17. package/_cjs/chains/definitions/plumeDevnet.js +30 -0
  18. package/_cjs/chains/definitions/plumeDevnet.js.map +1 -0
  19. package/_cjs/chains/definitions/sanko.js +6 -0
  20. package/_cjs/chains/definitions/sanko.js.map +1 -1
  21. package/_cjs/chains/definitions/sonic.js +24 -0
  22. package/_cjs/chains/definitions/sonic.js.map +1 -0
  23. package/_cjs/chains/definitions/superseed.js +56 -0
  24. package/_cjs/chains/definitions/superseed.js.map +1 -0
  25. package/_cjs/chains/definitions/superseedSepolia.js +49 -0
  26. package/_cjs/chains/definitions/superseedSepolia.js.map +1 -0
  27. package/_cjs/chains/definitions/treasure.js +35 -0
  28. package/_cjs/chains/definitions/treasure.js.map +1 -0
  29. package/_cjs/chains/definitions/treasureTopaz.js +35 -0
  30. package/_cjs/chains/definitions/treasureTopaz.js.map +1 -0
  31. package/_cjs/chains/definitions/xrOne.js +24 -0
  32. package/_cjs/chains/definitions/xrOne.js.map +1 -0
  33. package/_cjs/chains/index.js +33 -9
  34. package/_cjs/chains/index.js.map +1 -1
  35. package/_cjs/errors/version.js +1 -1
  36. package/_cjs/experimental/erc7739/actions/signTypedData.js +2 -8
  37. package/_cjs/experimental/erc7739/actions/signTypedData.js.map +1 -1
  38. package/_cjs/experimental/erc7739/utils/hashTypedData.js +1 -5
  39. package/_cjs/experimental/erc7739/utils/hashTypedData.js.map +1 -1
  40. package/_cjs/index.js +5 -4
  41. package/_cjs/index.js.map +1 -1
  42. package/_cjs/utils/index.js +2 -1
  43. package/_cjs/utils/index.js.map +1 -1
  44. package/_cjs/utils/signature/hashTypedData.js.map +1 -1
  45. package/_esm/account-abstraction/accounts/implementations/toSoladySmartAccount.js +0 -8
  46. package/_esm/account-abstraction/accounts/implementations/toSoladySmartAccount.js.map +1 -1
  47. package/_esm/actions/public/estimateContractGas.js +2 -2
  48. package/_esm/actions/public/estimateContractGas.js.map +1 -1
  49. package/_esm/chains/definitions/creatorTestnet.js +25 -0
  50. package/_esm/chains/definitions/creatorTestnet.js.map +1 -0
  51. package/_esm/chains/definitions/dailyNetwork.js +21 -0
  52. package/_esm/chains/definitions/dailyNetwork.js.map +1 -0
  53. package/_esm/chains/definitions/dailyNetworkTestnet.js +21 -0
  54. package/_esm/chains/definitions/dailyNetworkTestnet.js.map +1 -0
  55. package/_esm/chains/definitions/mitosisTestnet.js +19 -0
  56. package/_esm/chains/definitions/mitosisTestnet.js.map +1 -0
  57. package/_esm/chains/definitions/plume.js +26 -0
  58. package/_esm/chains/definitions/plume.js.map +1 -0
  59. package/_esm/chains/definitions/plumeDevnet.js +27 -0
  60. package/_esm/chains/definitions/plumeDevnet.js.map +1 -0
  61. package/_esm/chains/definitions/sanko.js +6 -0
  62. package/_esm/chains/definitions/sanko.js.map +1 -1
  63. package/_esm/chains/definitions/sonic.js +21 -0
  64. package/_esm/chains/definitions/sonic.js.map +1 -0
  65. package/_esm/chains/definitions/superseed.js +53 -0
  66. package/_esm/chains/definitions/superseed.js.map +1 -0
  67. package/_esm/chains/definitions/superseedSepolia.js +46 -0
  68. package/_esm/chains/definitions/superseedSepolia.js.map +1 -0
  69. package/_esm/chains/definitions/treasure.js +32 -0
  70. package/_esm/chains/definitions/treasure.js.map +1 -0
  71. package/_esm/chains/definitions/treasureTopaz.js +32 -0
  72. package/_esm/chains/definitions/treasureTopaz.js.map +1 -0
  73. package/_esm/chains/definitions/xrOne.js +21 -0
  74. package/_esm/chains/definitions/xrOne.js.map +1 -0
  75. package/_esm/chains/index.js +13 -0
  76. package/_esm/chains/index.js.map +1 -1
  77. package/_esm/errors/version.js +1 -1
  78. package/_esm/experimental/erc7739/actions/signTypedData.js +2 -8
  79. package/_esm/experimental/erc7739/actions/signTypedData.js.map +1 -1
  80. package/_esm/experimental/erc7739/utils/hashTypedData.js +1 -5
  81. package/_esm/experimental/erc7739/utils/hashTypedData.js.map +1 -1
  82. package/_esm/index.js +1 -1
  83. package/_esm/index.js.map +1 -1
  84. package/_esm/utils/index.js +1 -1
  85. package/_esm/utils/index.js.map +1 -1
  86. package/_esm/utils/signature/hashTypedData.js.map +1 -1
  87. package/_types/account-abstraction/accounts/implementations/toSoladySmartAccount.d.ts +0 -6
  88. package/_types/account-abstraction/accounts/implementations/toSoladySmartAccount.d.ts.map +1 -1
  89. package/_types/actions/public/estimateContractGas.d.ts +5 -1
  90. package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
  91. package/_types/chains/definitions/creatorTestnet.d.ts +32 -0
  92. package/_types/chains/definitions/creatorTestnet.d.ts.map +1 -0
  93. package/_types/chains/definitions/dailyNetwork.d.ts +37 -0
  94. package/_types/chains/definitions/dailyNetwork.d.ts.map +1 -0
  95. package/_types/chains/definitions/dailyNetworkTestnet.d.ts +37 -0
  96. package/_types/chains/definitions/dailyNetworkTestnet.d.ts.map +1 -0
  97. package/_types/chains/definitions/mitosisTestnet.d.ts +37 -0
  98. package/_types/chains/definitions/mitosisTestnet.d.ts.map +1 -0
  99. package/_types/chains/definitions/plume.d.ts +39 -0
  100. package/_types/chains/definitions/plume.d.ts.map +1 -0
  101. package/_types/chains/definitions/plumeDevnet.d.ts +39 -0
  102. package/_types/chains/definitions/plumeDevnet.d.ts.map +1 -0
  103. package/_types/chains/definitions/sanko.d.ts +6 -10
  104. package/_types/chains/definitions/sanko.d.ts.map +1 -1
  105. package/_types/chains/definitions/sonic.d.ts +37 -0
  106. package/_types/chains/definitions/sonic.d.ts.map +1 -0
  107. package/_types/chains/definitions/superseed.d.ts +307 -0
  108. package/_types/chains/definitions/superseed.d.ts.map +1 -0
  109. package/_types/chains/definitions/superseedSepolia.d.ts +295 -0
  110. package/_types/chains/definitions/superseedSepolia.d.ts.map +1 -0
  111. package/_types/chains/definitions/treasure.d.ts +405 -0
  112. package/_types/chains/definitions/treasure.d.ts.map +1 -0
  113. package/_types/chains/definitions/treasureTopaz.d.ts +405 -0
  114. package/_types/chains/definitions/treasureTopaz.d.ts.map +1 -0
  115. package/_types/chains/definitions/xrOne.d.ts +37 -0
  116. package/_types/chains/definitions/xrOne.d.ts.map +1 -0
  117. package/_types/chains/index.d.ts +13 -0
  118. package/_types/chains/index.d.ts.map +1 -1
  119. package/_types/errors/version.d.ts +1 -1
  120. package/_types/experimental/erc7739/actions/signTypedData.d.ts +0 -4
  121. package/_types/experimental/erc7739/actions/signTypedData.d.ts.map +1 -1
  122. package/_types/experimental/erc7739/utils/hashTypedData.d.ts +0 -2
  123. package/_types/experimental/erc7739/utils/hashTypedData.d.ts.map +1 -1
  124. package/_types/index.d.ts +1 -1
  125. package/_types/index.d.ts.map +1 -1
  126. package/_types/utils/index.d.ts +1 -1
  127. package/_types/utils/index.d.ts.map +1 -1
  128. package/_types/utils/signature/hashTypedData.d.ts +1 -1
  129. package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
  130. package/account-abstraction/accounts/implementations/toSoladySmartAccount.ts +0 -8
  131. package/actions/public/estimateContractGas.ts +7 -3
  132. package/chains/definitions/creatorTestnet.ts +25 -0
  133. package/chains/definitions/dailyNetwork.ts +21 -0
  134. package/chains/definitions/dailyNetworkTestnet.ts +21 -0
  135. package/chains/definitions/mitosisTestnet.ts +19 -0
  136. package/chains/definitions/plume.ts +27 -0
  137. package/chains/definitions/plumeDevnet.ts +28 -0
  138. package/chains/definitions/sanko.ts +6 -0
  139. package/chains/definitions/sonic.ts +21 -0
  140. package/chains/definitions/superseed.ts +54 -0
  141. package/chains/definitions/superseedSepolia.ts +47 -0
  142. package/chains/definitions/treasure.ts +32 -0
  143. package/chains/definitions/treasureTopaz.ts +32 -0
  144. package/chains/definitions/xrOne.ts +21 -0
  145. package/chains/index.ts +13 -0
  146. package/errors/version.ts +1 -1
  147. package/experimental/erc7739/actions/signTypedData.ts +2 -16
  148. package/experimental/erc7739/utils/hashTypedData.ts +1 -15
  149. package/index.ts +2 -0
  150. package/package.json +1 -1
  151. package/utils/index.ts +2 -0
  152. package/utils/signature/hashTypedData.ts +4 -1
@@ -0,0 +1,405 @@
1
+ export declare const treasure: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Treasure Block Explorer";
5
+ readonly url: "https://treasurescan.io";
6
+ };
7
+ };
8
+ contracts: {
9
+ readonly multicall3: {
10
+ readonly address: "0x2e29fe39496a56856D8698bD43e1dF4D0CE6266a";
11
+ readonly blockCreated: 101;
12
+ };
13
+ };
14
+ id: 61166;
15
+ name: "Treasure";
16
+ nativeCurrency: {
17
+ readonly decimals: 18;
18
+ readonly name: "MAGIC";
19
+ readonly symbol: "MAGIC";
20
+ };
21
+ rpcUrls: {
22
+ readonly default: {
23
+ readonly http: readonly ["https://rpc.treasure.lol"];
24
+ readonly webSocket: readonly ["wss://rpc.treasure.lol/ws"];
25
+ };
26
+ };
27
+ sourceId?: number | undefined;
28
+ testnet: false;
29
+ custom: {
30
+ readonly getEip712Domain: import("../../zksync/index.js").EIP712DomainFn<import("../index.js").ZkSyncTransactionSerializable, import("../index.js").ZkSyncEIP712TransactionSignable>;
31
+ };
32
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
33
+ formatters: {
34
+ readonly block: {
35
+ exclude: [] | undefined;
36
+ format: (args: import("../index.js").ZkSyncRpcBlock) => {
37
+ baseFeePerGas: bigint | null;
38
+ blobGasUsed: bigint;
39
+ difficulty: bigint;
40
+ excessBlobGas: bigint;
41
+ extraData: import("../../index.js").Hex;
42
+ gasLimit: bigint;
43
+ gasUsed: bigint;
44
+ hash: `0x${string}` | null;
45
+ logsBloom: `0x${string}` | null;
46
+ miner: import("abitype").Address;
47
+ mixHash: import("../../index.js").Hash;
48
+ nonce: `0x${string}` | null;
49
+ number: bigint | null;
50
+ parentBeaconBlockRoot?: import("../../index.js").Hex | undefined;
51
+ parentHash: import("../../index.js").Hash;
52
+ receiptsRoot: import("../../index.js").Hex;
53
+ sealFields: import("../../index.js").Hex[];
54
+ sha3Uncles: import("../../index.js").Hash;
55
+ size: bigint;
56
+ stateRoot: import("../../index.js").Hash;
57
+ timestamp: bigint;
58
+ totalDifficulty: bigint | null;
59
+ transactions: `0x${string}`[] | import("../index.js").ZkSyncTransaction<boolean>[];
60
+ transactionsRoot: import("../../index.js").Hash;
61
+ uncles: import("../../index.js").Hash[];
62
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
63
+ withdrawalsRoot?: import("../../index.js").Hex | undefined;
64
+ l1BatchNumber: bigint | null;
65
+ l1BatchTimestamp: bigint | null;
66
+ } & {};
67
+ type: "block";
68
+ };
69
+ readonly transaction: {
70
+ exclude: [] | undefined;
71
+ format: (args: import("../index.js").ZkSyncRpcTransaction) => ({
72
+ r: import("../../index.js").Hex;
73
+ s: import("../../index.js").Hex;
74
+ v: bigint;
75
+ to: import("abitype").Address | null;
76
+ from: import("abitype").Address;
77
+ gas: bigint;
78
+ nonce: number;
79
+ value: bigint;
80
+ blockHash: `0x${string}` | null;
81
+ blockNumber: bigint | null;
82
+ hash: import("../../index.js").Hash;
83
+ input: import("../../index.js").Hex;
84
+ transactionIndex: number | null;
85
+ typeHex: import("../../index.js").Hex | null;
86
+ accessList?: undefined;
87
+ authorizationList?: undefined;
88
+ blobVersionedHashes?: undefined;
89
+ chainId?: number | undefined;
90
+ yParity?: undefined;
91
+ type: "legacy";
92
+ gasPrice: bigint;
93
+ maxFeePerBlobGas?: undefined;
94
+ maxFeePerGas?: undefined;
95
+ maxPriorityFeePerGas?: undefined;
96
+ l1BatchNumber: bigint | null;
97
+ l1BatchTxIndex: bigint | null;
98
+ } | {
99
+ blockHash: `0x${string}` | null;
100
+ blockNumber: bigint | null;
101
+ from: import("abitype").Address;
102
+ gas: bigint;
103
+ hash: import("../../index.js").Hash;
104
+ input: import("../../index.js").Hex;
105
+ nonce: number;
106
+ r: import("../../index.js").Hex;
107
+ s: import("../../index.js").Hex;
108
+ to: import("abitype").Address | null;
109
+ transactionIndex: number | null;
110
+ typeHex: import("../../index.js").Hex | null;
111
+ v: bigint;
112
+ value: bigint;
113
+ yParity: number;
114
+ accessList: import("../../index.js").AccessList;
115
+ authorizationList?: undefined;
116
+ blobVersionedHashes?: undefined;
117
+ chainId: number;
118
+ type: "eip2930";
119
+ gasPrice: bigint;
120
+ maxFeePerBlobGas?: undefined;
121
+ maxFeePerGas?: undefined;
122
+ maxPriorityFeePerGas?: undefined;
123
+ l1BatchNumber: bigint | null;
124
+ l1BatchTxIndex: bigint | null;
125
+ } | {
126
+ blockHash: `0x${string}` | null;
127
+ blockNumber: bigint | null;
128
+ from: import("abitype").Address;
129
+ gas: bigint;
130
+ hash: import("../../index.js").Hash;
131
+ input: import("../../index.js").Hex;
132
+ nonce: number;
133
+ r: import("../../index.js").Hex;
134
+ s: import("../../index.js").Hex;
135
+ to: import("abitype").Address | null;
136
+ transactionIndex: number | null;
137
+ typeHex: import("../../index.js").Hex | null;
138
+ v: bigint;
139
+ value: bigint;
140
+ yParity: number;
141
+ accessList: import("../../index.js").AccessList;
142
+ authorizationList?: undefined;
143
+ blobVersionedHashes?: undefined;
144
+ chainId: number;
145
+ type: "eip1559";
146
+ gasPrice?: undefined;
147
+ maxFeePerBlobGas?: undefined;
148
+ maxFeePerGas: bigint;
149
+ maxPriorityFeePerGas: bigint;
150
+ l1BatchNumber: bigint | null;
151
+ l1BatchTxIndex: bigint | null;
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: readonly import("../../index.js").Hex[];
171
+ chainId: number;
172
+ type: "eip4844";
173
+ gasPrice?: undefined;
174
+ maxFeePerBlobGas: bigint;
175
+ maxFeePerGas: bigint;
176
+ maxPriorityFeePerGas: bigint;
177
+ l1BatchNumber: bigint | null;
178
+ l1BatchTxIndex: bigint | null;
179
+ } | {
180
+ blockHash: `0x${string}` | null;
181
+ blockNumber: bigint | null;
182
+ from: import("abitype").Address;
183
+ gas: bigint;
184
+ hash: import("../../index.js").Hash;
185
+ input: import("../../index.js").Hex;
186
+ nonce: number;
187
+ r: import("../../index.js").Hex;
188
+ s: import("../../index.js").Hex;
189
+ to: import("abitype").Address | null;
190
+ transactionIndex: number | null;
191
+ typeHex: import("../../index.js").Hex | null;
192
+ v: bigint;
193
+ value: bigint;
194
+ yParity: number;
195
+ accessList: import("../../index.js").AccessList;
196
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
197
+ blobVersionedHashes?: undefined;
198
+ chainId: number;
199
+ type: "eip7702";
200
+ gasPrice?: undefined;
201
+ maxFeePerBlobGas?: undefined;
202
+ maxFeePerGas: bigint;
203
+ maxPriorityFeePerGas: bigint;
204
+ l1BatchNumber: bigint | null;
205
+ l1BatchTxIndex: bigint | null;
206
+ } | {
207
+ blockHash: `0x${string}` | null;
208
+ blockNumber: bigint | null;
209
+ from: import("abitype").Address;
210
+ gas: bigint;
211
+ hash: import("../../index.js").Hash;
212
+ input: import("../../index.js").Hex;
213
+ nonce: number;
214
+ r: import("../../index.js").Hex;
215
+ s: import("../../index.js").Hex;
216
+ to: import("abitype").Address | null;
217
+ transactionIndex: number | null;
218
+ typeHex: import("../../index.js").Hex | null;
219
+ v: bigint;
220
+ value: bigint;
221
+ yParity: number;
222
+ l1BatchNumber: bigint | null;
223
+ l1BatchTxIndex: bigint | null;
224
+ gasPrice?: undefined;
225
+ maxFeePerBlobGas?: undefined;
226
+ maxFeePerGas: bigint;
227
+ maxPriorityFeePerGas: bigint;
228
+ type: "priority";
229
+ } | {
230
+ blockHash: `0x${string}` | null;
231
+ blockNumber: bigint | null;
232
+ from: import("abitype").Address;
233
+ gas: bigint;
234
+ hash: import("../../index.js").Hash;
235
+ input: import("../../index.js").Hex;
236
+ nonce: number;
237
+ r: import("../../index.js").Hex;
238
+ s: import("../../index.js").Hex;
239
+ to: import("abitype").Address | null;
240
+ transactionIndex: number | null;
241
+ typeHex: import("../../index.js").Hex | null;
242
+ v: bigint;
243
+ value: bigint;
244
+ yParity: number;
245
+ l1BatchNumber: bigint | null;
246
+ l1BatchTxIndex: bigint | null;
247
+ gasPrice?: undefined;
248
+ maxFeePerBlobGas?: undefined;
249
+ maxFeePerGas: bigint;
250
+ maxPriorityFeePerGas: bigint;
251
+ type: "eip712" | "priority";
252
+ }) & {};
253
+ type: "transaction";
254
+ };
255
+ readonly transactionReceipt: {
256
+ exclude: [] | undefined;
257
+ format: (args: import("../index.js").ZkSyncRpcTransactionReceipt) => {
258
+ type: import("../index.js").ZkSyncTransactionType;
259
+ to: import("abitype").Address | null;
260
+ from: import("abitype").Address;
261
+ blockHash: import("../../index.js").Hash;
262
+ blockNumber: bigint;
263
+ transactionIndex: number;
264
+ status: "success" | "reverted";
265
+ contractAddress: import("abitype").Address | null | undefined;
266
+ logsBloom: import("../../index.js").Hex;
267
+ blobGasUsed?: bigint | undefined;
268
+ gasUsed: bigint;
269
+ transactionHash: import("../../index.js").Hash;
270
+ blobGasPrice?: bigint | undefined;
271
+ cumulativeGasUsed: bigint;
272
+ effectiveGasPrice: bigint;
273
+ root?: import("../../index.js").Hash | undefined;
274
+ l1BatchNumber: bigint | null;
275
+ l1BatchTxIndex: bigint | null;
276
+ logs: import("../index.js").ZkSyncLog[];
277
+ l2ToL1Logs: import("../index.js").ZkSyncL2ToL1Log[];
278
+ } & {};
279
+ type: "transactionReceipt";
280
+ };
281
+ readonly transactionRequest: {
282
+ exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
283
+ format: (args: import("../index.js").ZkSyncTransactionRequest) => ({
284
+ data?: import("../../index.js").Hex | undefined;
285
+ from?: import("abitype").Address | undefined;
286
+ gas?: `0x${string}` | undefined;
287
+ nonce?: `0x${string}` | undefined;
288
+ to?: import("abitype").Address | null | undefined;
289
+ type?: "0x0" | undefined;
290
+ value?: `0x${string}` | undefined;
291
+ gasPrice?: `0x${string}` | undefined;
292
+ maxFeePerBlobGas?: undefined;
293
+ maxFeePerGas?: undefined;
294
+ maxPriorityFeePerGas?: undefined;
295
+ blobs?: undefined;
296
+ accessList?: undefined;
297
+ authorizationList?: undefined;
298
+ blobVersionedHashes?: undefined;
299
+ kzg?: undefined;
300
+ sidecars?: undefined;
301
+ eip712Meta?: undefined;
302
+ } | {
303
+ data?: import("../../index.js").Hex | undefined;
304
+ from?: import("abitype").Address | undefined;
305
+ gas?: `0x${string}` | undefined;
306
+ nonce?: `0x${string}` | undefined;
307
+ to?: import("abitype").Address | null | undefined;
308
+ type?: "0x1" | undefined;
309
+ value?: `0x${string}` | undefined;
310
+ gasPrice?: `0x${string}` | undefined;
311
+ maxFeePerBlobGas?: undefined;
312
+ maxFeePerGas?: undefined;
313
+ maxPriorityFeePerGas?: undefined;
314
+ accessList?: import("../../index.js").AccessList | undefined;
315
+ blobs?: undefined;
316
+ authorizationList?: undefined;
317
+ blobVersionedHashes?: undefined;
318
+ kzg?: undefined;
319
+ sidecars?: undefined;
320
+ eip712Meta?: undefined;
321
+ } | {
322
+ data?: import("../../index.js").Hex | undefined;
323
+ from?: import("abitype").Address | undefined;
324
+ gas?: `0x${string}` | undefined;
325
+ nonce?: `0x${string}` | undefined;
326
+ to?: import("abitype").Address | null | undefined;
327
+ type?: "0x2" | undefined;
328
+ value?: `0x${string}` | undefined;
329
+ gasPrice?: undefined;
330
+ maxFeePerBlobGas?: undefined;
331
+ maxFeePerGas?: `0x${string}` | undefined;
332
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
333
+ accessList?: import("../../index.js").AccessList | undefined;
334
+ blobs?: undefined;
335
+ authorizationList?: undefined;
336
+ blobVersionedHashes?: undefined;
337
+ kzg?: undefined;
338
+ sidecars?: undefined;
339
+ eip712Meta?: undefined;
340
+ } | {
341
+ type?: "0x3" | undefined;
342
+ data?: import("../../index.js").Hex | undefined;
343
+ from?: import("abitype").Address | undefined;
344
+ gas?: `0x${string}` | undefined;
345
+ nonce?: `0x${string}` | undefined;
346
+ value?: `0x${string}` | undefined;
347
+ to: `0x${string}` | null;
348
+ gasPrice?: undefined;
349
+ maxFeePerGas?: `0x${string}` | undefined;
350
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
351
+ maxFeePerBlobGas: `0x${string}`;
352
+ accessList?: import("../../index.js").AccessList | undefined;
353
+ blobs: readonly import("../../index.js").Hex[] | readonly import("../../index.js").ByteArray[];
354
+ blobVersionedHashes?: readonly import("../../index.js").Hex[] | undefined;
355
+ kzg?: import("../../index.js").Kzg | undefined;
356
+ sidecars?: readonly import("../../index.js").BlobSidecar<import("../../index.js").Hex>[] | undefined;
357
+ authorizationList?: undefined;
358
+ eip712Meta?: undefined;
359
+ } | {
360
+ type?: "0x4" | undefined;
361
+ gasPrice?: undefined;
362
+ maxFeePerBlobGas?: undefined;
363
+ maxFeePerGas?: `0x${string}` | undefined;
364
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
365
+ to?: import("abitype").Address | null | undefined;
366
+ data?: import("../../index.js").Hex | undefined;
367
+ from?: import("abitype").Address | undefined;
368
+ gas?: `0x${string}` | undefined;
369
+ nonce?: `0x${string}` | undefined;
370
+ value?: `0x${string}` | undefined;
371
+ accessList?: import("../../index.js").AccessList | undefined;
372
+ authorizationList?: import("../../experimental/index.js").RpcAuthorizationList | undefined;
373
+ blobs?: undefined;
374
+ blobVersionedHashes?: undefined;
375
+ kzg?: undefined;
376
+ sidecars?: undefined;
377
+ eip712Meta?: undefined;
378
+ } | {
379
+ data?: import("../../index.js").Hex | undefined;
380
+ from?: import("abitype").Address | undefined;
381
+ gas?: `0x${string}` | undefined;
382
+ nonce?: `0x${string}` | undefined;
383
+ to?: import("abitype").Address | null | undefined;
384
+ type: "0xff" | "0x71";
385
+ value?: `0x${string}` | undefined;
386
+ gasPrice?: undefined;
387
+ maxFeePerBlobGas?: undefined;
388
+ maxFeePerGas?: `0x${string}` | undefined;
389
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
390
+ eip712Meta: import("../index.js").ZkSyncEip712Meta;
391
+ }) & {
392
+ paymaster: never;
393
+ gasPerPubdata: never;
394
+ factoryDeps: never;
395
+ paymasterInput: never;
396
+ customSignature: never;
397
+ };
398
+ type: "transactionRequest";
399
+ };
400
+ };
401
+ serializers: {
402
+ readonly transaction: typeof import("../../zksync/serializers.js").serializeTransaction;
403
+ };
404
+ };
405
+ //# sourceMappingURL=treasure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treasure.d.ts","sourceRoot":"","sources":["../../../chains/definitions/treasure.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BnB,CAAA"}