nyxora 1.0.2 → 1.0.3

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 (63) hide show
  1. package/package.json +1 -1
  2. package/dashboard/public/favicon.svg +0 -1
  3. package/dashboard/public/icons.svg +0 -24
  4. package/dashboard/src/App.css +0 -184
  5. package/dashboard/src/App.tsx +0 -485
  6. package/dashboard/src/BalanceWidget.tsx +0 -65
  7. package/dashboard/src/MarketWidget.tsx +0 -73
  8. package/dashboard/src/Memory.tsx +0 -109
  9. package/dashboard/src/Overview.tsx +0 -156
  10. package/dashboard/src/Settings.tsx +0 -213
  11. package/dashboard/src/Skills.tsx +0 -97
  12. package/dashboard/src/SwapWidget.tsx +0 -130
  13. package/dashboard/src/TransactionWidget.tsx +0 -86
  14. package/dashboard/src/assets/hero.png +0 -0
  15. package/dashboard/src/assets/react.svg +0 -1
  16. package/dashboard/src/assets/vite.svg +0 -1
  17. package/dashboard/src/index.css +0 -508
  18. package/dashboard/src/main.tsx +0 -10
  19. package/dashboard/src/overview.css +0 -304
  20. package/dist/src/agent/reasoning.js +0 -96
  21. package/dist/src/config/parser.js +0 -25
  22. package/dist/src/gateway/cli.js +0 -79
  23. package/dist/src/memory/logger.js +0 -50
  24. package/dist/src/web3/config.js +0 -80
  25. package/dist/src/web3/skills/getBalance.js +0 -43
  26. package/src/agent/reasoning.d.ts +0 -2
  27. package/src/agent/reasoning.d.ts.map +0 -1
  28. package/src/agent/reasoning.js +0 -97
  29. package/src/agent/reasoning.js.map +0 -1
  30. package/src/agent/reasoning.ts +0 -232
  31. package/src/config/parser.d.ts +0 -17
  32. package/src/config/parser.d.ts.map +0 -1
  33. package/src/config/parser.js +0 -26
  34. package/src/config/parser.js.map +0 -1
  35. package/src/config/parser.ts +0 -47
  36. package/src/config/paths.ts +0 -33
  37. package/src/gateway/cli.d.ts +0 -3
  38. package/src/gateway/cli.d.ts.map +0 -1
  39. package/src/gateway/cli.js +0 -80
  40. package/src/gateway/cli.js.map +0 -1
  41. package/src/gateway/cli.ts +0 -69
  42. package/src/gateway/server.ts +0 -135
  43. package/src/gateway/telegram.ts +0 -47
  44. package/src/gateway/test.ts +0 -16
  45. package/src/gateway/tracker.ts +0 -70
  46. package/src/memory/logger.d.ts +0 -18
  47. package/src/memory/logger.d.ts.map +0 -1
  48. package/src/memory/logger.js +0 -51
  49. package/src/memory/logger.js.map +0 -1
  50. package/src/memory/logger.ts +0 -57
  51. package/src/web3/config.d.ts +0 -793
  52. package/src/web3/config.d.ts.map +0 -1
  53. package/src/web3/config.js +0 -81
  54. package/src/web3/config.js.map +0 -1
  55. package/src/web3/config.ts +0 -51
  56. package/src/web3/skills/getBalance.d.ts +0 -25
  57. package/src/web3/skills/getBalance.d.ts.map +0 -1
  58. package/src/web3/skills/getBalance.js +0 -46
  59. package/src/web3/skills/getBalance.js.map +0 -1
  60. package/src/web3/skills/getBalance.ts +0 -48
  61. package/src/web3/skills/getPrice.ts +0 -43
  62. package/src/web3/skills/swapToken.ts +0 -69
  63. package/src/web3/skills/transfer.ts +0 -47
@@ -1,793 +0,0 @@
1
- import { PublicClient, WalletClient } from 'viem';
2
- export declare const supportedChains: {
3
- ethereum: {
4
- blockExplorers: {
5
- readonly default: {
6
- readonly name: "Etherscan";
7
- readonly url: "https://etherscan.io";
8
- readonly apiUrl: "https://api.etherscan.io/api";
9
- };
10
- };
11
- blockTime: 12000;
12
- contracts: {
13
- readonly ensUniversalResolver: {
14
- readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
15
- readonly blockCreated: 23085558;
16
- };
17
- readonly multicall3: {
18
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
19
- readonly blockCreated: 14353601;
20
- };
21
- };
22
- ensTlds?: readonly string[] | undefined;
23
- id: 1;
24
- name: "Ethereum";
25
- nativeCurrency: {
26
- readonly name: "Ether";
27
- readonly symbol: "ETH";
28
- readonly decimals: 18;
29
- };
30
- experimental_preconfirmationTime?: number | undefined | undefined;
31
- rpcUrls: {
32
- readonly default: {
33
- readonly http: readonly ["https://eth.merkle.io"];
34
- };
35
- };
36
- sourceId?: number | undefined | undefined;
37
- testnet?: boolean | undefined | undefined;
38
- custom?: Record<string, unknown> | undefined;
39
- extendSchema?: Record<string, unknown> | undefined;
40
- fees?: import("viem").ChainFees<undefined> | undefined;
41
- formatters?: undefined;
42
- prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
43
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
44
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
45
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
46
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
47
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
48
- }] | undefined;
49
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
50
- verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
51
- };
52
- base: {
53
- blockExplorers: {
54
- readonly default: {
55
- readonly name: "Basescan";
56
- readonly url: "https://basescan.org";
57
- readonly apiUrl: "https://api.basescan.org/api";
58
- };
59
- };
60
- blockTime: 2000;
61
- contracts: {
62
- readonly disputeGameFactory: {
63
- readonly 1: {
64
- readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
65
- };
66
- };
67
- readonly l2OutputOracle: {
68
- readonly 1: {
69
- readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
70
- };
71
- };
72
- readonly multicall3: {
73
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
74
- readonly blockCreated: 5022;
75
- };
76
- readonly portal: {
77
- readonly 1: {
78
- readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
79
- readonly blockCreated: 17482143;
80
- };
81
- };
82
- readonly l1StandardBridge: {
83
- readonly 1: {
84
- readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
85
- readonly blockCreated: 17482143;
86
- };
87
- };
88
- readonly gasPriceOracle: {
89
- readonly address: "0x420000000000000000000000000000000000000F";
90
- };
91
- readonly l1Block: {
92
- readonly address: "0x4200000000000000000000000000000000000015";
93
- };
94
- readonly l2CrossDomainMessenger: {
95
- readonly address: "0x4200000000000000000000000000000000000007";
96
- };
97
- readonly l2Erc721Bridge: {
98
- readonly address: "0x4200000000000000000000000000000000000014";
99
- };
100
- readonly l2StandardBridge: {
101
- readonly address: "0x4200000000000000000000000000000000000010";
102
- };
103
- readonly l2ToL1MessagePasser: {
104
- readonly address: "0x4200000000000000000000000000000000000016";
105
- };
106
- };
107
- ensTlds?: readonly string[] | undefined;
108
- id: 8453;
109
- name: "Base";
110
- nativeCurrency: {
111
- readonly name: "Ether";
112
- readonly symbol: "ETH";
113
- readonly decimals: 18;
114
- };
115
- experimental_preconfirmationTime?: number | undefined | undefined;
116
- rpcUrls: {
117
- readonly default: {
118
- readonly http: readonly ["https://mainnet.base.org"];
119
- };
120
- };
121
- sourceId: 1;
122
- testnet?: boolean | undefined | undefined;
123
- custom?: Record<string, unknown> | undefined;
124
- extendSchema?: Record<string, unknown> | undefined;
125
- fees?: import("viem").ChainFees<undefined> | undefined;
126
- formatters: {
127
- readonly block: {
128
- exclude: [] | undefined;
129
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
130
- baseFeePerGas: bigint | null;
131
- blobGasUsed: bigint;
132
- difficulty: bigint;
133
- excessBlobGas: bigint;
134
- extraData: import("viem").Hex;
135
- gasLimit: bigint;
136
- gasUsed: bigint;
137
- hash: `0x${string}` | null;
138
- logsBloom: `0x${string}` | null;
139
- miner: import("viem").Address;
140
- mixHash: import("viem").Hash;
141
- nonce: `0x${string}` | null;
142
- number: bigint | null;
143
- parentBeaconBlockRoot?: `0x${string}` | undefined;
144
- parentHash: import("viem").Hash;
145
- receiptsRoot: import("viem").Hex;
146
- sealFields: import("viem").Hex[];
147
- sha3Uncles: import("viem").Hash;
148
- size: bigint;
149
- stateRoot: import("viem").Hash;
150
- timestamp: bigint;
151
- totalDifficulty: bigint | null;
152
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
153
- transactionsRoot: import("viem").Hash;
154
- uncles: import("viem").Hash[];
155
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
156
- withdrawalsRoot?: `0x${string}` | undefined;
157
- } & {};
158
- type: "block";
159
- };
160
- readonly transaction: {
161
- exclude: [] | undefined;
162
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
163
- blockHash: `0x${string}` | null;
164
- blockNumber: bigint | null;
165
- blockTimestamp?: bigint | undefined;
166
- from: import("viem").Address;
167
- gas: bigint;
168
- hash: import("viem").Hash;
169
- input: import("viem").Hex;
170
- nonce: number;
171
- r: import("viem").Hex;
172
- s: import("viem").Hex;
173
- to: import("viem").Address | null;
174
- transactionIndex: number | null;
175
- typeHex: import("viem").Hex | null;
176
- v: bigint;
177
- value: bigint;
178
- yParity: number;
179
- gasPrice?: undefined | undefined;
180
- maxFeePerBlobGas?: undefined | undefined;
181
- maxFeePerGas: bigint;
182
- maxPriorityFeePerGas: bigint;
183
- isSystemTx?: boolean;
184
- mint?: bigint | undefined | undefined;
185
- sourceHash: import("viem").Hex;
186
- type: "deposit";
187
- } | {
188
- r: import("viem").Hex;
189
- s: import("viem").Hex;
190
- v: bigint;
191
- to: import("viem").Address | null;
192
- from: import("viem").Address;
193
- gas: bigint;
194
- nonce: number;
195
- value: bigint;
196
- blockHash: `0x${string}` | null;
197
- blockNumber: bigint | null;
198
- blockTimestamp?: bigint | undefined;
199
- hash: import("viem").Hash;
200
- input: import("viem").Hex;
201
- transactionIndex: number | null;
202
- typeHex: import("viem").Hex | null;
203
- accessList?: undefined | undefined;
204
- authorizationList?: undefined | undefined;
205
- blobVersionedHashes?: undefined | undefined;
206
- chainId?: number | undefined;
207
- yParity?: undefined | undefined;
208
- type: "legacy";
209
- gasPrice: bigint;
210
- maxFeePerBlobGas?: undefined | undefined;
211
- maxFeePerGas?: undefined | undefined;
212
- maxPriorityFeePerGas?: undefined | undefined;
213
- isSystemTx?: undefined | undefined;
214
- mint?: undefined | undefined;
215
- sourceHash?: undefined | undefined;
216
- } | {
217
- blockHash: `0x${string}` | null;
218
- blockNumber: bigint | null;
219
- blockTimestamp?: bigint | undefined;
220
- from: import("viem").Address;
221
- gas: bigint;
222
- hash: import("viem").Hash;
223
- input: import("viem").Hex;
224
- nonce: number;
225
- r: import("viem").Hex;
226
- s: import("viem").Hex;
227
- to: import("viem").Address | null;
228
- transactionIndex: number | null;
229
- typeHex: import("viem").Hex | null;
230
- v: bigint;
231
- value: bigint;
232
- yParity: number;
233
- accessList: import("viem").AccessList;
234
- authorizationList?: undefined | undefined;
235
- blobVersionedHashes?: undefined | undefined;
236
- chainId: number;
237
- type: "eip2930";
238
- gasPrice: bigint;
239
- maxFeePerBlobGas?: undefined | undefined;
240
- maxFeePerGas?: undefined | undefined;
241
- maxPriorityFeePerGas?: undefined | undefined;
242
- isSystemTx?: undefined | undefined;
243
- mint?: undefined | undefined;
244
- sourceHash?: undefined | undefined;
245
- } | {
246
- blockHash: `0x${string}` | null;
247
- blockNumber: bigint | null;
248
- blockTimestamp?: bigint | undefined;
249
- from: import("viem").Address;
250
- gas: bigint;
251
- hash: import("viem").Hash;
252
- input: import("viem").Hex;
253
- nonce: number;
254
- r: import("viem").Hex;
255
- s: import("viem").Hex;
256
- to: import("viem").Address | null;
257
- transactionIndex: number | null;
258
- typeHex: import("viem").Hex | null;
259
- v: bigint;
260
- value: bigint;
261
- yParity: number;
262
- accessList: import("viem").AccessList;
263
- authorizationList?: undefined | undefined;
264
- blobVersionedHashes?: undefined | undefined;
265
- chainId: number;
266
- type: "eip1559";
267
- gasPrice?: undefined | undefined;
268
- maxFeePerBlobGas?: undefined | undefined;
269
- maxFeePerGas: bigint;
270
- maxPriorityFeePerGas: bigint;
271
- isSystemTx?: undefined | undefined;
272
- mint?: undefined | undefined;
273
- sourceHash?: undefined | undefined;
274
- } | {
275
- blockHash: `0x${string}` | null;
276
- blockNumber: bigint | null;
277
- blockTimestamp?: bigint | undefined;
278
- from: import("viem").Address;
279
- gas: bigint;
280
- hash: import("viem").Hash;
281
- input: import("viem").Hex;
282
- nonce: number;
283
- r: import("viem").Hex;
284
- s: import("viem").Hex;
285
- to: import("viem").Address | null;
286
- transactionIndex: number | null;
287
- typeHex: import("viem").Hex | null;
288
- v: bigint;
289
- value: bigint;
290
- yParity: number;
291
- accessList: import("viem").AccessList;
292
- authorizationList?: undefined | undefined;
293
- blobVersionedHashes: readonly import("viem").Hex[];
294
- chainId: number;
295
- type: "eip4844";
296
- gasPrice?: undefined | undefined;
297
- maxFeePerBlobGas: bigint;
298
- maxFeePerGas: bigint;
299
- maxPriorityFeePerGas: bigint;
300
- isSystemTx?: undefined | undefined;
301
- mint?: undefined | undefined;
302
- sourceHash?: undefined | undefined;
303
- } | {
304
- blockHash: `0x${string}` | null;
305
- blockNumber: bigint | null;
306
- blockTimestamp?: bigint | undefined;
307
- from: import("viem").Address;
308
- gas: bigint;
309
- hash: import("viem").Hash;
310
- input: import("viem").Hex;
311
- nonce: number;
312
- r: import("viem").Hex;
313
- s: import("viem").Hex;
314
- to: import("viem").Address | null;
315
- transactionIndex: number | null;
316
- typeHex: import("viem").Hex | null;
317
- v: bigint;
318
- value: bigint;
319
- yParity: number;
320
- accessList: import("viem").AccessList;
321
- authorizationList: import("viem").SignedAuthorizationList;
322
- blobVersionedHashes?: undefined | undefined;
323
- chainId: number;
324
- type: "eip7702";
325
- gasPrice?: undefined | undefined;
326
- maxFeePerBlobGas?: undefined | undefined;
327
- maxFeePerGas: bigint;
328
- maxPriorityFeePerGas: bigint;
329
- isSystemTx?: undefined | undefined;
330
- mint?: undefined | undefined;
331
- sourceHash?: undefined | undefined;
332
- }) & {};
333
- type: "transaction";
334
- };
335
- readonly transactionReceipt: {
336
- exclude: [] | undefined;
337
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
338
- blobGasPrice?: bigint | undefined;
339
- blobGasUsed?: bigint | undefined;
340
- blockHash: import("viem").Hash;
341
- blockNumber: bigint;
342
- blockTimestamp?: bigint | undefined;
343
- contractAddress: import("viem").Address | null | undefined;
344
- cumulativeGasUsed: bigint;
345
- effectiveGasPrice: bigint;
346
- from: import("viem").Address;
347
- gasUsed: bigint;
348
- logs: import("viem").Log<bigint, number, false>[];
349
- logsBloom: import("viem").Hex;
350
- root?: `0x${string}` | undefined;
351
- status: "success" | "reverted";
352
- to: import("viem").Address | null;
353
- transactionHash: import("viem").Hash;
354
- transactionIndex: number;
355
- type: import("viem").TransactionType;
356
- l1GasPrice: bigint | null;
357
- l1GasUsed: bigint | null;
358
- l1Fee: bigint | null;
359
- l1FeeScalar: number | null;
360
- } & {};
361
- type: "transactionReceipt";
362
- };
363
- };
364
- prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
365
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
366
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
367
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
368
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
369
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
370
- }] | undefined;
371
- serializers: {
372
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
373
- };
374
- verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
375
- };
376
- bsc: {
377
- blockExplorers: {
378
- readonly default: {
379
- readonly name: "BscScan";
380
- readonly url: "https://bscscan.com";
381
- readonly apiUrl: "https://api.bscscan.com/api";
382
- };
383
- };
384
- blockTime: 750;
385
- contracts: {
386
- readonly multicall3: {
387
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
388
- readonly blockCreated: 15921452;
389
- };
390
- };
391
- ensTlds?: readonly string[] | undefined;
392
- id: 56;
393
- name: "BNB Smart Chain";
394
- nativeCurrency: {
395
- readonly decimals: 18;
396
- readonly name: "BNB";
397
- readonly symbol: "BNB";
398
- };
399
- experimental_preconfirmationTime?: number | undefined | undefined;
400
- rpcUrls: {
401
- readonly default: {
402
- readonly http: readonly ["https://56.rpc.thirdweb.com"];
403
- };
404
- };
405
- sourceId?: number | undefined | undefined;
406
- testnet?: boolean | undefined | undefined;
407
- custom?: Record<string, unknown> | undefined;
408
- extendSchema?: Record<string, unknown> | undefined;
409
- fees?: import("viem").ChainFees<undefined> | undefined;
410
- formatters?: undefined;
411
- prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
412
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
413
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
414
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
415
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
416
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
417
- }] | undefined;
418
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
419
- verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
420
- };
421
- arbitrum: {
422
- blockExplorers: {
423
- readonly default: {
424
- readonly name: "Arbiscan";
425
- readonly url: "https://arbiscan.io";
426
- readonly apiUrl: "https://api.arbiscan.io/api";
427
- };
428
- };
429
- blockTime: 250;
430
- contracts: {
431
- readonly multicall3: {
432
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
433
- readonly blockCreated: 7654707;
434
- };
435
- };
436
- ensTlds?: readonly string[] | undefined;
437
- id: 42161;
438
- name: "Arbitrum One";
439
- nativeCurrency: {
440
- readonly name: "Ether";
441
- readonly symbol: "ETH";
442
- readonly decimals: 18;
443
- };
444
- experimental_preconfirmationTime?: number | undefined | undefined;
445
- rpcUrls: {
446
- readonly default: {
447
- readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
448
- };
449
- };
450
- sourceId?: number | undefined | undefined;
451
- testnet?: boolean | undefined | undefined;
452
- custom?: Record<string, unknown> | undefined;
453
- extendSchema?: Record<string, unknown> | undefined;
454
- fees?: import("viem").ChainFees<undefined> | undefined;
455
- formatters?: undefined;
456
- prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
457
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
458
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
459
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
460
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
461
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
462
- }] | undefined;
463
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
464
- verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
465
- };
466
- optimism: {
467
- blockExplorers: {
468
- readonly default: {
469
- readonly name: "Optimism Explorer";
470
- readonly url: "https://optimistic.etherscan.io";
471
- readonly apiUrl: "https://api-optimistic.etherscan.io/api";
472
- };
473
- };
474
- blockTime: 2000;
475
- contracts: {
476
- readonly disputeGameFactory: {
477
- readonly 1: {
478
- readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
479
- };
480
- };
481
- readonly l2OutputOracle: {
482
- readonly 1: {
483
- readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
484
- };
485
- };
486
- readonly multicall3: {
487
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
488
- readonly blockCreated: 4286263;
489
- };
490
- readonly portal: {
491
- readonly 1: {
492
- readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
493
- };
494
- };
495
- readonly l1StandardBridge: {
496
- readonly 1: {
497
- readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
498
- };
499
- };
500
- readonly gasPriceOracle: {
501
- readonly address: "0x420000000000000000000000000000000000000F";
502
- };
503
- readonly l1Block: {
504
- readonly address: "0x4200000000000000000000000000000000000015";
505
- };
506
- readonly l2CrossDomainMessenger: {
507
- readonly address: "0x4200000000000000000000000000000000000007";
508
- };
509
- readonly l2Erc721Bridge: {
510
- readonly address: "0x4200000000000000000000000000000000000014";
511
- };
512
- readonly l2StandardBridge: {
513
- readonly address: "0x4200000000000000000000000000000000000010";
514
- };
515
- readonly l2ToL1MessagePasser: {
516
- readonly address: "0x4200000000000000000000000000000000000016";
517
- };
518
- };
519
- ensTlds?: readonly string[] | undefined;
520
- id: 10;
521
- name: "OP Mainnet";
522
- nativeCurrency: {
523
- readonly name: "Ether";
524
- readonly symbol: "ETH";
525
- readonly decimals: 18;
526
- };
527
- experimental_preconfirmationTime?: number | undefined | undefined;
528
- rpcUrls: {
529
- readonly default: {
530
- readonly http: readonly ["https://mainnet.optimism.io"];
531
- };
532
- };
533
- sourceId: 1;
534
- testnet?: boolean | undefined | undefined;
535
- custom?: Record<string, unknown> | undefined;
536
- extendSchema?: Record<string, unknown> | undefined;
537
- fees?: import("viem").ChainFees<undefined> | undefined;
538
- formatters: {
539
- readonly block: {
540
- exclude: [] | undefined;
541
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
542
- baseFeePerGas: bigint | null;
543
- blobGasUsed: bigint;
544
- difficulty: bigint;
545
- excessBlobGas: bigint;
546
- extraData: import("viem").Hex;
547
- gasLimit: bigint;
548
- gasUsed: bigint;
549
- hash: `0x${string}` | null;
550
- logsBloom: `0x${string}` | null;
551
- miner: import("viem").Address;
552
- mixHash: import("viem").Hash;
553
- nonce: `0x${string}` | null;
554
- number: bigint | null;
555
- parentBeaconBlockRoot?: `0x${string}` | undefined;
556
- parentHash: import("viem").Hash;
557
- receiptsRoot: import("viem").Hex;
558
- sealFields: import("viem").Hex[];
559
- sha3Uncles: import("viem").Hash;
560
- size: bigint;
561
- stateRoot: import("viem").Hash;
562
- timestamp: bigint;
563
- totalDifficulty: bigint | null;
564
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
565
- transactionsRoot: import("viem").Hash;
566
- uncles: import("viem").Hash[];
567
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
568
- withdrawalsRoot?: `0x${string}` | undefined;
569
- } & {};
570
- type: "block";
571
- };
572
- readonly transaction: {
573
- exclude: [] | undefined;
574
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
575
- blockHash: `0x${string}` | null;
576
- blockNumber: bigint | null;
577
- blockTimestamp?: bigint | undefined;
578
- from: import("viem").Address;
579
- gas: bigint;
580
- hash: import("viem").Hash;
581
- input: import("viem").Hex;
582
- nonce: number;
583
- r: import("viem").Hex;
584
- s: import("viem").Hex;
585
- to: import("viem").Address | null;
586
- transactionIndex: number | null;
587
- typeHex: import("viem").Hex | null;
588
- v: bigint;
589
- value: bigint;
590
- yParity: number;
591
- gasPrice?: undefined | undefined;
592
- maxFeePerBlobGas?: undefined | undefined;
593
- maxFeePerGas: bigint;
594
- maxPriorityFeePerGas: bigint;
595
- isSystemTx?: boolean;
596
- mint?: bigint | undefined | undefined;
597
- sourceHash: import("viem").Hex;
598
- type: "deposit";
599
- } | {
600
- r: import("viem").Hex;
601
- s: import("viem").Hex;
602
- v: bigint;
603
- to: import("viem").Address | null;
604
- from: import("viem").Address;
605
- gas: bigint;
606
- nonce: number;
607
- value: bigint;
608
- blockHash: `0x${string}` | null;
609
- blockNumber: bigint | null;
610
- blockTimestamp?: bigint | undefined;
611
- hash: import("viem").Hash;
612
- input: import("viem").Hex;
613
- transactionIndex: number | null;
614
- typeHex: import("viem").Hex | null;
615
- accessList?: undefined | undefined;
616
- authorizationList?: undefined | undefined;
617
- blobVersionedHashes?: undefined | undefined;
618
- chainId?: number | undefined;
619
- yParity?: undefined | undefined;
620
- type: "legacy";
621
- gasPrice: bigint;
622
- maxFeePerBlobGas?: undefined | undefined;
623
- maxFeePerGas?: undefined | undefined;
624
- maxPriorityFeePerGas?: undefined | undefined;
625
- isSystemTx?: undefined | undefined;
626
- mint?: undefined | undefined;
627
- sourceHash?: undefined | undefined;
628
- } | {
629
- blockHash: `0x${string}` | null;
630
- blockNumber: bigint | null;
631
- blockTimestamp?: bigint | undefined;
632
- from: import("viem").Address;
633
- gas: bigint;
634
- hash: import("viem").Hash;
635
- input: import("viem").Hex;
636
- nonce: number;
637
- r: import("viem").Hex;
638
- s: import("viem").Hex;
639
- to: import("viem").Address | null;
640
- transactionIndex: number | null;
641
- typeHex: import("viem").Hex | null;
642
- v: bigint;
643
- value: bigint;
644
- yParity: number;
645
- accessList: import("viem").AccessList;
646
- authorizationList?: undefined | undefined;
647
- blobVersionedHashes?: undefined | undefined;
648
- chainId: number;
649
- type: "eip2930";
650
- gasPrice: bigint;
651
- maxFeePerBlobGas?: undefined | undefined;
652
- maxFeePerGas?: undefined | undefined;
653
- maxPriorityFeePerGas?: undefined | undefined;
654
- isSystemTx?: undefined | undefined;
655
- mint?: undefined | undefined;
656
- sourceHash?: undefined | undefined;
657
- } | {
658
- blockHash: `0x${string}` | null;
659
- blockNumber: bigint | null;
660
- blockTimestamp?: bigint | undefined;
661
- from: import("viem").Address;
662
- gas: bigint;
663
- hash: import("viem").Hash;
664
- input: import("viem").Hex;
665
- nonce: number;
666
- r: import("viem").Hex;
667
- s: import("viem").Hex;
668
- to: import("viem").Address | null;
669
- transactionIndex: number | null;
670
- typeHex: import("viem").Hex | null;
671
- v: bigint;
672
- value: bigint;
673
- yParity: number;
674
- accessList: import("viem").AccessList;
675
- authorizationList?: undefined | undefined;
676
- blobVersionedHashes?: undefined | undefined;
677
- chainId: number;
678
- type: "eip1559";
679
- gasPrice?: undefined | undefined;
680
- maxFeePerBlobGas?: undefined | undefined;
681
- maxFeePerGas: bigint;
682
- maxPriorityFeePerGas: bigint;
683
- isSystemTx?: undefined | undefined;
684
- mint?: undefined | undefined;
685
- sourceHash?: undefined | undefined;
686
- } | {
687
- blockHash: `0x${string}` | null;
688
- blockNumber: bigint | null;
689
- blockTimestamp?: bigint | undefined;
690
- from: import("viem").Address;
691
- gas: bigint;
692
- hash: import("viem").Hash;
693
- input: import("viem").Hex;
694
- nonce: number;
695
- r: import("viem").Hex;
696
- s: import("viem").Hex;
697
- to: import("viem").Address | null;
698
- transactionIndex: number | null;
699
- typeHex: import("viem").Hex | null;
700
- v: bigint;
701
- value: bigint;
702
- yParity: number;
703
- accessList: import("viem").AccessList;
704
- authorizationList?: undefined | undefined;
705
- blobVersionedHashes: readonly import("viem").Hex[];
706
- chainId: number;
707
- type: "eip4844";
708
- gasPrice?: undefined | undefined;
709
- maxFeePerBlobGas: bigint;
710
- maxFeePerGas: bigint;
711
- maxPriorityFeePerGas: bigint;
712
- isSystemTx?: undefined | undefined;
713
- mint?: undefined | undefined;
714
- sourceHash?: undefined | undefined;
715
- } | {
716
- blockHash: `0x${string}` | null;
717
- blockNumber: bigint | null;
718
- blockTimestamp?: bigint | undefined;
719
- from: import("viem").Address;
720
- gas: bigint;
721
- hash: import("viem").Hash;
722
- input: import("viem").Hex;
723
- nonce: number;
724
- r: import("viem").Hex;
725
- s: import("viem").Hex;
726
- to: import("viem").Address | null;
727
- transactionIndex: number | null;
728
- typeHex: import("viem").Hex | null;
729
- v: bigint;
730
- value: bigint;
731
- yParity: number;
732
- accessList: import("viem").AccessList;
733
- authorizationList: import("viem").SignedAuthorizationList;
734
- blobVersionedHashes?: undefined | undefined;
735
- chainId: number;
736
- type: "eip7702";
737
- gasPrice?: undefined | undefined;
738
- maxFeePerBlobGas?: undefined | undefined;
739
- maxFeePerGas: bigint;
740
- maxPriorityFeePerGas: bigint;
741
- isSystemTx?: undefined | undefined;
742
- mint?: undefined | undefined;
743
- sourceHash?: undefined | undefined;
744
- }) & {};
745
- type: "transaction";
746
- };
747
- readonly transactionReceipt: {
748
- exclude: [] | undefined;
749
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
750
- blobGasPrice?: bigint | undefined;
751
- blobGasUsed?: bigint | undefined;
752
- blockHash: import("viem").Hash;
753
- blockNumber: bigint;
754
- blockTimestamp?: bigint | undefined;
755
- contractAddress: import("viem").Address | null | undefined;
756
- cumulativeGasUsed: bigint;
757
- effectiveGasPrice: bigint;
758
- from: import("viem").Address;
759
- gasUsed: bigint;
760
- logs: import("viem").Log<bigint, number, false>[];
761
- logsBloom: import("viem").Hex;
762
- root?: `0x${string}` | undefined;
763
- status: "success" | "reverted";
764
- to: import("viem").Address | null;
765
- transactionHash: import("viem").Hash;
766
- transactionIndex: number;
767
- type: import("viem").TransactionType;
768
- l1GasPrice: bigint | null;
769
- l1GasUsed: bigint | null;
770
- l1Fee: bigint | null;
771
- l1FeeScalar: number | null;
772
- } & {};
773
- type: "transactionReceipt";
774
- };
775
- };
776
- prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
777
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
778
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
779
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
780
- }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
781
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
782
- }] | undefined;
783
- serializers: {
784
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
785
- };
786
- verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
787
- };
788
- };
789
- export type ChainName = keyof typeof supportedChains;
790
- export declare function getPublicClient(chainName: ChainName): PublicClient;
791
- export declare function getWalletClient(chainName: ChainName): WalletClient;
792
- export declare function getAddress(): `0x${string}`;
793
- //# sourceMappingURL=config.d.ts.map