@fangorn-network/sdk 0.1.6 → 0.2.0
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.
- package/lib/cli/cli.js +83 -46
- package/lib/cli/sell.d.ts +2 -2
- package/lib/cli/sell.js +14 -8
- package/lib/cli/stage.d.ts +21 -3
- package/lib/cli/stage.js +110 -24
- package/lib/config.d.ts +480 -154
- package/lib/config.js +11 -2
- package/lib/contracts/data-registry/abi.d.ts +41 -0
- package/lib/contracts/data-registry/abi.js +46 -0
- package/lib/contracts/data-registry/index.d.ts +45 -3
- package/lib/contracts/data-registry/index.js +69 -14
- package/lib/contracts/data-registry/mmr.d.ts +9 -2
- package/lib/contracts/data-registry/mmr.js +6 -2
- package/lib/contracts/index.d.ts +2 -2
- package/lib/contracts/index.js +2 -2
- package/lib/contracts/write.d.ts +17 -2
- package/lib/contracts/write.js +63 -7
- package/lib/crypto/encryption.js +3 -0
- package/lib/crypto/paid.d.ts +1 -1
- package/lib/crypto/paid.js +4 -1
- package/lib/engine/index.d.ts +9 -2
- package/lib/engine/index.js +33 -17
- package/lib/engine/records.d.ts +9 -1
- package/lib/engine/records.js +32 -6
- package/lib/erc8004.d.ts +1 -1
- package/lib/erc8004.js +12 -5
- package/lib/fangorn.d.ts +11 -1
- package/lib/fangorn.js +25 -11
- package/lib/feed.d.ts +23 -2
- package/lib/feed.js +43 -6
- package/lib/index.d.ts +3 -3
- package/lib/index.js +4 -4
- package/lib/providers/storage/index.js +1 -1
- package/lib/providers/storage/pinata.js +14 -6
- package/lib/providers/storage/signed-url.js +21 -8
- package/lib/providers/storage/types.d.ts +9 -1
- package/lib/providers/storage/types.js +54 -1
- package/lib/providers/storage/utils.d.ts +3 -1
- package/lib/providers/storage/utils.js +3 -3
- package/lib/test/mem-registry.d.ts +3 -3
- package/lib/test/mem-registry.js +7 -5
- package/lib/test/testbed.d.ts +5183 -5183
- package/package.json +6 -3
package/lib/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as viem_chains0 from "viem/chains";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Chain, Hex } from "viem";
|
|
4
4
|
|
|
5
5
|
//#region src/config.d.ts
|
|
@@ -99,7 +99,7 @@ declare const BaseSepoliaConfig: {
|
|
|
99
99
|
testnet: true;
|
|
100
100
|
custom?: Record<string, unknown> | undefined;
|
|
101
101
|
extendSchema?: Record<string, unknown> | undefined;
|
|
102
|
-
fees?:
|
|
102
|
+
fees?: viem0.ChainFees<undefined> | undefined;
|
|
103
103
|
formatters: {
|
|
104
104
|
readonly block: {
|
|
105
105
|
exclude: [] | undefined;
|
|
@@ -108,28 +108,28 @@ declare const BaseSepoliaConfig: {
|
|
|
108
108
|
blobGasUsed: bigint;
|
|
109
109
|
difficulty: bigint;
|
|
110
110
|
excessBlobGas: bigint;
|
|
111
|
-
extraData:
|
|
111
|
+
extraData: viem0.Hex;
|
|
112
112
|
gasLimit: bigint;
|
|
113
113
|
gasUsed: bigint;
|
|
114
114
|
hash: `0x${string}` | null;
|
|
115
115
|
logsBloom: `0x${string}` | null;
|
|
116
|
-
miner:
|
|
117
|
-
mixHash:
|
|
116
|
+
miner: viem0.Address;
|
|
117
|
+
mixHash: viem0.Hash;
|
|
118
118
|
nonce: `0x${string}` | null;
|
|
119
119
|
number: bigint | null;
|
|
120
120
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
121
|
-
parentHash:
|
|
122
|
-
receiptsRoot:
|
|
123
|
-
sealFields:
|
|
124
|
-
sha3Uncles:
|
|
121
|
+
parentHash: viem0.Hash;
|
|
122
|
+
receiptsRoot: viem0.Hex;
|
|
123
|
+
sealFields: viem0.Hex[];
|
|
124
|
+
sha3Uncles: viem0.Hash;
|
|
125
125
|
size: bigint;
|
|
126
|
-
stateRoot:
|
|
126
|
+
stateRoot: viem0.Hash;
|
|
127
127
|
timestamp: bigint;
|
|
128
128
|
totalDifficulty: bigint | null;
|
|
129
129
|
transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
|
|
130
|
-
transactionsRoot:
|
|
131
|
-
uncles:
|
|
132
|
-
withdrawals?:
|
|
130
|
+
transactionsRoot: viem0.Hash;
|
|
131
|
+
uncles: viem0.Hash[];
|
|
132
|
+
withdrawals?: viem0.Withdrawal[] | undefined | undefined;
|
|
133
133
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
134
134
|
} & {};
|
|
135
135
|
type: "block";
|
|
@@ -139,16 +139,16 @@ declare const BaseSepoliaConfig: {
|
|
|
139
139
|
format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
140
140
|
blockHash: `0x${string}` | null;
|
|
141
141
|
blockNumber: bigint | null;
|
|
142
|
-
from:
|
|
142
|
+
from: viem0.Address;
|
|
143
143
|
gas: bigint;
|
|
144
|
-
hash:
|
|
145
|
-
input:
|
|
144
|
+
hash: viem0.Hash;
|
|
145
|
+
input: viem0.Hex;
|
|
146
146
|
nonce: number;
|
|
147
|
-
r:
|
|
148
|
-
s:
|
|
149
|
-
to:
|
|
147
|
+
r: viem0.Hex;
|
|
148
|
+
s: viem0.Hex;
|
|
149
|
+
to: viem0.Address | null;
|
|
150
150
|
transactionIndex: number | null;
|
|
151
|
-
typeHex:
|
|
151
|
+
typeHex: viem0.Hex | null;
|
|
152
152
|
v: bigint;
|
|
153
153
|
value: bigint;
|
|
154
154
|
yParity: number;
|
|
@@ -158,23 +158,23 @@ declare const BaseSepoliaConfig: {
|
|
|
158
158
|
maxPriorityFeePerGas: bigint;
|
|
159
159
|
isSystemTx?: boolean;
|
|
160
160
|
mint?: bigint | undefined | undefined;
|
|
161
|
-
sourceHash:
|
|
161
|
+
sourceHash: viem0.Hex;
|
|
162
162
|
type: "deposit";
|
|
163
163
|
} | {
|
|
164
|
-
r:
|
|
165
|
-
s:
|
|
164
|
+
r: viem0.Hex;
|
|
165
|
+
s: viem0.Hex;
|
|
166
166
|
v: bigint;
|
|
167
|
-
to:
|
|
168
|
-
from:
|
|
167
|
+
to: viem0.Address | null;
|
|
168
|
+
from: viem0.Address;
|
|
169
169
|
gas: bigint;
|
|
170
170
|
nonce: number;
|
|
171
171
|
value: bigint;
|
|
172
172
|
blockHash: `0x${string}` | null;
|
|
173
173
|
blockNumber: bigint | null;
|
|
174
|
-
hash:
|
|
175
|
-
input:
|
|
174
|
+
hash: viem0.Hash;
|
|
175
|
+
input: viem0.Hex;
|
|
176
176
|
transactionIndex: number | null;
|
|
177
|
-
typeHex:
|
|
177
|
+
typeHex: viem0.Hex | null;
|
|
178
178
|
accessList?: undefined | undefined;
|
|
179
179
|
authorizationList?: undefined | undefined;
|
|
180
180
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -191,20 +191,20 @@ declare const BaseSepoliaConfig: {
|
|
|
191
191
|
} | {
|
|
192
192
|
blockHash: `0x${string}` | null;
|
|
193
193
|
blockNumber: bigint | null;
|
|
194
|
-
from:
|
|
194
|
+
from: viem0.Address;
|
|
195
195
|
gas: bigint;
|
|
196
|
-
hash:
|
|
197
|
-
input:
|
|
196
|
+
hash: viem0.Hash;
|
|
197
|
+
input: viem0.Hex;
|
|
198
198
|
nonce: number;
|
|
199
|
-
r:
|
|
200
|
-
s:
|
|
201
|
-
to:
|
|
199
|
+
r: viem0.Hex;
|
|
200
|
+
s: viem0.Hex;
|
|
201
|
+
to: viem0.Address | null;
|
|
202
202
|
transactionIndex: number | null;
|
|
203
|
-
typeHex:
|
|
203
|
+
typeHex: viem0.Hex | null;
|
|
204
204
|
v: bigint;
|
|
205
205
|
value: bigint;
|
|
206
206
|
yParity: number;
|
|
207
|
-
accessList:
|
|
207
|
+
accessList: viem0.AccessList;
|
|
208
208
|
authorizationList?: undefined | undefined;
|
|
209
209
|
blobVersionedHashes?: undefined | undefined;
|
|
210
210
|
chainId: number;
|
|
@@ -219,20 +219,20 @@ declare const BaseSepoliaConfig: {
|
|
|
219
219
|
} | {
|
|
220
220
|
blockHash: `0x${string}` | null;
|
|
221
221
|
blockNumber: bigint | null;
|
|
222
|
-
from:
|
|
222
|
+
from: viem0.Address;
|
|
223
223
|
gas: bigint;
|
|
224
|
-
hash:
|
|
225
|
-
input:
|
|
224
|
+
hash: viem0.Hash;
|
|
225
|
+
input: viem0.Hex;
|
|
226
226
|
nonce: number;
|
|
227
|
-
r:
|
|
228
|
-
s:
|
|
229
|
-
to:
|
|
227
|
+
r: viem0.Hex;
|
|
228
|
+
s: viem0.Hex;
|
|
229
|
+
to: viem0.Address | null;
|
|
230
230
|
transactionIndex: number | null;
|
|
231
|
-
typeHex:
|
|
231
|
+
typeHex: viem0.Hex | null;
|
|
232
232
|
v: bigint;
|
|
233
233
|
value: bigint;
|
|
234
234
|
yParity: number;
|
|
235
|
-
accessList:
|
|
235
|
+
accessList: viem0.AccessList;
|
|
236
236
|
authorizationList?: undefined | undefined;
|
|
237
237
|
blobVersionedHashes?: undefined | undefined;
|
|
238
238
|
chainId: number;
|
|
@@ -247,22 +247,22 @@ declare const BaseSepoliaConfig: {
|
|
|
247
247
|
} | {
|
|
248
248
|
blockHash: `0x${string}` | null;
|
|
249
249
|
blockNumber: bigint | null;
|
|
250
|
-
from:
|
|
250
|
+
from: viem0.Address;
|
|
251
251
|
gas: bigint;
|
|
252
|
-
hash:
|
|
253
|
-
input:
|
|
252
|
+
hash: viem0.Hash;
|
|
253
|
+
input: viem0.Hex;
|
|
254
254
|
nonce: number;
|
|
255
|
-
r:
|
|
256
|
-
s:
|
|
257
|
-
to:
|
|
255
|
+
r: viem0.Hex;
|
|
256
|
+
s: viem0.Hex;
|
|
257
|
+
to: viem0.Address | null;
|
|
258
258
|
transactionIndex: number | null;
|
|
259
|
-
typeHex:
|
|
259
|
+
typeHex: viem0.Hex | null;
|
|
260
260
|
v: bigint;
|
|
261
261
|
value: bigint;
|
|
262
262
|
yParity: number;
|
|
263
|
-
accessList:
|
|
263
|
+
accessList: viem0.AccessList;
|
|
264
264
|
authorizationList?: undefined | undefined;
|
|
265
|
-
blobVersionedHashes: readonly
|
|
265
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
266
266
|
chainId: number;
|
|
267
267
|
type: "eip4844";
|
|
268
268
|
gasPrice?: undefined | undefined;
|
|
@@ -275,21 +275,21 @@ declare const BaseSepoliaConfig: {
|
|
|
275
275
|
} | {
|
|
276
276
|
blockHash: `0x${string}` | null;
|
|
277
277
|
blockNumber: bigint | null;
|
|
278
|
-
from:
|
|
278
|
+
from: viem0.Address;
|
|
279
279
|
gas: bigint;
|
|
280
|
-
hash:
|
|
281
|
-
input:
|
|
280
|
+
hash: viem0.Hash;
|
|
281
|
+
input: viem0.Hex;
|
|
282
282
|
nonce: number;
|
|
283
|
-
r:
|
|
284
|
-
s:
|
|
285
|
-
to:
|
|
283
|
+
r: viem0.Hex;
|
|
284
|
+
s: viem0.Hex;
|
|
285
|
+
to: viem0.Address | null;
|
|
286
286
|
transactionIndex: number | null;
|
|
287
|
-
typeHex:
|
|
287
|
+
typeHex: viem0.Hex | null;
|
|
288
288
|
v: bigint;
|
|
289
289
|
value: bigint;
|
|
290
290
|
yParity: number;
|
|
291
|
-
accessList:
|
|
292
|
-
authorizationList:
|
|
291
|
+
accessList: viem0.AccessList;
|
|
292
|
+
authorizationList: viem0.SignedAuthorizationList;
|
|
293
293
|
blobVersionedHashes?: undefined | undefined;
|
|
294
294
|
chainId: number;
|
|
295
295
|
type: "eip7702";
|
|
@@ -308,22 +308,22 @@ declare const BaseSepoliaConfig: {
|
|
|
308
308
|
format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
309
309
|
blobGasPrice?: bigint | undefined;
|
|
310
310
|
blobGasUsed?: bigint | undefined;
|
|
311
|
-
blockHash:
|
|
311
|
+
blockHash: viem0.Hash;
|
|
312
312
|
blockNumber: bigint;
|
|
313
313
|
blockTimestamp?: bigint | undefined;
|
|
314
|
-
contractAddress:
|
|
314
|
+
contractAddress: viem0.Address | null | undefined;
|
|
315
315
|
cumulativeGasUsed: bigint;
|
|
316
316
|
effectiveGasPrice: bigint;
|
|
317
|
-
from:
|
|
317
|
+
from: viem0.Address;
|
|
318
318
|
gasUsed: bigint;
|
|
319
|
-
logs:
|
|
320
|
-
logsBloom:
|
|
319
|
+
logs: viem0.Log<bigint, number, false>[];
|
|
320
|
+
logsBloom: viem0.Hex;
|
|
321
321
|
root?: `0x${string}` | undefined;
|
|
322
322
|
status: "success" | "reverted";
|
|
323
|
-
to:
|
|
324
|
-
transactionHash:
|
|
323
|
+
to: viem0.Address | null;
|
|
324
|
+
transactionHash: viem0.Hash;
|
|
325
325
|
transactionIndex: number;
|
|
326
|
-
type:
|
|
326
|
+
type: viem0.TransactionType;
|
|
327
327
|
l1GasPrice: bigint | null;
|
|
328
328
|
l1GasUsed: bigint | null;
|
|
329
329
|
l1Fee: bigint | null;
|
|
@@ -332,17 +332,17 @@ declare const BaseSepoliaConfig: {
|
|
|
332
332
|
type: "transactionReceipt";
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
|
-
prepareTransactionRequest?: ((args:
|
|
335
|
+
prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
|
|
336
336
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
337
|
-
}) => Promise<
|
|
337
|
+
}) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
|
|
338
338
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
339
|
-
}) => Promise<
|
|
339
|
+
}) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
340
340
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
341
341
|
}] | undefined;
|
|
342
342
|
serializers: {
|
|
343
343
|
readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
|
|
344
344
|
};
|
|
345
|
-
verifyHash?: ((client:
|
|
345
|
+
verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
|
|
346
346
|
readonly network: "base-sepolia";
|
|
347
347
|
};
|
|
348
348
|
rpcUrl: string;
|
|
@@ -389,17 +389,17 @@ declare const ArbitrumSepoliaConfig: {
|
|
|
389
389
|
testnet: true;
|
|
390
390
|
custom?: Record<string, unknown> | undefined;
|
|
391
391
|
extendSchema?: Record<string, unknown> | undefined;
|
|
392
|
-
fees?:
|
|
392
|
+
fees?: viem0.ChainFees<undefined> | undefined;
|
|
393
393
|
formatters?: undefined;
|
|
394
|
-
prepareTransactionRequest?: ((args:
|
|
394
|
+
prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
|
|
395
395
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
396
|
-
}) => Promise<
|
|
396
|
+
}) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
|
|
397
397
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
398
|
-
}) => Promise<
|
|
398
|
+
}) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
399
399
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
400
400
|
}] | undefined;
|
|
401
|
-
serializers?:
|
|
402
|
-
verifyHash?: ((client:
|
|
401
|
+
serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
|
|
402
|
+
verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
|
|
403
403
|
};
|
|
404
404
|
rpcUrl: string;
|
|
405
405
|
caip2: number;
|
|
@@ -408,6 +408,332 @@ declare const ArbitrumSepoliaConfig: {
|
|
|
408
408
|
signedUrlWorker: string;
|
|
409
409
|
keyServer: string;
|
|
410
410
|
};
|
|
411
|
+
declare const BaseConfig: {
|
|
412
|
+
dataRegistryContractAddress: "0x3206C1FBb8fD62DEDBCBdc2eDa09cDff3039Db2B";
|
|
413
|
+
fromBlock: bigint;
|
|
414
|
+
chain: {
|
|
415
|
+
blockExplorers: {
|
|
416
|
+
readonly default: {
|
|
417
|
+
readonly name: "Basescan";
|
|
418
|
+
readonly url: "https://basescan.org";
|
|
419
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
blockTime: 2000;
|
|
423
|
+
contracts: {
|
|
424
|
+
readonly disputeGameFactory: {
|
|
425
|
+
readonly 1: {
|
|
426
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
readonly l2OutputOracle: {
|
|
430
|
+
readonly 1: {
|
|
431
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
readonly multicall3: {
|
|
435
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
436
|
+
readonly blockCreated: 5022;
|
|
437
|
+
};
|
|
438
|
+
readonly portal: {
|
|
439
|
+
readonly 1: {
|
|
440
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
441
|
+
readonly blockCreated: 17482143;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
readonly l1StandardBridge: {
|
|
445
|
+
readonly 1: {
|
|
446
|
+
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
447
|
+
readonly blockCreated: 17482143;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
readonly gasPriceOracle: {
|
|
451
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
452
|
+
};
|
|
453
|
+
readonly l1Block: {
|
|
454
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
455
|
+
};
|
|
456
|
+
readonly l2CrossDomainMessenger: {
|
|
457
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
458
|
+
};
|
|
459
|
+
readonly l2Erc721Bridge: {
|
|
460
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
461
|
+
};
|
|
462
|
+
readonly l2StandardBridge: {
|
|
463
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
464
|
+
};
|
|
465
|
+
readonly l2ToL1MessagePasser: {
|
|
466
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
ensTlds?: readonly string[] | undefined;
|
|
470
|
+
id: 8453;
|
|
471
|
+
name: "Base";
|
|
472
|
+
nativeCurrency: {
|
|
473
|
+
readonly name: "Ether";
|
|
474
|
+
readonly symbol: "ETH";
|
|
475
|
+
readonly decimals: 18;
|
|
476
|
+
};
|
|
477
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
478
|
+
rpcUrls: {
|
|
479
|
+
readonly default: {
|
|
480
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
sourceId: 1;
|
|
484
|
+
testnet?: boolean | undefined | undefined;
|
|
485
|
+
custom?: Record<string, unknown> | undefined;
|
|
486
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
487
|
+
fees?: viem0.ChainFees<undefined> | undefined;
|
|
488
|
+
formatters: {
|
|
489
|
+
readonly block: {
|
|
490
|
+
exclude: [] | undefined;
|
|
491
|
+
format: (args: viem_chains0.OpStackRpcBlock, action?: string | undefined) => {
|
|
492
|
+
baseFeePerGas: bigint | null;
|
|
493
|
+
blobGasUsed: bigint;
|
|
494
|
+
difficulty: bigint;
|
|
495
|
+
excessBlobGas: bigint;
|
|
496
|
+
extraData: viem0.Hex;
|
|
497
|
+
gasLimit: bigint;
|
|
498
|
+
gasUsed: bigint;
|
|
499
|
+
hash: `0x${string}` | null;
|
|
500
|
+
logsBloom: `0x${string}` | null;
|
|
501
|
+
miner: viem0.Address;
|
|
502
|
+
mixHash: viem0.Hash;
|
|
503
|
+
nonce: `0x${string}` | null;
|
|
504
|
+
number: bigint | null;
|
|
505
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
506
|
+
parentHash: viem0.Hash;
|
|
507
|
+
receiptsRoot: viem0.Hex;
|
|
508
|
+
sealFields: viem0.Hex[];
|
|
509
|
+
sha3Uncles: viem0.Hash;
|
|
510
|
+
size: bigint;
|
|
511
|
+
stateRoot: viem0.Hash;
|
|
512
|
+
timestamp: bigint;
|
|
513
|
+
totalDifficulty: bigint | null;
|
|
514
|
+
transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
|
|
515
|
+
transactionsRoot: viem0.Hash;
|
|
516
|
+
uncles: viem0.Hash[];
|
|
517
|
+
withdrawals?: viem0.Withdrawal[] | undefined | undefined;
|
|
518
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
519
|
+
} & {};
|
|
520
|
+
type: "block";
|
|
521
|
+
};
|
|
522
|
+
readonly transaction: {
|
|
523
|
+
exclude: [] | undefined;
|
|
524
|
+
format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
525
|
+
blockHash: `0x${string}` | null;
|
|
526
|
+
blockNumber: bigint | null;
|
|
527
|
+
from: viem0.Address;
|
|
528
|
+
gas: bigint;
|
|
529
|
+
hash: viem0.Hash;
|
|
530
|
+
input: viem0.Hex;
|
|
531
|
+
nonce: number;
|
|
532
|
+
r: viem0.Hex;
|
|
533
|
+
s: viem0.Hex;
|
|
534
|
+
to: viem0.Address | null;
|
|
535
|
+
transactionIndex: number | null;
|
|
536
|
+
typeHex: viem0.Hex | null;
|
|
537
|
+
v: bigint;
|
|
538
|
+
value: bigint;
|
|
539
|
+
yParity: number;
|
|
540
|
+
gasPrice?: undefined | undefined;
|
|
541
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
542
|
+
maxFeePerGas: bigint;
|
|
543
|
+
maxPriorityFeePerGas: bigint;
|
|
544
|
+
isSystemTx?: boolean;
|
|
545
|
+
mint?: bigint | undefined | undefined;
|
|
546
|
+
sourceHash: viem0.Hex;
|
|
547
|
+
type: "deposit";
|
|
548
|
+
} | {
|
|
549
|
+
r: viem0.Hex;
|
|
550
|
+
s: viem0.Hex;
|
|
551
|
+
v: bigint;
|
|
552
|
+
to: viem0.Address | null;
|
|
553
|
+
from: viem0.Address;
|
|
554
|
+
gas: bigint;
|
|
555
|
+
nonce: number;
|
|
556
|
+
value: bigint;
|
|
557
|
+
blockHash: `0x${string}` | null;
|
|
558
|
+
blockNumber: bigint | null;
|
|
559
|
+
hash: viem0.Hash;
|
|
560
|
+
input: viem0.Hex;
|
|
561
|
+
transactionIndex: number | null;
|
|
562
|
+
typeHex: viem0.Hex | null;
|
|
563
|
+
accessList?: undefined | undefined;
|
|
564
|
+
authorizationList?: undefined | undefined;
|
|
565
|
+
blobVersionedHashes?: undefined | undefined;
|
|
566
|
+
chainId?: number | undefined;
|
|
567
|
+
yParity?: undefined | undefined;
|
|
568
|
+
type: "legacy";
|
|
569
|
+
gasPrice: bigint;
|
|
570
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
571
|
+
maxFeePerGas?: undefined | undefined;
|
|
572
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
573
|
+
isSystemTx?: undefined | undefined;
|
|
574
|
+
mint?: undefined | undefined;
|
|
575
|
+
sourceHash?: undefined | undefined;
|
|
576
|
+
} | {
|
|
577
|
+
blockHash: `0x${string}` | null;
|
|
578
|
+
blockNumber: bigint | null;
|
|
579
|
+
from: viem0.Address;
|
|
580
|
+
gas: bigint;
|
|
581
|
+
hash: viem0.Hash;
|
|
582
|
+
input: viem0.Hex;
|
|
583
|
+
nonce: number;
|
|
584
|
+
r: viem0.Hex;
|
|
585
|
+
s: viem0.Hex;
|
|
586
|
+
to: viem0.Address | null;
|
|
587
|
+
transactionIndex: number | null;
|
|
588
|
+
typeHex: viem0.Hex | null;
|
|
589
|
+
v: bigint;
|
|
590
|
+
value: bigint;
|
|
591
|
+
yParity: number;
|
|
592
|
+
accessList: viem0.AccessList;
|
|
593
|
+
authorizationList?: undefined | undefined;
|
|
594
|
+
blobVersionedHashes?: undefined | undefined;
|
|
595
|
+
chainId: number;
|
|
596
|
+
type: "eip2930";
|
|
597
|
+
gasPrice: bigint;
|
|
598
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
599
|
+
maxFeePerGas?: undefined | undefined;
|
|
600
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
601
|
+
isSystemTx?: undefined | undefined;
|
|
602
|
+
mint?: undefined | undefined;
|
|
603
|
+
sourceHash?: undefined | undefined;
|
|
604
|
+
} | {
|
|
605
|
+
blockHash: `0x${string}` | null;
|
|
606
|
+
blockNumber: bigint | null;
|
|
607
|
+
from: viem0.Address;
|
|
608
|
+
gas: bigint;
|
|
609
|
+
hash: viem0.Hash;
|
|
610
|
+
input: viem0.Hex;
|
|
611
|
+
nonce: number;
|
|
612
|
+
r: viem0.Hex;
|
|
613
|
+
s: viem0.Hex;
|
|
614
|
+
to: viem0.Address | null;
|
|
615
|
+
transactionIndex: number | null;
|
|
616
|
+
typeHex: viem0.Hex | null;
|
|
617
|
+
v: bigint;
|
|
618
|
+
value: bigint;
|
|
619
|
+
yParity: number;
|
|
620
|
+
accessList: viem0.AccessList;
|
|
621
|
+
authorizationList?: undefined | undefined;
|
|
622
|
+
blobVersionedHashes?: undefined | undefined;
|
|
623
|
+
chainId: number;
|
|
624
|
+
type: "eip1559";
|
|
625
|
+
gasPrice?: undefined | undefined;
|
|
626
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
627
|
+
maxFeePerGas: bigint;
|
|
628
|
+
maxPriorityFeePerGas: bigint;
|
|
629
|
+
isSystemTx?: undefined | undefined;
|
|
630
|
+
mint?: undefined | undefined;
|
|
631
|
+
sourceHash?: undefined | undefined;
|
|
632
|
+
} | {
|
|
633
|
+
blockHash: `0x${string}` | null;
|
|
634
|
+
blockNumber: bigint | null;
|
|
635
|
+
from: viem0.Address;
|
|
636
|
+
gas: bigint;
|
|
637
|
+
hash: viem0.Hash;
|
|
638
|
+
input: viem0.Hex;
|
|
639
|
+
nonce: number;
|
|
640
|
+
r: viem0.Hex;
|
|
641
|
+
s: viem0.Hex;
|
|
642
|
+
to: viem0.Address | null;
|
|
643
|
+
transactionIndex: number | null;
|
|
644
|
+
typeHex: viem0.Hex | null;
|
|
645
|
+
v: bigint;
|
|
646
|
+
value: bigint;
|
|
647
|
+
yParity: number;
|
|
648
|
+
accessList: viem0.AccessList;
|
|
649
|
+
authorizationList?: undefined | undefined;
|
|
650
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
651
|
+
chainId: number;
|
|
652
|
+
type: "eip4844";
|
|
653
|
+
gasPrice?: undefined | undefined;
|
|
654
|
+
maxFeePerBlobGas: bigint;
|
|
655
|
+
maxFeePerGas: bigint;
|
|
656
|
+
maxPriorityFeePerGas: bigint;
|
|
657
|
+
isSystemTx?: undefined | undefined;
|
|
658
|
+
mint?: undefined | undefined;
|
|
659
|
+
sourceHash?: undefined | undefined;
|
|
660
|
+
} | {
|
|
661
|
+
blockHash: `0x${string}` | null;
|
|
662
|
+
blockNumber: bigint | null;
|
|
663
|
+
from: viem0.Address;
|
|
664
|
+
gas: bigint;
|
|
665
|
+
hash: viem0.Hash;
|
|
666
|
+
input: viem0.Hex;
|
|
667
|
+
nonce: number;
|
|
668
|
+
r: viem0.Hex;
|
|
669
|
+
s: viem0.Hex;
|
|
670
|
+
to: viem0.Address | null;
|
|
671
|
+
transactionIndex: number | null;
|
|
672
|
+
typeHex: viem0.Hex | null;
|
|
673
|
+
v: bigint;
|
|
674
|
+
value: bigint;
|
|
675
|
+
yParity: number;
|
|
676
|
+
accessList: viem0.AccessList;
|
|
677
|
+
authorizationList: viem0.SignedAuthorizationList;
|
|
678
|
+
blobVersionedHashes?: undefined | undefined;
|
|
679
|
+
chainId: number;
|
|
680
|
+
type: "eip7702";
|
|
681
|
+
gasPrice?: undefined | undefined;
|
|
682
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
683
|
+
maxFeePerGas: bigint;
|
|
684
|
+
maxPriorityFeePerGas: bigint;
|
|
685
|
+
isSystemTx?: undefined | undefined;
|
|
686
|
+
mint?: undefined | undefined;
|
|
687
|
+
sourceHash?: undefined | undefined;
|
|
688
|
+
}) & {};
|
|
689
|
+
type: "transaction";
|
|
690
|
+
};
|
|
691
|
+
readonly transactionReceipt: {
|
|
692
|
+
exclude: [] | undefined;
|
|
693
|
+
format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
694
|
+
blobGasPrice?: bigint | undefined;
|
|
695
|
+
blobGasUsed?: bigint | undefined;
|
|
696
|
+
blockHash: viem0.Hash;
|
|
697
|
+
blockNumber: bigint;
|
|
698
|
+
blockTimestamp?: bigint | undefined;
|
|
699
|
+
contractAddress: viem0.Address | null | undefined;
|
|
700
|
+
cumulativeGasUsed: bigint;
|
|
701
|
+
effectiveGasPrice: bigint;
|
|
702
|
+
from: viem0.Address;
|
|
703
|
+
gasUsed: bigint;
|
|
704
|
+
logs: viem0.Log<bigint, number, false>[];
|
|
705
|
+
logsBloom: viem0.Hex;
|
|
706
|
+
root?: `0x${string}` | undefined;
|
|
707
|
+
status: "success" | "reverted";
|
|
708
|
+
to: viem0.Address | null;
|
|
709
|
+
transactionHash: viem0.Hash;
|
|
710
|
+
transactionIndex: number;
|
|
711
|
+
type: viem0.TransactionType;
|
|
712
|
+
l1GasPrice: bigint | null;
|
|
713
|
+
l1GasUsed: bigint | null;
|
|
714
|
+
l1Fee: bigint | null;
|
|
715
|
+
l1FeeScalar: number | null;
|
|
716
|
+
} & {};
|
|
717
|
+
type: "transactionReceipt";
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
|
|
721
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
722
|
+
}) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
|
|
723
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
724
|
+
}) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
725
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
726
|
+
}] | undefined;
|
|
727
|
+
serializers: {
|
|
728
|
+
readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
|
|
729
|
+
};
|
|
730
|
+
verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
|
|
731
|
+
};
|
|
732
|
+
rpcUrl: string;
|
|
733
|
+
caip2: number;
|
|
734
|
+
ipfsGateway: string;
|
|
735
|
+
logWindow: bigint;
|
|
736
|
+
};
|
|
411
737
|
/**
|
|
412
738
|
* The default network: what `Fangorn.create` uses without a `config`, and the CLI
|
|
413
739
|
* without `CHAIN_NAME`. Base Sepolia; Arbitrum Sepolia runs the same contracts.
|
|
@@ -489,7 +815,7 @@ declare const FangornConfig: {
|
|
|
489
815
|
testnet: true;
|
|
490
816
|
custom?: Record<string, unknown> | undefined;
|
|
491
817
|
extendSchema?: Record<string, unknown> | undefined;
|
|
492
|
-
fees?:
|
|
818
|
+
fees?: viem0.ChainFees<undefined> | undefined;
|
|
493
819
|
formatters: {
|
|
494
820
|
readonly block: {
|
|
495
821
|
exclude: [] | undefined;
|
|
@@ -498,28 +824,28 @@ declare const FangornConfig: {
|
|
|
498
824
|
blobGasUsed: bigint;
|
|
499
825
|
difficulty: bigint;
|
|
500
826
|
excessBlobGas: bigint;
|
|
501
|
-
extraData:
|
|
827
|
+
extraData: viem0.Hex;
|
|
502
828
|
gasLimit: bigint;
|
|
503
829
|
gasUsed: bigint;
|
|
504
830
|
hash: `0x${string}` | null;
|
|
505
831
|
logsBloom: `0x${string}` | null;
|
|
506
|
-
miner:
|
|
507
|
-
mixHash:
|
|
832
|
+
miner: viem0.Address;
|
|
833
|
+
mixHash: viem0.Hash;
|
|
508
834
|
nonce: `0x${string}` | null;
|
|
509
835
|
number: bigint | null;
|
|
510
836
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
511
|
-
parentHash:
|
|
512
|
-
receiptsRoot:
|
|
513
|
-
sealFields:
|
|
514
|
-
sha3Uncles:
|
|
837
|
+
parentHash: viem0.Hash;
|
|
838
|
+
receiptsRoot: viem0.Hex;
|
|
839
|
+
sealFields: viem0.Hex[];
|
|
840
|
+
sha3Uncles: viem0.Hash;
|
|
515
841
|
size: bigint;
|
|
516
|
-
stateRoot:
|
|
842
|
+
stateRoot: viem0.Hash;
|
|
517
843
|
timestamp: bigint;
|
|
518
844
|
totalDifficulty: bigint | null;
|
|
519
845
|
transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
|
|
520
|
-
transactionsRoot:
|
|
521
|
-
uncles:
|
|
522
|
-
withdrawals?:
|
|
846
|
+
transactionsRoot: viem0.Hash;
|
|
847
|
+
uncles: viem0.Hash[];
|
|
848
|
+
withdrawals?: viem0.Withdrawal[] | undefined | undefined;
|
|
523
849
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
524
850
|
} & {};
|
|
525
851
|
type: "block";
|
|
@@ -529,16 +855,16 @@ declare const FangornConfig: {
|
|
|
529
855
|
format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
530
856
|
blockHash: `0x${string}` | null;
|
|
531
857
|
blockNumber: bigint | null;
|
|
532
|
-
from:
|
|
858
|
+
from: viem0.Address;
|
|
533
859
|
gas: bigint;
|
|
534
|
-
hash:
|
|
535
|
-
input:
|
|
860
|
+
hash: viem0.Hash;
|
|
861
|
+
input: viem0.Hex;
|
|
536
862
|
nonce: number;
|
|
537
|
-
r:
|
|
538
|
-
s:
|
|
539
|
-
to:
|
|
863
|
+
r: viem0.Hex;
|
|
864
|
+
s: viem0.Hex;
|
|
865
|
+
to: viem0.Address | null;
|
|
540
866
|
transactionIndex: number | null;
|
|
541
|
-
typeHex:
|
|
867
|
+
typeHex: viem0.Hex | null;
|
|
542
868
|
v: bigint;
|
|
543
869
|
value: bigint;
|
|
544
870
|
yParity: number;
|
|
@@ -548,23 +874,23 @@ declare const FangornConfig: {
|
|
|
548
874
|
maxPriorityFeePerGas: bigint;
|
|
549
875
|
isSystemTx?: boolean;
|
|
550
876
|
mint?: bigint | undefined | undefined;
|
|
551
|
-
sourceHash:
|
|
877
|
+
sourceHash: viem0.Hex;
|
|
552
878
|
type: "deposit";
|
|
553
879
|
} | {
|
|
554
|
-
r:
|
|
555
|
-
s:
|
|
880
|
+
r: viem0.Hex;
|
|
881
|
+
s: viem0.Hex;
|
|
556
882
|
v: bigint;
|
|
557
|
-
to:
|
|
558
|
-
from:
|
|
883
|
+
to: viem0.Address | null;
|
|
884
|
+
from: viem0.Address;
|
|
559
885
|
gas: bigint;
|
|
560
886
|
nonce: number;
|
|
561
887
|
value: bigint;
|
|
562
888
|
blockHash: `0x${string}` | null;
|
|
563
889
|
blockNumber: bigint | null;
|
|
564
|
-
hash:
|
|
565
|
-
input:
|
|
890
|
+
hash: viem0.Hash;
|
|
891
|
+
input: viem0.Hex;
|
|
566
892
|
transactionIndex: number | null;
|
|
567
|
-
typeHex:
|
|
893
|
+
typeHex: viem0.Hex | null;
|
|
568
894
|
accessList?: undefined | undefined;
|
|
569
895
|
authorizationList?: undefined | undefined;
|
|
570
896
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -581,20 +907,20 @@ declare const FangornConfig: {
|
|
|
581
907
|
} | {
|
|
582
908
|
blockHash: `0x${string}` | null;
|
|
583
909
|
blockNumber: bigint | null;
|
|
584
|
-
from:
|
|
910
|
+
from: viem0.Address;
|
|
585
911
|
gas: bigint;
|
|
586
|
-
hash:
|
|
587
|
-
input:
|
|
912
|
+
hash: viem0.Hash;
|
|
913
|
+
input: viem0.Hex;
|
|
588
914
|
nonce: number;
|
|
589
|
-
r:
|
|
590
|
-
s:
|
|
591
|
-
to:
|
|
915
|
+
r: viem0.Hex;
|
|
916
|
+
s: viem0.Hex;
|
|
917
|
+
to: viem0.Address | null;
|
|
592
918
|
transactionIndex: number | null;
|
|
593
|
-
typeHex:
|
|
919
|
+
typeHex: viem0.Hex | null;
|
|
594
920
|
v: bigint;
|
|
595
921
|
value: bigint;
|
|
596
922
|
yParity: number;
|
|
597
|
-
accessList:
|
|
923
|
+
accessList: viem0.AccessList;
|
|
598
924
|
authorizationList?: undefined | undefined;
|
|
599
925
|
blobVersionedHashes?: undefined | undefined;
|
|
600
926
|
chainId: number;
|
|
@@ -609,20 +935,20 @@ declare const FangornConfig: {
|
|
|
609
935
|
} | {
|
|
610
936
|
blockHash: `0x${string}` | null;
|
|
611
937
|
blockNumber: bigint | null;
|
|
612
|
-
from:
|
|
938
|
+
from: viem0.Address;
|
|
613
939
|
gas: bigint;
|
|
614
|
-
hash:
|
|
615
|
-
input:
|
|
940
|
+
hash: viem0.Hash;
|
|
941
|
+
input: viem0.Hex;
|
|
616
942
|
nonce: number;
|
|
617
|
-
r:
|
|
618
|
-
s:
|
|
619
|
-
to:
|
|
943
|
+
r: viem0.Hex;
|
|
944
|
+
s: viem0.Hex;
|
|
945
|
+
to: viem0.Address | null;
|
|
620
946
|
transactionIndex: number | null;
|
|
621
|
-
typeHex:
|
|
947
|
+
typeHex: viem0.Hex | null;
|
|
622
948
|
v: bigint;
|
|
623
949
|
value: bigint;
|
|
624
950
|
yParity: number;
|
|
625
|
-
accessList:
|
|
951
|
+
accessList: viem0.AccessList;
|
|
626
952
|
authorizationList?: undefined | undefined;
|
|
627
953
|
blobVersionedHashes?: undefined | undefined;
|
|
628
954
|
chainId: number;
|
|
@@ -637,22 +963,22 @@ declare const FangornConfig: {
|
|
|
637
963
|
} | {
|
|
638
964
|
blockHash: `0x${string}` | null;
|
|
639
965
|
blockNumber: bigint | null;
|
|
640
|
-
from:
|
|
966
|
+
from: viem0.Address;
|
|
641
967
|
gas: bigint;
|
|
642
|
-
hash:
|
|
643
|
-
input:
|
|
968
|
+
hash: viem0.Hash;
|
|
969
|
+
input: viem0.Hex;
|
|
644
970
|
nonce: number;
|
|
645
|
-
r:
|
|
646
|
-
s:
|
|
647
|
-
to:
|
|
971
|
+
r: viem0.Hex;
|
|
972
|
+
s: viem0.Hex;
|
|
973
|
+
to: viem0.Address | null;
|
|
648
974
|
transactionIndex: number | null;
|
|
649
|
-
typeHex:
|
|
975
|
+
typeHex: viem0.Hex | null;
|
|
650
976
|
v: bigint;
|
|
651
977
|
value: bigint;
|
|
652
978
|
yParity: number;
|
|
653
|
-
accessList:
|
|
979
|
+
accessList: viem0.AccessList;
|
|
654
980
|
authorizationList?: undefined | undefined;
|
|
655
|
-
blobVersionedHashes: readonly
|
|
981
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
656
982
|
chainId: number;
|
|
657
983
|
type: "eip4844";
|
|
658
984
|
gasPrice?: undefined | undefined;
|
|
@@ -665,21 +991,21 @@ declare const FangornConfig: {
|
|
|
665
991
|
} | {
|
|
666
992
|
blockHash: `0x${string}` | null;
|
|
667
993
|
blockNumber: bigint | null;
|
|
668
|
-
from:
|
|
994
|
+
from: viem0.Address;
|
|
669
995
|
gas: bigint;
|
|
670
|
-
hash:
|
|
671
|
-
input:
|
|
996
|
+
hash: viem0.Hash;
|
|
997
|
+
input: viem0.Hex;
|
|
672
998
|
nonce: number;
|
|
673
|
-
r:
|
|
674
|
-
s:
|
|
675
|
-
to:
|
|
999
|
+
r: viem0.Hex;
|
|
1000
|
+
s: viem0.Hex;
|
|
1001
|
+
to: viem0.Address | null;
|
|
676
1002
|
transactionIndex: number | null;
|
|
677
|
-
typeHex:
|
|
1003
|
+
typeHex: viem0.Hex | null;
|
|
678
1004
|
v: bigint;
|
|
679
1005
|
value: bigint;
|
|
680
1006
|
yParity: number;
|
|
681
|
-
accessList:
|
|
682
|
-
authorizationList:
|
|
1007
|
+
accessList: viem0.AccessList;
|
|
1008
|
+
authorizationList: viem0.SignedAuthorizationList;
|
|
683
1009
|
blobVersionedHashes?: undefined | undefined;
|
|
684
1010
|
chainId: number;
|
|
685
1011
|
type: "eip7702";
|
|
@@ -698,22 +1024,22 @@ declare const FangornConfig: {
|
|
|
698
1024
|
format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
699
1025
|
blobGasPrice?: bigint | undefined;
|
|
700
1026
|
blobGasUsed?: bigint | undefined;
|
|
701
|
-
blockHash:
|
|
1027
|
+
blockHash: viem0.Hash;
|
|
702
1028
|
blockNumber: bigint;
|
|
703
1029
|
blockTimestamp?: bigint | undefined;
|
|
704
|
-
contractAddress:
|
|
1030
|
+
contractAddress: viem0.Address | null | undefined;
|
|
705
1031
|
cumulativeGasUsed: bigint;
|
|
706
1032
|
effectiveGasPrice: bigint;
|
|
707
|
-
from:
|
|
1033
|
+
from: viem0.Address;
|
|
708
1034
|
gasUsed: bigint;
|
|
709
|
-
logs:
|
|
710
|
-
logsBloom:
|
|
1035
|
+
logs: viem0.Log<bigint, number, false>[];
|
|
1036
|
+
logsBloom: viem0.Hex;
|
|
711
1037
|
root?: `0x${string}` | undefined;
|
|
712
1038
|
status: "success" | "reverted";
|
|
713
|
-
to:
|
|
714
|
-
transactionHash:
|
|
1039
|
+
to: viem0.Address | null;
|
|
1040
|
+
transactionHash: viem0.Hash;
|
|
715
1041
|
transactionIndex: number;
|
|
716
|
-
type:
|
|
1042
|
+
type: viem0.TransactionType;
|
|
717
1043
|
l1GasPrice: bigint | null;
|
|
718
1044
|
l1GasUsed: bigint | null;
|
|
719
1045
|
l1Fee: bigint | null;
|
|
@@ -722,17 +1048,17 @@ declare const FangornConfig: {
|
|
|
722
1048
|
type: "transactionReceipt";
|
|
723
1049
|
};
|
|
724
1050
|
};
|
|
725
|
-
prepareTransactionRequest?: ((args:
|
|
1051
|
+
prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
|
|
726
1052
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
727
|
-
}) => Promise<
|
|
1053
|
+
}) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
|
|
728
1054
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
729
|
-
}) => Promise<
|
|
1055
|
+
}) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
730
1056
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
731
1057
|
}] | undefined;
|
|
732
1058
|
serializers: {
|
|
733
1059
|
readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
|
|
734
1060
|
};
|
|
735
|
-
verifyHash?: ((client:
|
|
1061
|
+
verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
|
|
736
1062
|
readonly network: "base-sepolia";
|
|
737
1063
|
};
|
|
738
1064
|
rpcUrl: string;
|
|
@@ -752,4 +1078,4 @@ declare const SupportedNetworks: Record<string, NetworkConfig>;
|
|
|
752
1078
|
*/
|
|
753
1079
|
declare function getNetwork(name: string): NetworkConfig;
|
|
754
1080
|
//#endregion
|
|
755
|
-
export { ArbitrumSepoliaConfig, BaseSepoliaConfig, FangornConfig, NetworkConfig, SupportedNetworks, getNetwork as default, nonBlank };
|
|
1081
|
+
export { ArbitrumSepoliaConfig, BaseConfig, BaseSepoliaConfig, FangornConfig, NetworkConfig, SupportedNetworks, getNetwork as default, nonBlank };
|