@fangorn-network/sdk 2026.4.15 → 2026.4.22

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