@circle-fin/usdckit 0.22.0 → 0.23.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 (77) 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 +67 -1
  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 +21 -18
  17. package/dist/cjs/chains/index.js +27 -25
  18. package/dist/cjs/chains/index.test.js +1 -0
  19. package/dist/cjs/client.d.ts +1 -1
  20. package/dist/cjs/extractChain.d.ts +1492 -1313
  21. package/dist/cjs/extractChain.test.js +1 -0
  22. package/dist/cjs/index.d.ts +2 -2
  23. package/dist/cjs/index.js +1 -1
  24. package/dist/cjs/metadata.js +1 -1
  25. package/dist/cjs/providers/circle-wallets/actions/createAccount.d.ts +1109 -930
  26. package/dist/cjs/providers/circle-wallets/actions/createAccount.js +3 -0
  27. package/dist/cjs/providers/circle-wallets/actions/estimateContractExecutionFee.d.ts +6 -0
  28. package/dist/cjs/providers/circle-wallets/actions/estimateTransferFee.d.ts +6 -0
  29. package/dist/cjs/providers/circle-wallets/actions/getAccounts.d.ts +1109 -930
  30. package/dist/cjs/providers/circle-wallets/index.d.ts +358 -0
  31. package/dist/cjs/providers/circle-wallets/index.js +2 -0
  32. package/dist/cjs/providers/circle-wallets/transports/index.d.ts +12 -0
  33. package/dist/cjs/utils/createConfig.d.ts +1 -1
  34. package/dist/cjs/utils/createCustomWalletClient.d.ts +1 -1
  35. package/dist/cjs/utils/getChainContractByAddress.d.ts +1 -1
  36. package/dist/cjs/utils/getContract.d.ts +8 -8
  37. package/dist/esm/abis/EIP2612.d.ts +197 -0
  38. package/dist/esm/abis/EIP2612.js +76 -0
  39. package/dist/esm/actions/index.d.ts +67 -1
  40. package/dist/esm/actions/index.js +7 -0
  41. package/dist/esm/actions/index.test.js +4 -0
  42. package/dist/esm/actions/permit.d.ts +19 -0
  43. package/dist/esm/actions/permit.js +44 -0
  44. package/dist/esm/actions/permit.test.d.ts +1 -0
  45. package/dist/esm/actions/permit.test.js +650 -0
  46. package/dist/esm/actions/signEIP2612Permit.d.ts +130 -0
  47. package/dist/esm/actions/signEIP2612Permit.js +122 -0
  48. package/dist/esm/actions/signEIP2612Permit.test.d.ts +1 -0
  49. package/dist/esm/actions/signEIP2612Permit.test.js +432 -0
  50. package/dist/esm/chains/ARC_TESTNET.d.ts +180 -0
  51. package/dist/esm/chains/ARC_TESTNET.js +54 -0
  52. package/dist/esm/chains/index.d.ts +21 -18
  53. package/dist/esm/chains/index.js +20 -18
  54. package/dist/esm/chains/index.test.js +1 -0
  55. package/dist/esm/client.d.ts +1 -1
  56. package/dist/esm/extractChain.d.ts +1492 -1313
  57. package/dist/esm/extractChain.test.js +2 -1
  58. package/dist/esm/index.d.ts +2 -2
  59. package/dist/esm/index.js +1 -1
  60. package/dist/esm/metadata.js +1 -1
  61. package/dist/esm/providers/circle-wallets/actions/createAccount.d.ts +1109 -930
  62. package/dist/esm/providers/circle-wallets/actions/createAccount.js +3 -0
  63. package/dist/esm/providers/circle-wallets/actions/estimateContractExecutionFee.d.ts +6 -0
  64. package/dist/esm/providers/circle-wallets/actions/estimateTransferFee.d.ts +6 -0
  65. package/dist/esm/providers/circle-wallets/actions/getAccounts.d.ts +1109 -930
  66. package/dist/esm/providers/circle-wallets/index.d.ts +358 -0
  67. package/dist/esm/providers/circle-wallets/index.js +3 -1
  68. package/dist/esm/providers/circle-wallets/transports/index.d.ts +12 -0
  69. package/dist/esm/utils/createConfig.d.ts +1 -1
  70. package/dist/esm/utils/createCustomWalletClient.d.ts +1 -1
  71. package/dist/esm/utils/getChainContractByAddress.d.ts +1 -1
  72. package/dist/esm/utils/getContract.d.ts +8 -8
  73. package/package.json +5 -4
  74. package/dist/cjs/chains.d.ts +0 -2
  75. package/dist/cjs/chains.js +0 -12
  76. package/dist/esm/chains.d.ts +0 -2
  77. package/dist/esm/chains.js +0 -11
@@ -357,6 +357,185 @@ export declare const SUPPORTED_CHAINS: readonly [{
357
357
  readonly blockchainId: "ARB-SEPOLIA";
358
358
  readonly blockchainVm: "EVM";
359
359
  readonly formatters?: undefined | undefined;
360
+ }, {
361
+ blockExplorers: {
362
+ readonly default: {
363
+ readonly name: "ArcScan";
364
+ readonly url: "https://testnet.arcscan.app";
365
+ readonly apiUrl: "https://testnet.arcscan.app/api";
366
+ };
367
+ };
368
+ blockTime?: number | undefined | undefined;
369
+ contracts: {
370
+ readonly USDC: {
371
+ readonly address: "0x3600000000000000000000000000000000000000";
372
+ readonly abi: readonly [{
373
+ readonly type: "event";
374
+ readonly name: "Approval";
375
+ readonly inputs: readonly [{
376
+ readonly indexed: true;
377
+ readonly name: "owner";
378
+ readonly type: "address";
379
+ }, {
380
+ readonly indexed: true;
381
+ readonly name: "spender";
382
+ readonly type: "address";
383
+ }, {
384
+ readonly indexed: false;
385
+ readonly name: "value";
386
+ readonly type: "uint256";
387
+ }];
388
+ }, {
389
+ readonly type: "event";
390
+ readonly name: "Transfer";
391
+ readonly inputs: readonly [{
392
+ readonly indexed: true;
393
+ readonly name: "from";
394
+ readonly type: "address";
395
+ }, {
396
+ readonly indexed: true;
397
+ readonly name: "to";
398
+ readonly type: "address";
399
+ }, {
400
+ readonly indexed: false;
401
+ readonly name: "value";
402
+ readonly type: "uint256";
403
+ }];
404
+ }, {
405
+ readonly type: "function";
406
+ readonly name: "allowance";
407
+ readonly stateMutability: "view";
408
+ readonly inputs: readonly [{
409
+ readonly name: "owner";
410
+ readonly type: "address";
411
+ }, {
412
+ readonly name: "spender";
413
+ readonly type: "address";
414
+ }];
415
+ readonly outputs: readonly [{
416
+ readonly type: "uint256";
417
+ }];
418
+ }, {
419
+ readonly type: "function";
420
+ readonly name: "approve";
421
+ readonly stateMutability: "nonpayable";
422
+ readonly inputs: readonly [{
423
+ readonly name: "spender";
424
+ readonly type: "address";
425
+ }, {
426
+ readonly name: "amount";
427
+ readonly type: "uint256";
428
+ }];
429
+ readonly outputs: readonly [{
430
+ readonly type: "bool";
431
+ }];
432
+ }, {
433
+ readonly type: "function";
434
+ readonly name: "balanceOf";
435
+ readonly stateMutability: "view";
436
+ readonly inputs: readonly [{
437
+ readonly name: "account";
438
+ readonly type: "address";
439
+ }];
440
+ readonly outputs: readonly [{
441
+ readonly type: "uint256";
442
+ }];
443
+ }, {
444
+ readonly type: "function";
445
+ readonly name: "decimals";
446
+ readonly stateMutability: "view";
447
+ readonly inputs: readonly [];
448
+ readonly outputs: readonly [{
449
+ readonly type: "uint8";
450
+ }];
451
+ }, {
452
+ readonly type: "function";
453
+ readonly name: "name";
454
+ readonly stateMutability: "view";
455
+ readonly inputs: readonly [];
456
+ readonly outputs: readonly [{
457
+ readonly type: "string";
458
+ }];
459
+ }, {
460
+ readonly type: "function";
461
+ readonly name: "symbol";
462
+ readonly stateMutability: "view";
463
+ readonly inputs: readonly [];
464
+ readonly outputs: readonly [{
465
+ readonly type: "string";
466
+ }];
467
+ }, {
468
+ readonly type: "function";
469
+ readonly name: "totalSupply";
470
+ readonly stateMutability: "view";
471
+ readonly inputs: readonly [];
472
+ readonly outputs: readonly [{
473
+ readonly type: "uint256";
474
+ }];
475
+ }, {
476
+ readonly type: "function";
477
+ readonly name: "transfer";
478
+ readonly stateMutability: "nonpayable";
479
+ readonly inputs: readonly [{
480
+ readonly name: "recipient";
481
+ readonly type: "address";
482
+ }, {
483
+ readonly name: "amount";
484
+ readonly type: "uint256";
485
+ }];
486
+ readonly outputs: readonly [{
487
+ readonly type: "bool";
488
+ }];
489
+ }, {
490
+ readonly type: "function";
491
+ readonly name: "transferFrom";
492
+ readonly stateMutability: "nonpayable";
493
+ readonly inputs: readonly [{
494
+ readonly name: "sender";
495
+ readonly type: "address";
496
+ }, {
497
+ readonly name: "recipient";
498
+ readonly type: "address";
499
+ }, {
500
+ readonly name: "amount";
501
+ readonly type: "uint256";
502
+ }];
503
+ readonly outputs: readonly [{
504
+ readonly type: "bool";
505
+ }];
506
+ }];
507
+ readonly read: {
508
+ readonly decimals: () => 6;
509
+ };
510
+ };
511
+ readonly multicall3: {
512
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
513
+ readonly blockCreated: 0;
514
+ };
515
+ };
516
+ ensTlds?: readonly string[] | undefined;
517
+ id: 5042002;
518
+ name: "Arc Testnet";
519
+ nativeCurrency: {
520
+ readonly name: "USDC";
521
+ readonly symbol: "USDC";
522
+ readonly decimals: 18;
523
+ };
524
+ experimental_preconfirmationTime?: number | undefined | undefined;
525
+ rpcUrls: {
526
+ readonly default: {
527
+ readonly http: readonly ["https://rpc.testnet.arc.network", "https://rpc.quicknode.testnet.arc.network", "https://rpc.blockdaemon.testnet.arc.network"];
528
+ readonly webSocket: readonly ["wss://rpc.testnet.arc.network", "wss://rpc.quicknode.testnet.arc.network"];
529
+ };
530
+ };
531
+ sourceId?: number | undefined | undefined;
532
+ testnet: true;
533
+ custom?: Record<string, unknown> | undefined;
534
+ fees?: import("viem").ChainFees<undefined> | undefined;
535
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
536
+ readonly blockchainId: "ARC-TESTNET";
537
+ readonly blockchainVm: "EVM";
538
+ readonly formatters?: undefined;
360
539
  }, {
361
540
  blockExplorers: {
362
541
  readonly default: {
@@ -5423,6 +5602,185 @@ export declare const SUPPORTED_CHAINS_FAUCET: readonly [{
5423
5602
  readonly blockchainId: "ARB-SEPOLIA";
5424
5603
  readonly blockchainVm: "EVM";
5425
5604
  readonly formatters?: undefined | undefined;
5605
+ }, {
5606
+ blockExplorers: {
5607
+ readonly default: {
5608
+ readonly name: "ArcScan";
5609
+ readonly url: "https://testnet.arcscan.app";
5610
+ readonly apiUrl: "https://testnet.arcscan.app/api";
5611
+ };
5612
+ };
5613
+ blockTime?: number | undefined | undefined;
5614
+ contracts: {
5615
+ readonly USDC: {
5616
+ readonly address: "0x3600000000000000000000000000000000000000";
5617
+ readonly abi: readonly [{
5618
+ readonly type: "event";
5619
+ readonly name: "Approval";
5620
+ readonly inputs: readonly [{
5621
+ readonly indexed: true;
5622
+ readonly name: "owner";
5623
+ readonly type: "address";
5624
+ }, {
5625
+ readonly indexed: true;
5626
+ readonly name: "spender";
5627
+ readonly type: "address";
5628
+ }, {
5629
+ readonly indexed: false;
5630
+ readonly name: "value";
5631
+ readonly type: "uint256";
5632
+ }];
5633
+ }, {
5634
+ readonly type: "event";
5635
+ readonly name: "Transfer";
5636
+ readonly inputs: readonly [{
5637
+ readonly indexed: true;
5638
+ readonly name: "from";
5639
+ readonly type: "address";
5640
+ }, {
5641
+ readonly indexed: true;
5642
+ readonly name: "to";
5643
+ readonly type: "address";
5644
+ }, {
5645
+ readonly indexed: false;
5646
+ readonly name: "value";
5647
+ readonly type: "uint256";
5648
+ }];
5649
+ }, {
5650
+ readonly type: "function";
5651
+ readonly name: "allowance";
5652
+ readonly stateMutability: "view";
5653
+ readonly inputs: readonly [{
5654
+ readonly name: "owner";
5655
+ readonly type: "address";
5656
+ }, {
5657
+ readonly name: "spender";
5658
+ readonly type: "address";
5659
+ }];
5660
+ readonly outputs: readonly [{
5661
+ readonly type: "uint256";
5662
+ }];
5663
+ }, {
5664
+ readonly type: "function";
5665
+ readonly name: "approve";
5666
+ readonly stateMutability: "nonpayable";
5667
+ readonly inputs: readonly [{
5668
+ readonly name: "spender";
5669
+ readonly type: "address";
5670
+ }, {
5671
+ readonly name: "amount";
5672
+ readonly type: "uint256";
5673
+ }];
5674
+ readonly outputs: readonly [{
5675
+ readonly type: "bool";
5676
+ }];
5677
+ }, {
5678
+ readonly type: "function";
5679
+ readonly name: "balanceOf";
5680
+ readonly stateMutability: "view";
5681
+ readonly inputs: readonly [{
5682
+ readonly name: "account";
5683
+ readonly type: "address";
5684
+ }];
5685
+ readonly outputs: readonly [{
5686
+ readonly type: "uint256";
5687
+ }];
5688
+ }, {
5689
+ readonly type: "function";
5690
+ readonly name: "decimals";
5691
+ readonly stateMutability: "view";
5692
+ readonly inputs: readonly [];
5693
+ readonly outputs: readonly [{
5694
+ readonly type: "uint8";
5695
+ }];
5696
+ }, {
5697
+ readonly type: "function";
5698
+ readonly name: "name";
5699
+ readonly stateMutability: "view";
5700
+ readonly inputs: readonly [];
5701
+ readonly outputs: readonly [{
5702
+ readonly type: "string";
5703
+ }];
5704
+ }, {
5705
+ readonly type: "function";
5706
+ readonly name: "symbol";
5707
+ readonly stateMutability: "view";
5708
+ readonly inputs: readonly [];
5709
+ readonly outputs: readonly [{
5710
+ readonly type: "string";
5711
+ }];
5712
+ }, {
5713
+ readonly type: "function";
5714
+ readonly name: "totalSupply";
5715
+ readonly stateMutability: "view";
5716
+ readonly inputs: readonly [];
5717
+ readonly outputs: readonly [{
5718
+ readonly type: "uint256";
5719
+ }];
5720
+ }, {
5721
+ readonly type: "function";
5722
+ readonly name: "transfer";
5723
+ readonly stateMutability: "nonpayable";
5724
+ readonly inputs: readonly [{
5725
+ readonly name: "recipient";
5726
+ readonly type: "address";
5727
+ }, {
5728
+ readonly name: "amount";
5729
+ readonly type: "uint256";
5730
+ }];
5731
+ readonly outputs: readonly [{
5732
+ readonly type: "bool";
5733
+ }];
5734
+ }, {
5735
+ readonly type: "function";
5736
+ readonly name: "transferFrom";
5737
+ readonly stateMutability: "nonpayable";
5738
+ readonly inputs: readonly [{
5739
+ readonly name: "sender";
5740
+ readonly type: "address";
5741
+ }, {
5742
+ readonly name: "recipient";
5743
+ readonly type: "address";
5744
+ }, {
5745
+ readonly name: "amount";
5746
+ readonly type: "uint256";
5747
+ }];
5748
+ readonly outputs: readonly [{
5749
+ readonly type: "bool";
5750
+ }];
5751
+ }];
5752
+ readonly read: {
5753
+ readonly decimals: () => 6;
5754
+ };
5755
+ };
5756
+ readonly multicall3: {
5757
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
5758
+ readonly blockCreated: 0;
5759
+ };
5760
+ };
5761
+ ensTlds?: readonly string[] | undefined;
5762
+ id: 5042002;
5763
+ name: "Arc Testnet";
5764
+ nativeCurrency: {
5765
+ readonly name: "USDC";
5766
+ readonly symbol: "USDC";
5767
+ readonly decimals: 18;
5768
+ };
5769
+ experimental_preconfirmationTime?: number | undefined | undefined;
5770
+ rpcUrls: {
5771
+ readonly default: {
5772
+ readonly http: readonly ["https://rpc.testnet.arc.network", "https://rpc.quicknode.testnet.arc.network", "https://rpc.blockdaemon.testnet.arc.network"];
5773
+ readonly webSocket: readonly ["wss://rpc.testnet.arc.network", "wss://rpc.quicknode.testnet.arc.network"];
5774
+ };
5775
+ };
5776
+ sourceId?: number | undefined | undefined;
5777
+ testnet: true;
5778
+ custom?: Record<string, unknown> | undefined;
5779
+ fees?: import("viem").ChainFees<undefined> | undefined;
5780
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
5781
+ readonly blockchainId: "ARC-TESTNET";
5782
+ readonly blockchainVm: "EVM";
5783
+ readonly formatters?: undefined;
5426
5784
  }, {
5427
5785
  blockExplorers: {
5428
5786
  readonly default: {
@@ -8,7 +8,7 @@
8
8
  // evidence any actual or intended publication of such source code. Disclosure
9
9
  // of this source code or any related proprietary information is strictly
10
10
  // prohibited without the express written permission of Circle Internet Group, Inc.
11
- import { ARB, ARB_SEPOLIA, AVAX, AVAX_FUJI, BASE, BASE_SEPOLIA, ETH, ETH_SEPOLIA, MATIC, MATIC_AMOY, OP, OP_SEPOLIA, UNI, UNI_SEPOLIA, } from '../../chains/index.js';
11
+ import { ARB, ARB_SEPOLIA, ARC_TESTNET, AVAX, AVAX_FUJI, BASE, BASE_SEPOLIA, ETH, ETH_SEPOLIA, MATIC, MATIC_AMOY, OP, OP_SEPOLIA, UNI, UNI_SEPOLIA, } from '../../chains/index.js';
12
12
  import { UnsupportedChainError } from '../../errors/index.js';
13
13
  import { extractChain as _extractChain } from '../../extractChain.js';
14
14
  import { raise } from '../../utils/raise.js';
@@ -17,6 +17,7 @@ export const DEFAULT_WALLET_SET_NAME = 'default';
17
17
  export const SUPPORTED_CHAINS = [
18
18
  ARB,
19
19
  ARB_SEPOLIA,
20
+ ARC_TESTNET,
20
21
  AVAX,
21
22
  AVAX_FUJI,
22
23
  BASE,
@@ -32,6 +33,7 @@ export const SUPPORTED_CHAINS = [
32
33
  ];
33
34
  export const SUPPORTED_CHAINS_FAUCET = [
34
35
  ARB_SEPOLIA,
36
+ ARC_TESTNET,
35
37
  AVAX_FUJI,
36
38
  BASE_SEPOLIA,
37
39
  ETH_SEPOLIA,
@@ -228,6 +228,8 @@ export declare class Provider extends BaseProvider {
228
228
  gasPrice?: string;
229
229
  baseFee?: string;
230
230
  networkFee?: string;
231
+ networkFeeRaw?: string;
232
+ l1Fee?: string;
231
233
  } | undefined;
232
234
  medium: {
233
235
  gasLimit: `${number}` | "" | undefined;
@@ -236,6 +238,8 @@ export declare class Provider extends BaseProvider {
236
238
  gasPrice?: string;
237
239
  baseFee?: string;
238
240
  networkFee?: string;
241
+ networkFeeRaw?: string;
242
+ l1Fee?: string;
239
243
  } | undefined;
240
244
  low: {
241
245
  gasLimit: `${number}` | "" | undefined;
@@ -244,6 +248,8 @@ export declare class Provider extends BaseProvider {
244
248
  gasPrice?: string;
245
249
  baseFee?: string;
246
250
  networkFee?: string;
251
+ networkFeeRaw?: string;
252
+ l1Fee?: string;
247
253
  } | undefined;
248
254
  callGasLimit?: string;
249
255
  verificationGasLimit?: string;
@@ -274,6 +280,8 @@ export declare class Provider extends BaseProvider {
274
280
  gasPrice?: string;
275
281
  baseFee?: string;
276
282
  networkFee?: string;
283
+ networkFeeRaw?: string;
284
+ l1Fee?: string;
277
285
  } | undefined;
278
286
  medium: {
279
287
  gasLimit: `${number}` | "" | undefined;
@@ -282,6 +290,8 @@ export declare class Provider extends BaseProvider {
282
290
  gasPrice?: string;
283
291
  baseFee?: string;
284
292
  networkFee?: string;
293
+ networkFeeRaw?: string;
294
+ l1Fee?: string;
285
295
  } | undefined;
286
296
  low: {
287
297
  gasLimit: `${number}` | "" | undefined;
@@ -290,6 +300,8 @@ export declare class Provider extends BaseProvider {
290
300
  gasPrice?: string;
291
301
  baseFee?: string;
292
302
  networkFee?: string;
303
+ networkFeeRaw?: string;
304
+ l1Fee?: string;
293
305
  } | undefined;
294
306
  callGasLimit?: string;
295
307
  verificationGasLimit?: string;
@@ -1,4 +1,4 @@
1
- import type { Chain } from '../chains.js';
1
+ import type { Chain } from '../chains/index.js';
2
2
  import type { Transport } from 'viem';
3
3
  export interface TransportFactoryParams {
4
4
  /** Required chain ID for the transport */
@@ -1,4 +1,4 @@
1
- import type { Chain } from '../chains.js';
1
+ import type { Chain } from '../chains/index.js';
2
2
  import type { CustomWalletClient } from '../client.js';
3
3
  import type { TransportFactoryParams } from './createConfig.js';
4
4
  import type { Transport } from 'viem';
@@ -1,4 +1,4 @@
1
- import type { Chain } from '../chains.js';
1
+ import type { Chain } from '../chains/index.js';
2
2
  import type { Address, ChainContract } from '../types.js';
3
3
  /**
4
4
  * Retrieves the contract associated with a given address from the specified chain.
@@ -53,8 +53,8 @@ export declare function getContract(params: GetContractInput): {
53
53
  };
54
54
  getEvents: {
55
55
  [x: string]: (...parameters: [options?: {
56
- blockHash?: `0x${string}` | undefined;
57
56
  strict?: boolean | undefined;
57
+ blockHash?: `0x${string}` | undefined;
58
58
  fromBlock?: bigint | import("viem").BlockTag | undefined;
59
59
  toBlock?: bigint | import("viem").BlockTag | undefined;
60
60
  } | undefined] | [args?: readonly unknown[] | {
@@ -71,8 +71,8 @@ export declare function getContract(params: GetContractInput): {
71
71
  batch?: undefined;
72
72
  pollingInterval?: undefined;
73
73
  } | undefined, options?: {
74
- blockHash?: `0x${string}` | undefined;
75
74
  strict?: boolean | undefined;
75
+ blockHash?: `0x${string}` | undefined;
76
76
  fromBlock?: bigint | import("viem").BlockTag | undefined;
77
77
  toBlock?: bigint | import("viem").BlockTag | undefined;
78
78
  } | undefined]) => Promise<import("viem").GetContractEventsReturnType<Abi, string>>;
@@ -150,8 +150,8 @@ export declare function getContract(params: GetContractInput): {
150
150
  };
151
151
  getEvents: {
152
152
  [x: string]: (...parameters: [options?: {
153
- blockHash?: `0x${string}` | undefined;
154
153
  strict?: boolean | undefined;
154
+ blockHash?: `0x${string}` | undefined;
155
155
  fromBlock?: bigint | import("viem").BlockTag | undefined;
156
156
  toBlock?: bigint | import("viem").BlockTag | undefined;
157
157
  } | undefined] | [args?: readonly unknown[] | {
@@ -168,8 +168,8 @@ export declare function getContract(params: GetContractInput): {
168
168
  batch?: undefined;
169
169
  pollingInterval?: undefined;
170
170
  } | undefined, options?: {
171
- blockHash?: `0x${string}` | undefined;
172
171
  strict?: boolean | undefined;
172
+ blockHash?: `0x${string}` | undefined;
173
173
  fromBlock?: bigint | import("viem").BlockTag | undefined;
174
174
  toBlock?: bigint | import("viem").BlockTag | undefined;
175
175
  } | undefined]) => Promise<import("viem").GetContractEventsReturnType<Abi, string>>;
@@ -250,8 +250,8 @@ export declare function getContract(params: GetContractInput): {
250
250
  };
251
251
  getEvents: {
252
252
  [x: string]: (...parameters: [options?: {
253
- blockHash?: `0x${string}` | undefined;
254
253
  strict?: boolean | undefined;
254
+ blockHash?: `0x${string}` | undefined;
255
255
  fromBlock?: bigint | import("viem").BlockTag | undefined;
256
256
  toBlock?: bigint | import("viem").BlockTag | undefined;
257
257
  } | undefined] | [args?: readonly unknown[] | {
@@ -268,8 +268,8 @@ export declare function getContract(params: GetContractInput): {
268
268
  batch?: undefined;
269
269
  pollingInterval?: undefined;
270
270
  } | undefined, options?: {
271
- blockHash?: `0x${string}` | undefined;
272
271
  strict?: boolean | undefined;
272
+ blockHash?: `0x${string}` | undefined;
273
273
  fromBlock?: bigint | import("viem").BlockTag | undefined;
274
274
  toBlock?: bigint | import("viem").BlockTag | undefined;
275
275
  } | undefined]) => Promise<import("viem").GetContractEventsReturnType<Abi, string>>;
@@ -347,8 +347,8 @@ export declare function getContract(params: GetContractInput): {
347
347
  };
348
348
  getEvents: {
349
349
  [x: string]: (...parameters: [options?: {
350
- blockHash?: `0x${string}` | undefined;
351
350
  strict?: boolean | undefined;
351
+ blockHash?: `0x${string}` | undefined;
352
352
  fromBlock?: bigint | import("viem").BlockTag | undefined;
353
353
  toBlock?: bigint | import("viem").BlockTag | undefined;
354
354
  } | undefined] | [args?: readonly unknown[] | {
@@ -365,8 +365,8 @@ export declare function getContract(params: GetContractInput): {
365
365
  batch?: undefined;
366
366
  pollingInterval?: undefined;
367
367
  } | undefined, options?: {
368
- blockHash?: `0x${string}` | undefined;
369
368
  strict?: boolean | undefined;
369
+ blockHash?: `0x${string}` | undefined;
370
370
  fromBlock?: bigint | import("viem").BlockTag | undefined;
371
371
  toBlock?: bigint | import("viem").BlockTag | undefined;
372
372
  } | undefined]) => Promise<import("viem").GetContractEventsReturnType<Abi, string>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circle-fin/usdckit",
3
- "version": "0.22.0",
3
+ "version": "0.23.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/circlefin/w3s-node-sdk.git"
@@ -12,8 +12,8 @@
12
12
  "packages/*"
13
13
  ],
14
14
  "dependencies": {
15
- "@circle-fin/developer-controlled-wallets": "^8.4.1",
16
- "@circle-fin/smart-contract-platform": "^8.4.1",
15
+ "@circle-fin/developer-controlled-wallets": "^9.2.0",
16
+ "@circle-fin/smart-contract-platform": "^9.2.0",
17
17
  "@inquirer/prompts": "^7.5.3",
18
18
  "@solana-program/token": "^0.5.1",
19
19
  "@solana-program/token-2022": "^0.4.2",
@@ -107,5 +107,6 @@
107
107
  "generate:embed-metadata": "node ./scripts/embed-metadata.mjs",
108
108
  "precommit:install": "lefthook install",
109
109
  "prepack": "npm run build"
110
- }
110
+ },
111
+ "packageManager": "npm@10.8.2"
111
112
  }
@@ -1,2 +0,0 @@
1
- import type * as chains from './chains/index.js';
2
- export type Chain = (typeof chains)[keyof typeof chains];
@@ -1,12 +0,0 @@
1
- "use strict";
2
- // Copyright (c) 2025, Circle Internet Group, Inc.
3
- // All rights reserved.
4
- //
5
- // Circle Internet Group, Inc. CONFIDENTIAL
6
- //
7
- // This file includes unpublished proprietary source code of Circle Internet
8
- // Group, Inc. The copyright notice above does not
9
- // evidence any actual or intended publication of such source code. Disclosure
10
- // of this source code or any related proprietary information is strictly
11
- // prohibited without the express written permission of Circle Internet Group, Inc.
12
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- import type * as chains from './chains/index.js';
2
- export type Chain = (typeof chains)[keyof typeof chains];
@@ -1,11 +0,0 @@
1
- // Copyright (c) 2025, Circle Internet Group, Inc.
2
- // All rights reserved.
3
- //
4
- // Circle Internet Group, Inc. CONFIDENTIAL
5
- //
6
- // This file includes unpublished proprietary source code of Circle Internet
7
- // Group, Inc. The copyright notice above does not
8
- // evidence any actual or intended publication of such source code. Disclosure
9
- // of this source code or any related proprietary information is strictly
10
- // prohibited without the express written permission of Circle Internet Group, Inc.
11
- export {};