@circle-fin/usdckit 0.22.0 → 0.23.0

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 (59) hide show
  1. package/dist/cjs/abis/EIP2612.d.ts +197 -0
  2. package/dist/cjs/abis/EIP2612.js +78 -0
  3. package/dist/cjs/actions/index.d.ts +66 -0
  4. package/dist/cjs/actions/index.js +7 -0
  5. package/dist/cjs/actions/index.test.js +4 -0
  6. package/dist/cjs/actions/permit.d.ts +19 -0
  7. package/dist/cjs/actions/permit.js +50 -0
  8. package/dist/cjs/actions/permit.test.d.ts +1 -0
  9. package/dist/cjs/actions/permit.test.js +652 -0
  10. package/dist/cjs/actions/signEIP2612Permit.d.ts +130 -0
  11. package/dist/cjs/actions/signEIP2612Permit.js +128 -0
  12. package/dist/cjs/actions/signEIP2612Permit.test.d.ts +1 -0
  13. package/dist/cjs/actions/signEIP2612Permit.test.js +434 -0
  14. package/dist/cjs/chains/ARC_TESTNET.d.ts +180 -0
  15. package/dist/cjs/chains/ARC_TESTNET.js +57 -0
  16. package/dist/cjs/chains/index.d.ts +1 -0
  17. package/dist/cjs/chains/index.js +3 -1
  18. package/dist/cjs/chains/index.test.js +1 -0
  19. package/dist/cjs/extractChain.d.ts +179 -0
  20. package/dist/cjs/extractChain.test.js +1 -0
  21. package/dist/cjs/metadata.js +1 -1
  22. package/dist/cjs/providers/circle-wallets/actions/createAccount.d.ts +179 -0
  23. package/dist/cjs/providers/circle-wallets/actions/createAccount.js +3 -0
  24. package/dist/cjs/providers/circle-wallets/actions/estimateContractExecutionFee.d.ts +6 -0
  25. package/dist/cjs/providers/circle-wallets/actions/estimateTransferFee.d.ts +6 -0
  26. package/dist/cjs/providers/circle-wallets/actions/getAccounts.d.ts +179 -0
  27. package/dist/cjs/providers/circle-wallets/index.d.ts +358 -0
  28. package/dist/cjs/providers/circle-wallets/index.js +2 -0
  29. package/dist/cjs/providers/circle-wallets/transports/index.d.ts +12 -0
  30. package/dist/esm/abis/EIP2612.d.ts +197 -0
  31. package/dist/esm/abis/EIP2612.js +76 -0
  32. package/dist/esm/actions/index.d.ts +66 -0
  33. package/dist/esm/actions/index.js +7 -0
  34. package/dist/esm/actions/index.test.js +4 -0
  35. package/dist/esm/actions/permit.d.ts +19 -0
  36. package/dist/esm/actions/permit.js +44 -0
  37. package/dist/esm/actions/permit.test.d.ts +1 -0
  38. package/dist/esm/actions/permit.test.js +650 -0
  39. package/dist/esm/actions/signEIP2612Permit.d.ts +130 -0
  40. package/dist/esm/actions/signEIP2612Permit.js +122 -0
  41. package/dist/esm/actions/signEIP2612Permit.test.d.ts +1 -0
  42. package/dist/esm/actions/signEIP2612Permit.test.js +432 -0
  43. package/dist/esm/chains/ARC_TESTNET.d.ts +180 -0
  44. package/dist/esm/chains/ARC_TESTNET.js +54 -0
  45. package/dist/esm/chains/index.d.ts +1 -0
  46. package/dist/esm/chains/index.js +1 -0
  47. package/dist/esm/chains/index.test.js +1 -0
  48. package/dist/esm/extractChain.d.ts +179 -0
  49. package/dist/esm/extractChain.test.js +2 -1
  50. package/dist/esm/metadata.js +1 -1
  51. package/dist/esm/providers/circle-wallets/actions/createAccount.d.ts +179 -0
  52. package/dist/esm/providers/circle-wallets/actions/createAccount.js +3 -0
  53. package/dist/esm/providers/circle-wallets/actions/estimateContractExecutionFee.d.ts +6 -0
  54. package/dist/esm/providers/circle-wallets/actions/estimateTransferFee.d.ts +6 -0
  55. package/dist/esm/providers/circle-wallets/actions/getAccounts.d.ts +179 -0
  56. package/dist/esm/providers/circle-wallets/index.d.ts +358 -0
  57. package/dist/esm/providers/circle-wallets/index.js +3 -1
  58. package/dist/esm/providers/circle-wallets/transports/index.d.ts +12 -0
  59. package/package.json +5 -4
@@ -10,11 +10,13 @@
10
10
  // of this source code or any related proprietary information is strictly
11
11
  // prohibited without the express written permission of Circle Internet Group, Inc.
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.SOL_DEVNET = exports.SOL = exports.NEAR_TESTNET = exports.NEAR = exports.UNI_SEPOLIA = exports.UNI = exports.OP_SEPOLIA = exports.OP = exports.BASE_SEPOLIA = exports.BASE = exports.MATIC_AMOY = exports.MATIC = exports.ETH_SEPOLIA = exports.ETH = exports.AVAX_FUJI = exports.AVAX = exports.ARB_SEPOLIA = exports.ARB = void 0;
13
+ exports.SOL_DEVNET = exports.SOL = exports.NEAR_TESTNET = exports.NEAR = exports.UNI_SEPOLIA = exports.UNI = exports.OP_SEPOLIA = exports.OP = exports.BASE_SEPOLIA = exports.BASE = exports.MATIC_AMOY = exports.MATIC = exports.ETH_SEPOLIA = exports.ETH = exports.AVAX_FUJI = exports.AVAX = exports.ARC_TESTNET = exports.ARB_SEPOLIA = exports.ARB = void 0;
14
14
  var ARB_js_1 = require("./ARB.js");
15
15
  Object.defineProperty(exports, "ARB", { enumerable: true, get: function () { return ARB_js_1.chain; } });
16
16
  var ARB_SEPOLIA_js_1 = require("./ARB_SEPOLIA.js");
17
17
  Object.defineProperty(exports, "ARB_SEPOLIA", { enumerable: true, get: function () { return ARB_SEPOLIA_js_1.chain; } });
18
+ var ARC_TESTNET_js_1 = require("./ARC_TESTNET.js");
19
+ Object.defineProperty(exports, "ARC_TESTNET", { enumerable: true, get: function () { return ARC_TESTNET_js_1.chain; } });
18
20
  var AVAX_js_1 = require("./AVAX.js");
19
21
  Object.defineProperty(exports, "AVAX", { enumerable: true, get: function () { return AVAX_js_1.chain; } });
20
22
  var AVAX_FUJI_js_1 = require("./AVAX_FUJI.js");
@@ -49,6 +49,7 @@ vitest_1.describe.concurrent('chains', () => {
49
49
  vitest_1.test.each([
50
50
  'ARB_SEPOLIA',
51
51
  'ARB',
52
+ 'ARC_TESTNET',
52
53
  'AVAX_FUJI',
53
54
  'AVAX',
54
55
  'BASE_SEPOLIA',
@@ -355,6 +355,185 @@ declare const SUPPORTED_CHAINS: ({
355
355
  readonly blockchainId: "ARB-SEPOLIA";
356
356
  readonly blockchainVm: "EVM";
357
357
  readonly formatters?: undefined | undefined;
358
+ } | {
359
+ blockExplorers: {
360
+ readonly default: {
361
+ readonly name: "ArcScan";
362
+ readonly url: "https://testnet.arcscan.app";
363
+ readonly apiUrl: "https://testnet.arcscan.app/api";
364
+ };
365
+ };
366
+ blockTime?: number | undefined | undefined;
367
+ contracts: {
368
+ readonly USDC: {
369
+ readonly address: "0x3600000000000000000000000000000000000000";
370
+ readonly abi: readonly [{
371
+ readonly type: "event";
372
+ readonly name: "Approval";
373
+ readonly inputs: readonly [{
374
+ readonly indexed: true;
375
+ readonly name: "owner";
376
+ readonly type: "address";
377
+ }, {
378
+ readonly indexed: true;
379
+ readonly name: "spender";
380
+ readonly type: "address";
381
+ }, {
382
+ readonly indexed: false;
383
+ readonly name: "value";
384
+ readonly type: "uint256";
385
+ }];
386
+ }, {
387
+ readonly type: "event";
388
+ readonly name: "Transfer";
389
+ readonly inputs: readonly [{
390
+ readonly indexed: true;
391
+ readonly name: "from";
392
+ readonly type: "address";
393
+ }, {
394
+ readonly indexed: true;
395
+ readonly name: "to";
396
+ readonly type: "address";
397
+ }, {
398
+ readonly indexed: false;
399
+ readonly name: "value";
400
+ readonly type: "uint256";
401
+ }];
402
+ }, {
403
+ readonly type: "function";
404
+ readonly name: "allowance";
405
+ readonly stateMutability: "view";
406
+ readonly inputs: readonly [{
407
+ readonly name: "owner";
408
+ readonly type: "address";
409
+ }, {
410
+ readonly name: "spender";
411
+ readonly type: "address";
412
+ }];
413
+ readonly outputs: readonly [{
414
+ readonly type: "uint256";
415
+ }];
416
+ }, {
417
+ readonly type: "function";
418
+ readonly name: "approve";
419
+ readonly stateMutability: "nonpayable";
420
+ readonly inputs: readonly [{
421
+ readonly name: "spender";
422
+ readonly type: "address";
423
+ }, {
424
+ readonly name: "amount";
425
+ readonly type: "uint256";
426
+ }];
427
+ readonly outputs: readonly [{
428
+ readonly type: "bool";
429
+ }];
430
+ }, {
431
+ readonly type: "function";
432
+ readonly name: "balanceOf";
433
+ readonly stateMutability: "view";
434
+ readonly inputs: readonly [{
435
+ readonly name: "account";
436
+ readonly type: "address";
437
+ }];
438
+ readonly outputs: readonly [{
439
+ readonly type: "uint256";
440
+ }];
441
+ }, {
442
+ readonly type: "function";
443
+ readonly name: "decimals";
444
+ readonly stateMutability: "view";
445
+ readonly inputs: readonly [];
446
+ readonly outputs: readonly [{
447
+ readonly type: "uint8";
448
+ }];
449
+ }, {
450
+ readonly type: "function";
451
+ readonly name: "name";
452
+ readonly stateMutability: "view";
453
+ readonly inputs: readonly [];
454
+ readonly outputs: readonly [{
455
+ readonly type: "string";
456
+ }];
457
+ }, {
458
+ readonly type: "function";
459
+ readonly name: "symbol";
460
+ readonly stateMutability: "view";
461
+ readonly inputs: readonly [];
462
+ readonly outputs: readonly [{
463
+ readonly type: "string";
464
+ }];
465
+ }, {
466
+ readonly type: "function";
467
+ readonly name: "totalSupply";
468
+ readonly stateMutability: "view";
469
+ readonly inputs: readonly [];
470
+ readonly outputs: readonly [{
471
+ readonly type: "uint256";
472
+ }];
473
+ }, {
474
+ readonly type: "function";
475
+ readonly name: "transfer";
476
+ readonly stateMutability: "nonpayable";
477
+ readonly inputs: readonly [{
478
+ readonly name: "recipient";
479
+ readonly type: "address";
480
+ }, {
481
+ readonly name: "amount";
482
+ readonly type: "uint256";
483
+ }];
484
+ readonly outputs: readonly [{
485
+ readonly type: "bool";
486
+ }];
487
+ }, {
488
+ readonly type: "function";
489
+ readonly name: "transferFrom";
490
+ readonly stateMutability: "nonpayable";
491
+ readonly inputs: readonly [{
492
+ readonly name: "sender";
493
+ readonly type: "address";
494
+ }, {
495
+ readonly name: "recipient";
496
+ readonly type: "address";
497
+ }, {
498
+ readonly name: "amount";
499
+ readonly type: "uint256";
500
+ }];
501
+ readonly outputs: readonly [{
502
+ readonly type: "bool";
503
+ }];
504
+ }];
505
+ readonly read: {
506
+ readonly decimals: () => 6;
507
+ };
508
+ };
509
+ readonly multicall3: {
510
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
511
+ readonly blockCreated: 0;
512
+ };
513
+ };
514
+ ensTlds?: readonly string[] | undefined;
515
+ id: 5042002;
516
+ name: "Arc Testnet";
517
+ nativeCurrency: {
518
+ readonly name: "USDC";
519
+ readonly symbol: "USDC";
520
+ readonly decimals: 18;
521
+ };
522
+ experimental_preconfirmationTime?: number | undefined | undefined;
523
+ rpcUrls: {
524
+ readonly default: {
525
+ readonly http: readonly ["https://rpc.testnet.arc.network", "https://rpc.quicknode.testnet.arc.network", "https://rpc.blockdaemon.testnet.arc.network"];
526
+ readonly webSocket: readonly ["wss://rpc.testnet.arc.network", "wss://rpc.quicknode.testnet.arc.network"];
527
+ };
528
+ };
529
+ sourceId?: number | undefined | undefined;
530
+ testnet: true;
531
+ custom?: Record<string, unknown> | undefined;
532
+ fees?: import("viem").ChainFees<undefined> | undefined;
533
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
534
+ readonly blockchainId: "ARC-TESTNET";
535
+ readonly blockchainVm: "EVM";
536
+ readonly formatters?: undefined;
358
537
  } | {
359
538
  blockExplorers: {
360
539
  readonly default: {
@@ -20,6 +20,7 @@ vitest_1.describe.concurrent('extractChain', () => {
20
20
  [chains_1.arbitrumSepolia, index_js_1.ARB_SEPOLIA],
21
21
  [index_js_1.ARB, index_js_1.ARB],
22
22
  [chains_1.arbitrum, index_js_1.ARB],
23
+ [index_js_1.ARC_TESTNET, index_js_1.ARC_TESTNET],
23
24
  [index_js_1.AVAX_FUJI, index_js_1.AVAX_FUJI],
24
25
  [chains_1.avalancheFuji, index_js_1.AVAX_FUJI],
25
26
  [index_js_1.AVAX, index_js_1.AVAX],
@@ -14,4 +14,4 @@ exports.VERSION = void 0;
14
14
  /**
15
15
  * The current semantic version of the SDK
16
16
  */
17
- exports.VERSION = `${'0.22.0' || '0.0.0'}`;
17
+ exports.VERSION = `${'0.23.0' || '0.0.0'}`;
@@ -427,6 +427,185 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
427
427
  readonly blockchainId: "ARB-SEPOLIA";
428
428
  readonly blockchainVm: "EVM";
429
429
  readonly formatters?: undefined | undefined;
430
+ } | {
431
+ blockExplorers: {
432
+ readonly default: {
433
+ readonly name: "ArcScan";
434
+ readonly url: "https://testnet.arcscan.app";
435
+ readonly apiUrl: "https://testnet.arcscan.app/api";
436
+ };
437
+ };
438
+ blockTime?: number | undefined | undefined;
439
+ contracts: {
440
+ readonly USDC: {
441
+ readonly address: "0x3600000000000000000000000000000000000000";
442
+ readonly abi: readonly [{
443
+ readonly type: "event";
444
+ readonly name: "Approval";
445
+ readonly inputs: readonly [{
446
+ readonly indexed: true;
447
+ readonly name: "owner";
448
+ readonly type: "address";
449
+ }, {
450
+ readonly indexed: true;
451
+ readonly name: "spender";
452
+ readonly type: "address";
453
+ }, {
454
+ readonly indexed: false;
455
+ readonly name: "value";
456
+ readonly type: "uint256";
457
+ }];
458
+ }, {
459
+ readonly type: "event";
460
+ readonly name: "Transfer";
461
+ readonly inputs: readonly [{
462
+ readonly indexed: true;
463
+ readonly name: "from";
464
+ readonly type: "address";
465
+ }, {
466
+ readonly indexed: true;
467
+ readonly name: "to";
468
+ readonly type: "address";
469
+ }, {
470
+ readonly indexed: false;
471
+ readonly name: "value";
472
+ readonly type: "uint256";
473
+ }];
474
+ }, {
475
+ readonly type: "function";
476
+ readonly name: "allowance";
477
+ readonly stateMutability: "view";
478
+ readonly inputs: readonly [{
479
+ readonly name: "owner";
480
+ readonly type: "address";
481
+ }, {
482
+ readonly name: "spender";
483
+ readonly type: "address";
484
+ }];
485
+ readonly outputs: readonly [{
486
+ readonly type: "uint256";
487
+ }];
488
+ }, {
489
+ readonly type: "function";
490
+ readonly name: "approve";
491
+ readonly stateMutability: "nonpayable";
492
+ readonly inputs: readonly [{
493
+ readonly name: "spender";
494
+ readonly type: "address";
495
+ }, {
496
+ readonly name: "amount";
497
+ readonly type: "uint256";
498
+ }];
499
+ readonly outputs: readonly [{
500
+ readonly type: "bool";
501
+ }];
502
+ }, {
503
+ readonly type: "function";
504
+ readonly name: "balanceOf";
505
+ readonly stateMutability: "view";
506
+ readonly inputs: readonly [{
507
+ readonly name: "account";
508
+ readonly type: "address";
509
+ }];
510
+ readonly outputs: readonly [{
511
+ readonly type: "uint256";
512
+ }];
513
+ }, {
514
+ readonly type: "function";
515
+ readonly name: "decimals";
516
+ readonly stateMutability: "view";
517
+ readonly inputs: readonly [];
518
+ readonly outputs: readonly [{
519
+ readonly type: "uint8";
520
+ }];
521
+ }, {
522
+ readonly type: "function";
523
+ readonly name: "name";
524
+ readonly stateMutability: "view";
525
+ readonly inputs: readonly [];
526
+ readonly outputs: readonly [{
527
+ readonly type: "string";
528
+ }];
529
+ }, {
530
+ readonly type: "function";
531
+ readonly name: "symbol";
532
+ readonly stateMutability: "view";
533
+ readonly inputs: readonly [];
534
+ readonly outputs: readonly [{
535
+ readonly type: "string";
536
+ }];
537
+ }, {
538
+ readonly type: "function";
539
+ readonly name: "totalSupply";
540
+ readonly stateMutability: "view";
541
+ readonly inputs: readonly [];
542
+ readonly outputs: readonly [{
543
+ readonly type: "uint256";
544
+ }];
545
+ }, {
546
+ readonly type: "function";
547
+ readonly name: "transfer";
548
+ readonly stateMutability: "nonpayable";
549
+ readonly inputs: readonly [{
550
+ readonly name: "recipient";
551
+ readonly type: "address";
552
+ }, {
553
+ readonly name: "amount";
554
+ readonly type: "uint256";
555
+ }];
556
+ readonly outputs: readonly [{
557
+ readonly type: "bool";
558
+ }];
559
+ }, {
560
+ readonly type: "function";
561
+ readonly name: "transferFrom";
562
+ readonly stateMutability: "nonpayable";
563
+ readonly inputs: readonly [{
564
+ readonly name: "sender";
565
+ readonly type: "address";
566
+ }, {
567
+ readonly name: "recipient";
568
+ readonly type: "address";
569
+ }, {
570
+ readonly name: "amount";
571
+ readonly type: "uint256";
572
+ }];
573
+ readonly outputs: readonly [{
574
+ readonly type: "bool";
575
+ }];
576
+ }];
577
+ readonly read: {
578
+ readonly decimals: () => 6;
579
+ };
580
+ };
581
+ readonly multicall3: {
582
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
583
+ readonly blockCreated: 0;
584
+ };
585
+ };
586
+ ensTlds?: readonly string[] | undefined;
587
+ id: 5042002;
588
+ name: "Arc Testnet";
589
+ nativeCurrency: {
590
+ readonly name: "USDC";
591
+ readonly symbol: "USDC";
592
+ readonly decimals: 18;
593
+ };
594
+ experimental_preconfirmationTime?: number | undefined | undefined;
595
+ rpcUrls: {
596
+ readonly default: {
597
+ readonly http: readonly ["https://rpc.testnet.arc.network", "https://rpc.quicknode.testnet.arc.network", "https://rpc.blockdaemon.testnet.arc.network"];
598
+ readonly webSocket: readonly ["wss://rpc.testnet.arc.network", "wss://rpc.quicknode.testnet.arc.network"];
599
+ };
600
+ };
601
+ sourceId?: number | undefined | undefined;
602
+ testnet: true;
603
+ custom?: Record<string, unknown> | undefined;
604
+ fees?: import("viem").ChainFees<undefined> | undefined;
605
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
606
+ readonly blockchainId: "ARC-TESTNET";
607
+ readonly blockchainVm: "EVM";
608
+ readonly formatters?: undefined;
430
609
  } | {
431
610
  blockExplorers: {
432
611
  readonly default: {
@@ -63,6 +63,9 @@ async function createAccount(client, params = {}) {
63
63
  let wallet;
64
64
  if (account !== undefined) {
65
65
  const accountChain = (0, index_js_1.extractChain)(account.chain) ?? (0, raise_js_1.raise)(new UnsupportedChainError_js_1.UnsupportedChainError());
66
+ if (chain.blockchainId === 'ARC-TESTNET') {
67
+ (0, raise_js_1.raise)(new UnsupportedChainError_js_1.UnsupportedChainError());
68
+ }
66
69
  const [sourceWallet] = await listWallets({
67
70
  address: account.address,
68
71
  blockchain: accountChain.blockchainId,
@@ -8,6 +8,8 @@ export declare function estimateContractExecutionFee(client: ExtendedViemClient,
8
8
  gasPrice?: string;
9
9
  baseFee?: string;
10
10
  networkFee?: string;
11
+ networkFeeRaw?: string;
12
+ l1Fee?: string;
11
13
  } | undefined;
12
14
  medium: {
13
15
  gasLimit: `${number}` | "" | undefined;
@@ -16,6 +18,8 @@ export declare function estimateContractExecutionFee(client: ExtendedViemClient,
16
18
  gasPrice?: string;
17
19
  baseFee?: string;
18
20
  networkFee?: string;
21
+ networkFeeRaw?: string;
22
+ l1Fee?: string;
19
23
  } | undefined;
20
24
  low: {
21
25
  gasLimit: `${number}` | "" | undefined;
@@ -24,6 +28,8 @@ export declare function estimateContractExecutionFee(client: ExtendedViemClient,
24
28
  gasPrice?: string;
25
29
  baseFee?: string;
26
30
  networkFee?: string;
31
+ networkFeeRaw?: string;
32
+ l1Fee?: string;
27
33
  } | undefined;
28
34
  callGasLimit?: string;
29
35
  verificationGasLimit?: string;
@@ -32,6 +32,8 @@ export declare function estimateTransferFee(client: ExtendedViemClient, params:
32
32
  gasPrice?: string;
33
33
  baseFee?: string;
34
34
  networkFee?: string;
35
+ networkFeeRaw?: string;
36
+ l1Fee?: string;
35
37
  } | undefined;
36
38
  medium: {
37
39
  gasLimit: `${number}` | "" | undefined;
@@ -40,6 +42,8 @@ export declare function estimateTransferFee(client: ExtendedViemClient, params:
40
42
  gasPrice?: string;
41
43
  baseFee?: string;
42
44
  networkFee?: string;
45
+ networkFeeRaw?: string;
46
+ l1Fee?: string;
43
47
  } | undefined;
44
48
  low: {
45
49
  gasLimit: `${number}` | "" | undefined;
@@ -48,6 +52,8 @@ export declare function estimateTransferFee(client: ExtendedViemClient, params:
48
52
  gasPrice?: string;
49
53
  baseFee?: string;
50
54
  networkFee?: string;
55
+ networkFeeRaw?: string;
56
+ l1Fee?: string;
51
57
  } | undefined;
52
58
  callGasLimit?: string;
53
59
  verificationGasLimit?: string;
@@ -366,6 +366,185 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
366
366
  readonly blockchainId: "ARB-SEPOLIA";
367
367
  readonly blockchainVm: "EVM";
368
368
  readonly formatters?: undefined | undefined;
369
+ } | {
370
+ blockExplorers: {
371
+ readonly default: {
372
+ readonly name: "ArcScan";
373
+ readonly url: "https://testnet.arcscan.app";
374
+ readonly apiUrl: "https://testnet.arcscan.app/api";
375
+ };
376
+ };
377
+ blockTime?: number | undefined | undefined;
378
+ contracts: {
379
+ readonly USDC: {
380
+ readonly address: "0x3600000000000000000000000000000000000000";
381
+ readonly abi: readonly [{
382
+ readonly type: "event";
383
+ readonly name: "Approval";
384
+ readonly inputs: readonly [{
385
+ readonly indexed: true;
386
+ readonly name: "owner";
387
+ readonly type: "address";
388
+ }, {
389
+ readonly indexed: true;
390
+ readonly name: "spender";
391
+ readonly type: "address";
392
+ }, {
393
+ readonly indexed: false;
394
+ readonly name: "value";
395
+ readonly type: "uint256";
396
+ }];
397
+ }, {
398
+ readonly type: "event";
399
+ readonly name: "Transfer";
400
+ readonly inputs: readonly [{
401
+ readonly indexed: true;
402
+ readonly name: "from";
403
+ readonly type: "address";
404
+ }, {
405
+ readonly indexed: true;
406
+ readonly name: "to";
407
+ readonly type: "address";
408
+ }, {
409
+ readonly indexed: false;
410
+ readonly name: "value";
411
+ readonly type: "uint256";
412
+ }];
413
+ }, {
414
+ readonly type: "function";
415
+ readonly name: "allowance";
416
+ readonly stateMutability: "view";
417
+ readonly inputs: readonly [{
418
+ readonly name: "owner";
419
+ readonly type: "address";
420
+ }, {
421
+ readonly name: "spender";
422
+ readonly type: "address";
423
+ }];
424
+ readonly outputs: readonly [{
425
+ readonly type: "uint256";
426
+ }];
427
+ }, {
428
+ readonly type: "function";
429
+ readonly name: "approve";
430
+ readonly stateMutability: "nonpayable";
431
+ readonly inputs: readonly [{
432
+ readonly name: "spender";
433
+ readonly type: "address";
434
+ }, {
435
+ readonly name: "amount";
436
+ readonly type: "uint256";
437
+ }];
438
+ readonly outputs: readonly [{
439
+ readonly type: "bool";
440
+ }];
441
+ }, {
442
+ readonly type: "function";
443
+ readonly name: "balanceOf";
444
+ readonly stateMutability: "view";
445
+ readonly inputs: readonly [{
446
+ readonly name: "account";
447
+ readonly type: "address";
448
+ }];
449
+ readonly outputs: readonly [{
450
+ readonly type: "uint256";
451
+ }];
452
+ }, {
453
+ readonly type: "function";
454
+ readonly name: "decimals";
455
+ readonly stateMutability: "view";
456
+ readonly inputs: readonly [];
457
+ readonly outputs: readonly [{
458
+ readonly type: "uint8";
459
+ }];
460
+ }, {
461
+ readonly type: "function";
462
+ readonly name: "name";
463
+ readonly stateMutability: "view";
464
+ readonly inputs: readonly [];
465
+ readonly outputs: readonly [{
466
+ readonly type: "string";
467
+ }];
468
+ }, {
469
+ readonly type: "function";
470
+ readonly name: "symbol";
471
+ readonly stateMutability: "view";
472
+ readonly inputs: readonly [];
473
+ readonly outputs: readonly [{
474
+ readonly type: "string";
475
+ }];
476
+ }, {
477
+ readonly type: "function";
478
+ readonly name: "totalSupply";
479
+ readonly stateMutability: "view";
480
+ readonly inputs: readonly [];
481
+ readonly outputs: readonly [{
482
+ readonly type: "uint256";
483
+ }];
484
+ }, {
485
+ readonly type: "function";
486
+ readonly name: "transfer";
487
+ readonly stateMutability: "nonpayable";
488
+ readonly inputs: readonly [{
489
+ readonly name: "recipient";
490
+ readonly type: "address";
491
+ }, {
492
+ readonly name: "amount";
493
+ readonly type: "uint256";
494
+ }];
495
+ readonly outputs: readonly [{
496
+ readonly type: "bool";
497
+ }];
498
+ }, {
499
+ readonly type: "function";
500
+ readonly name: "transferFrom";
501
+ readonly stateMutability: "nonpayable";
502
+ readonly inputs: readonly [{
503
+ readonly name: "sender";
504
+ readonly type: "address";
505
+ }, {
506
+ readonly name: "recipient";
507
+ readonly type: "address";
508
+ }, {
509
+ readonly name: "amount";
510
+ readonly type: "uint256";
511
+ }];
512
+ readonly outputs: readonly [{
513
+ readonly type: "bool";
514
+ }];
515
+ }];
516
+ readonly read: {
517
+ readonly decimals: () => 6;
518
+ };
519
+ };
520
+ readonly multicall3: {
521
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
522
+ readonly blockCreated: 0;
523
+ };
524
+ };
525
+ ensTlds?: readonly string[] | undefined;
526
+ id: 5042002;
527
+ name: "Arc Testnet";
528
+ nativeCurrency: {
529
+ readonly name: "USDC";
530
+ readonly symbol: "USDC";
531
+ readonly decimals: 18;
532
+ };
533
+ experimental_preconfirmationTime?: number | undefined | undefined;
534
+ rpcUrls: {
535
+ readonly default: {
536
+ readonly http: readonly ["https://rpc.testnet.arc.network", "https://rpc.quicknode.testnet.arc.network", "https://rpc.blockdaemon.testnet.arc.network"];
537
+ readonly webSocket: readonly ["wss://rpc.testnet.arc.network", "wss://rpc.quicknode.testnet.arc.network"];
538
+ };
539
+ };
540
+ sourceId?: number | undefined | undefined;
541
+ testnet: true;
542
+ custom?: Record<string, unknown> | undefined;
543
+ fees?: import("viem").ChainFees<undefined> | undefined;
544
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
545
+ readonly blockchainId: "ARC-TESTNET";
546
+ readonly blockchainVm: "EVM";
547
+ readonly formatters?: undefined;
369
548
  } | {
370
549
  blockExplorers: {
371
550
  readonly default: {