viem 2.21.5 → 2.21.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +9 -0
- package/_cjs/chains/definitions/garnet.js +51 -0
- package/_cjs/chains/definitions/garnet.js.map +1 -0
- package/_cjs/chains/definitions/redstone.js +34 -7
- package/_cjs/chains/definitions/redstone.js.map +1 -1
- package/_cjs/chains/definitions/sepolia.js +1 -1
- package/_cjs/chains/definitions/sepolia.js.map +1 -1
- package/_cjs/chains/index.js +7 -5
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/chains/definitions/garnet.js +48 -0
- package/_esm/chains/definitions/garnet.js.map +1 -0
- package/_esm/chains/definitions/redstone.js +34 -7
- package/_esm/chains/definitions/redstone.js.map +1 -1
- package/_esm/chains/definitions/sepolia.js +1 -1
- package/_esm/chains/definitions/sepolia.js.map +1 -1
- package/_esm/chains/index.js +1 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/definitions/garnet.d.ts +300 -0
- package/_types/chains/definitions/garnet.d.ts.map +1 -0
- package/_types/chains/definitions/redstone.d.ts +277 -14
- package/_types/chains/definitions/redstone.d.ts.map +1 -1
- package/_types/chains/definitions/sepolia.d.ts +1 -1
- package/_types/chains/index.d.ts +1 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/chains/definitions/garnet.ts +49 -0
- package/chains/definitions/redstone.ts +35 -7
- package/chains/definitions/sepolia.ts +1 -1
- package/chains/index.ts +1 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -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: "
|
5
|
-
readonly url: "
|
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
|
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
|
35
|
-
|
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":"
|
1
|
+
{"version":3,"file":"redstone.d.ts","sourceRoot":"","sources":["../../../chains/definitions/redstone.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CnB,CAAA"}
|
package/_types/chains/index.d.ts
CHANGED
@@ -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';
|