@fangorn-network/sdk 2026.6.16 → 2026.7.1-2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +210 -266
  2. package/lib/cli/cli.d.ts +0 -0
  3. package/lib/cli/cli.js +261 -167
  4. package/lib/cli/index.d.ts +13 -651
  5. package/lib/config.d.ts +137 -792
  6. package/lib/config.js +6 -22
  7. package/lib/contracts/data-registry/abi.d.ts +38 -0
  8. package/lib/contracts/data-registry/abi.js +237 -0
  9. package/lib/contracts/data-registry/index.d.ts +81 -0
  10. package/lib/contracts/data-registry/index.js +184 -0
  11. package/lib/contracts/index.d.ts +3 -0
  12. package/lib/contracts/index.js +4 -0
  13. package/lib/crypto/aes.d.ts +26 -0
  14. package/lib/crypto/aes.js +58 -0
  15. package/lib/crypto/encryption.d.ts +53 -0
  16. package/lib/crypto/encryption.js +82 -0
  17. package/lib/{modules/encryption → crypto}/rand.d.ts +1 -1
  18. package/lib/{modules/encryption → crypto}/rand.js +1 -1
  19. package/lib/{modules/encryption → crypto}/types.d.ts +1 -1
  20. package/lib/engine/blockstore.d.ts +24 -0
  21. package/lib/engine/blockstore.js +85 -0
  22. package/lib/engine/index.d.ts +180 -0
  23. package/lib/engine/index.js +367 -0
  24. package/lib/fangorn.d.ts +149 -16
  25. package/lib/fangorn.js +256 -37
  26. package/lib/harness/examples/hackmd/build-markdown-graph.js +17 -0
  27. package/lib/harness/index.d.ts +57 -0
  28. package/lib/harness/index.js +67 -0
  29. package/lib/index.d.ts +3 -2
  30. package/lib/index.js +2 -1
  31. package/lib/node_modules/.pnpm/@noble_ciphers@1.3.0/node_modules/@noble/ciphers/esm/_polyval.js +218 -0
  32. package/lib/node_modules/.pnpm/@noble_ciphers@1.3.0/node_modules/@noble/ciphers/esm/aes.js +261 -0
  33. package/lib/node_modules/.pnpm/@noble_ciphers@1.3.0/node_modules/@noble/ciphers/esm/utils.js +156 -0
  34. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/curve.js +299 -0
  35. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/edwards.js +532 -0
  36. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/modular.js +344 -0
  37. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/montgomery.js +137 -0
  38. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/ed25519.js +262 -0
  39. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/utils.js +150 -0
  40. package/lib/providers/storage/car.d.ts +36 -0
  41. package/lib/providers/storage/car.js +80 -0
  42. package/lib/providers/storage/pinata.d.ts +29 -1
  43. package/lib/providers/storage/pinata.js +135 -20
  44. package/lib/providers/storage/types.d.ts +25 -18
  45. package/lib/roles/repo/index.d.ts +56 -0
  46. package/lib/roles/repo/index.js +73 -0
  47. package/lib/test/car_smoke.d.ts +1 -0
  48. package/lib/test/car_smoke.js +81 -0
  49. package/lib/test/cleanup-embeddings-testdata.js +9 -38
  50. package/lib/test/setup-embeddings-testdata.d.ts +4 -6
  51. package/lib/test/setup-embeddings-testdata.js +40 -94
  52. package/lib/test/testbed.d.ts +35 -32
  53. package/lib/test/testbed.js +48 -138
  54. package/lib/types/index.d.ts +3 -19
  55. package/lib/utils/manifest.d.ts +23 -0
  56. package/lib/utils/manifest.js +77 -0
  57. package/package.json +99 -81
  58. package/lib/modules/encryption/actions.d.ts +0 -4
  59. package/lib/modules/encryption/actions.js +0 -18
  60. package/lib/modules/encryption/aes.d.ts +0 -10
  61. package/lib/modules/encryption/aes.js +0 -51
  62. package/lib/registries/datasource-registry/abi.d.ts +0 -186
  63. package/lib/registries/datasource-registry/abi.js +0 -229
  64. package/lib/registries/datasource-registry/index.d.ts +0 -39
  65. package/lib/registries/datasource-registry/index.js +0 -158
  66. package/lib/registries/index.d.ts +0 -3
  67. package/lib/registries/index.js +0 -4
  68. package/lib/registries/schema-registry/abi.d.ts +0 -218
  69. package/lib/registries/schema-registry/abi.js +0 -246
  70. package/lib/registries/schema-registry/index.d.ts +0 -34
  71. package/lib/registries/schema-registry/index.js +0 -179
  72. package/lib/registries/settlement-registry/abi.d.ts +0 -218
  73. package/lib/registries/settlement-registry/abi.js +0 -259
  74. package/lib/registries/settlement-registry/index.d.ts +0 -63
  75. package/lib/registries/settlement-registry/index.js +0 -325
  76. package/lib/registries/settlement-registry/types.d.ts +0 -54
  77. package/lib/registries/settlement-registry/types.js +0 -1
  78. package/lib/roles/consumer/index.d.ts +0 -39
  79. package/lib/roles/consumer/index.js +0 -150
  80. package/lib/roles/consumer/types.d.ts +0 -47
  81. package/lib/roles/consumer/types.js +0 -1
  82. package/lib/roles/publisher/builders/bundle.d.ts +0 -32
  83. package/lib/roles/publisher/builders/bundle.js +0 -137
  84. package/lib/roles/publisher/builders/record-set.d.ts +0 -17
  85. package/lib/roles/publisher/builders/record-set.js +0 -55
  86. package/lib/roles/publisher/builders/types.d.ts +0 -38
  87. package/lib/roles/publisher/builders/types.js +0 -1
  88. package/lib/roles/publisher/builders/utils.d.ts +0 -9
  89. package/lib/roles/publisher/builders/utils.js +0 -29
  90. package/lib/roles/publisher/encryption.d.ts +0 -18
  91. package/lib/roles/publisher/encryption.js +0 -38
  92. package/lib/roles/publisher/index.d.ts +0 -68
  93. package/lib/roles/publisher/index.js +0 -179
  94. package/lib/roles/publisher/types.d.ts +0 -114
  95. package/lib/roles/publisher/types.js +0 -1
  96. package/lib/roles/schema/index.d.ts +0 -44
  97. package/lib/roles/schema/index.js +0 -127
  98. package/lib/roles/schema/types.d.ts +0 -113
  99. package/lib/roles/schema/types.js +0 -1
  100. package/lib/roles/schema/validate.d.ts +0 -9
  101. package/lib/roles/schema/validate.js +0 -128
  102. package/lib/test/publish_mb_bundle.js +0 -296
  103. /package/lib/{modules/encryption/index.d.ts → contracts/data-registry/test.d.ts} +0 -0
  104. /package/lib/{modules/encryption/index.js → contracts/data-registry/test.js} +0 -0
  105. /package/lib/{modules/encryption → crypto}/types.js +0 -0
  106. /package/lib/{test/publish_mb_bundle.d.ts → harness/examples/hackmd/build-markdown-graph.d.ts} +0 -0
package/lib/config.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import * as viem_chains9 from "viem/chains";
2
- import * as viem139 from "viem";
1
+ import * as viem_chains0 from "viem/chains";
2
+ import * as viem0 from "viem";
3
3
  import { Chain, Hex } from "viem";
4
- import * as abitype31 from "abitype";
5
4
 
6
5
  //#region src/config.d.ts
7
6
  /**
@@ -43,17 +42,17 @@ declare const SupportedNetworks: {
43
42
  testnet: true;
44
43
  custom?: Record<string, unknown> | undefined;
45
44
  extendSchema?: Record<string, unknown> | undefined;
46
- fees?: viem139.ChainFees<undefined> | undefined;
45
+ fees?: viem0.ChainFees<undefined> | undefined;
47
46
  formatters?: undefined;
48
- prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
47
+ prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
49
48
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
50
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
49
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
51
50
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
52
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
51
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
53
52
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
54
53
  }] | undefined;
55
- serializers?: viem139.ChainSerializers<undefined, viem139.TransactionSerializable> | undefined;
56
- verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
54
+ serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
55
+ verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
57
56
  };
58
57
  };
59
58
  BaseSepolia: {
@@ -131,56 +130,56 @@ declare const SupportedNetworks: {
131
130
  testnet: true;
132
131
  custom?: Record<string, unknown> | undefined;
133
132
  extendSchema?: Record<string, unknown> | undefined;
134
- fees?: viem139.ChainFees<undefined> | undefined;
133
+ fees?: viem0.ChainFees<undefined> | undefined;
135
134
  formatters: {
136
135
  readonly block: {
137
136
  exclude: [] | undefined;
138
- format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
137
+ format: (args: viem_chains0.OpStackRpcBlock, action?: string | undefined) => {
139
138
  baseFeePerGas: bigint | null;
140
139
  blobGasUsed: bigint;
141
140
  difficulty: bigint;
142
141
  excessBlobGas: bigint;
143
- extraData: viem139.Hex;
142
+ extraData: viem0.Hex;
144
143
  gasLimit: bigint;
145
144
  gasUsed: bigint;
146
145
  hash: `0x${string}` | null;
147
146
  logsBloom: `0x${string}` | null;
148
- miner: abitype31.Address;
149
- mixHash: viem139.Hash;
147
+ miner: viem0.Address;
148
+ mixHash: viem0.Hash;
150
149
  nonce: `0x${string}` | null;
151
150
  number: bigint | null;
152
151
  parentBeaconBlockRoot?: `0x${string}` | undefined;
153
- parentHash: viem139.Hash;
154
- receiptsRoot: viem139.Hex;
155
- sealFields: viem139.Hex[];
156
- sha3Uncles: viem139.Hash;
152
+ parentHash: viem0.Hash;
153
+ receiptsRoot: viem0.Hex;
154
+ sealFields: viem0.Hex[];
155
+ sha3Uncles: viem0.Hash;
157
156
  size: bigint;
158
- stateRoot: viem139.Hash;
157
+ stateRoot: viem0.Hash;
159
158
  timestamp: bigint;
160
159
  totalDifficulty: bigint | null;
161
- transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
162
- transactionsRoot: viem139.Hash;
163
- uncles: viem139.Hash[];
164
- withdrawals?: viem139.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;
165
164
  withdrawalsRoot?: `0x${string}` | undefined;
166
165
  } & {};
167
166
  type: "block";
168
167
  };
169
168
  readonly transaction: {
170
169
  exclude: [] | undefined;
171
- format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
170
+ format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
172
171
  blockHash: `0x${string}` | null;
173
172
  blockNumber: bigint | null;
174
- from: abitype31.Address;
173
+ from: viem0.Address;
175
174
  gas: bigint;
176
- hash: viem139.Hash;
177
- input: viem139.Hex;
175
+ hash: viem0.Hash;
176
+ input: viem0.Hex;
178
177
  nonce: number;
179
- r: viem139.Hex;
180
- s: viem139.Hex;
181
- to: abitype31.Address | null;
178
+ r: viem0.Hex;
179
+ s: viem0.Hex;
180
+ to: viem0.Address | null;
182
181
  transactionIndex: number | null;
183
- typeHex: viem139.Hex | null;
182
+ typeHex: viem0.Hex | null;
184
183
  v: bigint;
185
184
  value: bigint;
186
185
  yParity: number;
@@ -190,23 +189,23 @@ declare const SupportedNetworks: {
190
189
  maxPriorityFeePerGas: bigint;
191
190
  isSystemTx?: boolean;
192
191
  mint?: bigint | undefined | undefined;
193
- sourceHash: viem139.Hex;
192
+ sourceHash: viem0.Hex;
194
193
  type: "deposit";
195
194
  } | {
196
- r: viem139.Hex;
197
- s: viem139.Hex;
195
+ r: viem0.Hex;
196
+ s: viem0.Hex;
198
197
  v: bigint;
199
- to: abitype31.Address | null;
200
- from: abitype31.Address;
198
+ to: viem0.Address | null;
199
+ from: viem0.Address;
201
200
  gas: bigint;
202
201
  nonce: number;
203
202
  value: bigint;
204
203
  blockHash: `0x${string}` | null;
205
204
  blockNumber: bigint | null;
206
- hash: viem139.Hash;
207
- input: viem139.Hex;
205
+ hash: viem0.Hash;
206
+ input: viem0.Hex;
208
207
  transactionIndex: number | null;
209
- typeHex: viem139.Hex | null;
208
+ typeHex: viem0.Hex | null;
210
209
  accessList?: undefined | undefined;
211
210
  authorizationList?: undefined | undefined;
212
211
  blobVersionedHashes?: undefined | undefined;
@@ -223,20 +222,20 @@ declare const SupportedNetworks: {
223
222
  } | {
224
223
  blockHash: `0x${string}` | null;
225
224
  blockNumber: bigint | null;
226
- from: abitype31.Address;
225
+ from: viem0.Address;
227
226
  gas: bigint;
228
- hash: viem139.Hash;
229
- input: viem139.Hex;
227
+ hash: viem0.Hash;
228
+ input: viem0.Hex;
230
229
  nonce: number;
231
- r: viem139.Hex;
232
- s: viem139.Hex;
233
- to: abitype31.Address | null;
230
+ r: viem0.Hex;
231
+ s: viem0.Hex;
232
+ to: viem0.Address | null;
234
233
  transactionIndex: number | null;
235
- typeHex: viem139.Hex | null;
234
+ typeHex: viem0.Hex | null;
236
235
  v: bigint;
237
236
  value: bigint;
238
237
  yParity: number;
239
- accessList: viem139.AccessList;
238
+ accessList: viem0.AccessList;
240
239
  authorizationList?: undefined | undefined;
241
240
  blobVersionedHashes?: undefined | undefined;
242
241
  chainId: number;
@@ -251,20 +250,20 @@ declare const SupportedNetworks: {
251
250
  } | {
252
251
  blockHash: `0x${string}` | null;
253
252
  blockNumber: bigint | null;
254
- from: abitype31.Address;
253
+ from: viem0.Address;
255
254
  gas: bigint;
256
- hash: viem139.Hash;
257
- input: viem139.Hex;
255
+ hash: viem0.Hash;
256
+ input: viem0.Hex;
258
257
  nonce: number;
259
- r: viem139.Hex;
260
- s: viem139.Hex;
261
- to: abitype31.Address | null;
258
+ r: viem0.Hex;
259
+ s: viem0.Hex;
260
+ to: viem0.Address | null;
262
261
  transactionIndex: number | null;
263
- typeHex: viem139.Hex | null;
262
+ typeHex: viem0.Hex | null;
264
263
  v: bigint;
265
264
  value: bigint;
266
265
  yParity: number;
267
- accessList: viem139.AccessList;
266
+ accessList: viem0.AccessList;
268
267
  authorizationList?: undefined | undefined;
269
268
  blobVersionedHashes?: undefined | undefined;
270
269
  chainId: number;
@@ -279,22 +278,22 @@ declare const SupportedNetworks: {
279
278
  } | {
280
279
  blockHash: `0x${string}` | null;
281
280
  blockNumber: bigint | null;
282
- from: abitype31.Address;
281
+ from: viem0.Address;
283
282
  gas: bigint;
284
- hash: viem139.Hash;
285
- input: viem139.Hex;
283
+ hash: viem0.Hash;
284
+ input: viem0.Hex;
286
285
  nonce: number;
287
- r: viem139.Hex;
288
- s: viem139.Hex;
289
- to: abitype31.Address | null;
286
+ r: viem0.Hex;
287
+ s: viem0.Hex;
288
+ to: viem0.Address | null;
290
289
  transactionIndex: number | null;
291
- typeHex: viem139.Hex | null;
290
+ typeHex: viem0.Hex | null;
292
291
  v: bigint;
293
292
  value: bigint;
294
293
  yParity: number;
295
- accessList: viem139.AccessList;
294
+ accessList: viem0.AccessList;
296
295
  authorizationList?: undefined | undefined;
297
- blobVersionedHashes: readonly viem139.Hex[];
296
+ blobVersionedHashes: readonly viem0.Hex[];
298
297
  chainId: number;
299
298
  type: "eip4844";
300
299
  gasPrice?: undefined | undefined;
@@ -307,21 +306,21 @@ declare const SupportedNetworks: {
307
306
  } | {
308
307
  blockHash: `0x${string}` | null;
309
308
  blockNumber: bigint | null;
310
- from: abitype31.Address;
309
+ from: viem0.Address;
311
310
  gas: bigint;
312
- hash: viem139.Hash;
313
- input: viem139.Hex;
311
+ hash: viem0.Hash;
312
+ input: viem0.Hex;
314
313
  nonce: number;
315
- r: viem139.Hex;
316
- s: viem139.Hex;
317
- to: abitype31.Address | null;
314
+ r: viem0.Hex;
315
+ s: viem0.Hex;
316
+ to: viem0.Address | null;
318
317
  transactionIndex: number | null;
319
- typeHex: viem139.Hex | null;
318
+ typeHex: viem0.Hex | null;
320
319
  v: bigint;
321
320
  value: bigint;
322
321
  yParity: number;
323
- accessList: viem139.AccessList;
324
- authorizationList: viem139.SignedAuthorizationList;
322
+ accessList: viem0.AccessList;
323
+ authorizationList: viem0.SignedAuthorizationList;
325
324
  blobVersionedHashes?: undefined | undefined;
326
325
  chainId: number;
327
326
  type: "eip7702";
@@ -337,25 +336,25 @@ declare const SupportedNetworks: {
337
336
  };
338
337
  readonly transactionReceipt: {
339
338
  exclude: [] | undefined;
340
- format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
339
+ format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
341
340
  blobGasPrice?: bigint | undefined;
342
341
  blobGasUsed?: bigint | undefined;
343
- blockHash: viem139.Hash;
342
+ blockHash: viem0.Hash;
344
343
  blockNumber: bigint;
345
344
  blockTimestamp?: bigint | undefined;
346
- contractAddress: abitype31.Address | null | undefined;
345
+ contractAddress: viem0.Address | null | undefined;
347
346
  cumulativeGasUsed: bigint;
348
347
  effectiveGasPrice: bigint;
349
- from: abitype31.Address;
348
+ from: viem0.Address;
350
349
  gasUsed: bigint;
351
- logs: viem139.Log<bigint, number, false>[];
352
- logsBloom: viem139.Hex;
350
+ logs: viem0.Log<bigint, number, false>[];
351
+ logsBloom: viem0.Hex;
353
352
  root?: `0x${string}` | undefined;
354
353
  status: "success" | "reverted";
355
- to: abitype31.Address | null;
356
- transactionHash: viem139.Hash;
354
+ to: viem0.Address | null;
355
+ transactionHash: viem0.Hash;
357
356
  transactionIndex: number;
358
- type: viem139.TransactionType;
357
+ type: viem0.TransactionType;
359
358
  l1GasPrice: bigint | null;
360
359
  l1GasUsed: bigint | null;
361
360
  l1Fee: bigint | null;
@@ -364,24 +363,24 @@ declare const SupportedNetworks: {
364
363
  type: "transactionReceipt";
365
364
  };
366
365
  };
367
- prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
366
+ prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
368
367
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
369
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
368
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
370
369
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
371
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
370
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
372
371
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
373
372
  }] | undefined;
374
373
  serializers: {
375
- readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
374
+ readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
376
375
  };
377
- verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
376
+ verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
378
377
  readonly network: "base-sepolia";
379
378
  };
380
379
  };
381
380
  };
382
381
  /**
383
382
  * Get the network based on the string name
384
- * @param name "arbitrumSepolia" or "baseSepolia"
383
+ * @param name "arbitrumSepolia" is the only one supported right now
385
384
  * @returns The corresponding network if it is supported, otherwise an error
386
385
  */
387
386
  declare function getNetwork(name: string): {
@@ -417,729 +416,75 @@ declare function getNetwork(name: string): {
417
416
  testnet: true;
418
417
  custom?: Record<string, unknown> | undefined;
419
418
  extendSchema?: Record<string, unknown> | undefined;
420
- fees?: viem139.ChainFees<undefined> | undefined;
419
+ fees?: viem0.ChainFees<undefined> | undefined;
421
420
  formatters?: undefined;
422
- prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
421
+ prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
423
422
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
424
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
423
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
425
424
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
426
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
425
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
427
426
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
428
427
  }] | undefined;
429
- serializers?: viem139.ChainSerializers<undefined, viem139.TransactionSerializable> | undefined;
430
- verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
431
- } | {
432
- blockExplorers: {
433
- readonly default: {
434
- readonly name: "Basescan";
435
- readonly url: "https://sepolia.basescan.org";
436
- readonly apiUrl: "https://api-sepolia.basescan.org/api";
437
- };
438
- };
439
- blockTime: 2000;
440
- contracts: {
441
- readonly disputeGameFactory: {
442
- readonly 11155111: {
443
- readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
444
- };
445
- };
446
- readonly l2OutputOracle: {
447
- readonly 11155111: {
448
- readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
449
- };
450
- };
451
- readonly portal: {
452
- readonly 11155111: {
453
- readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
454
- readonly blockCreated: 4446677;
455
- };
456
- };
457
- readonly l1StandardBridge: {
458
- readonly 11155111: {
459
- readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
460
- readonly blockCreated: 4446677;
461
- };
462
- };
463
- readonly multicall3: {
464
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
465
- readonly blockCreated: 1059647;
466
- };
467
- readonly gasPriceOracle: {
468
- readonly address: "0x420000000000000000000000000000000000000F";
469
- };
470
- readonly l1Block: {
471
- readonly address: "0x4200000000000000000000000000000000000015";
472
- };
473
- readonly l2CrossDomainMessenger: {
474
- readonly address: "0x4200000000000000000000000000000000000007";
475
- };
476
- readonly l2Erc721Bridge: {
477
- readonly address: "0x4200000000000000000000000000000000000014";
478
- };
479
- readonly l2StandardBridge: {
480
- readonly address: "0x4200000000000000000000000000000000000010";
481
- };
482
- readonly l2ToL1MessagePasser: {
483
- readonly address: "0x4200000000000000000000000000000000000016";
484
- };
485
- };
486
- ensTlds?: readonly string[] | undefined;
487
- id: 84532;
488
- name: "Base Sepolia";
489
- nativeCurrency: {
490
- readonly name: "Sepolia Ether";
491
- readonly symbol: "ETH";
492
- readonly decimals: 18;
493
- };
494
- experimental_preconfirmationTime?: number | undefined | undefined;
495
- rpcUrls: {
496
- readonly default: {
497
- readonly http: readonly ["https://sepolia.base.org"];
498
- };
499
- };
500
- sourceId: 11155111;
501
- testnet: true;
502
- custom?: Record<string, unknown> | undefined;
503
- extendSchema?: Record<string, unknown> | undefined;
504
- fees?: viem139.ChainFees<undefined> | undefined;
505
- formatters: {
506
- readonly block: {
507
- exclude: [] | undefined;
508
- format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
509
- baseFeePerGas: bigint | null;
510
- blobGasUsed: bigint;
511
- difficulty: bigint;
512
- excessBlobGas: bigint;
513
- extraData: viem139.Hex;
514
- gasLimit: bigint;
515
- gasUsed: bigint;
516
- hash: `0x${string}` | null;
517
- logsBloom: `0x${string}` | null;
518
- miner: abitype31.Address;
519
- mixHash: viem139.Hash;
520
- nonce: `0x${string}` | null;
521
- number: bigint | null;
522
- parentBeaconBlockRoot?: `0x${string}` | undefined;
523
- parentHash: viem139.Hash;
524
- receiptsRoot: viem139.Hex;
525
- sealFields: viem139.Hex[];
526
- sha3Uncles: viem139.Hash;
527
- size: bigint;
528
- stateRoot: viem139.Hash;
529
- timestamp: bigint;
530
- totalDifficulty: bigint | null;
531
- transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
532
- transactionsRoot: viem139.Hash;
533
- uncles: viem139.Hash[];
534
- withdrawals?: viem139.Withdrawal[] | undefined | undefined;
535
- withdrawalsRoot?: `0x${string}` | undefined;
536
- } & {};
537
- type: "block";
538
- };
539
- readonly transaction: {
540
- exclude: [] | undefined;
541
- format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
542
- blockHash: `0x${string}` | null;
543
- blockNumber: bigint | null;
544
- from: abitype31.Address;
545
- gas: bigint;
546
- hash: viem139.Hash;
547
- input: viem139.Hex;
548
- nonce: number;
549
- r: viem139.Hex;
550
- s: viem139.Hex;
551
- to: abitype31.Address | null;
552
- transactionIndex: number | null;
553
- typeHex: viem139.Hex | null;
554
- v: bigint;
555
- value: bigint;
556
- yParity: number;
557
- gasPrice?: undefined | undefined;
558
- maxFeePerBlobGas?: undefined | undefined;
559
- maxFeePerGas: bigint;
560
- maxPriorityFeePerGas: bigint;
561
- isSystemTx?: boolean;
562
- mint?: bigint | undefined | undefined;
563
- sourceHash: viem139.Hex;
564
- type: "deposit";
565
- } | {
566
- r: viem139.Hex;
567
- s: viem139.Hex;
568
- v: bigint;
569
- to: abitype31.Address | null;
570
- from: abitype31.Address;
571
- gas: bigint;
572
- nonce: number;
573
- value: bigint;
574
- blockHash: `0x${string}` | null;
575
- blockNumber: bigint | null;
576
- hash: viem139.Hash;
577
- input: viem139.Hex;
578
- transactionIndex: number | null;
579
- typeHex: viem139.Hex | null;
580
- accessList?: undefined | undefined;
581
- authorizationList?: undefined | undefined;
582
- blobVersionedHashes?: undefined | undefined;
583
- chainId?: number | undefined;
584
- yParity?: undefined | undefined;
585
- type: "legacy";
586
- gasPrice: bigint;
587
- maxFeePerBlobGas?: undefined | undefined;
588
- maxFeePerGas?: undefined | undefined;
589
- maxPriorityFeePerGas?: undefined | undefined;
590
- isSystemTx?: undefined | undefined;
591
- mint?: undefined | undefined;
592
- sourceHash?: undefined | undefined;
593
- } | {
594
- blockHash: `0x${string}` | null;
595
- blockNumber: bigint | null;
596
- from: abitype31.Address;
597
- gas: bigint;
598
- hash: viem139.Hash;
599
- input: viem139.Hex;
600
- nonce: number;
601
- r: viem139.Hex;
602
- s: viem139.Hex;
603
- to: abitype31.Address | null;
604
- transactionIndex: number | null;
605
- typeHex: viem139.Hex | null;
606
- v: bigint;
607
- value: bigint;
608
- yParity: number;
609
- accessList: viem139.AccessList;
610
- authorizationList?: undefined | undefined;
611
- blobVersionedHashes?: undefined | undefined;
612
- chainId: number;
613
- type: "eip2930";
614
- gasPrice: bigint;
615
- maxFeePerBlobGas?: undefined | undefined;
616
- maxFeePerGas?: undefined | undefined;
617
- maxPriorityFeePerGas?: undefined | undefined;
618
- isSystemTx?: undefined | undefined;
619
- mint?: undefined | undefined;
620
- sourceHash?: undefined | undefined;
621
- } | {
622
- blockHash: `0x${string}` | null;
623
- blockNumber: bigint | null;
624
- from: abitype31.Address;
625
- gas: bigint;
626
- hash: viem139.Hash;
627
- input: viem139.Hex;
628
- nonce: number;
629
- r: viem139.Hex;
630
- s: viem139.Hex;
631
- to: abitype31.Address | null;
632
- transactionIndex: number | null;
633
- typeHex: viem139.Hex | null;
634
- v: bigint;
635
- value: bigint;
636
- yParity: number;
637
- accessList: viem139.AccessList;
638
- authorizationList?: undefined | undefined;
639
- blobVersionedHashes?: undefined | undefined;
640
- chainId: number;
641
- type: "eip1559";
642
- gasPrice?: undefined | undefined;
643
- maxFeePerBlobGas?: undefined | undefined;
644
- maxFeePerGas: bigint;
645
- maxPriorityFeePerGas: bigint;
646
- isSystemTx?: undefined | undefined;
647
- mint?: undefined | undefined;
648
- sourceHash?: undefined | undefined;
649
- } | {
650
- blockHash: `0x${string}` | null;
651
- blockNumber: bigint | null;
652
- from: abitype31.Address;
653
- gas: bigint;
654
- hash: viem139.Hash;
655
- input: viem139.Hex;
656
- nonce: number;
657
- r: viem139.Hex;
658
- s: viem139.Hex;
659
- to: abitype31.Address | null;
660
- transactionIndex: number | null;
661
- typeHex: viem139.Hex | null;
662
- v: bigint;
663
- value: bigint;
664
- yParity: number;
665
- accessList: viem139.AccessList;
666
- authorizationList?: undefined | undefined;
667
- blobVersionedHashes: readonly viem139.Hex[];
668
- chainId: number;
669
- type: "eip4844";
670
- gasPrice?: undefined | undefined;
671
- maxFeePerBlobGas: bigint;
672
- maxFeePerGas: bigint;
673
- maxPriorityFeePerGas: bigint;
674
- isSystemTx?: undefined | undefined;
675
- mint?: undefined | undefined;
676
- sourceHash?: undefined | undefined;
677
- } | {
678
- blockHash: `0x${string}` | null;
679
- blockNumber: bigint | null;
680
- from: abitype31.Address;
681
- gas: bigint;
682
- hash: viem139.Hash;
683
- input: viem139.Hex;
684
- nonce: number;
685
- r: viem139.Hex;
686
- s: viem139.Hex;
687
- to: abitype31.Address | null;
688
- transactionIndex: number | null;
689
- typeHex: viem139.Hex | null;
690
- v: bigint;
691
- value: bigint;
692
- yParity: number;
693
- accessList: viem139.AccessList;
694
- authorizationList: viem139.SignedAuthorizationList;
695
- blobVersionedHashes?: undefined | undefined;
696
- chainId: number;
697
- type: "eip7702";
698
- gasPrice?: undefined | undefined;
699
- maxFeePerBlobGas?: undefined | undefined;
700
- maxFeePerGas: bigint;
701
- maxPriorityFeePerGas: bigint;
702
- isSystemTx?: undefined | undefined;
703
- mint?: undefined | undefined;
704
- sourceHash?: undefined | undefined;
705
- }) & {};
706
- type: "transaction";
707
- };
708
- readonly transactionReceipt: {
709
- exclude: [] | undefined;
710
- format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
711
- blobGasPrice?: bigint | undefined;
712
- blobGasUsed?: bigint | undefined;
713
- blockHash: viem139.Hash;
714
- blockNumber: bigint;
715
- blockTimestamp?: bigint | undefined;
716
- contractAddress: abitype31.Address | null | undefined;
717
- cumulativeGasUsed: bigint;
718
- effectiveGasPrice: bigint;
719
- from: abitype31.Address;
720
- gasUsed: bigint;
721
- logs: viem139.Log<bigint, number, false>[];
722
- logsBloom: viem139.Hex;
723
- root?: `0x${string}` | undefined;
724
- status: "success" | "reverted";
725
- to: abitype31.Address | null;
726
- transactionHash: viem139.Hash;
727
- transactionIndex: number;
728
- type: viem139.TransactionType;
729
- l1GasPrice: bigint | null;
730
- l1GasUsed: bigint | null;
731
- l1Fee: bigint | null;
732
- l1FeeScalar: number | null;
733
- } & {};
734
- type: "transactionReceipt";
735
- };
736
- };
737
- prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
738
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
739
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
740
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
741
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
742
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
743
- }] | undefined;
744
- serializers: {
745
- readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
746
- };
747
- verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
748
- readonly network: "base-sepolia";
428
+ serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
429
+ verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
749
430
  };
750
431
  interface AppConfig {
751
- dataSourceRegistryContractAddress: Hex;
752
- schemaRegistryContractAddress: Hex;
753
- settlementRegistryContractAddress: Hex;
754
- chainName: string;
432
+ dataRegistryContractAddress: Hex;
755
433
  chain: Chain;
756
434
  rpcUrl: string;
757
435
  caip2: number;
758
436
  ipfsGateway: string;
759
437
  }
760
438
  declare const FangornConfig: {
761
- ArbitrumSepolia: {
762
- dataSourceRegistryContractAddress: "0x207ab1866704b2adc34e8ec1069fb8febafff2fd";
763
- schemaRegistryContractAddress: "0xecafc21ca3ec41c020287fb8c2126b1a9af9d220";
764
- settlementRegistryContractAddress: "0x93a5e93e76a3c150d35d4cd40029e4f45f3e650f";
765
- chainName: string;
766
- chain: {
767
- blockExplorers: {
768
- readonly default: {
769
- readonly name: "Arbiscan";
770
- readonly url: "https://sepolia.arbiscan.io";
771
- readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
772
- };
773
- };
774
- blockTime: 250;
775
- contracts: {
776
- readonly multicall3: {
777
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
778
- readonly blockCreated: 81930;
779
- };
439
+ dataRegistryContractAddress: "0x9a3811b365a4aeea1626eaad185b273424ae5e48";
440
+ chain: {
441
+ blockExplorers: {
442
+ readonly default: {
443
+ readonly name: "Arbiscan";
444
+ readonly url: "https://sepolia.arbiscan.io";
445
+ readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
780
446
  };
781
- ensTlds?: readonly string[] | undefined;
782
- id: 421614;
783
- name: "Arbitrum Sepolia";
784
- nativeCurrency: {
785
- readonly name: "Arbitrum Sepolia Ether";
786
- readonly symbol: "ETH";
787
- readonly decimals: 18;
788
- };
789
- experimental_preconfirmationTime?: number | undefined | undefined;
790
- rpcUrls: {
791
- readonly default: {
792
- readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
793
- };
794
- };
795
- sourceId?: number | undefined | undefined;
796
- testnet: true;
797
- custom?: Record<string, unknown> | undefined;
798
- extendSchema?: Record<string, unknown> | undefined;
799
- fees?: viem139.ChainFees<undefined> | undefined;
800
- formatters?: undefined;
801
- prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
802
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
803
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
804
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
805
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
806
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
807
- }] | undefined;
808
- serializers?: viem139.ChainSerializers<undefined, viem139.TransactionSerializable> | undefined;
809
- verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
810
447
  };
811
- rpcUrl: string;
812
- caip2: number;
813
- ipfsGateway: string;
814
- };
815
- BaseSepolia: {
816
- dataSourceRegistryContractAddress: "0x6fd0e50073dbd8169bcaf066bb4a4991bfa48eeb";
817
- schemaRegistryContractAddress: "0x0";
818
- settlementRegistryContractAddress: "0x0";
819
- chainName: string;
820
- chain: {
821
- blockExplorers: {
822
- readonly default: {
823
- readonly name: "Basescan";
824
- readonly url: "https://sepolia.basescan.org";
825
- readonly apiUrl: "https://api-sepolia.basescan.org/api";
826
- };
827
- };
828
- blockTime: 2000;
829
- contracts: {
830
- readonly disputeGameFactory: {
831
- readonly 11155111: {
832
- readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
833
- };
834
- };
835
- readonly l2OutputOracle: {
836
- readonly 11155111: {
837
- readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
838
- };
839
- };
840
- readonly portal: {
841
- readonly 11155111: {
842
- readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
843
- readonly blockCreated: 4446677;
844
- };
845
- };
846
- readonly l1StandardBridge: {
847
- readonly 11155111: {
848
- readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
849
- readonly blockCreated: 4446677;
850
- };
851
- };
852
- readonly multicall3: {
853
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
854
- readonly blockCreated: 1059647;
855
- };
856
- readonly gasPriceOracle: {
857
- readonly address: "0x420000000000000000000000000000000000000F";
858
- };
859
- readonly l1Block: {
860
- readonly address: "0x4200000000000000000000000000000000000015";
861
- };
862
- readonly l2CrossDomainMessenger: {
863
- readonly address: "0x4200000000000000000000000000000000000007";
864
- };
865
- readonly l2Erc721Bridge: {
866
- readonly address: "0x4200000000000000000000000000000000000014";
867
- };
868
- readonly l2StandardBridge: {
869
- readonly address: "0x4200000000000000000000000000000000000010";
870
- };
871
- readonly l2ToL1MessagePasser: {
872
- readonly address: "0x4200000000000000000000000000000000000016";
873
- };
874
- };
875
- ensTlds?: readonly string[] | undefined;
876
- id: 84532;
877
- name: "Base Sepolia";
878
- nativeCurrency: {
879
- readonly name: "Sepolia Ether";
880
- readonly symbol: "ETH";
881
- readonly decimals: 18;
882
- };
883
- experimental_preconfirmationTime?: number | undefined | undefined;
884
- rpcUrls: {
885
- readonly default: {
886
- readonly http: readonly ["https://sepolia.base.org"];
887
- };
888
- };
889
- sourceId: 11155111;
890
- testnet: true;
891
- custom?: Record<string, unknown> | undefined;
892
- extendSchema?: Record<string, unknown> | undefined;
893
- fees?: viem139.ChainFees<undefined> | undefined;
894
- formatters: {
895
- readonly block: {
896
- exclude: [] | undefined;
897
- format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
898
- baseFeePerGas: bigint | null;
899
- blobGasUsed: bigint;
900
- difficulty: bigint;
901
- excessBlobGas: bigint;
902
- extraData: viem139.Hex;
903
- gasLimit: bigint;
904
- gasUsed: bigint;
905
- hash: `0x${string}` | null;
906
- logsBloom: `0x${string}` | null;
907
- miner: abitype31.Address;
908
- mixHash: viem139.Hash;
909
- nonce: `0x${string}` | null;
910
- number: bigint | null;
911
- parentBeaconBlockRoot?: `0x${string}` | undefined;
912
- parentHash: viem139.Hash;
913
- receiptsRoot: viem139.Hex;
914
- sealFields: viem139.Hex[];
915
- sha3Uncles: viem139.Hash;
916
- size: bigint;
917
- stateRoot: viem139.Hash;
918
- timestamp: bigint;
919
- totalDifficulty: bigint | null;
920
- transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
921
- transactionsRoot: viem139.Hash;
922
- uncles: viem139.Hash[];
923
- withdrawals?: viem139.Withdrawal[] | undefined | undefined;
924
- withdrawalsRoot?: `0x${string}` | undefined;
925
- } & {};
926
- type: "block";
927
- };
928
- readonly transaction: {
929
- exclude: [] | undefined;
930
- format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
931
- blockHash: `0x${string}` | null;
932
- blockNumber: bigint | null;
933
- from: abitype31.Address;
934
- gas: bigint;
935
- hash: viem139.Hash;
936
- input: viem139.Hex;
937
- nonce: number;
938
- r: viem139.Hex;
939
- s: viem139.Hex;
940
- to: abitype31.Address | null;
941
- transactionIndex: number | null;
942
- typeHex: viem139.Hex | null;
943
- v: bigint;
944
- value: bigint;
945
- yParity: number;
946
- gasPrice?: undefined | undefined;
947
- maxFeePerBlobGas?: undefined | undefined;
948
- maxFeePerGas: bigint;
949
- maxPriorityFeePerGas: bigint;
950
- isSystemTx?: boolean;
951
- mint?: bigint | undefined | undefined;
952
- sourceHash: viem139.Hex;
953
- type: "deposit";
954
- } | {
955
- r: viem139.Hex;
956
- s: viem139.Hex;
957
- v: bigint;
958
- to: abitype31.Address | null;
959
- from: abitype31.Address;
960
- gas: bigint;
961
- nonce: number;
962
- value: bigint;
963
- blockHash: `0x${string}` | null;
964
- blockNumber: bigint | null;
965
- hash: viem139.Hash;
966
- input: viem139.Hex;
967
- transactionIndex: number | null;
968
- typeHex: viem139.Hex | null;
969
- accessList?: undefined | undefined;
970
- authorizationList?: undefined | undefined;
971
- blobVersionedHashes?: undefined | undefined;
972
- chainId?: number | undefined;
973
- yParity?: undefined | undefined;
974
- type: "legacy";
975
- gasPrice: bigint;
976
- maxFeePerBlobGas?: undefined | undefined;
977
- maxFeePerGas?: undefined | undefined;
978
- maxPriorityFeePerGas?: undefined | undefined;
979
- isSystemTx?: undefined | undefined;
980
- mint?: undefined | undefined;
981
- sourceHash?: undefined | undefined;
982
- } | {
983
- blockHash: `0x${string}` | null;
984
- blockNumber: bigint | null;
985
- from: abitype31.Address;
986
- gas: bigint;
987
- hash: viem139.Hash;
988
- input: viem139.Hex;
989
- nonce: number;
990
- r: viem139.Hex;
991
- s: viem139.Hex;
992
- to: abitype31.Address | null;
993
- transactionIndex: number | null;
994
- typeHex: viem139.Hex | null;
995
- v: bigint;
996
- value: bigint;
997
- yParity: number;
998
- accessList: viem139.AccessList;
999
- authorizationList?: undefined | undefined;
1000
- blobVersionedHashes?: undefined | undefined;
1001
- chainId: number;
1002
- type: "eip2930";
1003
- gasPrice: bigint;
1004
- maxFeePerBlobGas?: undefined | undefined;
1005
- maxFeePerGas?: undefined | undefined;
1006
- maxPriorityFeePerGas?: undefined | undefined;
1007
- isSystemTx?: undefined | undefined;
1008
- mint?: undefined | undefined;
1009
- sourceHash?: undefined | undefined;
1010
- } | {
1011
- blockHash: `0x${string}` | null;
1012
- blockNumber: bigint | null;
1013
- from: abitype31.Address;
1014
- gas: bigint;
1015
- hash: viem139.Hash;
1016
- input: viem139.Hex;
1017
- nonce: number;
1018
- r: viem139.Hex;
1019
- s: viem139.Hex;
1020
- to: abitype31.Address | null;
1021
- transactionIndex: number | null;
1022
- typeHex: viem139.Hex | null;
1023
- v: bigint;
1024
- value: bigint;
1025
- yParity: number;
1026
- accessList: viem139.AccessList;
1027
- authorizationList?: undefined | undefined;
1028
- blobVersionedHashes?: undefined | undefined;
1029
- chainId: number;
1030
- type: "eip1559";
1031
- gasPrice?: undefined | undefined;
1032
- maxFeePerBlobGas?: undefined | undefined;
1033
- maxFeePerGas: bigint;
1034
- maxPriorityFeePerGas: bigint;
1035
- isSystemTx?: undefined | undefined;
1036
- mint?: undefined | undefined;
1037
- sourceHash?: undefined | undefined;
1038
- } | {
1039
- blockHash: `0x${string}` | null;
1040
- blockNumber: bigint | null;
1041
- from: abitype31.Address;
1042
- gas: bigint;
1043
- hash: viem139.Hash;
1044
- input: viem139.Hex;
1045
- nonce: number;
1046
- r: viem139.Hex;
1047
- s: viem139.Hex;
1048
- to: abitype31.Address | null;
1049
- transactionIndex: number | null;
1050
- typeHex: viem139.Hex | null;
1051
- v: bigint;
1052
- value: bigint;
1053
- yParity: number;
1054
- accessList: viem139.AccessList;
1055
- authorizationList?: undefined | undefined;
1056
- blobVersionedHashes: readonly viem139.Hex[];
1057
- chainId: number;
1058
- type: "eip4844";
1059
- gasPrice?: undefined | undefined;
1060
- maxFeePerBlobGas: bigint;
1061
- maxFeePerGas: bigint;
1062
- maxPriorityFeePerGas: bigint;
1063
- isSystemTx?: undefined | undefined;
1064
- mint?: undefined | undefined;
1065
- sourceHash?: undefined | undefined;
1066
- } | {
1067
- blockHash: `0x${string}` | null;
1068
- blockNumber: bigint | null;
1069
- from: abitype31.Address;
1070
- gas: bigint;
1071
- hash: viem139.Hash;
1072
- input: viem139.Hex;
1073
- nonce: number;
1074
- r: viem139.Hex;
1075
- s: viem139.Hex;
1076
- to: abitype31.Address | null;
1077
- transactionIndex: number | null;
1078
- typeHex: viem139.Hex | null;
1079
- v: bigint;
1080
- value: bigint;
1081
- yParity: number;
1082
- accessList: viem139.AccessList;
1083
- authorizationList: viem139.SignedAuthorizationList;
1084
- blobVersionedHashes?: undefined | undefined;
1085
- chainId: number;
1086
- type: "eip7702";
1087
- gasPrice?: undefined | undefined;
1088
- maxFeePerBlobGas?: undefined | undefined;
1089
- maxFeePerGas: bigint;
1090
- maxPriorityFeePerGas: bigint;
1091
- isSystemTx?: undefined | undefined;
1092
- mint?: undefined | undefined;
1093
- sourceHash?: undefined | undefined;
1094
- }) & {};
1095
- type: "transaction";
1096
- };
1097
- readonly transactionReceipt: {
1098
- exclude: [] | undefined;
1099
- format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
1100
- blobGasPrice?: bigint | undefined;
1101
- blobGasUsed?: bigint | undefined;
1102
- blockHash: viem139.Hash;
1103
- blockNumber: bigint;
1104
- blockTimestamp?: bigint | undefined;
1105
- contractAddress: abitype31.Address | null | undefined;
1106
- cumulativeGasUsed: bigint;
1107
- effectiveGasPrice: bigint;
1108
- from: abitype31.Address;
1109
- gasUsed: bigint;
1110
- logs: viem139.Log<bigint, number, false>[];
1111
- logsBloom: viem139.Hex;
1112
- root?: `0x${string}` | undefined;
1113
- status: "success" | "reverted";
1114
- to: abitype31.Address | null;
1115
- transactionHash: viem139.Hash;
1116
- transactionIndex: number;
1117
- type: viem139.TransactionType;
1118
- l1GasPrice: bigint | null;
1119
- l1GasUsed: bigint | null;
1120
- l1Fee: bigint | null;
1121
- l1FeeScalar: number | null;
1122
- } & {};
1123
- type: "transactionReceipt";
1124
- };
448
+ blockTime: 250;
449
+ contracts: {
450
+ readonly multicall3: {
451
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
452
+ readonly blockCreated: 81930;
1125
453
  };
1126
- prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
1127
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1128
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
1129
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1130
- }) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
1131
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
1132
- }] | undefined;
1133
- serializers: {
1134
- readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
454
+ };
455
+ ensTlds?: readonly string[] | undefined;
456
+ id: 421614;
457
+ name: "Arbitrum Sepolia";
458
+ nativeCurrency: {
459
+ readonly name: "Arbitrum Sepolia Ether";
460
+ readonly symbol: "ETH";
461
+ readonly decimals: 18;
462
+ };
463
+ experimental_preconfirmationTime?: number | undefined | undefined;
464
+ rpcUrls: {
465
+ readonly default: {
466
+ readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
1135
467
  };
1136
- verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
1137
- readonly network: "base-sepolia";
1138
468
  };
1139
- rpcUrl: string;
1140
- caip2: number;
1141
- ipfsGateway: string;
469
+ sourceId?: number | undefined | undefined;
470
+ testnet: true;
471
+ custom?: Record<string, unknown> | undefined;
472
+ extendSchema?: Record<string, unknown> | undefined;
473
+ fees?: viem0.ChainFees<undefined> | undefined;
474
+ formatters?: undefined;
475
+ prepareTransactionRequest?: ((args: viem0.PrepareTransactionRequestParameters, options: {
476
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
477
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | [fn: ((args: viem0.PrepareTransactionRequestParameters, options: {
478
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
479
+ }) => Promise<viem0.PrepareTransactionRequestParameters>) | undefined, options: {
480
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
481
+ }] | undefined;
482
+ serializers?: viem0.ChainSerializers<undefined, viem0.TransactionSerializable> | undefined;
483
+ verifyHash?: ((client: viem0.Client, parameters: viem0.VerifyHashActionParameters) => Promise<viem0.VerifyHashActionReturnType>) | undefined;
1142
484
  };
485
+ rpcUrl: string;
486
+ caip2: number;
487
+ ipfsGateway: string;
1143
488
  };
1144
489
  //#endregion
1145
490
  export { AppConfig, FangornConfig, SupportedNetworks, getNetwork as default };