@fangorn-network/sdk 2026.11.3 → 2026.11.4-dev

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,7 +1,7 @@
1
1
  import * as viem_chains0 from "viem/chains";
2
- import * as viem5827 from "viem";
2
+ import * as viem0 from "viem";
3
3
  import { Chain, Hex } from "viem";
4
- import * as abitype10 from "abitype";
4
+ import * as abitype0 from "abitype";
5
5
 
6
6
  //#region src/config.d.ts
7
7
  /**
@@ -98,7 +98,7 @@ declare const BaseSepoliaConfig: {
98
98
  testnet: true;
99
99
  custom?: Record<string, unknown> | undefined;
100
100
  extendSchema?: Record<string, unknown> | undefined;
101
- fees?: viem5827.ChainFees<undefined> | undefined;
101
+ fees?: viem0.ChainFees<undefined> | undefined;
102
102
  formatters: {
103
103
  readonly block: {
104
104
  exclude: [] | undefined;
@@ -107,28 +107,28 @@ declare const BaseSepoliaConfig: {
107
107
  blobGasUsed: bigint;
108
108
  difficulty: bigint;
109
109
  excessBlobGas: bigint;
110
- extraData: viem5827.Hex;
110
+ extraData: viem0.Hex;
111
111
  gasLimit: bigint;
112
112
  gasUsed: bigint;
113
113
  hash: `0x${string}` | null;
114
114
  logsBloom: `0x${string}` | null;
115
- miner: abitype10.Address;
116
- mixHash: viem5827.Hash;
115
+ miner: abitype0.Address;
116
+ mixHash: viem0.Hash;
117
117
  nonce: `0x${string}` | null;
118
118
  number: bigint | null;
119
119
  parentBeaconBlockRoot?: `0x${string}` | undefined;
120
- parentHash: viem5827.Hash;
121
- receiptsRoot: viem5827.Hex;
122
- sealFields: viem5827.Hex[];
123
- sha3Uncles: viem5827.Hash;
120
+ parentHash: viem0.Hash;
121
+ receiptsRoot: viem0.Hex;
122
+ sealFields: viem0.Hex[];
123
+ sha3Uncles: viem0.Hash;
124
124
  size: bigint;
125
- stateRoot: viem5827.Hash;
125
+ stateRoot: viem0.Hash;
126
126
  timestamp: bigint;
127
127
  totalDifficulty: bigint | null;
128
128
  transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
129
- transactionsRoot: viem5827.Hash;
130
- uncles: viem5827.Hash[];
131
- withdrawals?: viem5827.Withdrawal[] | undefined | undefined;
129
+ transactionsRoot: viem0.Hash;
130
+ uncles: viem0.Hash[];
131
+ withdrawals?: viem0.Withdrawal[] | undefined | undefined;
132
132
  withdrawalsRoot?: `0x${string}` | undefined;
133
133
  } & {};
134
134
  type: "block";
@@ -138,16 +138,16 @@ declare const BaseSepoliaConfig: {
138
138
  format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
139
139
  blockHash: `0x${string}` | null;
140
140
  blockNumber: bigint | null;
141
- from: abitype10.Address;
141
+ from: abitype0.Address;
142
142
  gas: bigint;
143
- hash: viem5827.Hash;
144
- input: viem5827.Hex;
143
+ hash: viem0.Hash;
144
+ input: viem0.Hex;
145
145
  nonce: number;
146
- r: viem5827.Hex;
147
- s: viem5827.Hex;
148
- to: abitype10.Address | null;
146
+ r: viem0.Hex;
147
+ s: viem0.Hex;
148
+ to: abitype0.Address | null;
149
149
  transactionIndex: number | null;
150
- typeHex: viem5827.Hex | null;
150
+ typeHex: viem0.Hex | null;
151
151
  v: bigint;
152
152
  value: bigint;
153
153
  yParity: number;
@@ -157,23 +157,23 @@ declare const BaseSepoliaConfig: {
157
157
  maxPriorityFeePerGas: bigint;
158
158
  isSystemTx?: boolean;
159
159
  mint?: bigint | undefined | undefined;
160
- sourceHash: viem5827.Hex;
160
+ sourceHash: viem0.Hex;
161
161
  type: "deposit";
162
162
  } | {
163
- r: viem5827.Hex;
164
- s: viem5827.Hex;
163
+ r: viem0.Hex;
164
+ s: viem0.Hex;
165
165
  v: bigint;
166
- to: abitype10.Address | null;
167
- from: abitype10.Address;
166
+ to: abitype0.Address | null;
167
+ from: abitype0.Address;
168
168
  gas: bigint;
169
169
  nonce: number;
170
170
  value: bigint;
171
171
  blockHash: `0x${string}` | null;
172
172
  blockNumber: bigint | null;
173
- hash: viem5827.Hash;
174
- input: viem5827.Hex;
173
+ hash: viem0.Hash;
174
+ input: viem0.Hex;
175
175
  transactionIndex: number | null;
176
- typeHex: viem5827.Hex | null;
176
+ typeHex: viem0.Hex | null;
177
177
  accessList?: undefined | undefined;
178
178
  authorizationList?: undefined | undefined;
179
179
  blobVersionedHashes?: undefined | undefined;
@@ -190,20 +190,20 @@ declare const BaseSepoliaConfig: {
190
190
  } | {
191
191
  blockHash: `0x${string}` | null;
192
192
  blockNumber: bigint | null;
193
- from: abitype10.Address;
193
+ from: abitype0.Address;
194
194
  gas: bigint;
195
- hash: viem5827.Hash;
196
- input: viem5827.Hex;
195
+ hash: viem0.Hash;
196
+ input: viem0.Hex;
197
197
  nonce: number;
198
- r: viem5827.Hex;
199
- s: viem5827.Hex;
200
- to: abitype10.Address | null;
198
+ r: viem0.Hex;
199
+ s: viem0.Hex;
200
+ to: abitype0.Address | null;
201
201
  transactionIndex: number | null;
202
- typeHex: viem5827.Hex | null;
202
+ typeHex: viem0.Hex | null;
203
203
  v: bigint;
204
204
  value: bigint;
205
205
  yParity: number;
206
- accessList: viem5827.AccessList;
206
+ accessList: viem0.AccessList;
207
207
  authorizationList?: undefined | undefined;
208
208
  blobVersionedHashes?: undefined | undefined;
209
209
  chainId: number;
@@ -218,20 +218,20 @@ declare const BaseSepoliaConfig: {
218
218
  } | {
219
219
  blockHash: `0x${string}` | null;
220
220
  blockNumber: bigint | null;
221
- from: abitype10.Address;
221
+ from: abitype0.Address;
222
222
  gas: bigint;
223
- hash: viem5827.Hash;
224
- input: viem5827.Hex;
223
+ hash: viem0.Hash;
224
+ input: viem0.Hex;
225
225
  nonce: number;
226
- r: viem5827.Hex;
227
- s: viem5827.Hex;
228
- to: abitype10.Address | null;
226
+ r: viem0.Hex;
227
+ s: viem0.Hex;
228
+ to: abitype0.Address | null;
229
229
  transactionIndex: number | null;
230
- typeHex: viem5827.Hex | null;
230
+ typeHex: viem0.Hex | null;
231
231
  v: bigint;
232
232
  value: bigint;
233
233
  yParity: number;
234
- accessList: viem5827.AccessList;
234
+ accessList: viem0.AccessList;
235
235
  authorizationList?: undefined | undefined;
236
236
  blobVersionedHashes?: undefined | undefined;
237
237
  chainId: number;
@@ -246,22 +246,22 @@ declare const BaseSepoliaConfig: {
246
246
  } | {
247
247
  blockHash: `0x${string}` | null;
248
248
  blockNumber: bigint | null;
249
- from: abitype10.Address;
249
+ from: abitype0.Address;
250
250
  gas: bigint;
251
- hash: viem5827.Hash;
252
- input: viem5827.Hex;
251
+ hash: viem0.Hash;
252
+ input: viem0.Hex;
253
253
  nonce: number;
254
- r: viem5827.Hex;
255
- s: viem5827.Hex;
256
- to: abitype10.Address | null;
254
+ r: viem0.Hex;
255
+ s: viem0.Hex;
256
+ to: abitype0.Address | null;
257
257
  transactionIndex: number | null;
258
- typeHex: viem5827.Hex | null;
258
+ typeHex: viem0.Hex | null;
259
259
  v: bigint;
260
260
  value: bigint;
261
261
  yParity: number;
262
- accessList: viem5827.AccessList;
262
+ accessList: viem0.AccessList;
263
263
  authorizationList?: undefined | undefined;
264
- blobVersionedHashes: readonly viem5827.Hex[];
264
+ blobVersionedHashes: readonly viem0.Hex[];
265
265
  chainId: number;
266
266
  type: "eip4844";
267
267
  gasPrice?: undefined | undefined;
@@ -274,21 +274,21 @@ declare const BaseSepoliaConfig: {
274
274
  } | {
275
275
  blockHash: `0x${string}` | null;
276
276
  blockNumber: bigint | null;
277
- from: abitype10.Address;
277
+ from: abitype0.Address;
278
278
  gas: bigint;
279
- hash: viem5827.Hash;
280
- input: viem5827.Hex;
279
+ hash: viem0.Hash;
280
+ input: viem0.Hex;
281
281
  nonce: number;
282
- r: viem5827.Hex;
283
- s: viem5827.Hex;
284
- to: abitype10.Address | null;
282
+ r: viem0.Hex;
283
+ s: viem0.Hex;
284
+ to: abitype0.Address | null;
285
285
  transactionIndex: number | null;
286
- typeHex: viem5827.Hex | null;
286
+ typeHex: viem0.Hex | null;
287
287
  v: bigint;
288
288
  value: bigint;
289
289
  yParity: number;
290
- accessList: viem5827.AccessList;
291
- authorizationList: viem5827.SignedAuthorizationList;
290
+ accessList: viem0.AccessList;
291
+ authorizationList: viem0.SignedAuthorizationList;
292
292
  blobVersionedHashes?: undefined | undefined;
293
293
  chainId: number;
294
294
  type: "eip7702";
@@ -307,22 +307,22 @@ declare const BaseSepoliaConfig: {
307
307
  format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
308
308
  blobGasPrice?: bigint | undefined;
309
309
  blobGasUsed?: bigint | undefined;
310
- blockHash: viem5827.Hash;
310
+ blockHash: viem0.Hash;
311
311
  blockNumber: bigint;
312
312
  blockTimestamp?: bigint | undefined;
313
- contractAddress: abitype10.Address | null | undefined;
313
+ contractAddress: abitype0.Address | null | undefined;
314
314
  cumulativeGasUsed: bigint;
315
315
  effectiveGasPrice: bigint;
316
- from: abitype10.Address;
316
+ from: abitype0.Address;
317
317
  gasUsed: bigint;
318
- logs: viem5827.Log<bigint, number, false>[];
319
- logsBloom: viem5827.Hex;
318
+ logs: viem0.Log<bigint, number, false>[];
319
+ logsBloom: viem0.Hex;
320
320
  root?: `0x${string}` | undefined;
321
321
  status: "success" | "reverted";
322
- to: abitype10.Address | null;
323
- transactionHash: viem5827.Hash;
322
+ to: abitype0.Address | null;
323
+ transactionHash: viem0.Hash;
324
324
  transactionIndex: number;
325
- type: viem5827.TransactionType;
325
+ type: viem0.TransactionType;
326
326
  l1GasPrice: bigint | null;
327
327
  l1GasUsed: bigint | null;
328
328
  l1Fee: bigint | null;
@@ -331,17 +331,17 @@ declare const BaseSepoliaConfig: {
331
331
  type: "transactionReceipt";
332
332
  };
333
333
  };
334
- prepareTransactionRequest?: ((args: viem5827.PrepareTransactionRequestParameters, options: {
334
+ prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
335
335
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
336
- }) => Promise<viem5827.PrepareTransactionRequestParameters>) | [fn: ((args: viem5827.PrepareTransactionRequestParameters, options: {
336
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
337
337
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
338
- }) => Promise<viem5827.PrepareTransactionRequestParameters>) | undefined, options: {
338
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
339
339
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
340
340
  }] | undefined;
341
341
  serializers: {
342
342
  readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
343
343
  };
344
- verifyHash?: ((client: viem5827.Client, parameters: viem5827.VerifyHashActionParameters) => Promise<viem5827.VerifyHashActionReturnType>) | undefined;
344
+ verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
345
345
  readonly network: "base-sepolia";
346
346
  };
347
347
  rpcUrl: string;
@@ -432,7 +432,7 @@ declare const FangornConfig: {
432
432
  testnet: true;
433
433
  custom?: Record<string, unknown> | undefined;
434
434
  extendSchema?: Record<string, unknown> | undefined;
435
- fees?: viem5827.ChainFees<undefined> | undefined;
435
+ fees?: viem0.ChainFees<undefined> | undefined;
436
436
  formatters: {
437
437
  readonly block: {
438
438
  exclude: [] | undefined;
@@ -441,28 +441,28 @@ declare const FangornConfig: {
441
441
  blobGasUsed: bigint;
442
442
  difficulty: bigint;
443
443
  excessBlobGas: bigint;
444
- extraData: viem5827.Hex;
444
+ extraData: viem0.Hex;
445
445
  gasLimit: bigint;
446
446
  gasUsed: bigint;
447
447
  hash: `0x${string}` | null;
448
448
  logsBloom: `0x${string}` | null;
449
- miner: abitype10.Address;
450
- mixHash: viem5827.Hash;
449
+ miner: abitype0.Address;
450
+ mixHash: viem0.Hash;
451
451
  nonce: `0x${string}` | null;
452
452
  number: bigint | null;
453
453
  parentBeaconBlockRoot?: `0x${string}` | undefined;
454
- parentHash: viem5827.Hash;
455
- receiptsRoot: viem5827.Hex;
456
- sealFields: viem5827.Hex[];
457
- sha3Uncles: viem5827.Hash;
454
+ parentHash: viem0.Hash;
455
+ receiptsRoot: viem0.Hex;
456
+ sealFields: viem0.Hex[];
457
+ sha3Uncles: viem0.Hash;
458
458
  size: bigint;
459
- stateRoot: viem5827.Hash;
459
+ stateRoot: viem0.Hash;
460
460
  timestamp: bigint;
461
461
  totalDifficulty: bigint | null;
462
462
  transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
463
- transactionsRoot: viem5827.Hash;
464
- uncles: viem5827.Hash[];
465
- withdrawals?: viem5827.Withdrawal[] | undefined | undefined;
463
+ transactionsRoot: viem0.Hash;
464
+ uncles: viem0.Hash[];
465
+ withdrawals?: viem0.Withdrawal[] | undefined | undefined;
466
466
  withdrawalsRoot?: `0x${string}` | undefined;
467
467
  } & {};
468
468
  type: "block";
@@ -472,16 +472,16 @@ declare const FangornConfig: {
472
472
  format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
473
473
  blockHash: `0x${string}` | null;
474
474
  blockNumber: bigint | null;
475
- from: abitype10.Address;
475
+ from: abitype0.Address;
476
476
  gas: bigint;
477
- hash: viem5827.Hash;
478
- input: viem5827.Hex;
477
+ hash: viem0.Hash;
478
+ input: viem0.Hex;
479
479
  nonce: number;
480
- r: viem5827.Hex;
481
- s: viem5827.Hex;
482
- to: abitype10.Address | null;
480
+ r: viem0.Hex;
481
+ s: viem0.Hex;
482
+ to: abitype0.Address | null;
483
483
  transactionIndex: number | null;
484
- typeHex: viem5827.Hex | null;
484
+ typeHex: viem0.Hex | null;
485
485
  v: bigint;
486
486
  value: bigint;
487
487
  yParity: number;
@@ -491,23 +491,23 @@ declare const FangornConfig: {
491
491
  maxPriorityFeePerGas: bigint;
492
492
  isSystemTx?: boolean;
493
493
  mint?: bigint | undefined | undefined;
494
- sourceHash: viem5827.Hex;
494
+ sourceHash: viem0.Hex;
495
495
  type: "deposit";
496
496
  } | {
497
- r: viem5827.Hex;
498
- s: viem5827.Hex;
497
+ r: viem0.Hex;
498
+ s: viem0.Hex;
499
499
  v: bigint;
500
- to: abitype10.Address | null;
501
- from: abitype10.Address;
500
+ to: abitype0.Address | null;
501
+ from: abitype0.Address;
502
502
  gas: bigint;
503
503
  nonce: number;
504
504
  value: bigint;
505
505
  blockHash: `0x${string}` | null;
506
506
  blockNumber: bigint | null;
507
- hash: viem5827.Hash;
508
- input: viem5827.Hex;
507
+ hash: viem0.Hash;
508
+ input: viem0.Hex;
509
509
  transactionIndex: number | null;
510
- typeHex: viem5827.Hex | null;
510
+ typeHex: viem0.Hex | null;
511
511
  accessList?: undefined | undefined;
512
512
  authorizationList?: undefined | undefined;
513
513
  blobVersionedHashes?: undefined | undefined;
@@ -524,20 +524,20 @@ declare const FangornConfig: {
524
524
  } | {
525
525
  blockHash: `0x${string}` | null;
526
526
  blockNumber: bigint | null;
527
- from: abitype10.Address;
527
+ from: abitype0.Address;
528
528
  gas: bigint;
529
- hash: viem5827.Hash;
530
- input: viem5827.Hex;
529
+ hash: viem0.Hash;
530
+ input: viem0.Hex;
531
531
  nonce: number;
532
- r: viem5827.Hex;
533
- s: viem5827.Hex;
534
- to: abitype10.Address | null;
532
+ r: viem0.Hex;
533
+ s: viem0.Hex;
534
+ to: abitype0.Address | null;
535
535
  transactionIndex: number | null;
536
- typeHex: viem5827.Hex | null;
536
+ typeHex: viem0.Hex | null;
537
537
  v: bigint;
538
538
  value: bigint;
539
539
  yParity: number;
540
- accessList: viem5827.AccessList;
540
+ accessList: viem0.AccessList;
541
541
  authorizationList?: undefined | undefined;
542
542
  blobVersionedHashes?: undefined | undefined;
543
543
  chainId: number;
@@ -552,20 +552,20 @@ declare const FangornConfig: {
552
552
  } | {
553
553
  blockHash: `0x${string}` | null;
554
554
  blockNumber: bigint | null;
555
- from: abitype10.Address;
555
+ from: abitype0.Address;
556
556
  gas: bigint;
557
- hash: viem5827.Hash;
558
- input: viem5827.Hex;
557
+ hash: viem0.Hash;
558
+ input: viem0.Hex;
559
559
  nonce: number;
560
- r: viem5827.Hex;
561
- s: viem5827.Hex;
562
- to: abitype10.Address | null;
560
+ r: viem0.Hex;
561
+ s: viem0.Hex;
562
+ to: abitype0.Address | null;
563
563
  transactionIndex: number | null;
564
- typeHex: viem5827.Hex | null;
564
+ typeHex: viem0.Hex | null;
565
565
  v: bigint;
566
566
  value: bigint;
567
567
  yParity: number;
568
- accessList: viem5827.AccessList;
568
+ accessList: viem0.AccessList;
569
569
  authorizationList?: undefined | undefined;
570
570
  blobVersionedHashes?: undefined | undefined;
571
571
  chainId: number;
@@ -580,22 +580,22 @@ declare const FangornConfig: {
580
580
  } | {
581
581
  blockHash: `0x${string}` | null;
582
582
  blockNumber: bigint | null;
583
- from: abitype10.Address;
583
+ from: abitype0.Address;
584
584
  gas: bigint;
585
- hash: viem5827.Hash;
586
- input: viem5827.Hex;
585
+ hash: viem0.Hash;
586
+ input: viem0.Hex;
587
587
  nonce: number;
588
- r: viem5827.Hex;
589
- s: viem5827.Hex;
590
- to: abitype10.Address | null;
588
+ r: viem0.Hex;
589
+ s: viem0.Hex;
590
+ to: abitype0.Address | null;
591
591
  transactionIndex: number | null;
592
- typeHex: viem5827.Hex | null;
592
+ typeHex: viem0.Hex | null;
593
593
  v: bigint;
594
594
  value: bigint;
595
595
  yParity: number;
596
- accessList: viem5827.AccessList;
596
+ accessList: viem0.AccessList;
597
597
  authorizationList?: undefined | undefined;
598
- blobVersionedHashes: readonly viem5827.Hex[];
598
+ blobVersionedHashes: readonly viem0.Hex[];
599
599
  chainId: number;
600
600
  type: "eip4844";
601
601
  gasPrice?: undefined | undefined;
@@ -608,21 +608,21 @@ declare const FangornConfig: {
608
608
  } | {
609
609
  blockHash: `0x${string}` | null;
610
610
  blockNumber: bigint | null;
611
- from: abitype10.Address;
611
+ from: abitype0.Address;
612
612
  gas: bigint;
613
- hash: viem5827.Hash;
614
- input: viem5827.Hex;
613
+ hash: viem0.Hash;
614
+ input: viem0.Hex;
615
615
  nonce: number;
616
- r: viem5827.Hex;
617
- s: viem5827.Hex;
618
- to: abitype10.Address | null;
616
+ r: viem0.Hex;
617
+ s: viem0.Hex;
618
+ to: abitype0.Address | null;
619
619
  transactionIndex: number | null;
620
- typeHex: viem5827.Hex | null;
620
+ typeHex: viem0.Hex | null;
621
621
  v: bigint;
622
622
  value: bigint;
623
623
  yParity: number;
624
- accessList: viem5827.AccessList;
625
- authorizationList: viem5827.SignedAuthorizationList;
624
+ accessList: viem0.AccessList;
625
+ authorizationList: viem0.SignedAuthorizationList;
626
626
  blobVersionedHashes?: undefined | undefined;
627
627
  chainId: number;
628
628
  type: "eip7702";
@@ -641,22 +641,22 @@ declare const FangornConfig: {
641
641
  format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
642
642
  blobGasPrice?: bigint | undefined;
643
643
  blobGasUsed?: bigint | undefined;
644
- blockHash: viem5827.Hash;
644
+ blockHash: viem0.Hash;
645
645
  blockNumber: bigint;
646
646
  blockTimestamp?: bigint | undefined;
647
- contractAddress: abitype10.Address | null | undefined;
647
+ contractAddress: abitype0.Address | null | undefined;
648
648
  cumulativeGasUsed: bigint;
649
649
  effectiveGasPrice: bigint;
650
- from: abitype10.Address;
650
+ from: abitype0.Address;
651
651
  gasUsed: bigint;
652
- logs: viem5827.Log<bigint, number, false>[];
653
- logsBloom: viem5827.Hex;
652
+ logs: viem0.Log<bigint, number, false>[];
653
+ logsBloom: viem0.Hex;
654
654
  root?: `0x${string}` | undefined;
655
655
  status: "success" | "reverted";
656
- to: abitype10.Address | null;
657
- transactionHash: viem5827.Hash;
656
+ to: abitype0.Address | null;
657
+ transactionHash: viem0.Hash;
658
658
  transactionIndex: number;
659
- type: viem5827.TransactionType;
659
+ type: viem0.TransactionType;
660
660
  l1GasPrice: bigint | null;
661
661
  l1GasUsed: bigint | null;
662
662
  l1Fee: bigint | null;
@@ -665,17 +665,17 @@ declare const FangornConfig: {
665
665
  type: "transactionReceipt";
666
666
  };
667
667
  };
668
- prepareTransactionRequest?: ((args: viem5827.PrepareTransactionRequestParameters, options: {
668
+ prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
669
669
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
670
- }) => Promise<viem5827.PrepareTransactionRequestParameters>) | [fn: ((args: viem5827.PrepareTransactionRequestParameters, options: {
670
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
671
671
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
672
- }) => Promise<viem5827.PrepareTransactionRequestParameters>) | undefined, options: {
672
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
673
673
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
674
674
  }] | undefined;
675
675
  serializers: {
676
676
  readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
677
677
  };
678
- verifyHash?: ((client: viem5827.Client, parameters: viem5827.VerifyHashActionParameters) => Promise<viem5827.VerifyHashActionReturnType>) | undefined;
678
+ verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
679
679
  readonly network: "base-sepolia";
680
680
  };
681
681
  rpcUrl: string;
package/lib/config.js CHANGED
@@ -17,8 +17,8 @@ const BaseSepoliaConfig = {
17
17
  chain: baseSepolia,
18
18
  rpcUrl: "https://base-sepolia-rpc.publicnode.com",
19
19
  caip2: 84532,
20
- ipfsGateway: "https://ipfs.io",
21
- logWindow: 1000n,
20
+ ipfsGateway: "https://green-reasonable-heron-957.mypinata.cloud",
21
+ logWindow: 50000n,
22
22
  signedUrlWorker: "https://base-sepolia.storage-worker.fangorn.network"
23
23
  };
24
24
  /**
@@ -258,6 +258,20 @@ declare const SETTLEMENT_REGISTRY_ABI: readonly [{
258
258
  readonly internalType: "bool";
259
259
  }];
260
260
  readonly stateMutability: "view";
261
+ }, {
262
+ readonly type: "function";
263
+ readonly name: "membersOf";
264
+ readonly inputs: readonly [{
265
+ readonly name: "subject";
266
+ readonly type: "bytes32";
267
+ readonly internalType: "bytes32";
268
+ }];
269
+ readonly outputs: readonly [{
270
+ readonly name: "";
271
+ readonly type: "uint256[]";
272
+ readonly internalType: "uint256[]";
273
+ }];
274
+ readonly stateMutability: "view";
261
275
  }, {
262
276
  readonly type: "function";
263
277
  readonly name: "proxiableUUID";
@@ -298,6 +298,21 @@ const SETTLEMENT_REGISTRY_ABI = [
298
298
  }],
299
299
  stateMutability: "view"
300
300
  },
301
+ {
302
+ type: "function",
303
+ name: "membersOf",
304
+ inputs: [{
305
+ name: "subject",
306
+ type: "bytes32",
307
+ internalType: "bytes32"
308
+ }],
309
+ outputs: [{
310
+ name: "",
311
+ type: "uint256[]",
312
+ internalType: "uint256[]"
313
+ }],
314
+ stateMutability: "view"
315
+ },
301
316
  {
302
317
  type: "function",
303
318
  name: "proxiableUUID",
@@ -109,6 +109,8 @@ declare class SettlementRegistryClient {
109
109
  generationOf(publisher: Address, repo: Hex): Promise<bigint>;
110
110
  isDenied(publisher: Address, referrer: Address): Promise<boolean>;
111
111
  isDisabled(subject: Hex): Promise<boolean>;
112
+ /** Every commitment in the subject's group, in the order it was added: what a Semaphore proof is built from. */
113
+ membersOf(subject: Hex): Promise<readonly bigint[]>;
112
114
  isRegistered(subject: Hex, commitment: bigint): Promise<boolean>;
113
115
  isSettled(reader: Address, subject: Hex): Promise<boolean>;
114
116
  /** Settled for the record or the whole repo, and neither is disabled. */
@@ -170,6 +170,10 @@ var SettlementRegistryClient = class {
170
170
  isDisabled(subject) {
171
171
  return this.read("isDisabled", [subject]);
172
172
  }
173
+ /** Every commitment in the subject's group, in the order it was added: what a Semaphore proof is built from. */
174
+ membersOf(subject) {
175
+ return this.read("membersOf", [subject]);
176
+ }
173
177
  isRegistered(subject, commitment) {
174
178
  return this.read("isRegistered", [subject, commitment]);
175
179
  }
@@ -2,11 +2,11 @@ import { PreparedTx } from "../contracts/write.js";
2
2
  import { CommitUpdate, LogFilter, Registry, RepoRef, UpdateEntry } from "../contracts/data-registry/index.js";
3
3
  import "../contracts/index.js";
4
4
  import { Address, Hash, Hex, LocalAccount } from "viem";
5
- import * as abitype0 from "abitype";
5
+ import * as abitype31 from "abitype";
6
6
 
7
7
  //#region src/test/mem-registry.d.ts
8
8
  /** The EIP-712 domain a MemRegistry signs under. */
9
- declare const MEM_DOMAIN: abitype0.TypedDataDomain;
9
+ declare const MEM_DOMAIN: abitype31.TypedDataDomain;
10
10
  /** One ordering and the registry state over it, shared by every signer of a MemRegistry. */
11
11
  declare class MemLedger {
12
12
  /** H: position and head */