@fangorn-network/sdk 2026.3.28 → 2026.3.29

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/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as viem_chains0 from "viem/chains";
2
- import * as viem0 from "viem";
1
+ import * as viem_chains9 from "viem/chains";
2
+ import * as viem171 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?: viem0.ChainFees<undefined> | undefined;
45
+ fees?: viem171.ChainFees<undefined> | undefined;
46
46
  formatters?: undefined;
47
- prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
47
+ prepareTransactionRequest?: ((args: viem171.PrepareTransactionRequestParameters, options: {
48
48
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
49
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
49
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | [fn: ((args: viem171.PrepareTransactionRequestParameters, options: {
50
50
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
51
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
51
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | undefined, options: {
52
52
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
53
53
  }] | undefined;
54
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
55
- verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
54
+ serializers?: viem171.ChainSerializers<undefined, viem171.TransactionSerializable> | undefined;
55
+ verifyHash?: ((client: viem171.Client, parameters: viem171.VerifyHashActionParameters) => Promise<viem171.VerifyHashActionReturnType>) | undefined;
56
56
  };
57
57
  };
58
58
  BaseSepolia: {
@@ -130,56 +130,56 @@ declare const SupportedNetworks: {
130
130
  testnet: true;
131
131
  custom?: Record<string, unknown> | undefined;
132
132
  extendSchema?: Record<string, unknown> | undefined;
133
- fees?: viem0.ChainFees<undefined> | undefined;
133
+ fees?: viem171.ChainFees<undefined> | undefined;
134
134
  formatters: {
135
135
  readonly block: {
136
136
  exclude: [] | undefined;
137
- format: (args: viem_chains0.OpStackRpcBlock, action?: string | undefined) => {
137
+ format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
138
138
  baseFeePerGas: bigint | null;
139
139
  blobGasUsed: bigint;
140
140
  difficulty: bigint;
141
141
  excessBlobGas: bigint;
142
- extraData: viem0.Hex;
142
+ extraData: viem171.Hex;
143
143
  gasLimit: bigint;
144
144
  gasUsed: bigint;
145
145
  hash: `0x${string}` | null;
146
146
  logsBloom: `0x${string}` | null;
147
- miner: viem0.Address;
148
- mixHash: viem0.Hash;
147
+ miner: viem171.Address;
148
+ mixHash: viem171.Hash;
149
149
  nonce: `0x${string}` | null;
150
150
  number: bigint | null;
151
151
  parentBeaconBlockRoot?: `0x${string}` | undefined;
152
- parentHash: viem0.Hash;
153
- receiptsRoot: viem0.Hex;
154
- sealFields: viem0.Hex[];
155
- sha3Uncles: viem0.Hash;
152
+ parentHash: viem171.Hash;
153
+ receiptsRoot: viem171.Hex;
154
+ sealFields: viem171.Hex[];
155
+ sha3Uncles: viem171.Hash;
156
156
  size: bigint;
157
- stateRoot: viem0.Hash;
157
+ stateRoot: viem171.Hash;
158
158
  timestamp: bigint;
159
159
  totalDifficulty: bigint | null;
160
- transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
161
- transactionsRoot: viem0.Hash;
162
- uncles: viem0.Hash[];
163
- withdrawals?: viem0.Withdrawal[] | undefined | undefined;
160
+ transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
161
+ transactionsRoot: viem171.Hash;
162
+ uncles: viem171.Hash[];
163
+ withdrawals?: viem171.Withdrawal[] | undefined | undefined;
164
164
  withdrawalsRoot?: `0x${string}` | undefined;
165
165
  } & {};
166
166
  type: "block";
167
167
  };
168
168
  readonly transaction: {
169
169
  exclude: [] | undefined;
170
- format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
170
+ format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
171
171
  blockHash: `0x${string}` | null;
172
172
  blockNumber: bigint | null;
173
- from: viem0.Address;
173
+ from: viem171.Address;
174
174
  gas: bigint;
175
- hash: viem0.Hash;
176
- input: viem0.Hex;
175
+ hash: viem171.Hash;
176
+ input: viem171.Hex;
177
177
  nonce: number;
178
- r: viem0.Hex;
179
- s: viem0.Hex;
180
- to: viem0.Address | null;
178
+ r: viem171.Hex;
179
+ s: viem171.Hex;
180
+ to: viem171.Address | null;
181
181
  transactionIndex: number | null;
182
- typeHex: viem0.Hex | null;
182
+ typeHex: viem171.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: viem0.Hex;
192
+ sourceHash: viem171.Hex;
193
193
  type: "deposit";
194
194
  } | {
195
- r: viem0.Hex;
196
- s: viem0.Hex;
195
+ r: viem171.Hex;
196
+ s: viem171.Hex;
197
197
  v: bigint;
198
- to: viem0.Address | null;
199
- from: viem0.Address;
198
+ to: viem171.Address | null;
199
+ from: viem171.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: viem0.Hash;
206
- input: viem0.Hex;
205
+ hash: viem171.Hash;
206
+ input: viem171.Hex;
207
207
  transactionIndex: number | null;
208
- typeHex: viem0.Hex | null;
208
+ typeHex: viem171.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: viem0.Address;
225
+ from: viem171.Address;
226
226
  gas: bigint;
227
- hash: viem0.Hash;
228
- input: viem0.Hex;
227
+ hash: viem171.Hash;
228
+ input: viem171.Hex;
229
229
  nonce: number;
230
- r: viem0.Hex;
231
- s: viem0.Hex;
232
- to: viem0.Address | null;
230
+ r: viem171.Hex;
231
+ s: viem171.Hex;
232
+ to: viem171.Address | null;
233
233
  transactionIndex: number | null;
234
- typeHex: viem0.Hex | null;
234
+ typeHex: viem171.Hex | null;
235
235
  v: bigint;
236
236
  value: bigint;
237
237
  yParity: number;
238
- accessList: viem0.AccessList;
238
+ accessList: viem171.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: viem0.Address;
253
+ from: viem171.Address;
254
254
  gas: bigint;
255
- hash: viem0.Hash;
256
- input: viem0.Hex;
255
+ hash: viem171.Hash;
256
+ input: viem171.Hex;
257
257
  nonce: number;
258
- r: viem0.Hex;
259
- s: viem0.Hex;
260
- to: viem0.Address | null;
258
+ r: viem171.Hex;
259
+ s: viem171.Hex;
260
+ to: viem171.Address | null;
261
261
  transactionIndex: number | null;
262
- typeHex: viem0.Hex | null;
262
+ typeHex: viem171.Hex | null;
263
263
  v: bigint;
264
264
  value: bigint;
265
265
  yParity: number;
266
- accessList: viem0.AccessList;
266
+ accessList: viem171.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: viem0.Address;
281
+ from: viem171.Address;
282
282
  gas: bigint;
283
- hash: viem0.Hash;
284
- input: viem0.Hex;
283
+ hash: viem171.Hash;
284
+ input: viem171.Hex;
285
285
  nonce: number;
286
- r: viem0.Hex;
287
- s: viem0.Hex;
288
- to: viem0.Address | null;
286
+ r: viem171.Hex;
287
+ s: viem171.Hex;
288
+ to: viem171.Address | null;
289
289
  transactionIndex: number | null;
290
- typeHex: viem0.Hex | null;
290
+ typeHex: viem171.Hex | null;
291
291
  v: bigint;
292
292
  value: bigint;
293
293
  yParity: number;
294
- accessList: viem0.AccessList;
294
+ accessList: viem171.AccessList;
295
295
  authorizationList?: undefined | undefined;
296
- blobVersionedHashes: readonly viem0.Hex[];
296
+ blobVersionedHashes: readonly viem171.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: viem0.Address;
309
+ from: viem171.Address;
310
310
  gas: bigint;
311
- hash: viem0.Hash;
312
- input: viem0.Hex;
311
+ hash: viem171.Hash;
312
+ input: viem171.Hex;
313
313
  nonce: number;
314
- r: viem0.Hex;
315
- s: viem0.Hex;
316
- to: viem0.Address | null;
314
+ r: viem171.Hex;
315
+ s: viem171.Hex;
316
+ to: viem171.Address | null;
317
317
  transactionIndex: number | null;
318
- typeHex: viem0.Hex | null;
318
+ typeHex: viem171.Hex | null;
319
319
  v: bigint;
320
320
  value: bigint;
321
321
  yParity: number;
322
- accessList: viem0.AccessList;
323
- authorizationList: viem0.SignedAuthorizationList;
322
+ accessList: viem171.AccessList;
323
+ authorizationList: viem171.SignedAuthorizationList;
324
324
  blobVersionedHashes?: undefined | undefined;
325
325
  chainId: number;
326
326
  type: "eip7702";
@@ -336,25 +336,25 @@ declare const SupportedNetworks: {
336
336
  };
337
337
  readonly transactionReceipt: {
338
338
  exclude: [] | undefined;
339
- format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
339
+ format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
340
340
  blobGasPrice?: bigint | undefined;
341
341
  blobGasUsed?: bigint | undefined;
342
- blockHash: viem0.Hash;
342
+ blockHash: viem171.Hash;
343
343
  blockNumber: bigint;
344
344
  blockTimestamp?: bigint | undefined;
345
- contractAddress: viem0.Address | null | undefined;
345
+ contractAddress: viem171.Address | null | undefined;
346
346
  cumulativeGasUsed: bigint;
347
347
  effectiveGasPrice: bigint;
348
- from: viem0.Address;
348
+ from: viem171.Address;
349
349
  gasUsed: bigint;
350
- logs: viem0.Log<bigint, number, false>[];
351
- logsBloom: viem0.Hex;
350
+ logs: viem171.Log<bigint, number, false>[];
351
+ logsBloom: viem171.Hex;
352
352
  root?: `0x${string}` | undefined;
353
353
  status: "success" | "reverted";
354
- to: viem0.Address | null;
355
- transactionHash: viem0.Hash;
354
+ to: viem171.Address | null;
355
+ transactionHash: viem171.Hash;
356
356
  transactionIndex: number;
357
- type: viem0.TransactionType;
357
+ type: viem171.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: viem0.PrepareTransactionRequestParameters, options: {
366
+ prepareTransactionRequest?: ((args: viem171.PrepareTransactionRequestParameters, options: {
367
367
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
368
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
368
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | [fn: ((args: viem171.PrepareTransactionRequestParameters, options: {
369
369
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
370
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
370
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | undefined, options: {
371
371
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
372
372
  }] | undefined;
373
373
  serializers: {
374
- readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
374
+ readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
375
375
  };
376
- verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
376
+ verifyHash?: ((client: viem171.Client, parameters: viem171.VerifyHashActionParameters) => Promise<viem171.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?: viem0.ChainFees<undefined> | undefined;
419
+ fees?: viem171.ChainFees<undefined> | undefined;
420
420
  formatters?: undefined;
421
- prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
421
+ prepareTransactionRequest?: ((args: viem171.PrepareTransactionRequestParameters, options: {
422
422
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
423
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
423
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | [fn: ((args: viem171.PrepareTransactionRequestParameters, options: {
424
424
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
425
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
425
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | undefined, options: {
426
426
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
427
427
  }] | undefined;
428
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
429
- verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
428
+ serializers?: viem171.ChainSerializers<undefined, viem171.TransactionSerializable> | undefined;
429
+ verifyHash?: ((client: viem171.Client, parameters: viem171.VerifyHashActionParameters) => Promise<viem171.VerifyHashActionReturnType>) | undefined;
430
430
  } | {
431
431
  blockExplorers: {
432
432
  readonly default: {
@@ -500,56 +500,56 @@ 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?: viem0.ChainFees<undefined> | undefined;
503
+ fees?: viem171.ChainFees<undefined> | undefined;
504
504
  formatters: {
505
505
  readonly block: {
506
506
  exclude: [] | undefined;
507
- format: (args: viem_chains0.OpStackRpcBlock, action?: string | undefined) => {
507
+ format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
508
508
  baseFeePerGas: bigint | null;
509
509
  blobGasUsed: bigint;
510
510
  difficulty: bigint;
511
511
  excessBlobGas: bigint;
512
- extraData: viem0.Hex;
512
+ extraData: viem171.Hex;
513
513
  gasLimit: bigint;
514
514
  gasUsed: bigint;
515
515
  hash: `0x${string}` | null;
516
516
  logsBloom: `0x${string}` | null;
517
- miner: viem0.Address;
518
- mixHash: viem0.Hash;
517
+ miner: viem171.Address;
518
+ mixHash: viem171.Hash;
519
519
  nonce: `0x${string}` | null;
520
520
  number: bigint | null;
521
521
  parentBeaconBlockRoot?: `0x${string}` | undefined;
522
- parentHash: viem0.Hash;
523
- receiptsRoot: viem0.Hex;
524
- sealFields: viem0.Hex[];
525
- sha3Uncles: viem0.Hash;
522
+ parentHash: viem171.Hash;
523
+ receiptsRoot: viem171.Hex;
524
+ sealFields: viem171.Hex[];
525
+ sha3Uncles: viem171.Hash;
526
526
  size: bigint;
527
- stateRoot: viem0.Hash;
527
+ stateRoot: viem171.Hash;
528
528
  timestamp: bigint;
529
529
  totalDifficulty: bigint | null;
530
- transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
531
- transactionsRoot: viem0.Hash;
532
- uncles: viem0.Hash[];
533
- withdrawals?: viem0.Withdrawal[] | undefined | undefined;
530
+ transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
531
+ transactionsRoot: viem171.Hash;
532
+ uncles: viem171.Hash[];
533
+ withdrawals?: viem171.Withdrawal[] | undefined | undefined;
534
534
  withdrawalsRoot?: `0x${string}` | undefined;
535
535
  } & {};
536
536
  type: "block";
537
537
  };
538
538
  readonly transaction: {
539
539
  exclude: [] | undefined;
540
- format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
540
+ format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
541
541
  blockHash: `0x${string}` | null;
542
542
  blockNumber: bigint | null;
543
- from: viem0.Address;
543
+ from: viem171.Address;
544
544
  gas: bigint;
545
- hash: viem0.Hash;
546
- input: viem0.Hex;
545
+ hash: viem171.Hash;
546
+ input: viem171.Hex;
547
547
  nonce: number;
548
- r: viem0.Hex;
549
- s: viem0.Hex;
550
- to: viem0.Address | null;
548
+ r: viem171.Hex;
549
+ s: viem171.Hex;
550
+ to: viem171.Address | null;
551
551
  transactionIndex: number | null;
552
- typeHex: viem0.Hex | null;
552
+ typeHex: viem171.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: viem0.Hex;
562
+ sourceHash: viem171.Hex;
563
563
  type: "deposit";
564
564
  } | {
565
- r: viem0.Hex;
566
- s: viem0.Hex;
565
+ r: viem171.Hex;
566
+ s: viem171.Hex;
567
567
  v: bigint;
568
- to: viem0.Address | null;
569
- from: viem0.Address;
568
+ to: viem171.Address | null;
569
+ from: viem171.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: viem0.Hash;
576
- input: viem0.Hex;
575
+ hash: viem171.Hash;
576
+ input: viem171.Hex;
577
577
  transactionIndex: number | null;
578
- typeHex: viem0.Hex | null;
578
+ typeHex: viem171.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: viem0.Address;
595
+ from: viem171.Address;
596
596
  gas: bigint;
597
- hash: viem0.Hash;
598
- input: viem0.Hex;
597
+ hash: viem171.Hash;
598
+ input: viem171.Hex;
599
599
  nonce: number;
600
- r: viem0.Hex;
601
- s: viem0.Hex;
602
- to: viem0.Address | null;
600
+ r: viem171.Hex;
601
+ s: viem171.Hex;
602
+ to: viem171.Address | null;
603
603
  transactionIndex: number | null;
604
- typeHex: viem0.Hex | null;
604
+ typeHex: viem171.Hex | null;
605
605
  v: bigint;
606
606
  value: bigint;
607
607
  yParity: number;
608
- accessList: viem0.AccessList;
608
+ accessList: viem171.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: viem0.Address;
623
+ from: viem171.Address;
624
624
  gas: bigint;
625
- hash: viem0.Hash;
626
- input: viem0.Hex;
625
+ hash: viem171.Hash;
626
+ input: viem171.Hex;
627
627
  nonce: number;
628
- r: viem0.Hex;
629
- s: viem0.Hex;
630
- to: viem0.Address | null;
628
+ r: viem171.Hex;
629
+ s: viem171.Hex;
630
+ to: viem171.Address | null;
631
631
  transactionIndex: number | null;
632
- typeHex: viem0.Hex | null;
632
+ typeHex: viem171.Hex | null;
633
633
  v: bigint;
634
634
  value: bigint;
635
635
  yParity: number;
636
- accessList: viem0.AccessList;
636
+ accessList: viem171.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: viem0.Address;
651
+ from: viem171.Address;
652
652
  gas: bigint;
653
- hash: viem0.Hash;
654
- input: viem0.Hex;
653
+ hash: viem171.Hash;
654
+ input: viem171.Hex;
655
655
  nonce: number;
656
- r: viem0.Hex;
657
- s: viem0.Hex;
658
- to: viem0.Address | null;
656
+ r: viem171.Hex;
657
+ s: viem171.Hex;
658
+ to: viem171.Address | null;
659
659
  transactionIndex: number | null;
660
- typeHex: viem0.Hex | null;
660
+ typeHex: viem171.Hex | null;
661
661
  v: bigint;
662
662
  value: bigint;
663
663
  yParity: number;
664
- accessList: viem0.AccessList;
664
+ accessList: viem171.AccessList;
665
665
  authorizationList?: undefined | undefined;
666
- blobVersionedHashes: readonly viem0.Hex[];
666
+ blobVersionedHashes: readonly viem171.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: viem0.Address;
679
+ from: viem171.Address;
680
680
  gas: bigint;
681
- hash: viem0.Hash;
682
- input: viem0.Hex;
681
+ hash: viem171.Hash;
682
+ input: viem171.Hex;
683
683
  nonce: number;
684
- r: viem0.Hex;
685
- s: viem0.Hex;
686
- to: viem0.Address | null;
684
+ r: viem171.Hex;
685
+ s: viem171.Hex;
686
+ to: viem171.Address | null;
687
687
  transactionIndex: number | null;
688
- typeHex: viem0.Hex | null;
688
+ typeHex: viem171.Hex | null;
689
689
  v: bigint;
690
690
  value: bigint;
691
691
  yParity: number;
692
- accessList: viem0.AccessList;
693
- authorizationList: viem0.SignedAuthorizationList;
692
+ accessList: viem171.AccessList;
693
+ authorizationList: viem171.SignedAuthorizationList;
694
694
  blobVersionedHashes?: undefined | undefined;
695
695
  chainId: number;
696
696
  type: "eip7702";
@@ -706,25 +706,25 @@ declare function getNetwork(name: string): {
706
706
  };
707
707
  readonly transactionReceipt: {
708
708
  exclude: [] | undefined;
709
- format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
709
+ format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
710
710
  blobGasPrice?: bigint | undefined;
711
711
  blobGasUsed?: bigint | undefined;
712
- blockHash: viem0.Hash;
712
+ blockHash: viem171.Hash;
713
713
  blockNumber: bigint;
714
714
  blockTimestamp?: bigint | undefined;
715
- contractAddress: viem0.Address | null | undefined;
715
+ contractAddress: viem171.Address | null | undefined;
716
716
  cumulativeGasUsed: bigint;
717
717
  effectiveGasPrice: bigint;
718
- from: viem0.Address;
718
+ from: viem171.Address;
719
719
  gasUsed: bigint;
720
- logs: viem0.Log<bigint, number, false>[];
721
- logsBloom: viem0.Hex;
720
+ logs: viem171.Log<bigint, number, false>[];
721
+ logsBloom: viem171.Hex;
722
722
  root?: `0x${string}` | undefined;
723
723
  status: "success" | "reverted";
724
- to: viem0.Address | null;
725
- transactionHash: viem0.Hash;
724
+ to: viem171.Address | null;
725
+ transactionHash: viem171.Hash;
726
726
  transactionIndex: number;
727
- type: viem0.TransactionType;
727
+ type: viem171.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: viem0.PrepareTransactionRequestParameters, options: {
736
+ prepareTransactionRequest?: ((args: viem171.PrepareTransactionRequestParameters, options: {
737
737
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
738
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
738
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | [fn: ((args: viem171.PrepareTransactionRequestParameters, options: {
739
739
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
740
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
740
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | undefined, options: {
741
741
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
742
742
  }] | undefined;
743
743
  serializers: {
744
- readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
744
+ readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
745
745
  };
746
- verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
746
+ verifyHash?: ((client: viem171.Client, parameters: viem171.VerifyHashActionParameters) => Promise<viem171.VerifyHashActionReturnType>) | undefined;
747
747
  readonly network: "base-sepolia";
748
748
  };
749
749
  interface AppConfig {
@@ -794,17 +794,17 @@ declare const FangornConfig: {
794
794
  testnet: true;
795
795
  custom?: Record<string, unknown> | undefined;
796
796
  extendSchema?: Record<string, unknown> | undefined;
797
- fees?: viem0.ChainFees<undefined> | undefined;
797
+ fees?: viem171.ChainFees<undefined> | undefined;
798
798
  formatters?: undefined;
799
- prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
799
+ prepareTransactionRequest?: ((args: viem171.PrepareTransactionRequestParameters, options: {
800
800
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
801
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
801
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | [fn: ((args: viem171.PrepareTransactionRequestParameters, options: {
802
802
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
803
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
803
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | undefined, options: {
804
804
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
805
805
  }] | undefined;
806
- serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
807
- verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
806
+ serializers?: viem171.ChainSerializers<undefined, viem171.TransactionSerializable> | undefined;
807
+ verifyHash?: ((client: viem171.Client, parameters: viem171.VerifyHashActionParameters) => Promise<viem171.VerifyHashActionReturnType>) | undefined;
808
808
  };
809
809
  rpcUrl: string;
810
810
  caip2: number;
@@ -887,56 +887,56 @@ declare const FangornConfig: {
887
887
  testnet: true;
888
888
  custom?: Record<string, unknown> | undefined;
889
889
  extendSchema?: Record<string, unknown> | undefined;
890
- fees?: viem0.ChainFees<undefined> | undefined;
890
+ fees?: viem171.ChainFees<undefined> | undefined;
891
891
  formatters: {
892
892
  readonly block: {
893
893
  exclude: [] | undefined;
894
- format: (args: viem_chains0.OpStackRpcBlock, action?: string | undefined) => {
894
+ format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
895
895
  baseFeePerGas: bigint | null;
896
896
  blobGasUsed: bigint;
897
897
  difficulty: bigint;
898
898
  excessBlobGas: bigint;
899
- extraData: viem0.Hex;
899
+ extraData: viem171.Hex;
900
900
  gasLimit: bigint;
901
901
  gasUsed: bigint;
902
902
  hash: `0x${string}` | null;
903
903
  logsBloom: `0x${string}` | null;
904
- miner: viem0.Address;
905
- mixHash: viem0.Hash;
904
+ miner: viem171.Address;
905
+ mixHash: viem171.Hash;
906
906
  nonce: `0x${string}` | null;
907
907
  number: bigint | null;
908
908
  parentBeaconBlockRoot?: `0x${string}` | undefined;
909
- parentHash: viem0.Hash;
910
- receiptsRoot: viem0.Hex;
911
- sealFields: viem0.Hex[];
912
- sha3Uncles: viem0.Hash;
909
+ parentHash: viem171.Hash;
910
+ receiptsRoot: viem171.Hex;
911
+ sealFields: viem171.Hex[];
912
+ sha3Uncles: viem171.Hash;
913
913
  size: bigint;
914
- stateRoot: viem0.Hash;
914
+ stateRoot: viem171.Hash;
915
915
  timestamp: bigint;
916
916
  totalDifficulty: bigint | null;
917
- transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
918
- transactionsRoot: viem0.Hash;
919
- uncles: viem0.Hash[];
920
- withdrawals?: viem0.Withdrawal[] | undefined | undefined;
917
+ transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
918
+ transactionsRoot: viem171.Hash;
919
+ uncles: viem171.Hash[];
920
+ withdrawals?: viem171.Withdrawal[] | undefined | undefined;
921
921
  withdrawalsRoot?: `0x${string}` | undefined;
922
922
  } & {};
923
923
  type: "block";
924
924
  };
925
925
  readonly transaction: {
926
926
  exclude: [] | undefined;
927
- format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
927
+ format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
928
928
  blockHash: `0x${string}` | null;
929
929
  blockNumber: bigint | null;
930
- from: viem0.Address;
930
+ from: viem171.Address;
931
931
  gas: bigint;
932
- hash: viem0.Hash;
933
- input: viem0.Hex;
932
+ hash: viem171.Hash;
933
+ input: viem171.Hex;
934
934
  nonce: number;
935
- r: viem0.Hex;
936
- s: viem0.Hex;
937
- to: viem0.Address | null;
935
+ r: viem171.Hex;
936
+ s: viem171.Hex;
937
+ to: viem171.Address | null;
938
938
  transactionIndex: number | null;
939
- typeHex: viem0.Hex | null;
939
+ typeHex: viem171.Hex | null;
940
940
  v: bigint;
941
941
  value: bigint;
942
942
  yParity: number;
@@ -946,23 +946,23 @@ declare const FangornConfig: {
946
946
  maxPriorityFeePerGas: bigint;
947
947
  isSystemTx?: boolean;
948
948
  mint?: bigint | undefined | undefined;
949
- sourceHash: viem0.Hex;
949
+ sourceHash: viem171.Hex;
950
950
  type: "deposit";
951
951
  } | {
952
- r: viem0.Hex;
953
- s: viem0.Hex;
952
+ r: viem171.Hex;
953
+ s: viem171.Hex;
954
954
  v: bigint;
955
- to: viem0.Address | null;
956
- from: viem0.Address;
955
+ to: viem171.Address | null;
956
+ from: viem171.Address;
957
957
  gas: bigint;
958
958
  nonce: number;
959
959
  value: bigint;
960
960
  blockHash: `0x${string}` | null;
961
961
  blockNumber: bigint | null;
962
- hash: viem0.Hash;
963
- input: viem0.Hex;
962
+ hash: viem171.Hash;
963
+ input: viem171.Hex;
964
964
  transactionIndex: number | null;
965
- typeHex: viem0.Hex | null;
965
+ typeHex: viem171.Hex | null;
966
966
  accessList?: undefined | undefined;
967
967
  authorizationList?: undefined | undefined;
968
968
  blobVersionedHashes?: undefined | undefined;
@@ -979,20 +979,20 @@ declare const FangornConfig: {
979
979
  } | {
980
980
  blockHash: `0x${string}` | null;
981
981
  blockNumber: bigint | null;
982
- from: viem0.Address;
982
+ from: viem171.Address;
983
983
  gas: bigint;
984
- hash: viem0.Hash;
985
- input: viem0.Hex;
984
+ hash: viem171.Hash;
985
+ input: viem171.Hex;
986
986
  nonce: number;
987
- r: viem0.Hex;
988
- s: viem0.Hex;
989
- to: viem0.Address | null;
987
+ r: viem171.Hex;
988
+ s: viem171.Hex;
989
+ to: viem171.Address | null;
990
990
  transactionIndex: number | null;
991
- typeHex: viem0.Hex | null;
991
+ typeHex: viem171.Hex | null;
992
992
  v: bigint;
993
993
  value: bigint;
994
994
  yParity: number;
995
- accessList: viem0.AccessList;
995
+ accessList: viem171.AccessList;
996
996
  authorizationList?: undefined | undefined;
997
997
  blobVersionedHashes?: undefined | undefined;
998
998
  chainId: number;
@@ -1007,20 +1007,20 @@ declare const FangornConfig: {
1007
1007
  } | {
1008
1008
  blockHash: `0x${string}` | null;
1009
1009
  blockNumber: bigint | null;
1010
- from: viem0.Address;
1010
+ from: viem171.Address;
1011
1011
  gas: bigint;
1012
- hash: viem0.Hash;
1013
- input: viem0.Hex;
1012
+ hash: viem171.Hash;
1013
+ input: viem171.Hex;
1014
1014
  nonce: number;
1015
- r: viem0.Hex;
1016
- s: viem0.Hex;
1017
- to: viem0.Address | null;
1015
+ r: viem171.Hex;
1016
+ s: viem171.Hex;
1017
+ to: viem171.Address | null;
1018
1018
  transactionIndex: number | null;
1019
- typeHex: viem0.Hex | null;
1019
+ typeHex: viem171.Hex | null;
1020
1020
  v: bigint;
1021
1021
  value: bigint;
1022
1022
  yParity: number;
1023
- accessList: viem0.AccessList;
1023
+ accessList: viem171.AccessList;
1024
1024
  authorizationList?: undefined | undefined;
1025
1025
  blobVersionedHashes?: undefined | undefined;
1026
1026
  chainId: number;
@@ -1035,22 +1035,22 @@ declare const FangornConfig: {
1035
1035
  } | {
1036
1036
  blockHash: `0x${string}` | null;
1037
1037
  blockNumber: bigint | null;
1038
- from: viem0.Address;
1038
+ from: viem171.Address;
1039
1039
  gas: bigint;
1040
- hash: viem0.Hash;
1041
- input: viem0.Hex;
1040
+ hash: viem171.Hash;
1041
+ input: viem171.Hex;
1042
1042
  nonce: number;
1043
- r: viem0.Hex;
1044
- s: viem0.Hex;
1045
- to: viem0.Address | null;
1043
+ r: viem171.Hex;
1044
+ s: viem171.Hex;
1045
+ to: viem171.Address | null;
1046
1046
  transactionIndex: number | null;
1047
- typeHex: viem0.Hex | null;
1047
+ typeHex: viem171.Hex | null;
1048
1048
  v: bigint;
1049
1049
  value: bigint;
1050
1050
  yParity: number;
1051
- accessList: viem0.AccessList;
1051
+ accessList: viem171.AccessList;
1052
1052
  authorizationList?: undefined | undefined;
1053
- blobVersionedHashes: readonly viem0.Hex[];
1053
+ blobVersionedHashes: readonly viem171.Hex[];
1054
1054
  chainId: number;
1055
1055
  type: "eip4844";
1056
1056
  gasPrice?: undefined | undefined;
@@ -1063,21 +1063,21 @@ declare const FangornConfig: {
1063
1063
  } | {
1064
1064
  blockHash: `0x${string}` | null;
1065
1065
  blockNumber: bigint | null;
1066
- from: viem0.Address;
1066
+ from: viem171.Address;
1067
1067
  gas: bigint;
1068
- hash: viem0.Hash;
1069
- input: viem0.Hex;
1068
+ hash: viem171.Hash;
1069
+ input: viem171.Hex;
1070
1070
  nonce: number;
1071
- r: viem0.Hex;
1072
- s: viem0.Hex;
1073
- to: viem0.Address | null;
1071
+ r: viem171.Hex;
1072
+ s: viem171.Hex;
1073
+ to: viem171.Address | null;
1074
1074
  transactionIndex: number | null;
1075
- typeHex: viem0.Hex | null;
1075
+ typeHex: viem171.Hex | null;
1076
1076
  v: bigint;
1077
1077
  value: bigint;
1078
1078
  yParity: number;
1079
- accessList: viem0.AccessList;
1080
- authorizationList: viem0.SignedAuthorizationList;
1079
+ accessList: viem171.AccessList;
1080
+ authorizationList: viem171.SignedAuthorizationList;
1081
1081
  blobVersionedHashes?: undefined | undefined;
1082
1082
  chainId: number;
1083
1083
  type: "eip7702";
@@ -1093,25 +1093,25 @@ declare const FangornConfig: {
1093
1093
  };
1094
1094
  readonly transactionReceipt: {
1095
1095
  exclude: [] | undefined;
1096
- format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
1096
+ format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
1097
1097
  blobGasPrice?: bigint | undefined;
1098
1098
  blobGasUsed?: bigint | undefined;
1099
- blockHash: viem0.Hash;
1099
+ blockHash: viem171.Hash;
1100
1100
  blockNumber: bigint;
1101
1101
  blockTimestamp?: bigint | undefined;
1102
- contractAddress: viem0.Address | null | undefined;
1102
+ contractAddress: viem171.Address | null | undefined;
1103
1103
  cumulativeGasUsed: bigint;
1104
1104
  effectiveGasPrice: bigint;
1105
- from: viem0.Address;
1105
+ from: viem171.Address;
1106
1106
  gasUsed: bigint;
1107
- logs: viem0.Log<bigint, number, false>[];
1108
- logsBloom: viem0.Hex;
1107
+ logs: viem171.Log<bigint, number, false>[];
1108
+ logsBloom: viem171.Hex;
1109
1109
  root?: `0x${string}` | undefined;
1110
1110
  status: "success" | "reverted";
1111
- to: viem0.Address | null;
1112
- transactionHash: viem0.Hash;
1111
+ to: viem171.Address | null;
1112
+ transactionHash: viem171.Hash;
1113
1113
  transactionIndex: number;
1114
- type: viem0.TransactionType;
1114
+ type: viem171.TransactionType;
1115
1115
  l1GasPrice: bigint | null;
1116
1116
  l1GasUsed: bigint | null;
1117
1117
  l1Fee: bigint | null;
@@ -1120,17 +1120,17 @@ declare const FangornConfig: {
1120
1120
  type: "transactionReceipt";
1121
1121
  };
1122
1122
  };
1123
- prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
1123
+ prepareTransactionRequest?: ((args: viem171.PrepareTransactionRequestParameters, options: {
1124
1124
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1125
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
1125
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | [fn: ((args: viem171.PrepareTransactionRequestParameters, options: {
1126
1126
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1127
- }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
1127
+ }) => Promise<viem171.PrepareTransactionRequestParameters>) | undefined, options: {
1128
1128
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
1129
1129
  }] | undefined;
1130
1130
  serializers: {
1131
- readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
1131
+ readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
1132
1132
  };
1133
- verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
1133
+ verifyHash?: ((client: viem171.Client, parameters: viem171.VerifyHashActionParameters) => Promise<viem171.VerifyHashActionReturnType>) | undefined;
1134
1134
  readonly network: "base-sepolia";
1135
1135
  };
1136
1136
  rpcUrl: string;