@fangorn-network/sdk 2026.3.11 → 2026.3.27

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.
Files changed (87) hide show
  1. package/README.md +311 -198
  2. package/lib/builders/a2aCardBuilder.js +1 -0
  3. package/lib/cli/cli.js +406 -379
  4. package/lib/cli/index.d.ts +170 -170
  5. package/lib/cli/index.js +1 -4
  6. package/lib/config.d.ts +543 -163
  7. package/lib/config.js +11 -8
  8. package/lib/fangorn.d.ts +28 -45
  9. package/lib/fangorn.js +98 -119
  10. package/lib/index.d.ts +8 -5
  11. package/lib/index.js +8 -7
  12. package/lib/modules/encryption/index.d.ts +4 -3
  13. package/lib/modules/encryption/lit.d.ts +3 -18
  14. package/lib/modules/encryption/lit.js +20 -49
  15. package/lib/modules/encryption/rand.js +2 -2
  16. package/lib/modules/encryption/types.d.ts +23 -8
  17. package/lib/modules/gadgets/settledGadget.d.ts +26 -0
  18. package/lib/modules/gadgets/settledGadget.js +63 -0
  19. package/lib/modules/gadgets/types.d.ts +16 -4
  20. package/lib/providers/storage/index.d.ts +15 -4
  21. package/lib/providers/storage/pinata/index.d.ts +5 -4
  22. package/lib/providers/storage/pinata/index.js +17 -2
  23. package/lib/providers/storage/storacha/index.d.ts +13 -0
  24. package/lib/providers/storage/storacha/index.js +49 -0
  25. package/lib/providers/storage/storacha/readOnly.d.ts +8 -0
  26. package/lib/providers/storage/storacha/readOnly.js +16 -0
  27. package/lib/{interface → registries}/datasource-registry/abi.d.ts +29 -43
  28. package/lib/registries/datasource-registry/abi.js +16 -0
  29. package/lib/{interface/datasource-registry/dataSourceRegistry.d.ts → registries/datasource-registry/index.d.ts} +9 -9
  30. package/lib/{interface/datasource-registry/dataSourceRegistry.js → registries/datasource-registry/index.js} +35 -34
  31. package/lib/registries/index.d.ts +3 -0
  32. package/lib/registries/index.js +4 -0
  33. package/lib/registries/schema-registry/abi.d.ts +127 -0
  34. package/lib/registries/schema-registry/abi.js +19 -0
  35. package/lib/registries/schema-registry/index.d.ts +29 -0
  36. package/lib/registries/schema-registry/index.js +114 -0
  37. package/lib/registries/settlement-registry/abi.d.ts +228 -0
  38. package/lib/registries/settlement-registry/abi.js +29 -0
  39. package/lib/registries/settlement-registry/index.d.ts +72 -0
  40. package/lib/registries/settlement-registry/index.js +316 -0
  41. package/lib/registries/settlement-registry/types.d.ts +51 -0
  42. package/lib/roles/consumer/index.d.ts +64 -0
  43. package/lib/roles/consumer/index.js +114 -0
  44. package/lib/roles/consumer/types.d.ts +66 -0
  45. package/lib/roles/index.js +1 -0
  46. package/lib/roles/publisher/index.d.ts +70 -0
  47. package/lib/roles/publisher/index.js +203 -0
  48. package/lib/roles/publisher/types.d.ts +93 -0
  49. package/lib/roles/publisher/types.js +1 -0
  50. package/lib/roles/schema/index.d.ts +44 -0
  51. package/lib/roles/schema/index.js +137 -0
  52. package/lib/roles/schema/types.d.ts +67 -0
  53. package/lib/roles/schema/types.js +1 -0
  54. package/lib/test/index.d.ts +5 -2
  55. package/lib/test/index.js +5 -3
  56. package/lib/test/testbed.d.ts +54 -32
  57. package/lib/test/testbed.js +149 -135
  58. package/lib/types/index.d.ts +65 -21
  59. package/lib/types/index.js +1 -12
  60. package/lib/utils/index.d.ts +2 -3
  61. package/lib/utils/index.js +4 -18
  62. package/package.json +9 -18
  63. package/lib/cli/registry.d.ts +0 -29
  64. package/lib/cli/registry.js +0 -53
  65. package/lib/deployContract.d.ts +0 -23
  66. package/lib/deployContract.js +0 -78
  67. package/lib/interface/datasource-registry/abi.js +0 -110
  68. package/lib/interface/index.d.ts +0 -3
  69. package/lib/interface/index.js +0 -4
  70. package/lib/interface/manifest.d.ts +0 -7
  71. package/lib/interface/manifest.js +0 -10
  72. package/lib/interface/settlement-tracker/abi.d.ts +0 -26
  73. package/lib/interface/settlement-tracker/abi.js +0 -88
  74. package/lib/interface/settlement-tracker/settlementTracker.d.ts +0 -32
  75. package/lib/interface/settlement-tracker/settlementTracker.js +0 -64
  76. package/lib/modules/gadgets/acc/gadgets.d.ts +0 -7
  77. package/lib/modules/gadgets/acc/gadgets.js +0 -10
  78. package/lib/modules/gadgets/acc.d.ts +0 -15
  79. package/lib/modules/gadgets/acc.js +0 -24
  80. package/lib/modules/gadgets/builder.d.ts +0 -1
  81. package/lib/modules/gadgets/payment.d.ts +0 -23
  82. package/lib/modules/gadgets/payment.js +0 -88
  83. package/lib/test/test-gadget.d.ts +0 -7
  84. package/lib/test/test-gadget.js +0 -10
  85. /package/lib/{modules/gadgets/builder.js → registries/settlement-registry/types.js} +0 -0
  86. /package/lib/{providers/storage/s3/index.js → roles/consumer/types.js} +0 -0
  87. /package/lib/{providers/storage/s3 → roles}/index.d.ts +0 -0
package/lib/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as viem_chains0 from "viem/chains";
2
- import * as viem1 from "viem";
2
+ import * as viem2 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?: viem1.ChainFees<undefined> | undefined;
45
+ fees?: viem2.ChainFees<undefined> | undefined;
46
46
  formatters?: undefined;
47
- prepareTransactionRequest?: ((args: viem1.PrepareTransactionRequestParameters, options: {
47
+ prepareTransactionRequest?: ((args: viem2.PrepareTransactionRequestParameters, options: {
48
48
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
49
- }) => Promise<viem1.PrepareTransactionRequestParameters>) | [fn: ((args: viem1.PrepareTransactionRequestParameters, options: {
49
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | [fn: ((args: viem2.PrepareTransactionRequestParameters, options: {
50
50
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
51
- }) => Promise<viem1.PrepareTransactionRequestParameters>) | undefined, options: {
51
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | undefined, options: {
52
52
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
53
53
  }] | undefined;
54
- serializers?: viem1.ChainSerializers<undefined, viem1.TransactionSerializable> | undefined;
55
- verifyHash?: ((client: viem1.Client, parameters: viem1.VerifyHashActionParameters) => Promise<viem1.VerifyHashActionReturnType>) | undefined;
54
+ serializers?: viem2.ChainSerializers<undefined, viem2.TransactionSerializable> | undefined;
55
+ verifyHash?: ((client: viem2.Client, parameters: viem2.VerifyHashActionParameters) => Promise<viem2.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?: viem1.ChainFees<undefined> | undefined;
133
+ fees?: viem2.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: viem1.Hex;
142
+ extraData: viem2.Hex;
143
143
  gasLimit: bigint;
144
144
  gasUsed: bigint;
145
145
  hash: `0x${string}` | null;
146
146
  logsBloom: `0x${string}` | null;
147
- miner: viem1.Address;
148
- mixHash: viem1.Hash;
147
+ miner: viem2.Address;
148
+ mixHash: viem2.Hash;
149
149
  nonce: `0x${string}` | null;
150
150
  number: bigint | null;
151
151
  parentBeaconBlockRoot?: `0x${string}` | undefined;
152
- parentHash: viem1.Hash;
153
- receiptsRoot: viem1.Hex;
154
- sealFields: viem1.Hex[];
155
- sha3Uncles: viem1.Hash;
152
+ parentHash: viem2.Hash;
153
+ receiptsRoot: viem2.Hex;
154
+ sealFields: viem2.Hex[];
155
+ sha3Uncles: viem2.Hash;
156
156
  size: bigint;
157
- stateRoot: viem1.Hash;
157
+ stateRoot: viem2.Hash;
158
158
  timestamp: bigint;
159
159
  totalDifficulty: bigint | null;
160
160
  transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
161
- transactionsRoot: viem1.Hash;
162
- uncles: viem1.Hash[];
163
- withdrawals?: viem1.Withdrawal[] | undefined | undefined;
161
+ transactionsRoot: viem2.Hash;
162
+ uncles: viem2.Hash[];
163
+ withdrawals?: viem2.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_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
171
171
  blockHash: `0x${string}` | null;
172
172
  blockNumber: bigint | null;
173
- from: viem1.Address;
173
+ from: viem2.Address;
174
174
  gas: bigint;
175
- hash: viem1.Hash;
176
- input: viem1.Hex;
175
+ hash: viem2.Hash;
176
+ input: viem2.Hex;
177
177
  nonce: number;
178
- r: viem1.Hex;
179
- s: viem1.Hex;
180
- to: viem1.Address | null;
178
+ r: viem2.Hex;
179
+ s: viem2.Hex;
180
+ to: viem2.Address | null;
181
181
  transactionIndex: number | null;
182
- typeHex: viem1.Hex | null;
182
+ typeHex: viem2.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: viem1.Hex;
192
+ sourceHash: viem2.Hex;
193
193
  type: "deposit";
194
194
  } | {
195
- r: viem1.Hex;
196
- s: viem1.Hex;
195
+ r: viem2.Hex;
196
+ s: viem2.Hex;
197
197
  v: bigint;
198
- to: viem1.Address | null;
199
- from: viem1.Address;
198
+ to: viem2.Address | null;
199
+ from: viem2.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: viem1.Hash;
206
- input: viem1.Hex;
205
+ hash: viem2.Hash;
206
+ input: viem2.Hex;
207
207
  transactionIndex: number | null;
208
- typeHex: viem1.Hex | null;
208
+ typeHex: viem2.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: viem1.Address;
225
+ from: viem2.Address;
226
226
  gas: bigint;
227
- hash: viem1.Hash;
228
- input: viem1.Hex;
227
+ hash: viem2.Hash;
228
+ input: viem2.Hex;
229
229
  nonce: number;
230
- r: viem1.Hex;
231
- s: viem1.Hex;
232
- to: viem1.Address | null;
230
+ r: viem2.Hex;
231
+ s: viem2.Hex;
232
+ to: viem2.Address | null;
233
233
  transactionIndex: number | null;
234
- typeHex: viem1.Hex | null;
234
+ typeHex: viem2.Hex | null;
235
235
  v: bigint;
236
236
  value: bigint;
237
237
  yParity: number;
238
- accessList: viem1.AccessList;
238
+ accessList: viem2.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: viem1.Address;
253
+ from: viem2.Address;
254
254
  gas: bigint;
255
- hash: viem1.Hash;
256
- input: viem1.Hex;
255
+ hash: viem2.Hash;
256
+ input: viem2.Hex;
257
257
  nonce: number;
258
- r: viem1.Hex;
259
- s: viem1.Hex;
260
- to: viem1.Address | null;
258
+ r: viem2.Hex;
259
+ s: viem2.Hex;
260
+ to: viem2.Address | null;
261
261
  transactionIndex: number | null;
262
- typeHex: viem1.Hex | null;
262
+ typeHex: viem2.Hex | null;
263
263
  v: bigint;
264
264
  value: bigint;
265
265
  yParity: number;
266
- accessList: viem1.AccessList;
266
+ accessList: viem2.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: viem1.Address;
281
+ from: viem2.Address;
282
282
  gas: bigint;
283
- hash: viem1.Hash;
284
- input: viem1.Hex;
283
+ hash: viem2.Hash;
284
+ input: viem2.Hex;
285
285
  nonce: number;
286
- r: viem1.Hex;
287
- s: viem1.Hex;
288
- to: viem1.Address | null;
286
+ r: viem2.Hex;
287
+ s: viem2.Hex;
288
+ to: viem2.Address | null;
289
289
  transactionIndex: number | null;
290
- typeHex: viem1.Hex | null;
290
+ typeHex: viem2.Hex | null;
291
291
  v: bigint;
292
292
  value: bigint;
293
293
  yParity: number;
294
- accessList: viem1.AccessList;
294
+ accessList: viem2.AccessList;
295
295
  authorizationList?: undefined | undefined;
296
- blobVersionedHashes: readonly viem1.Hex[];
296
+ blobVersionedHashes: readonly viem2.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: viem1.Address;
309
+ from: viem2.Address;
310
310
  gas: bigint;
311
- hash: viem1.Hash;
312
- input: viem1.Hex;
311
+ hash: viem2.Hash;
312
+ input: viem2.Hex;
313
313
  nonce: number;
314
- r: viem1.Hex;
315
- s: viem1.Hex;
316
- to: viem1.Address | null;
314
+ r: viem2.Hex;
315
+ s: viem2.Hex;
316
+ to: viem2.Address | null;
317
317
  transactionIndex: number | null;
318
- typeHex: viem1.Hex | null;
318
+ typeHex: viem2.Hex | null;
319
319
  v: bigint;
320
320
  value: bigint;
321
321
  yParity: number;
322
- accessList: viem1.AccessList;
323
- authorizationList: viem1.SignedAuthorizationList;
322
+ accessList: viem2.AccessList;
323
+ authorizationList: viem2.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_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
340
340
  blobGasPrice?: bigint | undefined;
341
341
  blobGasUsed?: bigint | undefined;
342
- blockHash: viem1.Hash;
342
+ blockHash: viem2.Hash;
343
343
  blockNumber: bigint;
344
344
  blockTimestamp?: bigint | undefined;
345
- contractAddress: viem1.Address | null | undefined;
345
+ contractAddress: viem2.Address | null | undefined;
346
346
  cumulativeGasUsed: bigint;
347
347
  effectiveGasPrice: bigint;
348
- from: viem1.Address;
348
+ from: viem2.Address;
349
349
  gasUsed: bigint;
350
- logs: viem1.Log<bigint, number, false>[];
351
- logsBloom: viem1.Hex;
350
+ logs: viem2.Log<bigint, number, false>[];
351
+ logsBloom: viem2.Hex;
352
352
  root?: `0x${string}` | undefined;
353
353
  status: "success" | "reverted";
354
- to: viem1.Address | null;
355
- transactionHash: viem1.Hash;
354
+ to: viem2.Address | null;
355
+ transactionHash: viem2.Hash;
356
356
  transactionIndex: number;
357
- type: viem1.TransactionType;
357
+ type: viem2.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: viem1.PrepareTransactionRequestParameters, options: {
366
+ prepareTransactionRequest?: ((args: viem2.PrepareTransactionRequestParameters, options: {
367
367
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
368
- }) => Promise<viem1.PrepareTransactionRequestParameters>) | [fn: ((args: viem1.PrepareTransactionRequestParameters, options: {
368
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | [fn: ((args: viem2.PrepareTransactionRequestParameters, options: {
369
369
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
370
- }) => Promise<viem1.PrepareTransactionRequestParameters>) | undefined, options: {
370
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | undefined, options: {
371
371
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
372
372
  }] | undefined;
373
373
  serializers: {
374
374
  readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
375
375
  };
376
- verifyHash?: ((client: viem1.Client, parameters: viem1.VerifyHashActionParameters) => Promise<viem1.VerifyHashActionReturnType>) | undefined;
376
+ verifyHash?: ((client: viem2.Client, parameters: viem2.VerifyHashActionParameters) => Promise<viem2.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?: viem1.ChainFees<undefined> | undefined;
419
+ fees?: viem2.ChainFees<undefined> | undefined;
420
420
  formatters?: undefined;
421
- prepareTransactionRequest?: ((args: viem1.PrepareTransactionRequestParameters, options: {
421
+ prepareTransactionRequest?: ((args: viem2.PrepareTransactionRequestParameters, options: {
422
422
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
423
- }) => Promise<viem1.PrepareTransactionRequestParameters>) | [fn: ((args: viem1.PrepareTransactionRequestParameters, options: {
423
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | [fn: ((args: viem2.PrepareTransactionRequestParameters, options: {
424
424
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
425
- }) => Promise<viem1.PrepareTransactionRequestParameters>) | undefined, options: {
425
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | undefined, options: {
426
426
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
427
427
  }] | undefined;
428
- serializers?: viem1.ChainSerializers<undefined, viem1.TransactionSerializable> | undefined;
429
- verifyHash?: ((client: viem1.Client, parameters: viem1.VerifyHashActionParameters) => Promise<viem1.VerifyHashActionReturnType>) | undefined;
428
+ serializers?: viem2.ChainSerializers<undefined, viem2.TransactionSerializable> | undefined;
429
+ verifyHash?: ((client: viem2.Client, parameters: viem2.VerifyHashActionParameters) => Promise<viem2.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?: viem1.ChainFees<undefined> | undefined;
503
+ fees?: viem2.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: viem1.Hex;
512
+ extraData: viem2.Hex;
513
513
  gasLimit: bigint;
514
514
  gasUsed: bigint;
515
515
  hash: `0x${string}` | null;
516
516
  logsBloom: `0x${string}` | null;
517
- miner: viem1.Address;
518
- mixHash: viem1.Hash;
517
+ miner: viem2.Address;
518
+ mixHash: viem2.Hash;
519
519
  nonce: `0x${string}` | null;
520
520
  number: bigint | null;
521
521
  parentBeaconBlockRoot?: `0x${string}` | undefined;
522
- parentHash: viem1.Hash;
523
- receiptsRoot: viem1.Hex;
524
- sealFields: viem1.Hex[];
525
- sha3Uncles: viem1.Hash;
522
+ parentHash: viem2.Hash;
523
+ receiptsRoot: viem2.Hex;
524
+ sealFields: viem2.Hex[];
525
+ sha3Uncles: viem2.Hash;
526
526
  size: bigint;
527
- stateRoot: viem1.Hash;
527
+ stateRoot: viem2.Hash;
528
528
  timestamp: bigint;
529
529
  totalDifficulty: bigint | null;
530
530
  transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
531
- transactionsRoot: viem1.Hash;
532
- uncles: viem1.Hash[];
533
- withdrawals?: viem1.Withdrawal[] | undefined | undefined;
531
+ transactionsRoot: viem2.Hash;
532
+ uncles: viem2.Hash[];
533
+ withdrawals?: viem2.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_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
541
541
  blockHash: `0x${string}` | null;
542
542
  blockNumber: bigint | null;
543
- from: viem1.Address;
543
+ from: viem2.Address;
544
544
  gas: bigint;
545
- hash: viem1.Hash;
546
- input: viem1.Hex;
545
+ hash: viem2.Hash;
546
+ input: viem2.Hex;
547
547
  nonce: number;
548
- r: viem1.Hex;
549
- s: viem1.Hex;
550
- to: viem1.Address | null;
548
+ r: viem2.Hex;
549
+ s: viem2.Hex;
550
+ to: viem2.Address | null;
551
551
  transactionIndex: number | null;
552
- typeHex: viem1.Hex | null;
552
+ typeHex: viem2.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: viem1.Hex;
562
+ sourceHash: viem2.Hex;
563
563
  type: "deposit";
564
564
  } | {
565
- r: viem1.Hex;
566
- s: viem1.Hex;
565
+ r: viem2.Hex;
566
+ s: viem2.Hex;
567
567
  v: bigint;
568
- to: viem1.Address | null;
569
- from: viem1.Address;
568
+ to: viem2.Address | null;
569
+ from: viem2.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: viem1.Hash;
576
- input: viem1.Hex;
575
+ hash: viem2.Hash;
576
+ input: viem2.Hex;
577
577
  transactionIndex: number | null;
578
- typeHex: viem1.Hex | null;
578
+ typeHex: viem2.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: viem1.Address;
595
+ from: viem2.Address;
596
596
  gas: bigint;
597
- hash: viem1.Hash;
598
- input: viem1.Hex;
597
+ hash: viem2.Hash;
598
+ input: viem2.Hex;
599
599
  nonce: number;
600
- r: viem1.Hex;
601
- s: viem1.Hex;
602
- to: viem1.Address | null;
600
+ r: viem2.Hex;
601
+ s: viem2.Hex;
602
+ to: viem2.Address | null;
603
603
  transactionIndex: number | null;
604
- typeHex: viem1.Hex | null;
604
+ typeHex: viem2.Hex | null;
605
605
  v: bigint;
606
606
  value: bigint;
607
607
  yParity: number;
608
- accessList: viem1.AccessList;
608
+ accessList: viem2.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: viem1.Address;
623
+ from: viem2.Address;
624
624
  gas: bigint;
625
- hash: viem1.Hash;
626
- input: viem1.Hex;
625
+ hash: viem2.Hash;
626
+ input: viem2.Hex;
627
627
  nonce: number;
628
- r: viem1.Hex;
629
- s: viem1.Hex;
630
- to: viem1.Address | null;
628
+ r: viem2.Hex;
629
+ s: viem2.Hex;
630
+ to: viem2.Address | null;
631
631
  transactionIndex: number | null;
632
- typeHex: viem1.Hex | null;
632
+ typeHex: viem2.Hex | null;
633
633
  v: bigint;
634
634
  value: bigint;
635
635
  yParity: number;
636
- accessList: viem1.AccessList;
636
+ accessList: viem2.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: viem1.Address;
651
+ from: viem2.Address;
652
652
  gas: bigint;
653
- hash: viem1.Hash;
654
- input: viem1.Hex;
653
+ hash: viem2.Hash;
654
+ input: viem2.Hex;
655
655
  nonce: number;
656
- r: viem1.Hex;
657
- s: viem1.Hex;
658
- to: viem1.Address | null;
656
+ r: viem2.Hex;
657
+ s: viem2.Hex;
658
+ to: viem2.Address | null;
659
659
  transactionIndex: number | null;
660
- typeHex: viem1.Hex | null;
660
+ typeHex: viem2.Hex | null;
661
661
  v: bigint;
662
662
  value: bigint;
663
663
  yParity: number;
664
- accessList: viem1.AccessList;
664
+ accessList: viem2.AccessList;
665
665
  authorizationList?: undefined | undefined;
666
- blobVersionedHashes: readonly viem1.Hex[];
666
+ blobVersionedHashes: readonly viem2.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: viem1.Address;
679
+ from: viem2.Address;
680
680
  gas: bigint;
681
- hash: viem1.Hash;
682
- input: viem1.Hex;
681
+ hash: viem2.Hash;
682
+ input: viem2.Hex;
683
683
  nonce: number;
684
- r: viem1.Hex;
685
- s: viem1.Hex;
686
- to: viem1.Address | null;
684
+ r: viem2.Hex;
685
+ s: viem2.Hex;
686
+ to: viem2.Address | null;
687
687
  transactionIndex: number | null;
688
- typeHex: viem1.Hex | null;
688
+ typeHex: viem2.Hex | null;
689
689
  v: bigint;
690
690
  value: bigint;
691
691
  yParity: number;
692
- accessList: viem1.AccessList;
693
- authorizationList: viem1.SignedAuthorizationList;
692
+ accessList: viem2.AccessList;
693
+ authorizationList: viem2.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_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
710
710
  blobGasPrice?: bigint | undefined;
711
711
  blobGasUsed?: bigint | undefined;
712
- blockHash: viem1.Hash;
712
+ blockHash: viem2.Hash;
713
713
  blockNumber: bigint;
714
714
  blockTimestamp?: bigint | undefined;
715
- contractAddress: viem1.Address | null | undefined;
715
+ contractAddress: viem2.Address | null | undefined;
716
716
  cumulativeGasUsed: bigint;
717
717
  effectiveGasPrice: bigint;
718
- from: viem1.Address;
718
+ from: viem2.Address;
719
719
  gasUsed: bigint;
720
- logs: viem1.Log<bigint, number, false>[];
721
- logsBloom: viem1.Hex;
720
+ logs: viem2.Log<bigint, number, false>[];
721
+ logsBloom: viem2.Hex;
722
722
  root?: `0x${string}` | undefined;
723
723
  status: "success" | "reverted";
724
- to: viem1.Address | null;
725
- transactionHash: viem1.Hash;
724
+ to: viem2.Address | null;
725
+ transactionHash: viem2.Hash;
726
726
  transactionIndex: number;
727
- type: viem1.TransactionType;
727
+ type: viem2.TransactionType;
728
728
  l1GasPrice: bigint | null;
729
729
  l1GasUsed: bigint | null;
730
730
  l1Fee: bigint | null;
@@ -733,29 +733,409 @@ declare function getNetwork(name: string): {
733
733
  type: "transactionReceipt";
734
734
  };
735
735
  };
736
- prepareTransactionRequest?: ((args: viem1.PrepareTransactionRequestParameters, options: {
736
+ prepareTransactionRequest?: ((args: viem2.PrepareTransactionRequestParameters, options: {
737
737
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
738
- }) => Promise<viem1.PrepareTransactionRequestParameters>) | [fn: ((args: viem1.PrepareTransactionRequestParameters, options: {
738
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | [fn: ((args: viem2.PrepareTransactionRequestParameters, options: {
739
739
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
740
- }) => Promise<viem1.PrepareTransactionRequestParameters>) | undefined, options: {
740
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | undefined, options: {
741
741
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
742
742
  }] | undefined;
743
743
  serializers: {
744
744
  readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
745
745
  };
746
- verifyHash?: ((client: viem1.Client, parameters: viem1.VerifyHashActionParameters) => Promise<viem1.VerifyHashActionReturnType>) | undefined;
746
+ verifyHash?: ((client: viem2.Client, parameters: viem2.VerifyHashActionParameters) => Promise<viem2.VerifyHashActionReturnType>) | undefined;
747
747
  readonly network: "base-sepolia";
748
748
  };
749
749
  interface AppConfig {
750
750
  dataSourceRegistryContractAddress: Hex;
751
+ schemaRegistryContractAddress: Hex;
752
+ settlementRegistryContractAddress: Hex;
751
753
  chainName: string;
752
754
  chain: Chain;
753
755
  rpcUrl: string;
754
756
  caip2: number;
755
757
  }
756
- declare namespace FangornConfig {
757
- const ArbitrumSepolia: AppConfig;
758
- const BaseSepolia: AppConfig;
759
- }
758
+ declare const FangornConfig: {
759
+ ArbitrumSepolia: {
760
+ dataSourceRegistryContractAddress: "0xddd338e6a200012642a103c6631ea92eea94cabe";
761
+ schemaRegistryContractAddress: "0xef6754c29cfd0c8937a080695899f2a9a23c7c70";
762
+ settlementRegistryContractAddress: "0x5e918ba3fe33b0bdc68cd46eb6a77db754edef57";
763
+ chainName: string;
764
+ chain: {
765
+ blockExplorers: {
766
+ readonly default: {
767
+ readonly name: "Arbiscan";
768
+ readonly url: "https://sepolia.arbiscan.io";
769
+ readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
770
+ };
771
+ };
772
+ blockTime: 250;
773
+ contracts: {
774
+ readonly multicall3: {
775
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
776
+ readonly blockCreated: 81930;
777
+ };
778
+ };
779
+ ensTlds?: readonly string[] | undefined;
780
+ id: 421614;
781
+ name: "Arbitrum Sepolia";
782
+ nativeCurrency: {
783
+ readonly name: "Arbitrum Sepolia Ether";
784
+ readonly symbol: "ETH";
785
+ readonly decimals: 18;
786
+ };
787
+ experimental_preconfirmationTime?: number | undefined | undefined;
788
+ rpcUrls: {
789
+ readonly default: {
790
+ readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
791
+ };
792
+ };
793
+ sourceId?: number | undefined | undefined;
794
+ testnet: true;
795
+ custom?: Record<string, unknown> | undefined;
796
+ extendSchema?: Record<string, unknown> | undefined;
797
+ fees?: viem2.ChainFees<undefined> | undefined;
798
+ formatters?: undefined;
799
+ prepareTransactionRequest?: ((args: viem2.PrepareTransactionRequestParameters, options: {
800
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
801
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | [fn: ((args: viem2.PrepareTransactionRequestParameters, options: {
802
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
803
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | undefined, options: {
804
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
805
+ }] | undefined;
806
+ serializers?: viem2.ChainSerializers<undefined, viem2.TransactionSerializable> | undefined;
807
+ verifyHash?: ((client: viem2.Client, parameters: viem2.VerifyHashActionParameters) => Promise<viem2.VerifyHashActionReturnType>) | undefined;
808
+ };
809
+ rpcUrl: string;
810
+ caip2: number;
811
+ };
812
+ BaseSepolia: {
813
+ dataSourceRegistryContractAddress: "0x6fd0e50073dbd8169bcaf066bb4a4991bfa48eeb";
814
+ schemaRegistryContractAddress: "0x0";
815
+ settlementRegistryContractAddress: "0x0";
816
+ chainName: string;
817
+ chain: {
818
+ blockExplorers: {
819
+ readonly default: {
820
+ readonly name: "Basescan";
821
+ readonly url: "https://sepolia.basescan.org";
822
+ readonly apiUrl: "https://api-sepolia.basescan.org/api";
823
+ };
824
+ };
825
+ blockTime: 2000;
826
+ contracts: {
827
+ readonly disputeGameFactory: {
828
+ readonly 11155111: {
829
+ readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
830
+ };
831
+ };
832
+ readonly l2OutputOracle: {
833
+ readonly 11155111: {
834
+ readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
835
+ };
836
+ };
837
+ readonly portal: {
838
+ readonly 11155111: {
839
+ readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
840
+ readonly blockCreated: 4446677;
841
+ };
842
+ };
843
+ readonly l1StandardBridge: {
844
+ readonly 11155111: {
845
+ readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
846
+ readonly blockCreated: 4446677;
847
+ };
848
+ };
849
+ readonly multicall3: {
850
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
851
+ readonly blockCreated: 1059647;
852
+ };
853
+ readonly gasPriceOracle: {
854
+ readonly address: "0x420000000000000000000000000000000000000F";
855
+ };
856
+ readonly l1Block: {
857
+ readonly address: "0x4200000000000000000000000000000000000015";
858
+ };
859
+ readonly l2CrossDomainMessenger: {
860
+ readonly address: "0x4200000000000000000000000000000000000007";
861
+ };
862
+ readonly l2Erc721Bridge: {
863
+ readonly address: "0x4200000000000000000000000000000000000014";
864
+ };
865
+ readonly l2StandardBridge: {
866
+ readonly address: "0x4200000000000000000000000000000000000010";
867
+ };
868
+ readonly l2ToL1MessagePasser: {
869
+ readonly address: "0x4200000000000000000000000000000000000016";
870
+ };
871
+ };
872
+ ensTlds?: readonly string[] | undefined;
873
+ id: 84532;
874
+ name: "Base Sepolia";
875
+ nativeCurrency: {
876
+ readonly name: "Sepolia Ether";
877
+ readonly symbol: "ETH";
878
+ readonly decimals: 18;
879
+ };
880
+ experimental_preconfirmationTime?: number | undefined | undefined;
881
+ rpcUrls: {
882
+ readonly default: {
883
+ readonly http: readonly ["https://sepolia.base.org"];
884
+ };
885
+ };
886
+ sourceId: 11155111;
887
+ testnet: true;
888
+ custom?: Record<string, unknown> | undefined;
889
+ extendSchema?: Record<string, unknown> | undefined;
890
+ fees?: viem2.ChainFees<undefined> | undefined;
891
+ formatters: {
892
+ readonly block: {
893
+ exclude: [] | undefined;
894
+ format: (args: viem_chains0.OpStackRpcBlock, action?: string | undefined) => {
895
+ baseFeePerGas: bigint | null;
896
+ blobGasUsed: bigint;
897
+ difficulty: bigint;
898
+ excessBlobGas: bigint;
899
+ extraData: viem2.Hex;
900
+ gasLimit: bigint;
901
+ gasUsed: bigint;
902
+ hash: `0x${string}` | null;
903
+ logsBloom: `0x${string}` | null;
904
+ miner: viem2.Address;
905
+ mixHash: viem2.Hash;
906
+ nonce: `0x${string}` | null;
907
+ number: bigint | null;
908
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
909
+ parentHash: viem2.Hash;
910
+ receiptsRoot: viem2.Hex;
911
+ sealFields: viem2.Hex[];
912
+ sha3Uncles: viem2.Hash;
913
+ size: bigint;
914
+ stateRoot: viem2.Hash;
915
+ timestamp: bigint;
916
+ totalDifficulty: bigint | null;
917
+ transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
918
+ transactionsRoot: viem2.Hash;
919
+ uncles: viem2.Hash[];
920
+ withdrawals?: viem2.Withdrawal[] | undefined | undefined;
921
+ withdrawalsRoot?: `0x${string}` | undefined;
922
+ } & {};
923
+ type: "block";
924
+ };
925
+ readonly transaction: {
926
+ exclude: [] | undefined;
927
+ format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
928
+ blockHash: `0x${string}` | null;
929
+ blockNumber: bigint | null;
930
+ from: viem2.Address;
931
+ gas: bigint;
932
+ hash: viem2.Hash;
933
+ input: viem2.Hex;
934
+ nonce: number;
935
+ r: viem2.Hex;
936
+ s: viem2.Hex;
937
+ to: viem2.Address | null;
938
+ transactionIndex: number | null;
939
+ typeHex: viem2.Hex | null;
940
+ v: bigint;
941
+ value: bigint;
942
+ yParity: number;
943
+ gasPrice?: undefined | undefined;
944
+ maxFeePerBlobGas?: undefined | undefined;
945
+ maxFeePerGas: bigint;
946
+ maxPriorityFeePerGas: bigint;
947
+ isSystemTx?: boolean;
948
+ mint?: bigint | undefined | undefined;
949
+ sourceHash: viem2.Hex;
950
+ type: "deposit";
951
+ } | {
952
+ r: viem2.Hex;
953
+ s: viem2.Hex;
954
+ v: bigint;
955
+ to: viem2.Address | null;
956
+ from: viem2.Address;
957
+ gas: bigint;
958
+ nonce: number;
959
+ value: bigint;
960
+ blockHash: `0x${string}` | null;
961
+ blockNumber: bigint | null;
962
+ hash: viem2.Hash;
963
+ input: viem2.Hex;
964
+ transactionIndex: number | null;
965
+ typeHex: viem2.Hex | null;
966
+ accessList?: undefined | undefined;
967
+ authorizationList?: undefined | undefined;
968
+ blobVersionedHashes?: undefined | undefined;
969
+ chainId?: number | undefined;
970
+ yParity?: undefined | undefined;
971
+ type: "legacy";
972
+ gasPrice: bigint;
973
+ maxFeePerBlobGas?: undefined | undefined;
974
+ maxFeePerGas?: undefined | undefined;
975
+ maxPriorityFeePerGas?: undefined | undefined;
976
+ isSystemTx?: undefined | undefined;
977
+ mint?: undefined | undefined;
978
+ sourceHash?: undefined | undefined;
979
+ } | {
980
+ blockHash: `0x${string}` | null;
981
+ blockNumber: bigint | null;
982
+ from: viem2.Address;
983
+ gas: bigint;
984
+ hash: viem2.Hash;
985
+ input: viem2.Hex;
986
+ nonce: number;
987
+ r: viem2.Hex;
988
+ s: viem2.Hex;
989
+ to: viem2.Address | null;
990
+ transactionIndex: number | null;
991
+ typeHex: viem2.Hex | null;
992
+ v: bigint;
993
+ value: bigint;
994
+ yParity: number;
995
+ accessList: viem2.AccessList;
996
+ authorizationList?: undefined | undefined;
997
+ blobVersionedHashes?: undefined | undefined;
998
+ chainId: number;
999
+ type: "eip2930";
1000
+ gasPrice: bigint;
1001
+ maxFeePerBlobGas?: undefined | undefined;
1002
+ maxFeePerGas?: undefined | undefined;
1003
+ maxPriorityFeePerGas?: undefined | undefined;
1004
+ isSystemTx?: undefined | undefined;
1005
+ mint?: undefined | undefined;
1006
+ sourceHash?: undefined | undefined;
1007
+ } | {
1008
+ blockHash: `0x${string}` | null;
1009
+ blockNumber: bigint | null;
1010
+ from: viem2.Address;
1011
+ gas: bigint;
1012
+ hash: viem2.Hash;
1013
+ input: viem2.Hex;
1014
+ nonce: number;
1015
+ r: viem2.Hex;
1016
+ s: viem2.Hex;
1017
+ to: viem2.Address | null;
1018
+ transactionIndex: number | null;
1019
+ typeHex: viem2.Hex | null;
1020
+ v: bigint;
1021
+ value: bigint;
1022
+ yParity: number;
1023
+ accessList: viem2.AccessList;
1024
+ authorizationList?: undefined | undefined;
1025
+ blobVersionedHashes?: undefined | undefined;
1026
+ chainId: number;
1027
+ type: "eip1559";
1028
+ gasPrice?: undefined | undefined;
1029
+ maxFeePerBlobGas?: undefined | undefined;
1030
+ maxFeePerGas: bigint;
1031
+ maxPriorityFeePerGas: bigint;
1032
+ isSystemTx?: undefined | undefined;
1033
+ mint?: undefined | undefined;
1034
+ sourceHash?: undefined | undefined;
1035
+ } | {
1036
+ blockHash: `0x${string}` | null;
1037
+ blockNumber: bigint | null;
1038
+ from: viem2.Address;
1039
+ gas: bigint;
1040
+ hash: viem2.Hash;
1041
+ input: viem2.Hex;
1042
+ nonce: number;
1043
+ r: viem2.Hex;
1044
+ s: viem2.Hex;
1045
+ to: viem2.Address | null;
1046
+ transactionIndex: number | null;
1047
+ typeHex: viem2.Hex | null;
1048
+ v: bigint;
1049
+ value: bigint;
1050
+ yParity: number;
1051
+ accessList: viem2.AccessList;
1052
+ authorizationList?: undefined | undefined;
1053
+ blobVersionedHashes: readonly viem2.Hex[];
1054
+ chainId: number;
1055
+ type: "eip4844";
1056
+ gasPrice?: undefined | undefined;
1057
+ maxFeePerBlobGas: bigint;
1058
+ maxFeePerGas: bigint;
1059
+ maxPriorityFeePerGas: bigint;
1060
+ isSystemTx?: undefined | undefined;
1061
+ mint?: undefined | undefined;
1062
+ sourceHash?: undefined | undefined;
1063
+ } | {
1064
+ blockHash: `0x${string}` | null;
1065
+ blockNumber: bigint | null;
1066
+ from: viem2.Address;
1067
+ gas: bigint;
1068
+ hash: viem2.Hash;
1069
+ input: viem2.Hex;
1070
+ nonce: number;
1071
+ r: viem2.Hex;
1072
+ s: viem2.Hex;
1073
+ to: viem2.Address | null;
1074
+ transactionIndex: number | null;
1075
+ typeHex: viem2.Hex | null;
1076
+ v: bigint;
1077
+ value: bigint;
1078
+ yParity: number;
1079
+ accessList: viem2.AccessList;
1080
+ authorizationList: viem2.SignedAuthorizationList;
1081
+ blobVersionedHashes?: undefined | undefined;
1082
+ chainId: number;
1083
+ type: "eip7702";
1084
+ gasPrice?: undefined | undefined;
1085
+ maxFeePerBlobGas?: undefined | undefined;
1086
+ maxFeePerGas: bigint;
1087
+ maxPriorityFeePerGas: bigint;
1088
+ isSystemTx?: undefined | undefined;
1089
+ mint?: undefined | undefined;
1090
+ sourceHash?: undefined | undefined;
1091
+ }) & {};
1092
+ type: "transaction";
1093
+ };
1094
+ readonly transactionReceipt: {
1095
+ exclude: [] | undefined;
1096
+ format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
1097
+ blobGasPrice?: bigint | undefined;
1098
+ blobGasUsed?: bigint | undefined;
1099
+ blockHash: viem2.Hash;
1100
+ blockNumber: bigint;
1101
+ blockTimestamp?: bigint | undefined;
1102
+ contractAddress: viem2.Address | null | undefined;
1103
+ cumulativeGasUsed: bigint;
1104
+ effectiveGasPrice: bigint;
1105
+ from: viem2.Address;
1106
+ gasUsed: bigint;
1107
+ logs: viem2.Log<bigint, number, false>[];
1108
+ logsBloom: viem2.Hex;
1109
+ root?: `0x${string}` | undefined;
1110
+ status: "success" | "reverted";
1111
+ to: viem2.Address | null;
1112
+ transactionHash: viem2.Hash;
1113
+ transactionIndex: number;
1114
+ type: viem2.TransactionType;
1115
+ l1GasPrice: bigint | null;
1116
+ l1GasUsed: bigint | null;
1117
+ l1Fee: bigint | null;
1118
+ l1FeeScalar: number | null;
1119
+ } & {};
1120
+ type: "transactionReceipt";
1121
+ };
1122
+ };
1123
+ prepareTransactionRequest?: ((args: viem2.PrepareTransactionRequestParameters, options: {
1124
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1125
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | [fn: ((args: viem2.PrepareTransactionRequestParameters, options: {
1126
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1127
+ }) => Promise<viem2.PrepareTransactionRequestParameters>) | undefined, options: {
1128
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
1129
+ }] | undefined;
1130
+ serializers: {
1131
+ readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
1132
+ };
1133
+ verifyHash?: ((client: viem2.Client, parameters: viem2.VerifyHashActionParameters) => Promise<viem2.VerifyHashActionReturnType>) | undefined;
1134
+ readonly network: "base-sepolia";
1135
+ };
1136
+ rpcUrl: string;
1137
+ caip2: number;
1138
+ };
1139
+ };
760
1140
  //#endregion
761
1141
  export { AppConfig, FangornConfig, SupportedNetworks, getNetwork as default };