@tokenops/sdk 1.0.0 → 1.1.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 (91) hide show
  1. package/README.md +102 -18
  2. package/dist/{chunk-HTOMTEA3.cjs → chunk-23F7JIK5.cjs} +2 -2
  3. package/dist/{chunk-ECT3NL2L.js → chunk-3PQ2RFPC.js} +3 -3
  4. package/dist/{chunk-OLDGMKW2.cjs → chunk-3ZRHDTEX.cjs} +33 -0
  5. package/dist/chunk-5KHIQG7Y.cjs +2180 -0
  6. package/dist/{chunk-T5LVV3KY.cjs → chunk-FPQBFIUW.cjs} +3 -3
  7. package/dist/{chunk-QIHZVLIK.js → chunk-FXCW7LVB.js} +1 -1
  8. package/dist/{chunk-K6MFFDBJ.cjs → chunk-G7G75C46.cjs} +6 -6
  9. package/dist/{chunk-72YGZEQE.js → chunk-IR5AK5U5.js} +6 -8
  10. package/dist/{chunk-CMRETRZO.js → chunk-ITQBDRWX.js} +1 -1
  11. package/dist/{chunk-ZHFLRKFY.js → chunk-JJ4R5QXF.js} +1 -1
  12. package/dist/{chunk-COPFW5Z4.js → chunk-M7V2EDPB.js} +30 -1
  13. package/dist/{chunk-UOG4PJL5.js → chunk-OQZAZIAS.js} +8 -10
  14. package/dist/{chunk-SUOG3BQS.cjs → chunk-OYLZEEHF.cjs} +1 -2
  15. package/dist/chunk-QE7ZONJ2.js +2171 -0
  16. package/dist/{chunk-62DF53UQ.cjs → chunk-SAGJIEQK.cjs} +7 -9
  17. package/dist/{chunk-JFR5J4FL.cjs → chunk-SEKC7H5Y.cjs} +8 -8
  18. package/dist/{chunk-6ECAHP5O.cjs → chunk-SYHXDHWX.cjs} +9 -11
  19. package/dist/{chunk-QCA7O2Q5.cjs → chunk-W7JHOK7G.cjs} +4 -4
  20. package/dist/{chunk-52TC6BF7.js → chunk-X56UVEXS.js} +1 -2
  21. package/dist/{chunk-HGXNRR25.js → chunk-XWDVPV42.js} +2 -2
  22. package/dist/core/addresses.d.ts +22 -0
  23. package/dist/core/errors.d.ts +1 -1
  24. package/dist/core/telemetry.d.ts +0 -3
  25. package/dist/fhe/operators.d.ts +1 -1
  26. package/dist/fhe-airdrop/advanced/factory-advanced.d.ts +3 -3
  27. package/dist/fhe-airdrop/advanced/index.cjs +5 -5
  28. package/dist/fhe-airdrop/advanced/index.d.cts +2 -2
  29. package/dist/fhe-airdrop/advanced/index.d.ts +2 -2
  30. package/dist/fhe-airdrop/advanced/index.js +3 -3
  31. package/dist/fhe-airdrop/advanced/react/index.cjs +8 -8
  32. package/dist/fhe-airdrop/advanced/react/index.d.cts +1 -1
  33. package/dist/fhe-airdrop/advanced/react/index.d.ts +1 -1
  34. package/dist/fhe-airdrop/advanced/react/index.js +4 -4
  35. package/dist/fhe-airdrop/factory.d.ts +8 -10
  36. package/dist/fhe-airdrop/index.cjs +9 -9
  37. package/dist/fhe-airdrop/index.js +2 -2
  38. package/dist/fhe-airdrop/react/index.cjs +69 -69
  39. package/dist/fhe-airdrop/react/index.js +4 -4
  40. package/dist/fhe-disperse/index.cjs +19 -19
  41. package/dist/fhe-disperse/index.js +2 -2
  42. package/dist/fhe-disperse/react/index.cjs +20 -20
  43. package/dist/fhe-disperse/react/index.js +3 -3
  44. package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +2 -2
  45. package/dist/fhe-vesting/advanced/factory-advanced.d.ts +2 -2
  46. package/dist/fhe-vesting/advanced/index.cjs +5 -5
  47. package/dist/fhe-vesting/advanced/index.d.cts +2 -2
  48. package/dist/fhe-vesting/advanced/index.d.ts +2 -2
  49. package/dist/fhe-vesting/advanced/index.js +3 -3
  50. package/dist/fhe-vesting/advanced/react/index.cjs +8 -8
  51. package/dist/fhe-vesting/advanced/react/index.d.cts +1 -1
  52. package/dist/fhe-vesting/advanced/react/index.d.ts +1 -1
  53. package/dist/fhe-vesting/advanced/react/index.js +5 -5
  54. package/dist/fhe-vesting/factory.d.ts +6 -8
  55. package/dist/fhe-vesting/index.cjs +25 -25
  56. package/dist/fhe-vesting/index.js +3 -3
  57. package/dist/fhe-vesting/manager.d.ts +1 -2
  58. package/dist/fhe-vesting/react/index.cjs +126 -126
  59. package/dist/fhe-vesting/react/index.js +4 -4
  60. package/dist/fhe-vesting/react/useManagerWithdrawTokenFee.d.ts +1 -1
  61. package/dist/fhe-vesting/types.d.ts +0 -2
  62. package/dist/index.cjs +27 -11
  63. package/dist/index.js +1 -1
  64. package/dist/testnet-faucet/abis/confidential-test-token.d.ts +1039 -0
  65. package/dist/testnet-faucet/abis/index.d.ts +2 -0
  66. package/dist/testnet-faucet/abis/test-token.d.ts +253 -0
  67. package/dist/testnet-faucet/errors.d.ts +21 -0
  68. package/dist/testnet-faucet/faucet.d.ts +173 -0
  69. package/dist/testnet-faucet/index.cjs +208 -0
  70. package/dist/testnet-faucet/index.d.cts +8 -0
  71. package/dist/testnet-faucet/index.d.ts +8 -0
  72. package/dist/testnet-faucet/index.js +7 -0
  73. package/dist/testnet-faucet/react/_shared.d.ts +61 -0
  74. package/dist/testnet-faucet/react/index.cjs +379 -0
  75. package/dist/testnet-faucet/react/index.d.cts +38 -0
  76. package/dist/testnet-faucet/react/index.d.ts +38 -0
  77. package/dist/testnet-faucet/react/index.js +219 -0
  78. package/dist/testnet-faucet/react/useConfidentialBalance.d.ts +24 -0
  79. package/dist/testnet-faucet/react/useFaucetDecimals.d.ts +9 -0
  80. package/dist/testnet-faucet/react/useFaucetMetadata.d.ts +14 -0
  81. package/dist/testnet-faucet/react/useFaucetRate.d.ts +11 -0
  82. package/dist/testnet-faucet/react/useInferredTotalSupply.d.ts +11 -0
  83. package/dist/testnet-faucet/react/useMaxTotalSupply.d.ts +10 -0
  84. package/dist/testnet-faucet/react/useMintConfidential.d.ts +35 -0
  85. package/dist/testnet-faucet/react/useMintUnderlying.d.ts +31 -0
  86. package/dist/testnet-faucet/react/useUnderlyingBalance.d.ts +19 -0
  87. package/dist/testnet-faucet/react/useUnderlyingDecimals.d.ts +9 -0
  88. package/dist/testnet-faucet/react/useUnderlyingTokenAddress.d.ts +12 -0
  89. package/dist/testnet-faucet/types.d.ts +92 -0
  90. package/dist/testnet-faucet/validate.d.ts +44 -0
  91. package/package.json +77 -29
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkHTOMTEA3_cjs = require('../../chunk-HTOMTEA3.cjs');
3
+ var chunk23F7JIK5_cjs = require('../../chunk-23F7JIK5.cjs');
4
4
  require('../../chunk-ITQ7WKVC.cjs');
5
5
  require('../../chunk-FWHYQZ5E.cjs');
6
6
  require('../../chunk-NS44KBV5.cjs');
7
7
  require('../../chunk-Q7ARQSUH.cjs');
8
8
  require('../../chunk-VDXVNZCO.cjs');
9
- var chunkOLDGMKW2_cjs = require('../../chunk-OLDGMKW2.cjs');
9
+ var chunk3ZRHDTEX_cjs = require('../../chunk-3ZRHDTEX.cjs');
10
10
  require('../../chunk-CQIPRNS7.cjs');
11
11
  require('../../chunk-VJKZWYYJ.cjs');
12
12
  require('../../chunk-66IHPTOK.cjs');
@@ -20,7 +20,7 @@ var FHE_DISPERSE_NAMESPACE = "fhe-disperse";
20
20
  function tryResolveSingletonAddress(override, chainId) {
21
21
  if (override) return override;
22
22
  if (chainId === void 0) return void 0;
23
- return chunkOLDGMKW2_cjs.getFheDisperseSingletonAddress(chainId);
23
+ return chunk3ZRHDTEX_cjs.getFheDisperseSingletonAddress(chainId);
24
24
  }
25
25
  function useMemoDisperseClient(opts = {}) {
26
26
  const publicClient = wagmi.usePublicClient({ chainId: opts.chainId });
@@ -33,14 +33,14 @@ function useMemoDisperseClient(opts = {}) {
33
33
  const client = react.useMemo(() => {
34
34
  if (!publicClient) return void 0;
35
35
  if (!resolvedAddress) return void 0;
36
- return chunkHTOMTEA3_cjs.createConfidentialDisperseClient({
36
+ return chunk23F7JIK5_cjs.createConfidentialDisperseClient({
37
37
  publicClient,
38
38
  ...walletClient ? { walletClient } : {},
39
39
  address: resolvedAddress,
40
40
  ...chainId !== void 0 ? { chainId } : {},
41
41
  // Lazy — invoked per-encryption inside the headless client. Picks up
42
42
  // whichever EncryptorSource the consumer last passed in.
43
- encryptor: () => chunkHTOMTEA3_cjs.resolveEncryptor(encryptorSourceRef.current),
43
+ encryptor: () => chunk23F7JIK5_cjs.resolveEncryptor(encryptorSourceRef.current),
44
44
  ...opts.aclAddress ? { aclAddress: opts.aclAddress } : {}
45
45
  });
46
46
  }, [publicClient, walletClient, resolvedAddress, chainId, opts.aclAddress]);
@@ -63,7 +63,7 @@ function computeSingletonResolutionError(override, chainId) {
63
63
  clientLabel: "ConfidentialDisperseClient"
64
64
  });
65
65
  }
66
- const resolved = chunkOLDGMKW2_cjs.getFheDisperseSingletonAddress(chainId);
66
+ const resolved = chunk3ZRHDTEX_cjs.getFheDisperseSingletonAddress(chainId);
67
67
  if (!resolved) {
68
68
  return new chunk56UI7LUR_cjs.DeploymentAddressUnavailableError({
69
69
  reason: "registry-not-deployed",
@@ -469,7 +469,7 @@ function useWithdrawTokenFee(options = {}) {
469
469
  });
470
470
  }
471
471
  const { token, to, amount, encryptor: encryptorSource, account } = args;
472
- const eager = encryptorSource ? chunkHTOMTEA3_cjs.resolveEncryptor(encryptorSource) : void 0;
472
+ const eager = encryptorSource ? chunk23F7JIK5_cjs.resolveEncryptor(encryptorSource) : void 0;
473
473
  return client.withdrawTokenFee({
474
474
  token,
475
475
  to,
@@ -521,55 +521,55 @@ function useRevokeRole(options = {}) {
521
521
 
522
522
  Object.defineProperty(exports, "AlreadyRegisteredError", {
523
523
  enumerable: true,
524
- get: function () { return chunkHTOMTEA3_cjs.AlreadyRegisteredError; }
524
+ get: function () { return chunk23F7JIK5_cjs.AlreadyRegisteredError; }
525
525
  });
526
526
  Object.defineProperty(exports, "DEFAULT_ADMIN_ROLE", {
527
527
  enumerable: true,
528
- get: function () { return chunkHTOMTEA3_cjs.DEFAULT_ADMIN_ROLE; }
528
+ get: function () { return chunk23F7JIK5_cjs.DEFAULT_ADMIN_ROLE; }
529
529
  });
530
530
  Object.defineProperty(exports, "DisperseEncryptedReserveNotGrantedError", {
531
531
  enumerable: true,
532
- get: function () { return chunkHTOMTEA3_cjs.DisperseEncryptedReserveNotGrantedError; }
532
+ get: function () { return chunk23F7JIK5_cjs.DisperseEncryptedReserveNotGrantedError; }
533
533
  });
534
534
  Object.defineProperty(exports, "DisperseSubwalletNotFoundError", {
535
535
  enumerable: true,
536
- get: function () { return chunkHTOMTEA3_cjs.DisperseSubwalletNotFoundError; }
536
+ get: function () { return chunk23F7JIK5_cjs.DisperseSubwalletNotFoundError; }
537
537
  });
538
538
  Object.defineProperty(exports, "FEE_COLLECTOR_ROLE", {
539
539
  enumerable: true,
540
- get: function () { return chunkHTOMTEA3_cjs.FEE_COLLECTOR_ROLE; }
540
+ get: function () { return chunk23F7JIK5_cjs.FEE_COLLECTOR_ROLE; }
541
541
  });
542
542
  Object.defineProperty(exports, "FEE_MANAGER_ROLE", {
543
543
  enumerable: true,
544
- get: function () { return chunkHTOMTEA3_cjs.FEE_MANAGER_ROLE; }
544
+ get: function () { return chunk23F7JIK5_cjs.FEE_MANAGER_ROLE; }
545
545
  });
546
546
  Object.defineProperty(exports, "NotRegisteredError", {
547
547
  enumerable: true,
548
- get: function () { return chunkHTOMTEA3_cjs.NotRegisteredError; }
548
+ get: function () { return chunk23F7JIK5_cjs.NotRegisteredError; }
549
549
  });
550
550
  Object.defineProperty(exports, "PAUSER_ROLE", {
551
551
  enumerable: true,
552
- get: function () { return chunkHTOMTEA3_cjs.PAUSER_ROLE; }
552
+ get: function () { return chunk23F7JIK5_cjs.PAUSER_ROLE; }
553
553
  });
554
554
  Object.defineProperty(exports, "WITHDRAWER_ROLE", {
555
555
  enumerable: true,
556
- get: function () { return chunkHTOMTEA3_cjs.WITHDRAWER_ROLE; }
556
+ get: function () { return chunk23F7JIK5_cjs.WITHDRAWER_ROLE; }
557
557
  });
558
558
  Object.defineProperty(exports, "computeSubtotals", {
559
559
  enumerable: true,
560
- get: function () { return chunkHTOMTEA3_cjs.computeSubtotals; }
560
+ get: function () { return chunk23F7JIK5_cjs.computeSubtotals; }
561
561
  });
562
562
  Object.defineProperty(exports, "encryptUint64", {
563
563
  enumerable: true,
564
- get: function () { return chunkHTOMTEA3_cjs.encryptUint64; }
564
+ get: function () { return chunk23F7JIK5_cjs.encryptUint64; }
565
565
  });
566
566
  Object.defineProperty(exports, "encryptUint64Batch", {
567
567
  enumerable: true,
568
- get: function () { return chunkHTOMTEA3_cjs.encryptUint64Batch; }
568
+ get: function () { return chunk23F7JIK5_cjs.encryptUint64Batch; }
569
569
  });
570
570
  Object.defineProperty(exports, "resolveEncryptor", {
571
571
  enumerable: true,
572
- get: function () { return chunkHTOMTEA3_cjs.resolveEncryptor; }
572
+ get: function () { return chunk23F7JIK5_cjs.resolveEncryptor; }
573
573
  });
574
574
  Object.defineProperty(exports, "AccessDeniedError", {
575
575
  enumerable: true,
@@ -1,11 +1,11 @@
1
- import { resolveEncryptor, createConfidentialDisperseClient } from '../../chunk-QIHZVLIK.js';
2
- export { AlreadyRegisteredError, DEFAULT_ADMIN_ROLE, DisperseEncryptedReserveNotGrantedError, DisperseSubwalletNotFoundError, FEE_COLLECTOR_ROLE, FEE_MANAGER_ROLE, NotRegisteredError, PAUSER_ROLE, WITHDRAWER_ROLE, computeSubtotals, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../../chunk-QIHZVLIK.js';
1
+ import { resolveEncryptor, createConfidentialDisperseClient } from '../../chunk-FXCW7LVB.js';
2
+ export { AlreadyRegisteredError, DEFAULT_ADMIN_ROLE, DisperseEncryptedReserveNotGrantedError, DisperseSubwalletNotFoundError, FEE_COLLECTOR_ROLE, FEE_MANAGER_ROLE, NotRegisteredError, PAUSER_ROLE, WITHDRAWER_ROLE, computeSubtotals, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../../chunk-FXCW7LVB.js';
3
3
  import '../../chunk-WRCUDSUJ.js';
4
4
  import '../../chunk-7VELUOMI.js';
5
5
  import '../../chunk-ZXCOJY2Z.js';
6
6
  import '../../chunk-FYQ2UW4T.js';
7
7
  import '../../chunk-JFLEEXKP.js';
8
- import { getFheDisperseSingletonAddress } from '../../chunk-COPFW5Z4.js';
8
+ import { getFheDisperseSingletonAddress } from '../../chunk-M7V2EDPB.js';
9
9
  import '../../chunk-BE2AIZ3K.js';
10
10
  import '../../chunk-Q2GP5UDC.js';
11
11
  import '../../chunk-KWFFIJYX.js';
@@ -10,8 +10,8 @@ import { type DisperseHookOptions } from "./_shared.js";
10
10
  * the discriminated SDK shape.
11
11
  *
12
12
  * `amount` and `encryptedInput` are XOR enforced by the underlying SDK call;
13
- * the hook surface mirrors the relaxed pre-S-4 shape (callers had been writing
14
- * it that way for two rounds) and the mutate body routes to the right branch.
13
+ * the hook surface accepts the relaxed shape and the mutate body routes to the
14
+ * right branch.
15
15
  */
16
16
  export interface UseSingletonWithdrawTokenFeeArgs {
17
17
  /** ERC-7984 token whose accumulated fee reserve to withdraw from. */
@@ -4,8 +4,8 @@ import { ConfidentialVestingFactoryClient, type ConfidentialVestingFactoryClient
4
4
  * Advanced extension of {@link ConfidentialVestingFactoryClient} that re-exposes
5
5
  * the CREATE2 address prediction read.
6
6
  *
7
- * **Why this is "advanced" surface.** R02 ADR P-1 + P-2 (alignment-auditor R04
8
- * top-1): `predictManagerAddress` is block-dependent on a live chain — the
7
+ * **Why this is "advanced" surface.** `predictManagerAddress` is
8
+ * block-dependent on a live chain — the
9
9
  * factory packs the deployment block number into the clone's immutable args,
10
10
  * which feed into the CREATE2 init-code hash. Predict at block N, mine at
11
11
  * N+1, and the addresses differ. The vast majority of consumers want
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkQCA7O2Q5_cjs = require('../../chunk-QCA7O2Q5.cjs');
4
- require('../../chunk-62DF53UQ.cjs');
3
+ var chunkW7JHOK7G_cjs = require('../../chunk-W7JHOK7G.cjs');
4
+ require('../../chunk-SAGJIEQK.cjs');
5
5
  require('../../chunk-VDXVNZCO.cjs');
6
- require('../../chunk-OLDGMKW2.cjs');
6
+ require('../../chunk-3ZRHDTEX.cjs');
7
7
  require('../../chunk-CQIPRNS7.cjs');
8
8
  require('../../chunk-VJKZWYYJ.cjs');
9
9
  require('../../chunk-66IHPTOK.cjs');
@@ -13,9 +13,9 @@ require('../../chunk-56UI7LUR.cjs');
13
13
 
14
14
  Object.defineProperty(exports, "ConfidentialVestingFactoryAdvancedClient", {
15
15
  enumerable: true,
16
- get: function () { return chunkQCA7O2Q5_cjs.ConfidentialVestingFactoryAdvancedClient; }
16
+ get: function () { return chunkW7JHOK7G_cjs.ConfidentialVestingFactoryAdvancedClient; }
17
17
  });
18
18
  Object.defineProperty(exports, "createConfidentialVestingFactoryAdvancedClient", {
19
19
  enumerable: true,
20
- get: function () { return chunkQCA7O2Q5_cjs.createConfidentialVestingFactoryAdvancedClient; }
20
+ get: function () { return chunkW7JHOK7G_cjs.createConfidentialVestingFactoryAdvancedClient; }
21
21
  });
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Advanced FHE-vesting primitives — power-user surface kept off the headline
3
- * client to keep the 90 % path lean (R02 ADR P-2; alignment-auditor R04 top-1).
3
+ * client to keep the common path lean.
4
4
  *
5
5
  * Re-exports the {@link ConfidentialVestingFactoryAdvancedClient} subclass,
6
6
  * which extends the headline factory client with `predictManagerAddress`. The
7
7
  * predict read is block-dependent — see the subclass TSDoc. For the common
8
8
  * "deploy and learn the address" case, the headline factory's
9
- * `createManager` returns `{ hash, manager }` directly (R02 ADR P-1).
9
+ * `createManager` returns `{ hash, manager }` directly.
10
10
  */
11
11
  export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient, } from "./factory-advanced.js";
12
12
  export type { PredictManagerArgs } from "../factory.js";
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Advanced FHE-vesting primitives — power-user surface kept off the headline
3
- * client to keep the 90 % path lean (R02 ADR P-2; alignment-auditor R04 top-1).
3
+ * client to keep the common path lean.
4
4
  *
5
5
  * Re-exports the {@link ConfidentialVestingFactoryAdvancedClient} subclass,
6
6
  * which extends the headline factory client with `predictManagerAddress`. The
7
7
  * predict read is block-dependent — see the subclass TSDoc. For the common
8
8
  * "deploy and learn the address" case, the headline factory's
9
- * `createManager` returns `{ hash, manager }` directly (R02 ADR P-1).
9
+ * `createManager` returns `{ hash, manager }` directly.
10
10
  */
11
11
  export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient, } from "./factory-advanced.js";
12
12
  export type { PredictManagerArgs } from "../factory.js";
@@ -1,7 +1,7 @@
1
- export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient } from '../../chunk-CMRETRZO.js';
2
- import '../../chunk-72YGZEQE.js';
1
+ export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient } from '../../chunk-ITQBDRWX.js';
2
+ import '../../chunk-IR5AK5U5.js';
3
3
  import '../../chunk-JFLEEXKP.js';
4
- import '../../chunk-COPFW5Z4.js';
4
+ import '../../chunk-M7V2EDPB.js';
5
5
  import '../../chunk-BE2AIZ3K.js';
6
6
  import '../../chunk-Q2GP5UDC.js';
7
7
  import '../../chunk-KWFFIJYX.js';
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkJFR5J4FL_cjs = require('../../../chunk-JFR5J4FL.cjs');
4
- require('../../../chunk-SUOG3BQS.cjs');
3
+ var chunkSEKC7H5Y_cjs = require('../../../chunk-SEKC7H5Y.cjs');
4
+ require('../../../chunk-OYLZEEHF.cjs');
5
5
  require('../../../chunk-NS44KBV5.cjs');
6
6
  require('../../../chunk-5SGMJADP.cjs');
7
7
  require('../../../chunk-Q7ARQSUH.cjs');
8
- var chunkQCA7O2Q5_cjs = require('../../../chunk-QCA7O2Q5.cjs');
9
- require('../../../chunk-62DF53UQ.cjs');
8
+ var chunkW7JHOK7G_cjs = require('../../../chunk-W7JHOK7G.cjs');
9
+ require('../../../chunk-SAGJIEQK.cjs');
10
10
  require('../../../chunk-VDXVNZCO.cjs');
11
- var chunkOLDGMKW2_cjs = require('../../../chunk-OLDGMKW2.cjs');
11
+ var chunk3ZRHDTEX_cjs = require('../../../chunk-3ZRHDTEX.cjs');
12
12
  require('../../../chunk-CQIPRNS7.cjs');
13
13
  require('../../../chunk-VJKZWYYJ.cjs');
14
14
  require('../../../chunk-66IHPTOK.cjs');
@@ -35,12 +35,12 @@ function usePredictManagerAddress(args = {}) {
35
35
  ...chainId !== void 0 ? { chainId } : {}
36
36
  });
37
37
  const resolvedChainId = chainId ?? resolvedPublicClient?.chain?.id;
38
- const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 : chunkOLDGMKW2_cjs.DEPLOYED_ADDRESSES.fheVesting?.confidentialVestingFactory?.[resolvedChainId] ?? void 0);
38
+ const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 : chunk3ZRHDTEX_cjs.DEPLOYED_ADDRESSES.fheVesting?.confidentialVestingFactory?.[resolvedChainId] ?? void 0);
39
39
  react.useRef(void 0);
40
40
  const client = react.useMemo(() => {
41
41
  if (!resolvedPublicClient) return void 0;
42
42
  if (!resolvedAddress) return void 0;
43
- return chunkQCA7O2Q5_cjs.createConfidentialVestingFactoryAdvancedClient({
43
+ return chunkW7JHOK7G_cjs.createConfidentialVestingFactoryAdvancedClient({
44
44
  publicClient: resolvedPublicClient,
45
45
  ...walletClient ? { walletClient } : {},
46
46
  address: resolvedAddress,
@@ -48,7 +48,7 @@ function usePredictManagerAddress(args = {}) {
48
48
  });
49
49
  }, [resolvedPublicClient, walletClient, resolvedAddress, resolvedChainId]);
50
50
  return reactQuery.useQuery({
51
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey(
51
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey(
52
52
  "factory:predictManagerAddress",
53
53
  resolvedChainId,
54
54
  resolvedAddress,
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * React hooks for `@tokenops/sdk/fhe-vesting/advanced`. The headline React
3
- * subpath stays lean; pre-mine address prediction lives here per R02 ADR P-2.
3
+ * subpath stays lean; pre-mine address prediction lives here.
4
4
  */
5
5
  export { usePredictManagerAddress, type UsePredictManagerAddressArgs, } from "./usePredictManagerAddress.js";
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * React hooks for `@tokenops/sdk/fhe-vesting/advanced`. The headline React
3
- * subpath stays lean; pre-mine address prediction lives here per R02 ADR P-2.
3
+ * subpath stays lean; pre-mine address prediction lives here.
4
4
  */
5
5
  export { usePredictManagerAddress, type UsePredictManagerAddressArgs, } from "./usePredictManagerAddress.js";
@@ -1,12 +1,12 @@
1
- import { buildQueryKey } from '../../../chunk-ECT3NL2L.js';
2
- import '../../../chunk-52TC6BF7.js';
1
+ import { buildQueryKey } from '../../../chunk-3PQ2RFPC.js';
2
+ import '../../../chunk-X56UVEXS.js';
3
3
  import '../../../chunk-ZXCOJY2Z.js';
4
4
  import '../../../chunk-XSNLAS5M.js';
5
5
  import '../../../chunk-FYQ2UW4T.js';
6
- import { createConfidentialVestingFactoryAdvancedClient } from '../../../chunk-CMRETRZO.js';
7
- import '../../../chunk-72YGZEQE.js';
6
+ import { createConfidentialVestingFactoryAdvancedClient } from '../../../chunk-ITQBDRWX.js';
7
+ import '../../../chunk-IR5AK5U5.js';
8
8
  import '../../../chunk-JFLEEXKP.js';
9
- import { DEPLOYED_ADDRESSES } from '../../../chunk-COPFW5Z4.js';
9
+ import { DEPLOYED_ADDRESSES } from '../../../chunk-M7V2EDPB.js';
10
10
  import '../../../chunk-BE2AIZ3K.js';
11
11
  import '../../../chunk-Q2GP5UDC.js';
12
12
  import '../../../chunk-KWFFIJYX.js';
@@ -72,7 +72,7 @@ export interface PredictManagerArgs {
72
72
  * Rich-return shape from {@link ConfidentialVestingFactoryClient.createManager}.
73
73
  *
74
74
  * Branded `hash: TxHash` and `manager: Address` so consumers can't accidentally
75
- * swap them at the destructure site (R03 S-1 anti-footgun).
75
+ * swap them at the destructure site.
76
76
  */
77
77
  export interface CreateManagerResult {
78
78
  /** Transaction hash of the deploy. */
@@ -99,11 +99,10 @@ export declare class ConfidentialVestingFactoryClient {
99
99
  * Deploy a new `ConfidentialVestingManager` clone via the factory and return
100
100
  * its address, parsed from the `ManagerCreated` event in the tx receipt.
101
101
  *
102
- * **This is the headline factory entry point.** R02 ADR P-1 collapses the
103
- * old hash-only + `…AndGetAddress` pair down to one rich-return method —
104
- * the address is only knowable after the tx mines (the factory packs
102
+ * **This is the headline factory entry point.** It returns one rich-return
103
+ * shape: the address is only knowable after the tx mines (the factory packs
105
104
  * `block.number` into the clone's immutable args), so a hash-only variant
106
- * forced consumers to re-derive what the SDK already had to compute.
105
+ * would force consumers to re-derive what the SDK already had to compute.
107
106
  *
108
107
  * Calls `createManagerWithOptions` when `splitEnabled` or `pausableEnabled`
109
108
  * is provided; otherwise calls the simpler `createManager` entry point.
@@ -178,9 +177,8 @@ export declare class ConfidentialVestingFactoryClient {
178
177
  * Alias for {@link ConfidentialVestingFactoryClient.implementation} that matches
179
178
  * the contract's storage field name (`_managerImplementation`).
180
179
  *
181
- * Renamed for clarity per backend-integrator-r14 friction
182
- * (`docs/feedback/inbox/2026-05-24-backend-integrator-r14-minor-implementation-vs-manager-implementation-naming.md`):
183
- * server devs reading the Solidity reach for `factory.managerImplementation()`
180
+ * Named for clarity: server devs reading the Solidity reach for
181
+ * `factory.managerImplementation()`
184
182
  * via autocomplete (the contract storage slot name) and hit a TS2551. The
185
183
  * canonical `implementation()` method is retained for backwards-compat and
186
184
  * cross-factory uniformity (fhe-airdrop exposes the same shape).
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkFWHYQZ5E_cjs = require('../chunk-FWHYQZ5E.cjs');
4
- var chunkSUOG3BQS_cjs = require('../chunk-SUOG3BQS.cjs');
4
+ var chunkOYLZEEHF_cjs = require('../chunk-OYLZEEHF.cjs');
5
5
  require('../chunk-NS44KBV5.cjs');
6
6
  var chunk5SGMJADP_cjs = require('../chunk-5SGMJADP.cjs');
7
7
  require('../chunk-Q7ARQSUH.cjs');
8
- var chunk62DF53UQ_cjs = require('../chunk-62DF53UQ.cjs');
8
+ var chunkSAGJIEQK_cjs = require('../chunk-SAGJIEQK.cjs');
9
9
  require('../chunk-VDXVNZCO.cjs');
10
- require('../chunk-OLDGMKW2.cjs');
10
+ require('../chunk-3ZRHDTEX.cjs');
11
11
  require('../chunk-CQIPRNS7.cjs');
12
12
  require('../chunk-VJKZWYYJ.cjs');
13
13
  require('../chunk-66IHPTOK.cjs');
@@ -21,67 +21,67 @@ Object.defineProperty(exports, "erc7984OperatorAbi", {
21
21
  });
22
22
  Object.defineProperty(exports, "ClaimLockedError", {
23
23
  enumerable: true,
24
- get: function () { return chunkSUOG3BQS_cjs.ClaimLockedError; }
24
+ get: function () { return chunkOYLZEEHF_cjs.ClaimLockedError; }
25
25
  });
26
26
  Object.defineProperty(exports, "ConfidentialVestingManagerClient", {
27
27
  enumerable: true,
28
- get: function () { return chunkSUOG3BQS_cjs.ConfidentialVestingManagerClient; }
28
+ get: function () { return chunkOYLZEEHF_cjs.ConfidentialVestingManagerClient; }
29
29
  });
30
30
  Object.defineProperty(exports, "NoPendingTransferError", {
31
31
  enumerable: true,
32
- get: function () { return chunkSUOG3BQS_cjs.NoPendingTransferError; }
32
+ get: function () { return chunkOYLZEEHF_cjs.NoPendingTransferError; }
33
33
  });
34
34
  Object.defineProperty(exports, "NotPendingRecipientError", {
35
35
  enumerable: true,
36
- get: function () { return chunkSUOG3BQS_cjs.NotPendingRecipientError; }
36
+ get: function () { return chunkOYLZEEHF_cjs.NotPendingRecipientError; }
37
37
  });
38
38
  Object.defineProperty(exports, "NotVestingRecipientError", {
39
39
  enumerable: true,
40
- get: function () { return chunkSUOG3BQS_cjs.NotVestingRecipientError; }
40
+ get: function () { return chunkOYLZEEHF_cjs.NotVestingRecipientError; }
41
41
  });
42
42
  Object.defineProperty(exports, "TransferAlreadyPendingError", {
43
43
  enumerable: true,
44
- get: function () { return chunkSUOG3BQS_cjs.TransferAlreadyPendingError; }
44
+ get: function () { return chunkOYLZEEHF_cjs.TransferAlreadyPendingError; }
45
45
  });
46
46
  Object.defineProperty(exports, "TransferExpiredError", {
47
47
  enumerable: true,
48
- get: function () { return chunkSUOG3BQS_cjs.TransferExpiredError; }
48
+ get: function () { return chunkOYLZEEHF_cjs.TransferExpiredError; }
49
49
  });
50
50
  Object.defineProperty(exports, "VestingExpiredError", {
51
51
  enumerable: true,
52
- get: function () { return chunkSUOG3BQS_cjs.VestingExpiredError; }
52
+ get: function () { return chunkOYLZEEHF_cjs.VestingExpiredError; }
53
53
  });
54
54
  Object.defineProperty(exports, "VestingNotFoundError", {
55
55
  enumerable: true,
56
- get: function () { return chunkSUOG3BQS_cjs.VestingNotFoundError; }
56
+ get: function () { return chunkOYLZEEHF_cjs.VestingNotFoundError; }
57
57
  });
58
58
  Object.defineProperty(exports, "VestingNotRevocableError", {
59
59
  enumerable: true,
60
- get: function () { return chunkSUOG3BQS_cjs.VestingNotRevocableError; }
60
+ get: function () { return chunkOYLZEEHF_cjs.VestingNotRevocableError; }
61
61
  });
62
62
  Object.defineProperty(exports, "VestingRevokedError", {
63
63
  enumerable: true,
64
- get: function () { return chunkSUOG3BQS_cjs.VestingRevokedError; }
64
+ get: function () { return chunkOYLZEEHF_cjs.VestingRevokedError; }
65
65
  });
66
66
  Object.defineProperty(exports, "confidentialVestingManagerAbi", {
67
67
  enumerable: true,
68
- get: function () { return chunkSUOG3BQS_cjs.confidentialVestingManagerAbi; }
68
+ get: function () { return chunkOYLZEEHF_cjs.confidentialVestingManagerAbi; }
69
69
  });
70
70
  Object.defineProperty(exports, "createConfidentialVestingManagerClient", {
71
71
  enumerable: true,
72
- get: function () { return chunkSUOG3BQS_cjs.createConfidentialVestingManagerClient; }
72
+ get: function () { return chunkOYLZEEHF_cjs.createConfidentialVestingManagerClient; }
73
73
  });
74
74
  Object.defineProperty(exports, "encryptUint64", {
75
75
  enumerable: true,
76
- get: function () { return chunkSUOG3BQS_cjs.encryptUint64; }
76
+ get: function () { return chunkOYLZEEHF_cjs.encryptUint64; }
77
77
  });
78
78
  Object.defineProperty(exports, "encryptUint64Batch", {
79
79
  enumerable: true,
80
- get: function () { return chunkSUOG3BQS_cjs.encryptUint64Batch; }
80
+ get: function () { return chunkOYLZEEHF_cjs.encryptUint64Batch; }
81
81
  });
82
82
  Object.defineProperty(exports, "resolveEncryptor", {
83
83
  enumerable: true,
84
- get: function () { return chunkSUOG3BQS_cjs.resolveEncryptor; }
84
+ get: function () { return chunkOYLZEEHF_cjs.resolveEncryptor; }
85
85
  });
86
86
  Object.defineProperty(exports, "FHE_SPLIT_DENOMINATOR", {
87
87
  enumerable: true,
@@ -97,27 +97,27 @@ Object.defineProperty(exports, "share", {
97
97
  });
98
98
  Object.defineProperty(exports, "ConfidentialVestingFactoryClient", {
99
99
  enumerable: true,
100
- get: function () { return chunk62DF53UQ_cjs.ConfidentialVestingFactoryClient; }
100
+ get: function () { return chunkSAGJIEQK_cjs.ConfidentialVestingFactoryClient; }
101
101
  });
102
102
  Object.defineProperty(exports, "DisclosureType", {
103
103
  enumerable: true,
104
- get: function () { return chunk62DF53UQ_cjs.DisclosureType; }
104
+ get: function () { return chunkSAGJIEQK_cjs.DisclosureType; }
105
105
  });
106
106
  Object.defineProperty(exports, "FeeType", {
107
107
  enumerable: true,
108
- get: function () { return chunk62DF53UQ_cjs.FeeType; }
108
+ get: function () { return chunkSAGJIEQK_cjs.FeeType; }
109
109
  });
110
110
  Object.defineProperty(exports, "confidentialVestingFactoryAbi", {
111
111
  enumerable: true,
112
- get: function () { return chunk62DF53UQ_cjs.confidentialVestingFactoryAbi; }
112
+ get: function () { return chunkSAGJIEQK_cjs.confidentialVestingFactoryAbi; }
113
113
  });
114
114
  Object.defineProperty(exports, "createConfidentialVestingFactoryClient", {
115
115
  enumerable: true,
116
- get: function () { return chunk62DF53UQ_cjs.createConfidentialVestingFactoryClient; }
116
+ get: function () { return chunkSAGJIEQK_cjs.createConfidentialVestingFactoryClient; }
117
117
  });
118
118
  Object.defineProperty(exports, "feeTypeName", {
119
119
  enumerable: true,
120
- get: function () { return chunk62DF53UQ_cjs.feeTypeName; }
120
+ get: function () { return chunkSAGJIEQK_cjs.feeTypeName; }
121
121
  });
122
122
  Object.defineProperty(exports, "AccessDeniedError", {
123
123
  enumerable: true,
@@ -1,11 +1,11 @@
1
1
  export { erc7984OperatorAbi } from '../chunk-7VELUOMI.js';
2
- export { ClaimLockedError, ConfidentialVestingManagerClient, NoPendingTransferError, NotPendingRecipientError, NotVestingRecipientError, TransferAlreadyPendingError, TransferExpiredError, VestingExpiredError, VestingNotFoundError, VestingNotRevocableError, VestingRevokedError, confidentialVestingManagerAbi, createConfidentialVestingManagerClient, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../chunk-52TC6BF7.js';
2
+ export { ClaimLockedError, ConfidentialVestingManagerClient, NoPendingTransferError, NotPendingRecipientError, NotVestingRecipientError, TransferAlreadyPendingError, TransferExpiredError, VestingExpiredError, VestingNotFoundError, VestingNotRevocableError, VestingRevokedError, confidentialVestingManagerAbi, createConfidentialVestingManagerClient, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../chunk-X56UVEXS.js';
3
3
  import '../chunk-ZXCOJY2Z.js';
4
4
  export { FHE_SPLIT_DENOMINATOR, scaleRatio, share } from '../chunk-XSNLAS5M.js';
5
5
  import '../chunk-FYQ2UW4T.js';
6
- export { ConfidentialVestingFactoryClient, DisclosureType, FeeType, confidentialVestingFactoryAbi, createConfidentialVestingFactoryClient, feeTypeName } from '../chunk-72YGZEQE.js';
6
+ export { ConfidentialVestingFactoryClient, DisclosureType, FeeType, confidentialVestingFactoryAbi, createConfidentialVestingFactoryClient, feeTypeName } from '../chunk-IR5AK5U5.js';
7
7
  import '../chunk-JFLEEXKP.js';
8
- import '../chunk-COPFW5Z4.js';
8
+ import '../chunk-M7V2EDPB.js';
9
9
  import '../chunk-BE2AIZ3K.js';
10
10
  import '../chunk-Q2GP5UDC.js';
11
11
  import '../chunk-KWFFIJYX.js';
@@ -361,8 +361,7 @@ export declare class ConfidentialVestingManagerClient {
361
361
  * Accepts `bigint | number` for `start` / `end` for ergonomics on read paths
362
362
  * — CI scripts typically derive these from `Number(process.env.X)` and
363
363
  * forcing bigint coercion at the call site is a pure paper cut. The
364
- * underlying contract reads through unchanged (viem coerces). R22
365
- * devops-integrator MINOR-4; R25 close.
364
+ * underlying contract reads through unchanged (viem coerces).
366
365
  */
367
366
  getAllRecipientsSliced(start: bigint | number, end: bigint | number): Promise<readonly Address[]>;
368
367
  /**