viem 2.21.4 → 2.21.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/_cjs/accounts/index.js +11 -20
  3. package/_cjs/accounts/index.js.map +1 -1
  4. package/_cjs/accounts/wordlists.js +24 -0
  5. package/_cjs/accounts/wordlists.js.map +1 -0
  6. package/_cjs/chains/definitions/flare.js +1 -1
  7. package/_cjs/chains/definitions/flareTestnet.js +2 -2
  8. package/_cjs/chains/definitions/flareTestnet.js.map +1 -1
  9. package/_cjs/chains/definitions/garnet.js +51 -0
  10. package/_cjs/chains/definitions/garnet.js.map +1 -0
  11. package/_cjs/chains/definitions/redstone.js +34 -7
  12. package/_cjs/chains/definitions/redstone.js.map +1 -1
  13. package/_cjs/chains/definitions/sepolia.js +1 -1
  14. package/_cjs/chains/definitions/sepolia.js.map +1 -1
  15. package/_cjs/chains/definitions/songbird.js +2 -2
  16. package/_cjs/chains/definitions/songbird.js.map +1 -1
  17. package/_cjs/chains/definitions/songbirdTestnet.js +2 -2
  18. package/_cjs/chains/definitions/songbirdTestnet.js.map +1 -1
  19. package/_cjs/chains/index.js +7 -5
  20. package/_cjs/chains/index.js.map +1 -1
  21. package/_cjs/errors/version.js +1 -1
  22. package/_cjs/utils/abi/decodeEventLog.js +6 -2
  23. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  24. package/_cjs/utils/abi/parseEventLogs.js +3 -5
  25. package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
  26. package/_esm/accounts/index.js +1 -10
  27. package/_esm/accounts/index.js.map +1 -1
  28. package/_esm/accounts/wordlists.js +12 -0
  29. package/_esm/accounts/wordlists.js.map +1 -0
  30. package/_esm/chains/definitions/flare.js +1 -1
  31. package/_esm/chains/definitions/flareTestnet.js +2 -2
  32. package/_esm/chains/definitions/flareTestnet.js.map +1 -1
  33. package/_esm/chains/definitions/garnet.js +48 -0
  34. package/_esm/chains/definitions/garnet.js.map +1 -0
  35. package/_esm/chains/definitions/redstone.js +34 -7
  36. package/_esm/chains/definitions/redstone.js.map +1 -1
  37. package/_esm/chains/definitions/sepolia.js +1 -1
  38. package/_esm/chains/definitions/sepolia.js.map +1 -1
  39. package/_esm/chains/definitions/songbird.js +2 -2
  40. package/_esm/chains/definitions/songbird.js.map +1 -1
  41. package/_esm/chains/definitions/songbirdTestnet.js +2 -2
  42. package/_esm/chains/definitions/songbirdTestnet.js.map +1 -1
  43. package/_esm/chains/index.js +1 -0
  44. package/_esm/chains/index.js.map +1 -1
  45. package/_esm/errors/version.js +1 -1
  46. package/_esm/utils/abi/decodeEventLog.js +6 -2
  47. package/_esm/utils/abi/decodeEventLog.js.map +1 -1
  48. package/_esm/utils/abi/parseEventLogs.js +3 -5
  49. package/_esm/utils/abi/parseEventLogs.js.map +1 -1
  50. package/_types/accounts/index.d.ts +1 -10
  51. package/_types/accounts/index.d.ts.map +1 -1
  52. package/_types/accounts/wordlists.d.ts +11 -0
  53. package/_types/accounts/wordlists.d.ts.map +1 -0
  54. package/_types/chains/definitions/flare.d.ts +1 -1
  55. package/_types/chains/definitions/flareTestnet.d.ts +2 -2
  56. package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
  57. package/_types/chains/definitions/garnet.d.ts +300 -0
  58. package/_types/chains/definitions/garnet.d.ts.map +1 -0
  59. package/_types/chains/definitions/redstone.d.ts +277 -14
  60. package/_types/chains/definitions/redstone.d.ts.map +1 -1
  61. package/_types/chains/definitions/sepolia.d.ts +1 -1
  62. package/_types/chains/definitions/songbird.d.ts +2 -2
  63. package/_types/chains/definitions/songbird.d.ts.map +1 -1
  64. package/_types/chains/definitions/songbirdTestnet.d.ts +2 -2
  65. package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
  66. package/_types/chains/index.d.ts +1 -0
  67. package/_types/chains/index.d.ts.map +1 -1
  68. package/_types/errors/version.d.ts +1 -1
  69. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
  70. package/_types/utils/abi/parseEventLogs.d.ts.map +1 -1
  71. package/accounts/index.ts +13 -10
  72. package/accounts/wordlists.ts +11 -0
  73. package/chains/definitions/flare.ts +1 -1
  74. package/chains/definitions/flareTestnet.ts +2 -2
  75. package/chains/definitions/garnet.ts +49 -0
  76. package/chains/definitions/redstone.ts +35 -7
  77. package/chains/definitions/sepolia.ts +1 -1
  78. package/chains/definitions/songbird.ts +2 -2
  79. package/chains/definitions/songbirdTestnet.ts +2 -2
  80. package/chains/index.ts +1 -0
  81. package/errors/version.ts +1 -1
  82. package/package.json +1 -1
  83. package/utils/abi/decodeEventLog.ts +9 -5
  84. package/utils/abi/parseEventLogs.ts +6 -5
@@ -0,0 +1,300 @@
1
+ export declare const garnet: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Blockscout";
5
+ readonly url: "https://explorer.garnetchain.com";
6
+ };
7
+ };
8
+ contracts: {
9
+ readonly multicall3: {
10
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
11
+ };
12
+ readonly portal: {
13
+ readonly 17000: {
14
+ readonly address: "0x57ee40586fbE286AfC75E67cb69511A6D9aF5909";
15
+ readonly blockCreated: 1274684;
16
+ };
17
+ };
18
+ readonly l2OutputOracle: {
19
+ readonly 17000: {
20
+ readonly address: "0xCb8E7AC561b8EF04F2a15865e9fbc0766FEF569B";
21
+ readonly blockCreated: 1274684;
22
+ };
23
+ };
24
+ readonly l1StandardBridge: {
25
+ readonly 17000: {
26
+ readonly address: "0x09bcDd311FE398F80a78BE37E489f5D440DB95DE";
27
+ readonly blockCreated: 1274684;
28
+ };
29
+ };
30
+ readonly gasPriceOracle: {
31
+ readonly address: "0x420000000000000000000000000000000000000F";
32
+ };
33
+ readonly l1Block: {
34
+ readonly address: "0x4200000000000000000000000000000000000015";
35
+ };
36
+ readonly l2CrossDomainMessenger: {
37
+ readonly address: "0x4200000000000000000000000000000000000007";
38
+ };
39
+ readonly l2Erc721Bridge: {
40
+ readonly address: "0x4200000000000000000000000000000000000014";
41
+ };
42
+ readonly l2StandardBridge: {
43
+ readonly address: "0x4200000000000000000000000000000000000010";
44
+ };
45
+ readonly l2ToL1MessagePasser: {
46
+ readonly address: "0x4200000000000000000000000000000000000016";
47
+ };
48
+ };
49
+ id: 17069;
50
+ name: "Garnet Testnet";
51
+ nativeCurrency: {
52
+ readonly name: "Ether";
53
+ readonly symbol: "ETH";
54
+ readonly decimals: 18;
55
+ };
56
+ rpcUrls: {
57
+ readonly default: {
58
+ readonly http: readonly ["https://rpc.garnetchain.com"];
59
+ readonly webSocket: readonly ["wss://rpc.garnetchain.com"];
60
+ };
61
+ };
62
+ sourceId: 17000;
63
+ testnet: true;
64
+ custom?: Record<string, unknown> | undefined;
65
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
66
+ formatters: {
67
+ readonly block: {
68
+ exclude: [] | undefined;
69
+ format: (args: import("../index.js").OpStackRpcBlock) => {
70
+ baseFeePerGas: bigint | null;
71
+ blobGasUsed: bigint;
72
+ difficulty: bigint;
73
+ excessBlobGas: bigint;
74
+ extraData: import("../../index.js").Hex;
75
+ gasLimit: bigint;
76
+ gasUsed: bigint;
77
+ hash: `0x${string}` | null;
78
+ logsBloom: `0x${string}` | null;
79
+ miner: import("abitype").Address;
80
+ mixHash: import("../../index.js").Hash;
81
+ nonce: `0x${string}` | null;
82
+ number: bigint | null;
83
+ parentHash: import("../../index.js").Hash;
84
+ receiptsRoot: import("../../index.js").Hex;
85
+ sealFields: import("../../index.js").Hex[];
86
+ sha3Uncles: import("../../index.js").Hash;
87
+ size: bigint;
88
+ stateRoot: import("../../index.js").Hash;
89
+ timestamp: bigint;
90
+ totalDifficulty: bigint | null;
91
+ transactions: `0x${string}`[] | import("../index.js").OpStackTransaction<boolean>[];
92
+ transactionsRoot: import("../../index.js").Hash;
93
+ uncles: import("../../index.js").Hash[];
94
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
95
+ withdrawalsRoot?: import("../../index.js").Hex | undefined;
96
+ } & {};
97
+ type: "block";
98
+ };
99
+ readonly transaction: {
100
+ exclude: [] | undefined;
101
+ format: (args: import("../index.js").OpStackRpcTransaction) => ({
102
+ blockHash: `0x${string}` | null;
103
+ blockNumber: bigint | null;
104
+ from: import("abitype").Address;
105
+ gas: bigint;
106
+ hash: import("../../index.js").Hash;
107
+ input: import("../../index.js").Hex;
108
+ nonce: number;
109
+ r: import("../../index.js").Hex;
110
+ s: import("../../index.js").Hex;
111
+ to: import("abitype").Address | null;
112
+ transactionIndex: number | null;
113
+ typeHex: import("../../index.js").Hex | null;
114
+ v: bigint;
115
+ value: bigint;
116
+ yParity: number;
117
+ gasPrice?: undefined;
118
+ maxFeePerBlobGas?: undefined;
119
+ maxFeePerGas: bigint;
120
+ maxPriorityFeePerGas: bigint;
121
+ isSystemTx?: boolean;
122
+ mint?: bigint | undefined;
123
+ sourceHash: import("../../index.js").Hex;
124
+ type: "deposit";
125
+ } | {
126
+ r: import("../../index.js").Hex;
127
+ s: import("../../index.js").Hex;
128
+ v: bigint;
129
+ to: import("abitype").Address | null;
130
+ from: import("abitype").Address;
131
+ gas: bigint;
132
+ nonce: number;
133
+ value: bigint;
134
+ blockHash: `0x${string}` | null;
135
+ blockNumber: bigint | null;
136
+ hash: import("../../index.js").Hash;
137
+ input: import("../../index.js").Hex;
138
+ transactionIndex: number | null;
139
+ typeHex: import("../../index.js").Hex | null;
140
+ accessList?: undefined;
141
+ authorizationList?: undefined;
142
+ blobVersionedHashes?: undefined;
143
+ chainId?: number | undefined;
144
+ yParity?: undefined;
145
+ type: "legacy";
146
+ gasPrice: bigint;
147
+ maxFeePerBlobGas?: undefined;
148
+ maxFeePerGas?: undefined;
149
+ maxPriorityFeePerGas?: undefined;
150
+ isSystemTx?: undefined;
151
+ mint?: undefined;
152
+ sourceHash?: undefined;
153
+ } | {
154
+ blockHash: `0x${string}` | null;
155
+ blockNumber: bigint | null;
156
+ from: import("abitype").Address;
157
+ gas: bigint;
158
+ hash: import("../../index.js").Hash;
159
+ input: import("../../index.js").Hex;
160
+ nonce: number;
161
+ r: import("../../index.js").Hex;
162
+ s: import("../../index.js").Hex;
163
+ to: import("abitype").Address | null;
164
+ transactionIndex: number | null;
165
+ typeHex: import("../../index.js").Hex | null;
166
+ v: bigint;
167
+ value: bigint;
168
+ yParity: number;
169
+ accessList: import("../../index.js").AccessList;
170
+ authorizationList?: undefined;
171
+ blobVersionedHashes?: undefined;
172
+ chainId: number;
173
+ type: "eip2930";
174
+ gasPrice: bigint;
175
+ maxFeePerBlobGas?: undefined;
176
+ maxFeePerGas?: undefined;
177
+ maxPriorityFeePerGas?: undefined;
178
+ isSystemTx?: undefined;
179
+ mint?: undefined;
180
+ sourceHash?: undefined;
181
+ } | {
182
+ blockHash: `0x${string}` | null;
183
+ blockNumber: bigint | null;
184
+ from: import("abitype").Address;
185
+ gas: bigint;
186
+ hash: import("../../index.js").Hash;
187
+ input: import("../../index.js").Hex;
188
+ nonce: number;
189
+ r: import("../../index.js").Hex;
190
+ s: import("../../index.js").Hex;
191
+ to: import("abitype").Address | null;
192
+ transactionIndex: number | null;
193
+ typeHex: import("../../index.js").Hex | null;
194
+ v: bigint;
195
+ value: bigint;
196
+ yParity: number;
197
+ accessList: import("../../index.js").AccessList;
198
+ authorizationList?: undefined;
199
+ blobVersionedHashes?: undefined;
200
+ chainId: number;
201
+ type: "eip1559";
202
+ gasPrice?: undefined;
203
+ maxFeePerBlobGas?: undefined;
204
+ maxFeePerGas: bigint;
205
+ maxPriorityFeePerGas: bigint;
206
+ isSystemTx?: undefined;
207
+ mint?: undefined;
208
+ sourceHash?: undefined;
209
+ } | {
210
+ blockHash: `0x${string}` | null;
211
+ blockNumber: bigint | null;
212
+ from: import("abitype").Address;
213
+ gas: bigint;
214
+ hash: import("../../index.js").Hash;
215
+ input: import("../../index.js").Hex;
216
+ nonce: number;
217
+ r: import("../../index.js").Hex;
218
+ s: import("../../index.js").Hex;
219
+ to: import("abitype").Address | null;
220
+ transactionIndex: number | null;
221
+ typeHex: import("../../index.js").Hex | null;
222
+ v: bigint;
223
+ value: bigint;
224
+ yParity: number;
225
+ accessList: import("../../index.js").AccessList;
226
+ authorizationList?: undefined;
227
+ blobVersionedHashes: readonly import("../../index.js").Hex[];
228
+ chainId: number;
229
+ type: "eip4844";
230
+ gasPrice?: undefined;
231
+ maxFeePerBlobGas: bigint;
232
+ maxFeePerGas: bigint;
233
+ maxPriorityFeePerGas: bigint;
234
+ isSystemTx?: undefined;
235
+ mint?: undefined;
236
+ sourceHash?: undefined;
237
+ } | {
238
+ blockHash: `0x${string}` | null;
239
+ blockNumber: bigint | null;
240
+ from: import("abitype").Address;
241
+ gas: bigint;
242
+ hash: import("../../index.js").Hash;
243
+ input: import("../../index.js").Hex;
244
+ nonce: number;
245
+ r: import("../../index.js").Hex;
246
+ s: import("../../index.js").Hex;
247
+ to: import("abitype").Address | null;
248
+ transactionIndex: number | null;
249
+ typeHex: import("../../index.js").Hex | null;
250
+ v: bigint;
251
+ value: bigint;
252
+ yParity: number;
253
+ accessList: import("../../index.js").AccessList;
254
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
255
+ blobVersionedHashes?: undefined;
256
+ chainId: number;
257
+ type: "eip7702";
258
+ gasPrice?: undefined;
259
+ maxFeePerBlobGas?: undefined;
260
+ maxFeePerGas: bigint;
261
+ maxPriorityFeePerGas: bigint;
262
+ isSystemTx?: undefined;
263
+ mint?: undefined;
264
+ sourceHash?: undefined;
265
+ }) & {};
266
+ type: "transaction";
267
+ };
268
+ readonly transactionReceipt: {
269
+ exclude: [] | undefined;
270
+ format: (args: import("../index.js").OpStackRpcTransactionReceipt) => {
271
+ blobGasPrice?: bigint | undefined;
272
+ blobGasUsed?: bigint | undefined;
273
+ blockHash: import("../../index.js").Hash;
274
+ blockNumber: bigint;
275
+ contractAddress: import("abitype").Address | null | undefined;
276
+ cumulativeGasUsed: bigint;
277
+ effectiveGasPrice: bigint;
278
+ from: import("abitype").Address;
279
+ gasUsed: bigint;
280
+ logs: import("../../index.js").Log<bigint, number, false>[];
281
+ logsBloom: import("../../index.js").Hex;
282
+ root?: import("../../index.js").Hash | undefined;
283
+ status: "success" | "reverted";
284
+ to: import("abitype").Address | null;
285
+ transactionHash: import("../../index.js").Hash;
286
+ transactionIndex: number;
287
+ type: import("../../index.js").TransactionType;
288
+ l1GasPrice: bigint | null;
289
+ l1GasUsed: bigint | null;
290
+ l1Fee: bigint | null;
291
+ l1FeeScalar: number | null;
292
+ } & {};
293
+ type: "transactionReceipt";
294
+ };
295
+ };
296
+ serializers: {
297
+ readonly transaction: typeof import("../index.js").serializeTransactionOpStack;
298
+ };
299
+ };
300
+ //# sourceMappingURL=garnet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"garnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/garnet.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CjB,CAAA"}
@@ -1,19 +1,51 @@
1
1
  export declare const redstone: {
2
2
  blockExplorers: {
3
3
  readonly default: {
4
- readonly name: "Explorer";
5
- readonly url: "\thttps://explorer.redstone.xyz";
4
+ readonly name: "Blockscout";
5
+ readonly url: "https://explorer.redstone.xyz";
6
+ };
7
+ };
8
+ contracts: {
9
+ readonly multicall3: {
10
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
11
+ };
12
+ readonly portal: {
13
+ readonly 1: {
14
+ readonly address: "0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae";
15
+ readonly blockCreated: 19578329;
16
+ };
17
+ };
18
+ readonly l2OutputOracle: {
19
+ readonly 1: {
20
+ readonly address: "0xa426A052f657AEEefc298b3B5c35a470e4739d69";
21
+ readonly blockCreated: 19578337;
22
+ };
23
+ };
24
+ readonly l1StandardBridge: {
25
+ readonly 1: {
26
+ readonly address: "0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69";
27
+ readonly blockCreated: 19578331;
28
+ };
29
+ };
30
+ readonly gasPriceOracle: {
31
+ readonly address: "0x420000000000000000000000000000000000000F";
32
+ };
33
+ readonly l1Block: {
34
+ readonly address: "0x4200000000000000000000000000000000000015";
35
+ };
36
+ readonly l2CrossDomainMessenger: {
37
+ readonly address: "0x4200000000000000000000000000000000000007";
38
+ };
39
+ readonly l2Erc721Bridge: {
40
+ readonly address: "0x4200000000000000000000000000000000000014";
41
+ };
42
+ readonly l2StandardBridge: {
43
+ readonly address: "0x4200000000000000000000000000000000000010";
44
+ };
45
+ readonly l2ToL1MessagePasser: {
46
+ readonly address: "0x4200000000000000000000000000000000000016";
6
47
  };
7
48
  };
8
- contracts?: import("../index.js").Prettify<{
9
- [key: string]: import("../../index.js").ChainContract | {
10
- [sourceId: number]: import("../../index.js").ChainContract | undefined;
11
- } | undefined;
12
- } & {
13
- ensRegistry?: import("../../index.js").ChainContract | undefined;
14
- ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
15
- multicall3?: import("../../index.js").ChainContract | undefined;
16
- }> | undefined;
17
49
  id: 690;
18
50
  name: "Redstone";
19
51
  nativeCurrency: {
@@ -27,11 +59,242 @@ export declare const redstone: {
27
59
  readonly webSocket: readonly ["wss://rpc.redstonechain.com"];
28
60
  };
29
61
  };
30
- sourceId?: number | undefined;
62
+ sourceId: 1;
31
63
  testnet?: boolean | undefined;
32
64
  custom?: Record<string, unknown> | undefined;
33
65
  fees?: import("../../index.js").ChainFees<undefined> | undefined;
34
- formatters?: undefined;
35
- serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
66
+ formatters: {
67
+ readonly block: {
68
+ exclude: [] | undefined;
69
+ format: (args: import("../index.js").OpStackRpcBlock) => {
70
+ baseFeePerGas: bigint | null;
71
+ blobGasUsed: bigint;
72
+ difficulty: bigint;
73
+ excessBlobGas: bigint;
74
+ extraData: import("../../index.js").Hex;
75
+ gasLimit: bigint;
76
+ gasUsed: bigint;
77
+ hash: `0x${string}` | null;
78
+ logsBloom: `0x${string}` | null;
79
+ miner: import("abitype").Address;
80
+ mixHash: import("../../index.js").Hash;
81
+ nonce: `0x${string}` | null;
82
+ number: bigint | null;
83
+ parentHash: import("../../index.js").Hash;
84
+ receiptsRoot: import("../../index.js").Hex;
85
+ sealFields: import("../../index.js").Hex[];
86
+ sha3Uncles: import("../../index.js").Hash;
87
+ size: bigint;
88
+ stateRoot: import("../../index.js").Hash;
89
+ timestamp: bigint;
90
+ totalDifficulty: bigint | null;
91
+ transactions: `0x${string}`[] | import("../index.js").OpStackTransaction<boolean>[];
92
+ transactionsRoot: import("../../index.js").Hash;
93
+ uncles: import("../../index.js").Hash[];
94
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
95
+ withdrawalsRoot?: import("../../index.js").Hex | undefined;
96
+ } & {};
97
+ type: "block";
98
+ };
99
+ readonly transaction: {
100
+ exclude: [] | undefined;
101
+ format: (args: import("../index.js").OpStackRpcTransaction) => ({
102
+ blockHash: `0x${string}` | null;
103
+ blockNumber: bigint | null;
104
+ from: import("abitype").Address;
105
+ gas: bigint;
106
+ hash: import("../../index.js").Hash;
107
+ input: import("../../index.js").Hex;
108
+ nonce: number;
109
+ r: import("../../index.js").Hex;
110
+ s: import("../../index.js").Hex;
111
+ to: import("abitype").Address | null;
112
+ transactionIndex: number | null;
113
+ typeHex: import("../../index.js").Hex | null;
114
+ v: bigint;
115
+ value: bigint;
116
+ yParity: number;
117
+ gasPrice?: undefined;
118
+ maxFeePerBlobGas?: undefined;
119
+ maxFeePerGas: bigint;
120
+ maxPriorityFeePerGas: bigint;
121
+ isSystemTx?: boolean;
122
+ mint?: bigint | undefined;
123
+ sourceHash: import("../../index.js").Hex;
124
+ type: "deposit";
125
+ } | {
126
+ r: import("../../index.js").Hex;
127
+ s: import("../../index.js").Hex;
128
+ v: bigint;
129
+ to: import("abitype").Address | null;
130
+ from: import("abitype").Address;
131
+ gas: bigint;
132
+ nonce: number;
133
+ value: bigint;
134
+ blockHash: `0x${string}` | null;
135
+ blockNumber: bigint | null;
136
+ hash: import("../../index.js").Hash;
137
+ input: import("../../index.js").Hex;
138
+ transactionIndex: number | null;
139
+ typeHex: import("../../index.js").Hex | null;
140
+ accessList?: undefined;
141
+ authorizationList?: undefined;
142
+ blobVersionedHashes?: undefined;
143
+ chainId?: number | undefined;
144
+ yParity?: undefined;
145
+ type: "legacy";
146
+ gasPrice: bigint;
147
+ maxFeePerBlobGas?: undefined;
148
+ maxFeePerGas?: undefined;
149
+ maxPriorityFeePerGas?: undefined;
150
+ isSystemTx?: undefined;
151
+ mint?: undefined;
152
+ sourceHash?: undefined;
153
+ } | {
154
+ blockHash: `0x${string}` | null;
155
+ blockNumber: bigint | null;
156
+ from: import("abitype").Address;
157
+ gas: bigint;
158
+ hash: import("../../index.js").Hash;
159
+ input: import("../../index.js").Hex;
160
+ nonce: number;
161
+ r: import("../../index.js").Hex;
162
+ s: import("../../index.js").Hex;
163
+ to: import("abitype").Address | null;
164
+ transactionIndex: number | null;
165
+ typeHex: import("../../index.js").Hex | null;
166
+ v: bigint;
167
+ value: bigint;
168
+ yParity: number;
169
+ accessList: import("../../index.js").AccessList;
170
+ authorizationList?: undefined;
171
+ blobVersionedHashes?: undefined;
172
+ chainId: number;
173
+ type: "eip2930";
174
+ gasPrice: bigint;
175
+ maxFeePerBlobGas?: undefined;
176
+ maxFeePerGas?: undefined;
177
+ maxPriorityFeePerGas?: undefined;
178
+ isSystemTx?: undefined;
179
+ mint?: undefined;
180
+ sourceHash?: undefined;
181
+ } | {
182
+ blockHash: `0x${string}` | null;
183
+ blockNumber: bigint | null;
184
+ from: import("abitype").Address;
185
+ gas: bigint;
186
+ hash: import("../../index.js").Hash;
187
+ input: import("../../index.js").Hex;
188
+ nonce: number;
189
+ r: import("../../index.js").Hex;
190
+ s: import("../../index.js").Hex;
191
+ to: import("abitype").Address | null;
192
+ transactionIndex: number | null;
193
+ typeHex: import("../../index.js").Hex | null;
194
+ v: bigint;
195
+ value: bigint;
196
+ yParity: number;
197
+ accessList: import("../../index.js").AccessList;
198
+ authorizationList?: undefined;
199
+ blobVersionedHashes?: undefined;
200
+ chainId: number;
201
+ type: "eip1559";
202
+ gasPrice?: undefined;
203
+ maxFeePerBlobGas?: undefined;
204
+ maxFeePerGas: bigint;
205
+ maxPriorityFeePerGas: bigint;
206
+ isSystemTx?: undefined;
207
+ mint?: undefined;
208
+ sourceHash?: undefined;
209
+ } | {
210
+ blockHash: `0x${string}` | null;
211
+ blockNumber: bigint | null;
212
+ from: import("abitype").Address;
213
+ gas: bigint;
214
+ hash: import("../../index.js").Hash;
215
+ input: import("../../index.js").Hex;
216
+ nonce: number;
217
+ r: import("../../index.js").Hex;
218
+ s: import("../../index.js").Hex;
219
+ to: import("abitype").Address | null;
220
+ transactionIndex: number | null;
221
+ typeHex: import("../../index.js").Hex | null;
222
+ v: bigint;
223
+ value: bigint;
224
+ yParity: number;
225
+ accessList: import("../../index.js").AccessList;
226
+ authorizationList?: undefined;
227
+ blobVersionedHashes: readonly import("../../index.js").Hex[];
228
+ chainId: number;
229
+ type: "eip4844";
230
+ gasPrice?: undefined;
231
+ maxFeePerBlobGas: bigint;
232
+ maxFeePerGas: bigint;
233
+ maxPriorityFeePerGas: bigint;
234
+ isSystemTx?: undefined;
235
+ mint?: undefined;
236
+ sourceHash?: undefined;
237
+ } | {
238
+ blockHash: `0x${string}` | null;
239
+ blockNumber: bigint | null;
240
+ from: import("abitype").Address;
241
+ gas: bigint;
242
+ hash: import("../../index.js").Hash;
243
+ input: import("../../index.js").Hex;
244
+ nonce: number;
245
+ r: import("../../index.js").Hex;
246
+ s: import("../../index.js").Hex;
247
+ to: import("abitype").Address | null;
248
+ transactionIndex: number | null;
249
+ typeHex: import("../../index.js").Hex | null;
250
+ v: bigint;
251
+ value: bigint;
252
+ yParity: number;
253
+ accessList: import("../../index.js").AccessList;
254
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
255
+ blobVersionedHashes?: undefined;
256
+ chainId: number;
257
+ type: "eip7702";
258
+ gasPrice?: undefined;
259
+ maxFeePerBlobGas?: undefined;
260
+ maxFeePerGas: bigint;
261
+ maxPriorityFeePerGas: bigint;
262
+ isSystemTx?: undefined;
263
+ mint?: undefined;
264
+ sourceHash?: undefined;
265
+ }) & {};
266
+ type: "transaction";
267
+ };
268
+ readonly transactionReceipt: {
269
+ exclude: [] | undefined;
270
+ format: (args: import("../index.js").OpStackRpcTransactionReceipt) => {
271
+ blobGasPrice?: bigint | undefined;
272
+ blobGasUsed?: bigint | undefined;
273
+ blockHash: import("../../index.js").Hash;
274
+ blockNumber: bigint;
275
+ contractAddress: import("abitype").Address | null | undefined;
276
+ cumulativeGasUsed: bigint;
277
+ effectiveGasPrice: bigint;
278
+ from: import("abitype").Address;
279
+ gasUsed: bigint;
280
+ logs: import("../../index.js").Log<bigint, number, false>[];
281
+ logsBloom: import("../../index.js").Hex;
282
+ root?: import("../../index.js").Hash | undefined;
283
+ status: "success" | "reverted";
284
+ to: import("abitype").Address | null;
285
+ transactionHash: import("../../index.js").Hash;
286
+ transactionIndex: number;
287
+ type: import("../../index.js").TransactionType;
288
+ l1GasPrice: bigint | null;
289
+ l1GasUsed: bigint | null;
290
+ l1Fee: bigint | null;
291
+ l1FeeScalar: number | null;
292
+ } & {};
293
+ type: "transactionReceipt";
294
+ };
295
+ };
296
+ serializers: {
297
+ readonly transaction: typeof import("../index.js").serializeTransactionOpStack;
298
+ };
36
299
  };
37
300
  //# sourceMappingURL=redstone.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redstone.d.ts","sourceRoot":"","sources":["../../../chains/definitions/redstone.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;mBAkBu+B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;;;;;;;;;;;;;;;;;;;;;CADvmC,CAAA"}
1
+ {"version":3,"file":"redstone.d.ts","sourceRoot":"","sources":["../../../chains/definitions/redstone.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CnB,CAAA"}
@@ -28,7 +28,7 @@ export declare const sepolia: {
28
28
  };
29
29
  rpcUrls: {
30
30
  readonly default: {
31
- readonly http: readonly ["https://rpc.sepolia.org"];
31
+ readonly http: readonly ["https://rpc2.sepolia.org"];
32
32
  };
33
33
  };
34
34
  sourceId?: number | undefined;
@@ -16,10 +16,10 @@ export declare const songbird: {
16
16
  multicall3?: import("../../index.js").ChainContract | undefined;
17
17
  }> | undefined;
18
18
  id: 19;
19
- name: "Songbird Mainnet";
19
+ name: "Songbird Canary-Network";
20
20
  nativeCurrency: {
21
21
  readonly decimals: 18;
22
- readonly name: "songbird";
22
+ readonly name: "Songbird";
23
23
  readonly symbol: "SGB";
24
24
  };
25
25
  rpcUrls: {
@@ -1 +1 @@
1
- {"version":3,"file":"songbird.d.ts","sourceRoot":"","sources":["../../../chains/definitions/songbird.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;mBAmB65B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;;;;;;;;;;;;;;;;;;;;CAD7hC,CAAA"}
1
+ {"version":3,"file":"songbird.d.ts","sourceRoot":"","sources":["../../../chains/definitions/songbird.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;mBAmBs5B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;;;;;;;;;;;;;;;;;;;;CADthC,CAAA"}
@@ -16,10 +16,10 @@ export declare const songbirdTestnet: {
16
16
  multicall3?: import("../../index.js").ChainContract | undefined;
17
17
  }> | undefined;
18
18
  id: 16;
19
- name: "Coston";
19
+ name: "Songbird Testnet Coston";
20
20
  nativeCurrency: {
21
21
  readonly decimals: 18;
22
- readonly name: "costonflare";
22
+ readonly name: "Coston Flare";
23
23
  readonly symbol: "CFLR";
24
24
  };
25
25
  rpcUrls: {
@@ -1 +1 @@
1
- {"version":3,"file":"songbirdTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/songbirdTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;mBAoB44B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;;;;;;;;;;;;;;;;;;;;CADnhC,CAAA"}
1
+ {"version":3,"file":"songbirdTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/songbirdTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;mBAoB03B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;;;;;;;;;;;;;;;;;;;;CADjgC,CAAA"}
@@ -127,6 +127,7 @@ export { iotexTestnet } from './definitions/iotexTestnet.js';
127
127
  export { jbc } from './definitions/jbc.js';
128
128
  export { jbcTestnet } from './definitions/jbcTestnet.js';
129
129
  export { karura } from './definitions/karura.js';
130
+ export { garnet } from './definitions/garnet.js';
130
131
  export { gobi } from './definitions/gobi.js';
131
132
  export { goerli } from './definitions/goerli.js';
132
133
  export { gnosis } from './definitions/gnosis.js';