@fangorn-network/sdk 2026.3.29 → 2026.4.7-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/README.md +24 -31
- package/lib/cli/cli.js +18 -2
- package/lib/cli/index.d.ts +159 -159
- package/lib/config.d.ts +241 -238
- package/lib/config.js +4 -2
- package/lib/fangorn.d.ts +0 -8
- package/lib/fangorn.js +12 -29
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/modules/gadgets/settledGadget.d.ts +8 -1
- package/lib/modules/gadgets/settledGadget.js +13 -1
- package/lib/providers/storage/index.d.ts +12 -12
- package/lib/providers/storage/index.js +47 -2
- package/lib/providers/storage/pinata.d.ts +11 -0
- package/lib/providers/storage/pinata.js +24 -0
- package/lib/registries/datasource-registry/index.d.ts +4 -3
- package/lib/registries/datasource-registry/index.js +14 -2
- package/lib/registries/schema-registry/index.d.ts +2 -2
- package/lib/registries/settlement-registry/index.d.ts +2 -2
- package/lib/roles/consumer/index.d.ts +2 -24
- package/lib/roles/consumer/index.js +5 -26
- package/lib/roles/publisher/index.d.ts +17 -15
- package/lib/roles/publisher/index.js +43 -36
- package/lib/roles/publisher/types.d.ts +5 -7
- package/lib/roles/schema/index.d.ts +9 -2
- package/lib/roles/schema/index.js +35 -2
- package/lib/test/testbed.d.ts +3 -2
- package/lib/test/testbed.js +12 -8
- package/lib/types/index.d.ts +10 -20
- package/package.json +1 -1
- package/lib/providers/storage/pinata/index.d.ts +0 -13
- package/lib/providers/storage/pinata/index.js +0 -41
- package/lib/providers/storage/storacha/index.d.ts +0 -13
- package/lib/providers/storage/storacha/index.js +0 -49
- package/lib/providers/storage/storacha/readOnly.d.ts +0 -8
- package/lib/providers/storage/storacha/readOnly.js +0 -16
package/lib/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as viem_chains9 from "viem/chains";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem173 from "viem";
|
|
3
3
|
import { Chain, Hex } from "viem";
|
|
4
4
|
|
|
5
5
|
//#region src/config.d.ts
|
|
@@ -42,17 +42,17 @@ declare const SupportedNetworks: {
|
|
|
42
42
|
testnet: true;
|
|
43
43
|
custom?: Record<string, unknown> | undefined;
|
|
44
44
|
extendSchema?: Record<string, unknown> | undefined;
|
|
45
|
-
fees?:
|
|
45
|
+
fees?: viem173.ChainFees<undefined> | undefined;
|
|
46
46
|
formatters?: undefined;
|
|
47
|
-
prepareTransactionRequest?: ((args:
|
|
47
|
+
prepareTransactionRequest?: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
48
48
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
49
|
-
}) => Promise<
|
|
49
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | [fn: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
50
50
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
51
|
-
}) => Promise<
|
|
51
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
52
52
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
53
53
|
}] | undefined;
|
|
54
|
-
serializers?:
|
|
55
|
-
verifyHash?: ((client:
|
|
54
|
+
serializers?: viem173.ChainSerializers<undefined, viem173.TransactionSerializable> | undefined;
|
|
55
|
+
verifyHash?: ((client: viem173.Client, parameters: viem173.VerifyHashActionParameters) => Promise<viem173.VerifyHashActionReturnType>) | undefined;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
BaseSepolia: {
|
|
@@ -130,7 +130,7 @@ declare const SupportedNetworks: {
|
|
|
130
130
|
testnet: true;
|
|
131
131
|
custom?: Record<string, unknown> | undefined;
|
|
132
132
|
extendSchema?: Record<string, unknown> | undefined;
|
|
133
|
-
fees?:
|
|
133
|
+
fees?: viem173.ChainFees<undefined> | undefined;
|
|
134
134
|
formatters: {
|
|
135
135
|
readonly block: {
|
|
136
136
|
exclude: [] | undefined;
|
|
@@ -139,28 +139,28 @@ declare const SupportedNetworks: {
|
|
|
139
139
|
blobGasUsed: bigint;
|
|
140
140
|
difficulty: bigint;
|
|
141
141
|
excessBlobGas: bigint;
|
|
142
|
-
extraData:
|
|
142
|
+
extraData: viem173.Hex;
|
|
143
143
|
gasLimit: bigint;
|
|
144
144
|
gasUsed: bigint;
|
|
145
145
|
hash: `0x${string}` | null;
|
|
146
146
|
logsBloom: `0x${string}` | null;
|
|
147
|
-
miner:
|
|
148
|
-
mixHash:
|
|
147
|
+
miner: viem173.Address;
|
|
148
|
+
mixHash: viem173.Hash;
|
|
149
149
|
nonce: `0x${string}` | null;
|
|
150
150
|
number: bigint | null;
|
|
151
151
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
152
|
-
parentHash:
|
|
153
|
-
receiptsRoot:
|
|
154
|
-
sealFields:
|
|
155
|
-
sha3Uncles:
|
|
152
|
+
parentHash: viem173.Hash;
|
|
153
|
+
receiptsRoot: viem173.Hex;
|
|
154
|
+
sealFields: viem173.Hex[];
|
|
155
|
+
sha3Uncles: viem173.Hash;
|
|
156
156
|
size: bigint;
|
|
157
|
-
stateRoot:
|
|
157
|
+
stateRoot: viem173.Hash;
|
|
158
158
|
timestamp: bigint;
|
|
159
159
|
totalDifficulty: bigint | null;
|
|
160
160
|
transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
|
|
161
|
-
transactionsRoot:
|
|
162
|
-
uncles:
|
|
163
|
-
withdrawals?:
|
|
161
|
+
transactionsRoot: viem173.Hash;
|
|
162
|
+
uncles: viem173.Hash[];
|
|
163
|
+
withdrawals?: viem173.Withdrawal[] | undefined | undefined;
|
|
164
164
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
165
165
|
} & {};
|
|
166
166
|
type: "block";
|
|
@@ -170,16 +170,16 @@ declare const SupportedNetworks: {
|
|
|
170
170
|
format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
171
171
|
blockHash: `0x${string}` | null;
|
|
172
172
|
blockNumber: bigint | null;
|
|
173
|
-
from:
|
|
173
|
+
from: viem173.Address;
|
|
174
174
|
gas: bigint;
|
|
175
|
-
hash:
|
|
176
|
-
input:
|
|
175
|
+
hash: viem173.Hash;
|
|
176
|
+
input: viem173.Hex;
|
|
177
177
|
nonce: number;
|
|
178
|
-
r:
|
|
179
|
-
s:
|
|
180
|
-
to:
|
|
178
|
+
r: viem173.Hex;
|
|
179
|
+
s: viem173.Hex;
|
|
180
|
+
to: viem173.Address | null;
|
|
181
181
|
transactionIndex: number | null;
|
|
182
|
-
typeHex:
|
|
182
|
+
typeHex: viem173.Hex | null;
|
|
183
183
|
v: bigint;
|
|
184
184
|
value: bigint;
|
|
185
185
|
yParity: number;
|
|
@@ -189,23 +189,23 @@ declare const SupportedNetworks: {
|
|
|
189
189
|
maxPriorityFeePerGas: bigint;
|
|
190
190
|
isSystemTx?: boolean;
|
|
191
191
|
mint?: bigint | undefined | undefined;
|
|
192
|
-
sourceHash:
|
|
192
|
+
sourceHash: viem173.Hex;
|
|
193
193
|
type: "deposit";
|
|
194
194
|
} | {
|
|
195
|
-
r:
|
|
196
|
-
s:
|
|
195
|
+
r: viem173.Hex;
|
|
196
|
+
s: viem173.Hex;
|
|
197
197
|
v: bigint;
|
|
198
|
-
to:
|
|
199
|
-
from:
|
|
198
|
+
to: viem173.Address | null;
|
|
199
|
+
from: viem173.Address;
|
|
200
200
|
gas: bigint;
|
|
201
201
|
nonce: number;
|
|
202
202
|
value: bigint;
|
|
203
203
|
blockHash: `0x${string}` | null;
|
|
204
204
|
blockNumber: bigint | null;
|
|
205
|
-
hash:
|
|
206
|
-
input:
|
|
205
|
+
hash: viem173.Hash;
|
|
206
|
+
input: viem173.Hex;
|
|
207
207
|
transactionIndex: number | null;
|
|
208
|
-
typeHex:
|
|
208
|
+
typeHex: viem173.Hex | null;
|
|
209
209
|
accessList?: undefined | undefined;
|
|
210
210
|
authorizationList?: undefined | undefined;
|
|
211
211
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -222,20 +222,20 @@ declare const SupportedNetworks: {
|
|
|
222
222
|
} | {
|
|
223
223
|
blockHash: `0x${string}` | null;
|
|
224
224
|
blockNumber: bigint | null;
|
|
225
|
-
from:
|
|
225
|
+
from: viem173.Address;
|
|
226
226
|
gas: bigint;
|
|
227
|
-
hash:
|
|
228
|
-
input:
|
|
227
|
+
hash: viem173.Hash;
|
|
228
|
+
input: viem173.Hex;
|
|
229
229
|
nonce: number;
|
|
230
|
-
r:
|
|
231
|
-
s:
|
|
232
|
-
to:
|
|
230
|
+
r: viem173.Hex;
|
|
231
|
+
s: viem173.Hex;
|
|
232
|
+
to: viem173.Address | null;
|
|
233
233
|
transactionIndex: number | null;
|
|
234
|
-
typeHex:
|
|
234
|
+
typeHex: viem173.Hex | null;
|
|
235
235
|
v: bigint;
|
|
236
236
|
value: bigint;
|
|
237
237
|
yParity: number;
|
|
238
|
-
accessList:
|
|
238
|
+
accessList: viem173.AccessList;
|
|
239
239
|
authorizationList?: undefined | undefined;
|
|
240
240
|
blobVersionedHashes?: undefined | undefined;
|
|
241
241
|
chainId: number;
|
|
@@ -250,20 +250,20 @@ declare const SupportedNetworks: {
|
|
|
250
250
|
} | {
|
|
251
251
|
blockHash: `0x${string}` | null;
|
|
252
252
|
blockNumber: bigint | null;
|
|
253
|
-
from:
|
|
253
|
+
from: viem173.Address;
|
|
254
254
|
gas: bigint;
|
|
255
|
-
hash:
|
|
256
|
-
input:
|
|
255
|
+
hash: viem173.Hash;
|
|
256
|
+
input: viem173.Hex;
|
|
257
257
|
nonce: number;
|
|
258
|
-
r:
|
|
259
|
-
s:
|
|
260
|
-
to:
|
|
258
|
+
r: viem173.Hex;
|
|
259
|
+
s: viem173.Hex;
|
|
260
|
+
to: viem173.Address | null;
|
|
261
261
|
transactionIndex: number | null;
|
|
262
|
-
typeHex:
|
|
262
|
+
typeHex: viem173.Hex | null;
|
|
263
263
|
v: bigint;
|
|
264
264
|
value: bigint;
|
|
265
265
|
yParity: number;
|
|
266
|
-
accessList:
|
|
266
|
+
accessList: viem173.AccessList;
|
|
267
267
|
authorizationList?: undefined | undefined;
|
|
268
268
|
blobVersionedHashes?: undefined | undefined;
|
|
269
269
|
chainId: number;
|
|
@@ -278,22 +278,22 @@ declare const SupportedNetworks: {
|
|
|
278
278
|
} | {
|
|
279
279
|
blockHash: `0x${string}` | null;
|
|
280
280
|
blockNumber: bigint | null;
|
|
281
|
-
from:
|
|
281
|
+
from: viem173.Address;
|
|
282
282
|
gas: bigint;
|
|
283
|
-
hash:
|
|
284
|
-
input:
|
|
283
|
+
hash: viem173.Hash;
|
|
284
|
+
input: viem173.Hex;
|
|
285
285
|
nonce: number;
|
|
286
|
-
r:
|
|
287
|
-
s:
|
|
288
|
-
to:
|
|
286
|
+
r: viem173.Hex;
|
|
287
|
+
s: viem173.Hex;
|
|
288
|
+
to: viem173.Address | null;
|
|
289
289
|
transactionIndex: number | null;
|
|
290
|
-
typeHex:
|
|
290
|
+
typeHex: viem173.Hex | null;
|
|
291
291
|
v: bigint;
|
|
292
292
|
value: bigint;
|
|
293
293
|
yParity: number;
|
|
294
|
-
accessList:
|
|
294
|
+
accessList: viem173.AccessList;
|
|
295
295
|
authorizationList?: undefined | undefined;
|
|
296
|
-
blobVersionedHashes: readonly
|
|
296
|
+
blobVersionedHashes: readonly viem173.Hex[];
|
|
297
297
|
chainId: number;
|
|
298
298
|
type: "eip4844";
|
|
299
299
|
gasPrice?: undefined | undefined;
|
|
@@ -306,21 +306,21 @@ declare const SupportedNetworks: {
|
|
|
306
306
|
} | {
|
|
307
307
|
blockHash: `0x${string}` | null;
|
|
308
308
|
blockNumber: bigint | null;
|
|
309
|
-
from:
|
|
309
|
+
from: viem173.Address;
|
|
310
310
|
gas: bigint;
|
|
311
|
-
hash:
|
|
312
|
-
input:
|
|
311
|
+
hash: viem173.Hash;
|
|
312
|
+
input: viem173.Hex;
|
|
313
313
|
nonce: number;
|
|
314
|
-
r:
|
|
315
|
-
s:
|
|
316
|
-
to:
|
|
314
|
+
r: viem173.Hex;
|
|
315
|
+
s: viem173.Hex;
|
|
316
|
+
to: viem173.Address | null;
|
|
317
317
|
transactionIndex: number | null;
|
|
318
|
-
typeHex:
|
|
318
|
+
typeHex: viem173.Hex | null;
|
|
319
319
|
v: bigint;
|
|
320
320
|
value: bigint;
|
|
321
321
|
yParity: number;
|
|
322
|
-
accessList:
|
|
323
|
-
authorizationList:
|
|
322
|
+
accessList: viem173.AccessList;
|
|
323
|
+
authorizationList: viem173.SignedAuthorizationList;
|
|
324
324
|
blobVersionedHashes?: undefined | undefined;
|
|
325
325
|
chainId: number;
|
|
326
326
|
type: "eip7702";
|
|
@@ -339,22 +339,22 @@ declare const SupportedNetworks: {
|
|
|
339
339
|
format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
340
340
|
blobGasPrice?: bigint | undefined;
|
|
341
341
|
blobGasUsed?: bigint | undefined;
|
|
342
|
-
blockHash:
|
|
342
|
+
blockHash: viem173.Hash;
|
|
343
343
|
blockNumber: bigint;
|
|
344
344
|
blockTimestamp?: bigint | undefined;
|
|
345
|
-
contractAddress:
|
|
345
|
+
contractAddress: viem173.Address | null | undefined;
|
|
346
346
|
cumulativeGasUsed: bigint;
|
|
347
347
|
effectiveGasPrice: bigint;
|
|
348
|
-
from:
|
|
348
|
+
from: viem173.Address;
|
|
349
349
|
gasUsed: bigint;
|
|
350
|
-
logs:
|
|
351
|
-
logsBloom:
|
|
350
|
+
logs: viem173.Log<bigint, number, false>[];
|
|
351
|
+
logsBloom: viem173.Hex;
|
|
352
352
|
root?: `0x${string}` | undefined;
|
|
353
353
|
status: "success" | "reverted";
|
|
354
|
-
to:
|
|
355
|
-
transactionHash:
|
|
354
|
+
to: viem173.Address | null;
|
|
355
|
+
transactionHash: viem173.Hash;
|
|
356
356
|
transactionIndex: number;
|
|
357
|
-
type:
|
|
357
|
+
type: viem173.TransactionType;
|
|
358
358
|
l1GasPrice: bigint | null;
|
|
359
359
|
l1GasUsed: bigint | null;
|
|
360
360
|
l1Fee: bigint | null;
|
|
@@ -363,17 +363,17 @@ declare const SupportedNetworks: {
|
|
|
363
363
|
type: "transactionReceipt";
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
|
-
prepareTransactionRequest?: ((args:
|
|
366
|
+
prepareTransactionRequest?: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
367
367
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
368
|
-
}) => Promise<
|
|
368
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | [fn: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
369
369
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
370
|
-
}) => Promise<
|
|
370
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
371
371
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
372
372
|
}] | undefined;
|
|
373
373
|
serializers: {
|
|
374
374
|
readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
|
|
375
375
|
};
|
|
376
|
-
verifyHash?: ((client:
|
|
376
|
+
verifyHash?: ((client: viem173.Client, parameters: viem173.VerifyHashActionParameters) => Promise<viem173.VerifyHashActionReturnType>) | undefined;
|
|
377
377
|
readonly network: "base-sepolia";
|
|
378
378
|
};
|
|
379
379
|
};
|
|
@@ -416,17 +416,17 @@ declare function getNetwork(name: string): {
|
|
|
416
416
|
testnet: true;
|
|
417
417
|
custom?: Record<string, unknown> | undefined;
|
|
418
418
|
extendSchema?: Record<string, unknown> | undefined;
|
|
419
|
-
fees?:
|
|
419
|
+
fees?: viem173.ChainFees<undefined> | undefined;
|
|
420
420
|
formatters?: undefined;
|
|
421
|
-
prepareTransactionRequest?: ((args:
|
|
421
|
+
prepareTransactionRequest?: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
422
422
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
423
|
-
}) => Promise<
|
|
423
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | [fn: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
424
424
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
425
|
-
}) => Promise<
|
|
425
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
426
426
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
427
427
|
}] | undefined;
|
|
428
|
-
serializers?:
|
|
429
|
-
verifyHash?: ((client:
|
|
428
|
+
serializers?: viem173.ChainSerializers<undefined, viem173.TransactionSerializable> | undefined;
|
|
429
|
+
verifyHash?: ((client: viem173.Client, parameters: viem173.VerifyHashActionParameters) => Promise<viem173.VerifyHashActionReturnType>) | undefined;
|
|
430
430
|
} | {
|
|
431
431
|
blockExplorers: {
|
|
432
432
|
readonly default: {
|
|
@@ -500,7 +500,7 @@ declare function getNetwork(name: string): {
|
|
|
500
500
|
testnet: true;
|
|
501
501
|
custom?: Record<string, unknown> | undefined;
|
|
502
502
|
extendSchema?: Record<string, unknown> | undefined;
|
|
503
|
-
fees?:
|
|
503
|
+
fees?: viem173.ChainFees<undefined> | undefined;
|
|
504
504
|
formatters: {
|
|
505
505
|
readonly block: {
|
|
506
506
|
exclude: [] | undefined;
|
|
@@ -509,28 +509,28 @@ declare function getNetwork(name: string): {
|
|
|
509
509
|
blobGasUsed: bigint;
|
|
510
510
|
difficulty: bigint;
|
|
511
511
|
excessBlobGas: bigint;
|
|
512
|
-
extraData:
|
|
512
|
+
extraData: viem173.Hex;
|
|
513
513
|
gasLimit: bigint;
|
|
514
514
|
gasUsed: bigint;
|
|
515
515
|
hash: `0x${string}` | null;
|
|
516
516
|
logsBloom: `0x${string}` | null;
|
|
517
|
-
miner:
|
|
518
|
-
mixHash:
|
|
517
|
+
miner: viem173.Address;
|
|
518
|
+
mixHash: viem173.Hash;
|
|
519
519
|
nonce: `0x${string}` | null;
|
|
520
520
|
number: bigint | null;
|
|
521
521
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
522
|
-
parentHash:
|
|
523
|
-
receiptsRoot:
|
|
524
|
-
sealFields:
|
|
525
|
-
sha3Uncles:
|
|
522
|
+
parentHash: viem173.Hash;
|
|
523
|
+
receiptsRoot: viem173.Hex;
|
|
524
|
+
sealFields: viem173.Hex[];
|
|
525
|
+
sha3Uncles: viem173.Hash;
|
|
526
526
|
size: bigint;
|
|
527
|
-
stateRoot:
|
|
527
|
+
stateRoot: viem173.Hash;
|
|
528
528
|
timestamp: bigint;
|
|
529
529
|
totalDifficulty: bigint | null;
|
|
530
530
|
transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
|
|
531
|
-
transactionsRoot:
|
|
532
|
-
uncles:
|
|
533
|
-
withdrawals?:
|
|
531
|
+
transactionsRoot: viem173.Hash;
|
|
532
|
+
uncles: viem173.Hash[];
|
|
533
|
+
withdrawals?: viem173.Withdrawal[] | undefined | undefined;
|
|
534
534
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
535
535
|
} & {};
|
|
536
536
|
type: "block";
|
|
@@ -540,16 +540,16 @@ declare function getNetwork(name: string): {
|
|
|
540
540
|
format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
541
541
|
blockHash: `0x${string}` | null;
|
|
542
542
|
blockNumber: bigint | null;
|
|
543
|
-
from:
|
|
543
|
+
from: viem173.Address;
|
|
544
544
|
gas: bigint;
|
|
545
|
-
hash:
|
|
546
|
-
input:
|
|
545
|
+
hash: viem173.Hash;
|
|
546
|
+
input: viem173.Hex;
|
|
547
547
|
nonce: number;
|
|
548
|
-
r:
|
|
549
|
-
s:
|
|
550
|
-
to:
|
|
548
|
+
r: viem173.Hex;
|
|
549
|
+
s: viem173.Hex;
|
|
550
|
+
to: viem173.Address | null;
|
|
551
551
|
transactionIndex: number | null;
|
|
552
|
-
typeHex:
|
|
552
|
+
typeHex: viem173.Hex | null;
|
|
553
553
|
v: bigint;
|
|
554
554
|
value: bigint;
|
|
555
555
|
yParity: number;
|
|
@@ -559,23 +559,23 @@ declare function getNetwork(name: string): {
|
|
|
559
559
|
maxPriorityFeePerGas: bigint;
|
|
560
560
|
isSystemTx?: boolean;
|
|
561
561
|
mint?: bigint | undefined | undefined;
|
|
562
|
-
sourceHash:
|
|
562
|
+
sourceHash: viem173.Hex;
|
|
563
563
|
type: "deposit";
|
|
564
564
|
} | {
|
|
565
|
-
r:
|
|
566
|
-
s:
|
|
565
|
+
r: viem173.Hex;
|
|
566
|
+
s: viem173.Hex;
|
|
567
567
|
v: bigint;
|
|
568
|
-
to:
|
|
569
|
-
from:
|
|
568
|
+
to: viem173.Address | null;
|
|
569
|
+
from: viem173.Address;
|
|
570
570
|
gas: bigint;
|
|
571
571
|
nonce: number;
|
|
572
572
|
value: bigint;
|
|
573
573
|
blockHash: `0x${string}` | null;
|
|
574
574
|
blockNumber: bigint | null;
|
|
575
|
-
hash:
|
|
576
|
-
input:
|
|
575
|
+
hash: viem173.Hash;
|
|
576
|
+
input: viem173.Hex;
|
|
577
577
|
transactionIndex: number | null;
|
|
578
|
-
typeHex:
|
|
578
|
+
typeHex: viem173.Hex | null;
|
|
579
579
|
accessList?: undefined | undefined;
|
|
580
580
|
authorizationList?: undefined | undefined;
|
|
581
581
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -592,20 +592,20 @@ declare function getNetwork(name: string): {
|
|
|
592
592
|
} | {
|
|
593
593
|
blockHash: `0x${string}` | null;
|
|
594
594
|
blockNumber: bigint | null;
|
|
595
|
-
from:
|
|
595
|
+
from: viem173.Address;
|
|
596
596
|
gas: bigint;
|
|
597
|
-
hash:
|
|
598
|
-
input:
|
|
597
|
+
hash: viem173.Hash;
|
|
598
|
+
input: viem173.Hex;
|
|
599
599
|
nonce: number;
|
|
600
|
-
r:
|
|
601
|
-
s:
|
|
602
|
-
to:
|
|
600
|
+
r: viem173.Hex;
|
|
601
|
+
s: viem173.Hex;
|
|
602
|
+
to: viem173.Address | null;
|
|
603
603
|
transactionIndex: number | null;
|
|
604
|
-
typeHex:
|
|
604
|
+
typeHex: viem173.Hex | null;
|
|
605
605
|
v: bigint;
|
|
606
606
|
value: bigint;
|
|
607
607
|
yParity: number;
|
|
608
|
-
accessList:
|
|
608
|
+
accessList: viem173.AccessList;
|
|
609
609
|
authorizationList?: undefined | undefined;
|
|
610
610
|
blobVersionedHashes?: undefined | undefined;
|
|
611
611
|
chainId: number;
|
|
@@ -620,20 +620,20 @@ declare function getNetwork(name: string): {
|
|
|
620
620
|
} | {
|
|
621
621
|
blockHash: `0x${string}` | null;
|
|
622
622
|
blockNumber: bigint | null;
|
|
623
|
-
from:
|
|
623
|
+
from: viem173.Address;
|
|
624
624
|
gas: bigint;
|
|
625
|
-
hash:
|
|
626
|
-
input:
|
|
625
|
+
hash: viem173.Hash;
|
|
626
|
+
input: viem173.Hex;
|
|
627
627
|
nonce: number;
|
|
628
|
-
r:
|
|
629
|
-
s:
|
|
630
|
-
to:
|
|
628
|
+
r: viem173.Hex;
|
|
629
|
+
s: viem173.Hex;
|
|
630
|
+
to: viem173.Address | null;
|
|
631
631
|
transactionIndex: number | null;
|
|
632
|
-
typeHex:
|
|
632
|
+
typeHex: viem173.Hex | null;
|
|
633
633
|
v: bigint;
|
|
634
634
|
value: bigint;
|
|
635
635
|
yParity: number;
|
|
636
|
-
accessList:
|
|
636
|
+
accessList: viem173.AccessList;
|
|
637
637
|
authorizationList?: undefined | undefined;
|
|
638
638
|
blobVersionedHashes?: undefined | undefined;
|
|
639
639
|
chainId: number;
|
|
@@ -648,22 +648,22 @@ declare function getNetwork(name: string): {
|
|
|
648
648
|
} | {
|
|
649
649
|
blockHash: `0x${string}` | null;
|
|
650
650
|
blockNumber: bigint | null;
|
|
651
|
-
from:
|
|
651
|
+
from: viem173.Address;
|
|
652
652
|
gas: bigint;
|
|
653
|
-
hash:
|
|
654
|
-
input:
|
|
653
|
+
hash: viem173.Hash;
|
|
654
|
+
input: viem173.Hex;
|
|
655
655
|
nonce: number;
|
|
656
|
-
r:
|
|
657
|
-
s:
|
|
658
|
-
to:
|
|
656
|
+
r: viem173.Hex;
|
|
657
|
+
s: viem173.Hex;
|
|
658
|
+
to: viem173.Address | null;
|
|
659
659
|
transactionIndex: number | null;
|
|
660
|
-
typeHex:
|
|
660
|
+
typeHex: viem173.Hex | null;
|
|
661
661
|
v: bigint;
|
|
662
662
|
value: bigint;
|
|
663
663
|
yParity: number;
|
|
664
|
-
accessList:
|
|
664
|
+
accessList: viem173.AccessList;
|
|
665
665
|
authorizationList?: undefined | undefined;
|
|
666
|
-
blobVersionedHashes: readonly
|
|
666
|
+
blobVersionedHashes: readonly viem173.Hex[];
|
|
667
667
|
chainId: number;
|
|
668
668
|
type: "eip4844";
|
|
669
669
|
gasPrice?: undefined | undefined;
|
|
@@ -676,21 +676,21 @@ declare function getNetwork(name: string): {
|
|
|
676
676
|
} | {
|
|
677
677
|
blockHash: `0x${string}` | null;
|
|
678
678
|
blockNumber: bigint | null;
|
|
679
|
-
from:
|
|
679
|
+
from: viem173.Address;
|
|
680
680
|
gas: bigint;
|
|
681
|
-
hash:
|
|
682
|
-
input:
|
|
681
|
+
hash: viem173.Hash;
|
|
682
|
+
input: viem173.Hex;
|
|
683
683
|
nonce: number;
|
|
684
|
-
r:
|
|
685
|
-
s:
|
|
686
|
-
to:
|
|
684
|
+
r: viem173.Hex;
|
|
685
|
+
s: viem173.Hex;
|
|
686
|
+
to: viem173.Address | null;
|
|
687
687
|
transactionIndex: number | null;
|
|
688
|
-
typeHex:
|
|
688
|
+
typeHex: viem173.Hex | null;
|
|
689
689
|
v: bigint;
|
|
690
690
|
value: bigint;
|
|
691
691
|
yParity: number;
|
|
692
|
-
accessList:
|
|
693
|
-
authorizationList:
|
|
692
|
+
accessList: viem173.AccessList;
|
|
693
|
+
authorizationList: viem173.SignedAuthorizationList;
|
|
694
694
|
blobVersionedHashes?: undefined | undefined;
|
|
695
695
|
chainId: number;
|
|
696
696
|
type: "eip7702";
|
|
@@ -709,22 +709,22 @@ declare function getNetwork(name: string): {
|
|
|
709
709
|
format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
710
710
|
blobGasPrice?: bigint | undefined;
|
|
711
711
|
blobGasUsed?: bigint | undefined;
|
|
712
|
-
blockHash:
|
|
712
|
+
blockHash: viem173.Hash;
|
|
713
713
|
blockNumber: bigint;
|
|
714
714
|
blockTimestamp?: bigint | undefined;
|
|
715
|
-
contractAddress:
|
|
715
|
+
contractAddress: viem173.Address | null | undefined;
|
|
716
716
|
cumulativeGasUsed: bigint;
|
|
717
717
|
effectiveGasPrice: bigint;
|
|
718
|
-
from:
|
|
718
|
+
from: viem173.Address;
|
|
719
719
|
gasUsed: bigint;
|
|
720
|
-
logs:
|
|
721
|
-
logsBloom:
|
|
720
|
+
logs: viem173.Log<bigint, number, false>[];
|
|
721
|
+
logsBloom: viem173.Hex;
|
|
722
722
|
root?: `0x${string}` | undefined;
|
|
723
723
|
status: "success" | "reverted";
|
|
724
|
-
to:
|
|
725
|
-
transactionHash:
|
|
724
|
+
to: viem173.Address | null;
|
|
725
|
+
transactionHash: viem173.Hash;
|
|
726
726
|
transactionIndex: number;
|
|
727
|
-
type:
|
|
727
|
+
type: viem173.TransactionType;
|
|
728
728
|
l1GasPrice: bigint | null;
|
|
729
729
|
l1GasUsed: bigint | null;
|
|
730
730
|
l1Fee: bigint | null;
|
|
@@ -733,17 +733,17 @@ declare function getNetwork(name: string): {
|
|
|
733
733
|
type: "transactionReceipt";
|
|
734
734
|
};
|
|
735
735
|
};
|
|
736
|
-
prepareTransactionRequest?: ((args:
|
|
736
|
+
prepareTransactionRequest?: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
737
737
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
738
|
-
}) => Promise<
|
|
738
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | [fn: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
739
739
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
740
|
-
}) => Promise<
|
|
740
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
741
741
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
742
742
|
}] | undefined;
|
|
743
743
|
serializers: {
|
|
744
744
|
readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
|
|
745
745
|
};
|
|
746
|
-
verifyHash?: ((client:
|
|
746
|
+
verifyHash?: ((client: viem173.Client, parameters: viem173.VerifyHashActionParameters) => Promise<viem173.VerifyHashActionReturnType>) | undefined;
|
|
747
747
|
readonly network: "base-sepolia";
|
|
748
748
|
};
|
|
749
749
|
interface AppConfig {
|
|
@@ -754,6 +754,7 @@ interface AppConfig {
|
|
|
754
754
|
chain: Chain;
|
|
755
755
|
rpcUrl: string;
|
|
756
756
|
caip2: number;
|
|
757
|
+
ipfsGateway: string;
|
|
757
758
|
}
|
|
758
759
|
declare const FangornConfig: {
|
|
759
760
|
ArbitrumSepolia: {
|
|
@@ -794,20 +795,21 @@ declare const FangornConfig: {
|
|
|
794
795
|
testnet: true;
|
|
795
796
|
custom?: Record<string, unknown> | undefined;
|
|
796
797
|
extendSchema?: Record<string, unknown> | undefined;
|
|
797
|
-
fees?:
|
|
798
|
+
fees?: viem173.ChainFees<undefined> | undefined;
|
|
798
799
|
formatters?: undefined;
|
|
799
|
-
prepareTransactionRequest?: ((args:
|
|
800
|
+
prepareTransactionRequest?: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
800
801
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
801
|
-
}) => Promise<
|
|
802
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | [fn: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
802
803
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
803
|
-
}) => Promise<
|
|
804
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
804
805
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
805
806
|
}] | undefined;
|
|
806
|
-
serializers?:
|
|
807
|
-
verifyHash?: ((client:
|
|
807
|
+
serializers?: viem173.ChainSerializers<undefined, viem173.TransactionSerializable> | undefined;
|
|
808
|
+
verifyHash?: ((client: viem173.Client, parameters: viem173.VerifyHashActionParameters) => Promise<viem173.VerifyHashActionReturnType>) | undefined;
|
|
808
809
|
};
|
|
809
810
|
rpcUrl: string;
|
|
810
811
|
caip2: number;
|
|
812
|
+
ipfsGateway: string;
|
|
811
813
|
};
|
|
812
814
|
BaseSepolia: {
|
|
813
815
|
dataSourceRegistryContractAddress: "0x6fd0e50073dbd8169bcaf066bb4a4991bfa48eeb";
|
|
@@ -887,7 +889,7 @@ declare const FangornConfig: {
|
|
|
887
889
|
testnet: true;
|
|
888
890
|
custom?: Record<string, unknown> | undefined;
|
|
889
891
|
extendSchema?: Record<string, unknown> | undefined;
|
|
890
|
-
fees?:
|
|
892
|
+
fees?: viem173.ChainFees<undefined> | undefined;
|
|
891
893
|
formatters: {
|
|
892
894
|
readonly block: {
|
|
893
895
|
exclude: [] | undefined;
|
|
@@ -896,28 +898,28 @@ declare const FangornConfig: {
|
|
|
896
898
|
blobGasUsed: bigint;
|
|
897
899
|
difficulty: bigint;
|
|
898
900
|
excessBlobGas: bigint;
|
|
899
|
-
extraData:
|
|
901
|
+
extraData: viem173.Hex;
|
|
900
902
|
gasLimit: bigint;
|
|
901
903
|
gasUsed: bigint;
|
|
902
904
|
hash: `0x${string}` | null;
|
|
903
905
|
logsBloom: `0x${string}` | null;
|
|
904
|
-
miner:
|
|
905
|
-
mixHash:
|
|
906
|
+
miner: viem173.Address;
|
|
907
|
+
mixHash: viem173.Hash;
|
|
906
908
|
nonce: `0x${string}` | null;
|
|
907
909
|
number: bigint | null;
|
|
908
910
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
909
|
-
parentHash:
|
|
910
|
-
receiptsRoot:
|
|
911
|
-
sealFields:
|
|
912
|
-
sha3Uncles:
|
|
911
|
+
parentHash: viem173.Hash;
|
|
912
|
+
receiptsRoot: viem173.Hex;
|
|
913
|
+
sealFields: viem173.Hex[];
|
|
914
|
+
sha3Uncles: viem173.Hash;
|
|
913
915
|
size: bigint;
|
|
914
|
-
stateRoot:
|
|
916
|
+
stateRoot: viem173.Hash;
|
|
915
917
|
timestamp: bigint;
|
|
916
918
|
totalDifficulty: bigint | null;
|
|
917
919
|
transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
|
|
918
|
-
transactionsRoot:
|
|
919
|
-
uncles:
|
|
920
|
-
withdrawals?:
|
|
920
|
+
transactionsRoot: viem173.Hash;
|
|
921
|
+
uncles: viem173.Hash[];
|
|
922
|
+
withdrawals?: viem173.Withdrawal[] | undefined | undefined;
|
|
921
923
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
922
924
|
} & {};
|
|
923
925
|
type: "block";
|
|
@@ -927,16 +929,16 @@ declare const FangornConfig: {
|
|
|
927
929
|
format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
928
930
|
blockHash: `0x${string}` | null;
|
|
929
931
|
blockNumber: bigint | null;
|
|
930
|
-
from:
|
|
932
|
+
from: viem173.Address;
|
|
931
933
|
gas: bigint;
|
|
932
|
-
hash:
|
|
933
|
-
input:
|
|
934
|
+
hash: viem173.Hash;
|
|
935
|
+
input: viem173.Hex;
|
|
934
936
|
nonce: number;
|
|
935
|
-
r:
|
|
936
|
-
s:
|
|
937
|
-
to:
|
|
937
|
+
r: viem173.Hex;
|
|
938
|
+
s: viem173.Hex;
|
|
939
|
+
to: viem173.Address | null;
|
|
938
940
|
transactionIndex: number | null;
|
|
939
|
-
typeHex:
|
|
941
|
+
typeHex: viem173.Hex | null;
|
|
940
942
|
v: bigint;
|
|
941
943
|
value: bigint;
|
|
942
944
|
yParity: number;
|
|
@@ -946,23 +948,23 @@ declare const FangornConfig: {
|
|
|
946
948
|
maxPriorityFeePerGas: bigint;
|
|
947
949
|
isSystemTx?: boolean;
|
|
948
950
|
mint?: bigint | undefined | undefined;
|
|
949
|
-
sourceHash:
|
|
951
|
+
sourceHash: viem173.Hex;
|
|
950
952
|
type: "deposit";
|
|
951
953
|
} | {
|
|
952
|
-
r:
|
|
953
|
-
s:
|
|
954
|
+
r: viem173.Hex;
|
|
955
|
+
s: viem173.Hex;
|
|
954
956
|
v: bigint;
|
|
955
|
-
to:
|
|
956
|
-
from:
|
|
957
|
+
to: viem173.Address | null;
|
|
958
|
+
from: viem173.Address;
|
|
957
959
|
gas: bigint;
|
|
958
960
|
nonce: number;
|
|
959
961
|
value: bigint;
|
|
960
962
|
blockHash: `0x${string}` | null;
|
|
961
963
|
blockNumber: bigint | null;
|
|
962
|
-
hash:
|
|
963
|
-
input:
|
|
964
|
+
hash: viem173.Hash;
|
|
965
|
+
input: viem173.Hex;
|
|
964
966
|
transactionIndex: number | null;
|
|
965
|
-
typeHex:
|
|
967
|
+
typeHex: viem173.Hex | null;
|
|
966
968
|
accessList?: undefined | undefined;
|
|
967
969
|
authorizationList?: undefined | undefined;
|
|
968
970
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -979,20 +981,20 @@ declare const FangornConfig: {
|
|
|
979
981
|
} | {
|
|
980
982
|
blockHash: `0x${string}` | null;
|
|
981
983
|
blockNumber: bigint | null;
|
|
982
|
-
from:
|
|
984
|
+
from: viem173.Address;
|
|
983
985
|
gas: bigint;
|
|
984
|
-
hash:
|
|
985
|
-
input:
|
|
986
|
+
hash: viem173.Hash;
|
|
987
|
+
input: viem173.Hex;
|
|
986
988
|
nonce: number;
|
|
987
|
-
r:
|
|
988
|
-
s:
|
|
989
|
-
to:
|
|
989
|
+
r: viem173.Hex;
|
|
990
|
+
s: viem173.Hex;
|
|
991
|
+
to: viem173.Address | null;
|
|
990
992
|
transactionIndex: number | null;
|
|
991
|
-
typeHex:
|
|
993
|
+
typeHex: viem173.Hex | null;
|
|
992
994
|
v: bigint;
|
|
993
995
|
value: bigint;
|
|
994
996
|
yParity: number;
|
|
995
|
-
accessList:
|
|
997
|
+
accessList: viem173.AccessList;
|
|
996
998
|
authorizationList?: undefined | undefined;
|
|
997
999
|
blobVersionedHashes?: undefined | undefined;
|
|
998
1000
|
chainId: number;
|
|
@@ -1007,20 +1009,20 @@ declare const FangornConfig: {
|
|
|
1007
1009
|
} | {
|
|
1008
1010
|
blockHash: `0x${string}` | null;
|
|
1009
1011
|
blockNumber: bigint | null;
|
|
1010
|
-
from:
|
|
1012
|
+
from: viem173.Address;
|
|
1011
1013
|
gas: bigint;
|
|
1012
|
-
hash:
|
|
1013
|
-
input:
|
|
1014
|
+
hash: viem173.Hash;
|
|
1015
|
+
input: viem173.Hex;
|
|
1014
1016
|
nonce: number;
|
|
1015
|
-
r:
|
|
1016
|
-
s:
|
|
1017
|
-
to:
|
|
1017
|
+
r: viem173.Hex;
|
|
1018
|
+
s: viem173.Hex;
|
|
1019
|
+
to: viem173.Address | null;
|
|
1018
1020
|
transactionIndex: number | null;
|
|
1019
|
-
typeHex:
|
|
1021
|
+
typeHex: viem173.Hex | null;
|
|
1020
1022
|
v: bigint;
|
|
1021
1023
|
value: bigint;
|
|
1022
1024
|
yParity: number;
|
|
1023
|
-
accessList:
|
|
1025
|
+
accessList: viem173.AccessList;
|
|
1024
1026
|
authorizationList?: undefined | undefined;
|
|
1025
1027
|
blobVersionedHashes?: undefined | undefined;
|
|
1026
1028
|
chainId: number;
|
|
@@ -1035,22 +1037,22 @@ declare const FangornConfig: {
|
|
|
1035
1037
|
} | {
|
|
1036
1038
|
blockHash: `0x${string}` | null;
|
|
1037
1039
|
blockNumber: bigint | null;
|
|
1038
|
-
from:
|
|
1040
|
+
from: viem173.Address;
|
|
1039
1041
|
gas: bigint;
|
|
1040
|
-
hash:
|
|
1041
|
-
input:
|
|
1042
|
+
hash: viem173.Hash;
|
|
1043
|
+
input: viem173.Hex;
|
|
1042
1044
|
nonce: number;
|
|
1043
|
-
r:
|
|
1044
|
-
s:
|
|
1045
|
-
to:
|
|
1045
|
+
r: viem173.Hex;
|
|
1046
|
+
s: viem173.Hex;
|
|
1047
|
+
to: viem173.Address | null;
|
|
1046
1048
|
transactionIndex: number | null;
|
|
1047
|
-
typeHex:
|
|
1049
|
+
typeHex: viem173.Hex | null;
|
|
1048
1050
|
v: bigint;
|
|
1049
1051
|
value: bigint;
|
|
1050
1052
|
yParity: number;
|
|
1051
|
-
accessList:
|
|
1053
|
+
accessList: viem173.AccessList;
|
|
1052
1054
|
authorizationList?: undefined | undefined;
|
|
1053
|
-
blobVersionedHashes: readonly
|
|
1055
|
+
blobVersionedHashes: readonly viem173.Hex[];
|
|
1054
1056
|
chainId: number;
|
|
1055
1057
|
type: "eip4844";
|
|
1056
1058
|
gasPrice?: undefined | undefined;
|
|
@@ -1063,21 +1065,21 @@ declare const FangornConfig: {
|
|
|
1063
1065
|
} | {
|
|
1064
1066
|
blockHash: `0x${string}` | null;
|
|
1065
1067
|
blockNumber: bigint | null;
|
|
1066
|
-
from:
|
|
1068
|
+
from: viem173.Address;
|
|
1067
1069
|
gas: bigint;
|
|
1068
|
-
hash:
|
|
1069
|
-
input:
|
|
1070
|
+
hash: viem173.Hash;
|
|
1071
|
+
input: viem173.Hex;
|
|
1070
1072
|
nonce: number;
|
|
1071
|
-
r:
|
|
1072
|
-
s:
|
|
1073
|
-
to:
|
|
1073
|
+
r: viem173.Hex;
|
|
1074
|
+
s: viem173.Hex;
|
|
1075
|
+
to: viem173.Address | null;
|
|
1074
1076
|
transactionIndex: number | null;
|
|
1075
|
-
typeHex:
|
|
1077
|
+
typeHex: viem173.Hex | null;
|
|
1076
1078
|
v: bigint;
|
|
1077
1079
|
value: bigint;
|
|
1078
1080
|
yParity: number;
|
|
1079
|
-
accessList:
|
|
1080
|
-
authorizationList:
|
|
1081
|
+
accessList: viem173.AccessList;
|
|
1082
|
+
authorizationList: viem173.SignedAuthorizationList;
|
|
1081
1083
|
blobVersionedHashes?: undefined | undefined;
|
|
1082
1084
|
chainId: number;
|
|
1083
1085
|
type: "eip7702";
|
|
@@ -1096,22 +1098,22 @@ declare const FangornConfig: {
|
|
|
1096
1098
|
format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
1097
1099
|
blobGasPrice?: bigint | undefined;
|
|
1098
1100
|
blobGasUsed?: bigint | undefined;
|
|
1099
|
-
blockHash:
|
|
1101
|
+
blockHash: viem173.Hash;
|
|
1100
1102
|
blockNumber: bigint;
|
|
1101
1103
|
blockTimestamp?: bigint | undefined;
|
|
1102
|
-
contractAddress:
|
|
1104
|
+
contractAddress: viem173.Address | null | undefined;
|
|
1103
1105
|
cumulativeGasUsed: bigint;
|
|
1104
1106
|
effectiveGasPrice: bigint;
|
|
1105
|
-
from:
|
|
1107
|
+
from: viem173.Address;
|
|
1106
1108
|
gasUsed: bigint;
|
|
1107
|
-
logs:
|
|
1108
|
-
logsBloom:
|
|
1109
|
+
logs: viem173.Log<bigint, number, false>[];
|
|
1110
|
+
logsBloom: viem173.Hex;
|
|
1109
1111
|
root?: `0x${string}` | undefined;
|
|
1110
1112
|
status: "success" | "reverted";
|
|
1111
|
-
to:
|
|
1112
|
-
transactionHash:
|
|
1113
|
+
to: viem173.Address | null;
|
|
1114
|
+
transactionHash: viem173.Hash;
|
|
1113
1115
|
transactionIndex: number;
|
|
1114
|
-
type:
|
|
1116
|
+
type: viem173.TransactionType;
|
|
1115
1117
|
l1GasPrice: bigint | null;
|
|
1116
1118
|
l1GasUsed: bigint | null;
|
|
1117
1119
|
l1Fee: bigint | null;
|
|
@@ -1120,21 +1122,22 @@ declare const FangornConfig: {
|
|
|
1120
1122
|
type: "transactionReceipt";
|
|
1121
1123
|
};
|
|
1122
1124
|
};
|
|
1123
|
-
prepareTransactionRequest?: ((args:
|
|
1125
|
+
prepareTransactionRequest?: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
1124
1126
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1125
|
-
}) => Promise<
|
|
1127
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | [fn: ((args: viem173.PrepareTransactionRequestParameters, options: {
|
|
1126
1128
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1127
|
-
}) => Promise<
|
|
1129
|
+
}) => Promise<viem173.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
1128
1130
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1129
1131
|
}] | undefined;
|
|
1130
1132
|
serializers: {
|
|
1131
1133
|
readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
|
|
1132
1134
|
};
|
|
1133
|
-
verifyHash?: ((client:
|
|
1135
|
+
verifyHash?: ((client: viem173.Client, parameters: viem173.VerifyHashActionParameters) => Promise<viem173.VerifyHashActionReturnType>) | undefined;
|
|
1134
1136
|
readonly network: "base-sepolia";
|
|
1135
1137
|
};
|
|
1136
1138
|
rpcUrl: string;
|
|
1137
1139
|
caip2: number;
|
|
1140
|
+
ipfsGateway: string;
|
|
1138
1141
|
};
|
|
1139
1142
|
};
|
|
1140
1143
|
//#endregion
|