@tokenops/sdk 1.1.1 → 1.5.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 (131) hide show
  1. package/README.md +18 -8
  2. package/dist/{chunk-5SGMJADP.cjs → chunk-2NCLOQ56.cjs} +9 -9
  3. package/dist/{chunk-FXCW7LVB.js → chunk-2PWNH3UE.js} +35 -6
  4. package/dist/{chunk-FPQBFIUW.cjs → chunk-4WPGQSNT.cjs} +3 -3
  5. package/dist/{chunk-OYLZEEHF.cjs → chunk-5X5WL5CU.cjs} +265 -101
  6. package/dist/{chunk-56UI7LUR.cjs → chunk-67OV5CX2.cjs} +19 -0
  7. package/dist/{chunk-WRCUDSUJ.js → chunk-6BMP4ICG.js} +2 -2
  8. package/dist/{chunk-XXXDQSHE.js → chunk-6R4KNAPK.js} +5 -3
  9. package/dist/{chunk-XSNLAS5M.js → chunk-AOP6HMPW.js} +1 -1
  10. package/dist/{chunk-SAGJIEQK.cjs → chunk-C7BRZXJA.cjs} +14 -14
  11. package/dist/{chunk-OQZAZIAS.js → chunk-DUZIIRPF.js} +174 -5
  12. package/dist/{chunk-Q7ARQSUH.cjs → chunk-FAXIIH5R.cjs} +3 -3
  13. package/dist/chunk-FT4LNBOS.js +11 -0
  14. package/dist/{chunk-QE7ZONJ2.js → chunk-IJFQ5L4I.js} +4 -4
  15. package/dist/{chunk-X56UVEXS.js → chunk-IXLO7GO5.js} +209 -45
  16. package/dist/{chunk-CQIPRNS7.cjs → chunk-JK4XMMKM.cjs} +3 -3
  17. package/dist/{chunk-ITQ7WKVC.cjs → chunk-JYOTGRSO.cjs} +8 -8
  18. package/dist/{chunk-VDXVNZCO.cjs → chunk-KLKI352M.cjs} +85 -29
  19. package/dist/{chunk-5SA2HF2W.cjs → chunk-MCRBVJGZ.cjs} +24 -22
  20. package/dist/{chunk-3PQ2RFPC.js → chunk-NTZY6IB7.js} +4 -4
  21. package/dist/{chunk-JJ4R5QXF.js → chunk-ODLTEGHB.js} +1 -1
  22. package/dist/{chunk-XWDVPV42.js → chunk-ORFTDNFZ.js} +4 -4
  23. package/dist/{chunk-IR5AK5U5.js → chunk-OXTLPTO3.js} +4 -4
  24. package/dist/{chunk-23F7JIK5.cjs → chunk-PFXURMBZ.cjs} +77 -48
  25. package/dist/{chunk-3ZRHDTEX.cjs → chunk-PUPKNW3R.cjs} +2 -2
  26. package/dist/{chunk-IVE3QEGD.js → chunk-QBJ7O2B4.js} +18 -1
  27. package/dist/{chunk-JFLEEXKP.js → chunk-SG65XWH7.js} +58 -2
  28. package/dist/{chunk-G7G75C46.cjs → chunk-T46YXSBP.cjs} +11 -11
  29. package/dist/{chunk-NS44KBV5.cjs → chunk-TEBM66WA.cjs} +12 -12
  30. package/dist/{chunk-SYHXDHWX.cjs → chunk-TIUKIY5V.cjs} +193 -24
  31. package/dist/{chunk-W7JHOK7G.cjs → chunk-V2PXZVBF.cjs} +4 -4
  32. package/dist/{chunk-SEKC7H5Y.cjs → chunk-W7IGCOVL.cjs} +11 -11
  33. package/dist/{chunk-5KHIQG7Y.cjs → chunk-WENHUPZC.cjs} +31 -31
  34. package/dist/{chunk-ZXCOJY2Z.js → chunk-WMACINXO.js} +1 -1
  35. package/dist/{chunk-M7V2EDPB.js → chunk-XGGTQQFH.js} +1 -1
  36. package/dist/{chunk-ITQBDRWX.js → chunk-YQIBBEFJ.js} +1 -1
  37. package/dist/{chunk-BE2AIZ3K.js → chunk-ZA673I3O.js} +1 -1
  38. package/dist/chunk-ZQUE2B3Q.cjs +33 -0
  39. package/dist/{chunk-FYQ2UW4T.js → chunk-ZWXJTBZO.js} +1 -1
  40. package/dist/core/errors.d.ts +41 -1
  41. package/dist/core/revert-mapper.d.ts +77 -0
  42. package/dist/core/wagmi-compat.d.ts +40 -0
  43. package/dist/fhe/index.cjs +112 -66
  44. package/dist/fhe/index.d.cts +1 -1
  45. package/dist/fhe/index.d.ts +1 -1
  46. package/dist/fhe/index.js +50 -8
  47. package/dist/fhe/react/index.cjs +7 -7
  48. package/dist/fhe/react/index.js +2 -2
  49. package/dist/fhe/sepolia-encryptor-web.d.ts +27 -1
  50. package/dist/fhe/sepolia-encryptor.d.ts +38 -0
  51. package/dist/fhe-airdrop/advanced/index.cjs +9 -8
  52. package/dist/fhe-airdrop/advanced/index.js +7 -6
  53. package/dist/fhe-airdrop/advanced/react/index.cjs +14 -13
  54. package/dist/fhe-airdrop/advanced/react/index.js +10 -9
  55. package/dist/fhe-airdrop/airdrop.d.ts +2 -0
  56. package/dist/fhe-airdrop/encryption.d.ts +8 -0
  57. package/dist/fhe-airdrop/factory.d.ts +86 -1
  58. package/dist/fhe-airdrop/index.cjs +61 -57
  59. package/dist/fhe-airdrop/index.d.cts +3 -3
  60. package/dist/fhe-airdrop/index.d.ts +3 -3
  61. package/dist/fhe-airdrop/index.js +7 -7
  62. package/dist/fhe-airdrop/react/index.cjs +163 -133
  63. package/dist/fhe-airdrop/react/index.d.cts +4 -3
  64. package/dist/fhe-airdrop/react/index.d.ts +4 -3
  65. package/dist/fhe-airdrop/react/index.js +38 -13
  66. package/dist/fhe-airdrop/react/useAirdropClaim.d.ts +2 -0
  67. package/dist/fhe-airdrop/react/useAirdropIsSignatureValid.d.ts +3 -2
  68. package/dist/fhe-airdrop/react/useClaim.d.ts +2 -0
  69. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdrop.d.ts +8 -0
  70. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdropAndGetAddress.d.ts +8 -0
  71. package/dist/fhe-airdrop/react/useFundConfidentialAirdrop.d.ts +8 -0
  72. package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +51 -0
  73. package/dist/fhe-airdrop/types.d.ts +45 -0
  74. package/dist/fhe-disperse/encryption.d.ts +8 -0
  75. package/dist/fhe-disperse/index.cjs +69 -65
  76. package/dist/fhe-disperse/index.d.cts +1 -1
  77. package/dist/fhe-disperse/index.d.ts +1 -1
  78. package/dist/fhe-disperse/index.js +8 -8
  79. package/dist/fhe-disperse/react/index.cjs +90 -86
  80. package/dist/fhe-disperse/react/index.d.cts +1 -1
  81. package/dist/fhe-disperse/react/index.d.ts +1 -1
  82. package/dist/fhe-disperse/react/index.js +10 -10
  83. package/dist/fhe-disperse/react/useCalculateFee.d.ts +7 -0
  84. package/dist/fhe-disperse/react/useDisperse.d.ts +9 -0
  85. package/dist/fhe-disperse/react/usePreflightDisperse.d.ts +7 -0
  86. package/dist/fhe-disperse/react/useSingletonCalculateFee.d.ts +7 -0
  87. package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +6 -0
  88. package/dist/fhe-disperse/react/useWithdrawTokenFee.d.ts +6 -0
  89. package/dist/fhe-disperse/singleton.d.ts +29 -0
  90. package/dist/fhe-disperse/subtotals.d.ts +6 -0
  91. package/dist/fhe-vesting/advanced/index.cjs +8 -8
  92. package/dist/fhe-vesting/advanced/index.js +6 -6
  93. package/dist/fhe-vesting/advanced/react/index.cjs +15 -14
  94. package/dist/fhe-vesting/advanced/react/index.js +12 -11
  95. package/dist/fhe-vesting/encryption.d.ts +8 -0
  96. package/dist/fhe-vesting/index.cjs +79 -75
  97. package/dist/fhe-vesting/index.d.cts +2 -2
  98. package/dist/fhe-vesting/index.d.ts +2 -2
  99. package/dist/fhe-vesting/index.js +9 -9
  100. package/dist/fhe-vesting/manager.d.ts +100 -1
  101. package/dist/fhe-vesting/react/index.cjs +241 -219
  102. package/dist/fhe-vesting/react/index.d.cts +3 -2
  103. package/dist/fhe-vesting/react/index.d.ts +3 -2
  104. package/dist/fhe-vesting/react/index.js +29 -12
  105. package/dist/fhe-vesting/react/useAdminClaim.d.ts +2 -0
  106. package/dist/fhe-vesting/react/useAdminPartialClaim.d.ts +2 -0
  107. package/dist/fhe-vesting/react/useBatchCreateVesting.d.ts +8 -0
  108. package/dist/fhe-vesting/react/useClaim.d.ts +2 -0
  109. package/dist/fhe-vesting/react/useCreateVesting.d.ts +8 -0
  110. package/dist/fhe-vesting/react/useManagerWithdrawTokenFee.d.ts +6 -0
  111. package/dist/fhe-vesting/react/usePartialClaim.d.ts +8 -0
  112. package/dist/fhe-vesting/react/usePreflightCreateVesting.d.ts +37 -0
  113. package/dist/fhe-vesting/react/useVestingClaim.d.ts +2 -0
  114. package/dist/fhe-vesting/react/useWithdrawAdmin.d.ts +6 -0
  115. package/dist/fhe-vesting/react/useWithdrawTokenFee.d.ts +6 -0
  116. package/dist/fhe-vesting/types.d.ts +34 -0
  117. package/dist/index.cjs +61 -53
  118. package/dist/index.d.cts +1 -1
  119. package/dist/index.d.ts +1 -1
  120. package/dist/index.js +2 -2
  121. package/dist/testnet-faucet/index.cjs +58 -54
  122. package/dist/testnet-faucet/index.d.cts +1 -1
  123. package/dist/testnet-faucet/index.d.ts +1 -1
  124. package/dist/testnet-faucet/index.js +5 -5
  125. package/dist/testnet-faucet/react/index.cjs +60 -55
  126. package/dist/testnet-faucet/react/index.d.cts +3 -2
  127. package/dist/testnet-faucet/react/index.d.ts +3 -2
  128. package/dist/testnet-faucet/react/index.js +11 -10
  129. package/dist/testnet-faucet/react/useConfidentialBalance.d.ts +3 -2
  130. package/dist/testnet-faucet/react/useUnderlyingBalance.d.ts +2 -2
  131. package/package.json +3 -2
@@ -18,6 +18,13 @@ export interface UseSingletonCalculateFeeArgs extends BaseHookOptions {
18
18
  *
19
19
  * Hook is disabled until `user`, `mode`, and `recipients` are set.
20
20
  *
21
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
22
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
23
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
24
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
25
+ * transparent TTT test token uses 18 decimals. `totalTokens` follows this
26
+ * convention.
27
+ *
21
28
  * @example
22
29
  * const { data: fee } = useSingletonCalculateFee({
23
30
  * user, mode: "direct", recipients: 100,
@@ -36,6 +36,12 @@ export interface UseSingletonWithdrawTokenFeeArgs {
36
36
  * `amount` is encrypted by the SDK before submission; the contract caps the
37
37
  * withdrawal at the available reserve via `FHE.min`.
38
38
  *
39
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
40
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
41
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
42
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
43
+ * transparent TTT test token uses 18 decimals.
44
+ *
39
45
  * **Encryptor resolution.** Pass `encryptor` per-call, or supply it at hook
40
46
  * construction via {@link DisperseHookOptions}.`encryptor`. If neither is
41
47
  * present, the SDK throws `Missing encryptor — pass encryptor…` verbatim.
@@ -43,6 +43,12 @@ export type UseWithdrawTokenFeeArgs = UseWithdrawTokenFeePlaintextArgs | UseWith
43
43
  * never both. The contract caps the withdrawal at the available reserve via
44
44
  * `FHE.min`.
45
45
  *
46
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
47
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
48
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
49
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
50
+ * transparent TTT test token uses 18 decimals.
51
+ *
46
52
  * Returns `{ hash, transferredHandle }` parsed from the `TokenFeeWithdrawn`
47
53
  * event. The handle is decryptable by the caller via Zama's `userDecrypt`
48
54
  * and reveals the actual transferred amount, which may be less than the
@@ -153,6 +153,13 @@ export declare class ConfidentialDisperseClient {
153
153
  * subtotal1` for the result to match the on-chain computation. Both this
154
154
  * SDK and the contract round the BPS multiplication down (floor division).
155
155
  *
156
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
157
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
158
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
159
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
160
+ * transparent TTT test token uses 18 decimals. `totalTokens` follows this
161
+ * convention.
162
+ *
156
163
  * @throws {TokenOpsSdkError} if mode is `"wallet-token-fee"` and `totalTokens` is not provided.
157
164
  */
158
165
  calculateFee(args: CalculateFeeArgs): Promise<CalculatedFee>;
@@ -179,6 +186,13 @@ export declare class ConfidentialDisperseClient {
179
186
  * - `hasApprovedSubwallets` (wallet modes) or `isOperator(sender, singleton)` (direct mode)
180
187
  * - `calculateFee` / `getBatchLimits`
181
188
  * - Structural recipient + amount validation
189
+ *
190
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
191
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
192
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
193
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
194
+ * transparent TTT test token uses 18 decimals. Pass `amounts[]` in the same
195
+ * units you will pass to `disperse` so the report reflects the real call.
182
196
  */
183
197
  preflightDisperse(args: PreflightDisperseArgs): Promise<PreflightReport>;
184
198
  /**
@@ -249,6 +263,15 @@ export declare class ConfidentialDisperseClient {
249
263
  * 4. Computes `msg.value` for gas-fee modes; `0` for token-fee mode.
250
264
  * 5. Dispatches to the correct contract function based on `mode`.
251
265
  *
266
+ * **Silent-zero transfers.** ERC-7984 transfers do not revert when the sender's encrypted balance is insufficient — the transfer succeeds and moves an encrypted zero instead. This is by design: reverting would leak balance information. The transaction receipt alone cannot tell you whether value actually moved.
267
+ *
268
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
269
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
270
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
271
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
272
+ * transparent TTT test token uses 18 decimals. Every entry of `amounts[]`
273
+ * follows this convention.
274
+ *
252
275
  * @throws {TokenOpsSdkError} on input validation failure (first deterministic error).
253
276
  * @throws {TokenOpsSdkError} if no encryptor is available at call time.
254
277
  */
@@ -352,6 +375,12 @@ export declare class ConfidentialDisperseClient {
352
375
  * encryptor, or pass `encryptedInput` directly. The contract caps the
353
376
  * withdrawal at the available reserve via `FHE.min`.
354
377
  *
378
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
379
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
380
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
381
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
382
+ * transparent TTT test token uses 18 decimals.
383
+ *
355
384
  * Returns the tx hash plus the **transferred** handle parsed from the
356
385
  * `TokenFeeWithdrawn` event. Decrypt the handle via Zama's `userDecrypt`
357
386
  * to view the actual amount moved (which can be less than requested when
@@ -7,6 +7,12 @@
7
7
  * group1 = remaining baseSize recipients → wallet1
8
8
  *
9
9
  * This matches `_distributeFromWallets` in `DisperseConfidential.sol`.
10
+ *
11
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
12
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
13
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
14
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
15
+ * transparent TTT test token uses 18 decimals.
10
16
  */
11
17
  export declare function computeSubtotals(amounts: bigint[]): {
12
18
  group0: bigint;
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunkW7JHOK7G_cjs = require('../../chunk-W7JHOK7G.cjs');
4
- require('../../chunk-SAGJIEQK.cjs');
5
- require('../../chunk-VDXVNZCO.cjs');
6
- require('../../chunk-3ZRHDTEX.cjs');
7
- require('../../chunk-CQIPRNS7.cjs');
3
+ var chunkV2PXZVBF_cjs = require('../../chunk-V2PXZVBF.cjs');
4
+ require('../../chunk-C7BRZXJA.cjs');
5
+ require('../../chunk-KLKI352M.cjs');
6
+ require('../../chunk-PUPKNW3R.cjs');
7
+ require('../../chunk-JK4XMMKM.cjs');
8
8
  require('../../chunk-VJKZWYYJ.cjs');
9
9
  require('../../chunk-66IHPTOK.cjs');
10
- require('../../chunk-56UI7LUR.cjs');
10
+ require('../../chunk-67OV5CX2.cjs');
11
11
 
12
12
 
13
13
 
14
14
  Object.defineProperty(exports, "ConfidentialVestingFactoryAdvancedClient", {
15
15
  enumerable: true,
16
- get: function () { return chunkW7JHOK7G_cjs.ConfidentialVestingFactoryAdvancedClient; }
16
+ get: function () { return chunkV2PXZVBF_cjs.ConfidentialVestingFactoryAdvancedClient; }
17
17
  });
18
18
  Object.defineProperty(exports, "createConfidentialVestingFactoryAdvancedClient", {
19
19
  enumerable: true,
20
- get: function () { return chunkW7JHOK7G_cjs.createConfidentialVestingFactoryAdvancedClient; }
20
+ get: function () { return chunkV2PXZVBF_cjs.createConfidentialVestingFactoryAdvancedClient; }
21
21
  });
@@ -1,8 +1,8 @@
1
- export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient } from '../../chunk-ITQBDRWX.js';
2
- import '../../chunk-IR5AK5U5.js';
3
- import '../../chunk-JFLEEXKP.js';
4
- import '../../chunk-M7V2EDPB.js';
5
- import '../../chunk-BE2AIZ3K.js';
1
+ export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient } from '../../chunk-YQIBBEFJ.js';
2
+ import '../../chunk-OXTLPTO3.js';
3
+ import '../../chunk-SG65XWH7.js';
4
+ import '../../chunk-XGGTQQFH.js';
5
+ import '../../chunk-ZA673I3O.js';
6
6
  import '../../chunk-Q2GP5UDC.js';
7
7
  import '../../chunk-KWFFIJYX.js';
8
- import '../../chunk-IVE3QEGD.js';
8
+ import '../../chunk-QBJ7O2B4.js';
@@ -1,18 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkSEKC7H5Y_cjs = require('../../../chunk-SEKC7H5Y.cjs');
4
- require('../../../chunk-OYLZEEHF.cjs');
5
- require('../../../chunk-NS44KBV5.cjs');
6
- require('../../../chunk-5SGMJADP.cjs');
7
- require('../../../chunk-Q7ARQSUH.cjs');
8
- var chunkW7JHOK7G_cjs = require('../../../chunk-W7JHOK7G.cjs');
9
- require('../../../chunk-SAGJIEQK.cjs');
10
- require('../../../chunk-VDXVNZCO.cjs');
11
- var chunk3ZRHDTEX_cjs = require('../../../chunk-3ZRHDTEX.cjs');
12
- require('../../../chunk-CQIPRNS7.cjs');
3
+ var chunkW7IGCOVL_cjs = require('../../../chunk-W7IGCOVL.cjs');
4
+ require('../../../chunk-5X5WL5CU.cjs');
5
+ require('../../../chunk-TEBM66WA.cjs');
6
+ require('../../../chunk-2NCLOQ56.cjs');
7
+ require('../../../chunk-FAXIIH5R.cjs');
8
+ require('../../../chunk-FWHYQZ5E.cjs');
9
+ var chunkV2PXZVBF_cjs = require('../../../chunk-V2PXZVBF.cjs');
10
+ require('../../../chunk-C7BRZXJA.cjs');
11
+ require('../../../chunk-KLKI352M.cjs');
12
+ var chunkPUPKNW3R_cjs = require('../../../chunk-PUPKNW3R.cjs');
13
+ require('../../../chunk-JK4XMMKM.cjs');
13
14
  require('../../../chunk-VJKZWYYJ.cjs');
14
15
  require('../../../chunk-66IHPTOK.cjs');
15
- require('../../../chunk-56UI7LUR.cjs');
16
+ require('../../../chunk-67OV5CX2.cjs');
16
17
  var react = require('react');
17
18
  var reactQuery = require('@tanstack/react-query');
18
19
  var wagmi = require('wagmi');
@@ -35,12 +36,12 @@ function usePredictManagerAddress(args = {}) {
35
36
  ...chainId !== void 0 ? { chainId } : {}
36
37
  });
37
38
  const resolvedChainId = chainId ?? resolvedPublicClient?.chain?.id;
38
- const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 : chunk3ZRHDTEX_cjs.DEPLOYED_ADDRESSES.fheVesting?.confidentialVestingFactory?.[resolvedChainId] ?? void 0);
39
+ const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 : chunkPUPKNW3R_cjs.DEPLOYED_ADDRESSES.fheVesting?.confidentialVestingFactory?.[resolvedChainId] ?? void 0);
39
40
  react.useRef(void 0);
40
41
  const client = react.useMemo(() => {
41
42
  if (!resolvedPublicClient) return void 0;
42
43
  if (!resolvedAddress) return void 0;
43
- return chunkW7JHOK7G_cjs.createConfidentialVestingFactoryAdvancedClient({
44
+ return chunkV2PXZVBF_cjs.createConfidentialVestingFactoryAdvancedClient({
44
45
  publicClient: resolvedPublicClient,
45
46
  ...walletClient ? { walletClient } : {},
46
47
  address: resolvedAddress,
@@ -48,7 +49,7 @@ function usePredictManagerAddress(args = {}) {
48
49
  });
49
50
  }, [resolvedPublicClient, walletClient, resolvedAddress, resolvedChainId]);
50
51
  return reactQuery.useQuery({
51
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey(
52
+ queryKey: chunkW7IGCOVL_cjs.buildQueryKey(
52
53
  "factory:predictManagerAddress",
53
54
  resolvedChainId,
54
55
  resolvedAddress,
@@ -1,16 +1,17 @@
1
- import { buildQueryKey } from '../../../chunk-3PQ2RFPC.js';
2
- import '../../../chunk-X56UVEXS.js';
3
- import '../../../chunk-ZXCOJY2Z.js';
4
- import '../../../chunk-XSNLAS5M.js';
5
- import '../../../chunk-FYQ2UW4T.js';
6
- import { createConfidentialVestingFactoryAdvancedClient } from '../../../chunk-ITQBDRWX.js';
7
- import '../../../chunk-IR5AK5U5.js';
8
- import '../../../chunk-JFLEEXKP.js';
9
- import { DEPLOYED_ADDRESSES } from '../../../chunk-M7V2EDPB.js';
10
- import '../../../chunk-BE2AIZ3K.js';
1
+ import { buildQueryKey } from '../../../chunk-NTZY6IB7.js';
2
+ import '../../../chunk-IXLO7GO5.js';
3
+ import '../../../chunk-WMACINXO.js';
4
+ import '../../../chunk-AOP6HMPW.js';
5
+ import '../../../chunk-ZWXJTBZO.js';
6
+ import '../../../chunk-7VELUOMI.js';
7
+ import { createConfidentialVestingFactoryAdvancedClient } from '../../../chunk-YQIBBEFJ.js';
8
+ import '../../../chunk-OXTLPTO3.js';
9
+ import '../../../chunk-SG65XWH7.js';
10
+ import { DEPLOYED_ADDRESSES } from '../../../chunk-XGGTQQFH.js';
11
+ import '../../../chunk-ZA673I3O.js';
11
12
  import '../../../chunk-Q2GP5UDC.js';
12
13
  import '../../../chunk-KWFFIJYX.js';
13
- import '../../../chunk-IVE3QEGD.js';
14
+ import '../../../chunk-QBJ7O2B4.js';
14
15
  import { useRef, useMemo } from 'react';
15
16
  import { useQuery } from '@tanstack/react-query';
16
17
  import { usePublicClient, useWalletClient } from 'wagmi';
@@ -79,6 +79,14 @@ export interface EncryptUint64BatchArgs {
79
79
  * The handle and proof are bound to `contractAddress` and `userAddress` — they
80
80
  * cannot be replayed against a different contract or sender.
81
81
  *
82
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
83
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
84
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
85
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
86
+ * transparent TTT test token uses 18 decimals. `value` (and each entry of
87
+ * `values` in {@link encryptUint64Batch}) follows this convention when it
88
+ * encodes a token amount.
89
+ *
82
90
  * @param args Encryption request; `value` must fit in `uint64` (0 to 2^64-1).
83
91
  * @returns `{ handle: Hex, inputProof: Hex }` — pass both to the contract.
84
92
  * @example
@@ -1,269 +1,273 @@
1
1
  'use strict';
2
2
 
3
+ var chunk5X5WL5CU_cjs = require('../chunk-5X5WL5CU.cjs');
4
+ require('../chunk-TEBM66WA.cjs');
5
+ var chunk2NCLOQ56_cjs = require('../chunk-2NCLOQ56.cjs');
6
+ require('../chunk-FAXIIH5R.cjs');
3
7
  var chunkFWHYQZ5E_cjs = require('../chunk-FWHYQZ5E.cjs');
4
- var chunkOYLZEEHF_cjs = require('../chunk-OYLZEEHF.cjs');
5
- require('../chunk-NS44KBV5.cjs');
6
- var chunk5SGMJADP_cjs = require('../chunk-5SGMJADP.cjs');
7
- require('../chunk-Q7ARQSUH.cjs');
8
- var chunkSAGJIEQK_cjs = require('../chunk-SAGJIEQK.cjs');
9
- require('../chunk-VDXVNZCO.cjs');
10
- require('../chunk-3ZRHDTEX.cjs');
11
- require('../chunk-CQIPRNS7.cjs');
8
+ var chunkC7BRZXJA_cjs = require('../chunk-C7BRZXJA.cjs');
9
+ require('../chunk-KLKI352M.cjs');
10
+ require('../chunk-PUPKNW3R.cjs');
11
+ require('../chunk-JK4XMMKM.cjs');
12
12
  require('../chunk-VJKZWYYJ.cjs');
13
13
  require('../chunk-66IHPTOK.cjs');
14
- var chunk56UI7LUR_cjs = require('../chunk-56UI7LUR.cjs');
14
+ var chunk67OV5CX2_cjs = require('../chunk-67OV5CX2.cjs');
15
15
 
16
16
 
17
17
 
18
- Object.defineProperty(exports, "erc7984OperatorAbi", {
19
- enumerable: true,
20
- get: function () { return chunkFWHYQZ5E_cjs.erc7984OperatorAbi; }
21
- });
22
18
  Object.defineProperty(exports, "ClaimLockedError", {
23
19
  enumerable: true,
24
- get: function () { return chunkOYLZEEHF_cjs.ClaimLockedError; }
20
+ get: function () { return chunk5X5WL5CU_cjs.ClaimLockedError; }
25
21
  });
26
22
  Object.defineProperty(exports, "ConfidentialVestingManagerClient", {
27
23
  enumerable: true,
28
- get: function () { return chunkOYLZEEHF_cjs.ConfidentialVestingManagerClient; }
24
+ get: function () { return chunk5X5WL5CU_cjs.ConfidentialVestingManagerClient; }
29
25
  });
30
26
  Object.defineProperty(exports, "NoPendingTransferError", {
31
27
  enumerable: true,
32
- get: function () { return chunkOYLZEEHF_cjs.NoPendingTransferError; }
28
+ get: function () { return chunk5X5WL5CU_cjs.NoPendingTransferError; }
33
29
  });
34
30
  Object.defineProperty(exports, "NotPendingRecipientError", {
35
31
  enumerable: true,
36
- get: function () { return chunkOYLZEEHF_cjs.NotPendingRecipientError; }
32
+ get: function () { return chunk5X5WL5CU_cjs.NotPendingRecipientError; }
37
33
  });
38
34
  Object.defineProperty(exports, "NotVestingRecipientError", {
39
35
  enumerable: true,
40
- get: function () { return chunkOYLZEEHF_cjs.NotVestingRecipientError; }
36
+ get: function () { return chunk5X5WL5CU_cjs.NotVestingRecipientError; }
41
37
  });
42
38
  Object.defineProperty(exports, "TransferAlreadyPendingError", {
43
39
  enumerable: true,
44
- get: function () { return chunkOYLZEEHF_cjs.TransferAlreadyPendingError; }
40
+ get: function () { return chunk5X5WL5CU_cjs.TransferAlreadyPendingError; }
45
41
  });
46
42
  Object.defineProperty(exports, "TransferExpiredError", {
47
43
  enumerable: true,
48
- get: function () { return chunkOYLZEEHF_cjs.TransferExpiredError; }
44
+ get: function () { return chunk5X5WL5CU_cjs.TransferExpiredError; }
49
45
  });
50
46
  Object.defineProperty(exports, "VestingExpiredError", {
51
47
  enumerable: true,
52
- get: function () { return chunkOYLZEEHF_cjs.VestingExpiredError; }
48
+ get: function () { return chunk5X5WL5CU_cjs.VestingExpiredError; }
53
49
  });
54
50
  Object.defineProperty(exports, "VestingNotFoundError", {
55
51
  enumerable: true,
56
- get: function () { return chunkOYLZEEHF_cjs.VestingNotFoundError; }
52
+ get: function () { return chunk5X5WL5CU_cjs.VestingNotFoundError; }
57
53
  });
58
54
  Object.defineProperty(exports, "VestingNotRevocableError", {
59
55
  enumerable: true,
60
- get: function () { return chunkOYLZEEHF_cjs.VestingNotRevocableError; }
56
+ get: function () { return chunk5X5WL5CU_cjs.VestingNotRevocableError; }
61
57
  });
62
58
  Object.defineProperty(exports, "VestingRevokedError", {
63
59
  enumerable: true,
64
- get: function () { return chunkOYLZEEHF_cjs.VestingRevokedError; }
60
+ get: function () { return chunk5X5WL5CU_cjs.VestingRevokedError; }
65
61
  });
66
62
  Object.defineProperty(exports, "confidentialVestingManagerAbi", {
67
63
  enumerable: true,
68
- get: function () { return chunkOYLZEEHF_cjs.confidentialVestingManagerAbi; }
64
+ get: function () { return chunk5X5WL5CU_cjs.confidentialVestingManagerAbi; }
69
65
  });
70
66
  Object.defineProperty(exports, "createConfidentialVestingManagerClient", {
71
67
  enumerable: true,
72
- get: function () { return chunkOYLZEEHF_cjs.createConfidentialVestingManagerClient; }
68
+ get: function () { return chunk5X5WL5CU_cjs.createConfidentialVestingManagerClient; }
73
69
  });
74
70
  Object.defineProperty(exports, "encryptUint64", {
75
71
  enumerable: true,
76
- get: function () { return chunkOYLZEEHF_cjs.encryptUint64; }
72
+ get: function () { return chunk5X5WL5CU_cjs.encryptUint64; }
77
73
  });
78
74
  Object.defineProperty(exports, "encryptUint64Batch", {
79
75
  enumerable: true,
80
- get: function () { return chunkOYLZEEHF_cjs.encryptUint64Batch; }
76
+ get: function () { return chunk5X5WL5CU_cjs.encryptUint64Batch; }
81
77
  });
82
78
  Object.defineProperty(exports, "resolveEncryptor", {
83
79
  enumerable: true,
84
- get: function () { return chunkOYLZEEHF_cjs.resolveEncryptor; }
80
+ get: function () { return chunk5X5WL5CU_cjs.resolveEncryptor; }
85
81
  });
86
82
  Object.defineProperty(exports, "FHE_SPLIT_DENOMINATOR", {
87
83
  enumerable: true,
88
- get: function () { return chunk5SGMJADP_cjs.FHE_SPLIT_DENOMINATOR; }
84
+ get: function () { return chunk2NCLOQ56_cjs.FHE_SPLIT_DENOMINATOR; }
89
85
  });
90
86
  Object.defineProperty(exports, "scaleRatio", {
91
87
  enumerable: true,
92
- get: function () { return chunk5SGMJADP_cjs.scaleRatio; }
88
+ get: function () { return chunk2NCLOQ56_cjs.scaleRatio; }
93
89
  });
94
90
  Object.defineProperty(exports, "share", {
95
91
  enumerable: true,
96
- get: function () { return chunk5SGMJADP_cjs.share; }
92
+ get: function () { return chunk2NCLOQ56_cjs.share; }
93
+ });
94
+ Object.defineProperty(exports, "erc7984OperatorAbi", {
95
+ enumerable: true,
96
+ get: function () { return chunkFWHYQZ5E_cjs.erc7984OperatorAbi; }
97
97
  });
98
98
  Object.defineProperty(exports, "ConfidentialVestingFactoryClient", {
99
99
  enumerable: true,
100
- get: function () { return chunkSAGJIEQK_cjs.ConfidentialVestingFactoryClient; }
100
+ get: function () { return chunkC7BRZXJA_cjs.ConfidentialVestingFactoryClient; }
101
101
  });
102
102
  Object.defineProperty(exports, "DisclosureType", {
103
103
  enumerable: true,
104
- get: function () { return chunkSAGJIEQK_cjs.DisclosureType; }
104
+ get: function () { return chunkC7BRZXJA_cjs.DisclosureType; }
105
105
  });
106
106
  Object.defineProperty(exports, "FeeType", {
107
107
  enumerable: true,
108
- get: function () { return chunkSAGJIEQK_cjs.FeeType; }
108
+ get: function () { return chunkC7BRZXJA_cjs.FeeType; }
109
109
  });
110
110
  Object.defineProperty(exports, "confidentialVestingFactoryAbi", {
111
111
  enumerable: true,
112
- get: function () { return chunkSAGJIEQK_cjs.confidentialVestingFactoryAbi; }
112
+ get: function () { return chunkC7BRZXJA_cjs.confidentialVestingFactoryAbi; }
113
113
  });
114
114
  Object.defineProperty(exports, "createConfidentialVestingFactoryClient", {
115
115
  enumerable: true,
116
- get: function () { return chunkSAGJIEQK_cjs.createConfidentialVestingFactoryClient; }
116
+ get: function () { return chunkC7BRZXJA_cjs.createConfidentialVestingFactoryClient; }
117
117
  });
118
118
  Object.defineProperty(exports, "feeTypeName", {
119
119
  enumerable: true,
120
- get: function () { return chunkSAGJIEQK_cjs.feeTypeName; }
120
+ get: function () { return chunkC7BRZXJA_cjs.feeTypeName; }
121
121
  });
122
122
  Object.defineProperty(exports, "AccessDeniedError", {
123
123
  enumerable: true,
124
- get: function () { return chunk56UI7LUR_cjs.AccessDeniedError; }
124
+ get: function () { return chunk67OV5CX2_cjs.AccessDeniedError; }
125
125
  });
126
126
  Object.defineProperty(exports, "AlreadyInitializedError", {
127
127
  enumerable: true,
128
- get: function () { return chunk56UI7LUR_cjs.AlreadyInitializedError; }
128
+ get: function () { return chunk67OV5CX2_cjs.AlreadyInitializedError; }
129
129
  });
130
130
  Object.defineProperty(exports, "BatchTooLargeError", {
131
131
  enumerable: true,
132
- get: function () { return chunk56UI7LUR_cjs.BatchTooLargeError; }
132
+ get: function () { return chunk67OV5CX2_cjs.BatchTooLargeError; }
133
133
  });
134
134
  Object.defineProperty(exports, "ContractRevertError", {
135
135
  enumerable: true,
136
- get: function () { return chunk56UI7LUR_cjs.ContractRevertError; }
136
+ get: function () { return chunk67OV5CX2_cjs.ContractRevertError; }
137
137
  });
138
138
  Object.defineProperty(exports, "DecryptionFailedError", {
139
139
  enumerable: true,
140
- get: function () { return chunk56UI7LUR_cjs.DecryptionFailedError; }
140
+ get: function () { return chunk67OV5CX2_cjs.DecryptionFailedError; }
141
141
  });
142
142
  Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
143
143
  enumerable: true,
144
- get: function () { return chunk56UI7LUR_cjs.DeploymentAddressUnavailableError; }
144
+ get: function () { return chunk67OV5CX2_cjs.DeploymentAddressUnavailableError; }
145
145
  });
146
146
  Object.defineProperty(exports, "EncryptionFailedError", {
147
147
  enumerable: true,
148
- get: function () { return chunk56UI7LUR_cjs.EncryptionFailedError; }
148
+ get: function () { return chunk67OV5CX2_cjs.EncryptionFailedError; }
149
149
  });
150
150
  Object.defineProperty(exports, "FeatureDisabledError", {
151
151
  enumerable: true,
152
- get: function () { return chunk56UI7LUR_cjs.FeatureDisabledError; }
152
+ get: function () { return chunk67OV5CX2_cjs.FeatureDisabledError; }
153
153
  });
154
154
  Object.defineProperty(exports, "FheHandleNotAllowedError", {
155
155
  enumerable: true,
156
- get: function () { return chunk56UI7LUR_cjs.FheHandleNotAllowedError; }
156
+ get: function () { return chunk67OV5CX2_cjs.FheHandleNotAllowedError; }
157
157
  });
158
158
  Object.defineProperty(exports, "InsufficientBalanceError", {
159
159
  enumerable: true,
160
- get: function () { return chunk56UI7LUR_cjs.InsufficientBalanceError; }
160
+ get: function () { return chunk67OV5CX2_cjs.InsufficientBalanceError; }
161
161
  });
162
162
  Object.defineProperty(exports, "InsufficientFeeError", {
163
163
  enumerable: true,
164
- get: function () { return chunk56UI7LUR_cjs.InsufficientFeeError; }
164
+ get: function () { return chunk67OV5CX2_cjs.InsufficientFeeError; }
165
165
  });
166
166
  Object.defineProperty(exports, "InsufficientGasFundsError", {
167
167
  enumerable: true,
168
- get: function () { return chunk56UI7LUR_cjs.InsufficientGasFundsError; }
168
+ get: function () { return chunk67OV5CX2_cjs.InsufficientGasFundsError; }
169
169
  });
170
170
  Object.defineProperty(exports, "InvalidArgumentError", {
171
171
  enumerable: true,
172
- get: function () { return chunk56UI7LUR_cjs.InvalidArgumentError; }
172
+ get: function () { return chunk67OV5CX2_cjs.InvalidArgumentError; }
173
173
  });
174
174
  Object.defineProperty(exports, "InvalidSignatureError", {
175
175
  enumerable: true,
176
- get: function () { return chunk56UI7LUR_cjs.InvalidSignatureError; }
176
+ get: function () { return chunk67OV5CX2_cjs.InvalidSignatureError; }
177
177
  });
178
178
  Object.defineProperty(exports, "MissingAccountError", {
179
179
  enumerable: true,
180
- get: function () { return chunk56UI7LUR_cjs.MissingAccountError; }
180
+ get: function () { return chunk67OV5CX2_cjs.MissingAccountError; }
181
181
  });
182
182
  Object.defineProperty(exports, "MissingClientError", {
183
183
  enumerable: true,
184
- get: function () { return chunk56UI7LUR_cjs.MissingClientError; }
184
+ get: function () { return chunk67OV5CX2_cjs.MissingClientError; }
185
185
  });
186
186
  Object.defineProperty(exports, "MissingEncryptorError", {
187
187
  enumerable: true,
188
- get: function () { return chunk56UI7LUR_cjs.MissingEncryptorError; }
188
+ get: function () { return chunk67OV5CX2_cjs.MissingEncryptorError; }
189
189
  });
190
190
  Object.defineProperty(exports, "MissingPublicClientError", {
191
191
  enumerable: true,
192
- get: function () { return chunk56UI7LUR_cjs.MissingPublicClientError; }
192
+ get: function () { return chunk67OV5CX2_cjs.MissingPublicClientError; }
193
193
  });
194
194
  Object.defineProperty(exports, "MissingWalletClientError", {
195
195
  enumerable: true,
196
- get: function () { return chunk56UI7LUR_cjs.MissingWalletClientError; }
196
+ get: function () { return chunk67OV5CX2_cjs.MissingWalletClientError; }
197
197
  });
198
198
  Object.defineProperty(exports, "NetworkError", {
199
199
  enumerable: true,
200
- get: function () { return chunk56UI7LUR_cjs.NetworkError; }
200
+ get: function () { return chunk67OV5CX2_cjs.NetworkError; }
201
+ });
202
+ Object.defineProperty(exports, "OperatorNotApprovedError", {
203
+ enumerable: true,
204
+ get: function () { return chunk67OV5CX2_cjs.OperatorNotApprovedError; }
201
205
  });
202
206
  Object.defineProperty(exports, "PausedError", {
203
207
  enumerable: true,
204
- get: function () { return chunk56UI7LUR_cjs.PausedError; }
208
+ get: function () { return chunk67OV5CX2_cjs.PausedError; }
205
209
  });
206
210
  Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
207
211
  enumerable: true,
208
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventAmbiguousError; }
212
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventAmbiguousError; }
209
213
  });
210
214
  Object.defineProperty(exports, "ReceiptEventNotFoundError", {
211
215
  enumerable: true,
212
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventNotFoundError; }
216
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventNotFoundError; }
213
217
  });
214
218
  Object.defineProperty(exports, "ReentrancyError", {
215
219
  enumerable: true,
216
- get: function () { return chunk56UI7LUR_cjs.ReentrancyError; }
220
+ get: function () { return chunk67OV5CX2_cjs.ReentrancyError; }
217
221
  });
218
222
  Object.defineProperty(exports, "RelayerUnreachableError", {
219
223
  enumerable: true,
220
- get: function () { return chunk56UI7LUR_cjs.RelayerUnreachableError; }
224
+ get: function () { return chunk67OV5CX2_cjs.RelayerUnreachableError; }
221
225
  });
222
226
  Object.defineProperty(exports, "SigningFailedError", {
223
227
  enumerable: true,
224
- get: function () { return chunk56UI7LUR_cjs.SigningFailedError; }
228
+ get: function () { return chunk67OV5CX2_cjs.SigningFailedError; }
225
229
  });
226
230
  Object.defineProperty(exports, "TokenOpsContractError", {
227
231
  enumerable: true,
228
- get: function () { return chunk56UI7LUR_cjs.TokenOpsContractError; }
232
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsContractError; }
229
233
  });
230
234
  Object.defineProperty(exports, "TokenOpsSdkError", {
231
235
  enumerable: true,
232
- get: function () { return chunk56UI7LUR_cjs.TokenOpsSdkError; }
236
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsSdkError; }
233
237
  });
234
238
  Object.defineProperty(exports, "TokenOpsValidationError", {
235
239
  enumerable: true,
236
- get: function () { return chunk56UI7LUR_cjs.TokenOpsValidationError; }
240
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsValidationError; }
237
241
  });
238
242
  Object.defineProperty(exports, "TransferFailedError", {
239
243
  enumerable: true,
240
- get: function () { return chunk56UI7LUR_cjs.TransferFailedError; }
244
+ get: function () { return chunk67OV5CX2_cjs.TransferFailedError; }
241
245
  });
242
246
  Object.defineProperty(exports, "UnknownWriteFailureError", {
243
247
  enumerable: true,
244
- get: function () { return chunk56UI7LUR_cjs.UnknownWriteFailureError; }
248
+ get: function () { return chunk67OV5CX2_cjs.UnknownWriteFailureError; }
245
249
  });
246
250
  Object.defineProperty(exports, "UnsupportedChainError", {
247
251
  enumerable: true,
248
- get: function () { return chunk56UI7LUR_cjs.UnsupportedChainError; }
252
+ get: function () { return chunk67OV5CX2_cjs.UnsupportedChainError; }
249
253
  });
250
254
  Object.defineProperty(exports, "UserDecryptNotAllowedError", {
251
255
  enumerable: true,
252
- get: function () { return chunk56UI7LUR_cjs.UserDecryptNotAllowedError; }
256
+ get: function () { return chunk67OV5CX2_cjs.UserDecryptNotAllowedError; }
253
257
  });
254
258
  Object.defineProperty(exports, "UserRejectedSignatureError", {
255
259
  enumerable: true,
256
- get: function () { return chunk56UI7LUR_cjs.UserRejectedSignatureError; }
260
+ get: function () { return chunk67OV5CX2_cjs.UserRejectedSignatureError; }
257
261
  });
258
262
  Object.defineProperty(exports, "WalletChainMismatchError", {
259
263
  enumerable: true,
260
- get: function () { return chunk56UI7LUR_cjs.WalletChainMismatchError; }
264
+ get: function () { return chunk67OV5CX2_cjs.WalletChainMismatchError; }
261
265
  });
262
266
  Object.defineProperty(exports, "WalletRejectedError", {
263
267
  enumerable: true,
264
- get: function () { return chunk56UI7LUR_cjs.WalletRejectedError; }
268
+ get: function () { return chunk67OV5CX2_cjs.WalletRejectedError; }
265
269
  });
266
270
  Object.defineProperty(exports, "isTokenOpsSdkError", {
267
271
  enumerable: true,
268
- get: function () { return chunk56UI7LUR_cjs.isTokenOpsSdkError; }
272
+ get: function () { return chunk67OV5CX2_cjs.isTokenOpsSdkError; }
269
273
  });
@@ -1,9 +1,9 @@
1
1
  export { ConfidentialVestingFactoryClient, createConfidentialVestingFactoryClient, type ConfidentialVestingFactoryClientConfig, type CreateManagerArgs, type CreateManagerResult, } from "./factory.js";
2
2
  export { ConfidentialVestingManagerClient, createConfidentialVestingManagerClient, type BatchCreateVestingArgs, type BatchDiscloseToPartyResult, type ClaimArgs, type ConfidentialVestingManagerClientConfig, type CreateVestingArgs, type DiscloseArgs, type DiscloseToPartyResult, type EncryptedViewResult, type InitiateTransferArgs, type PartialClaimArgs, type SplitVestingArgs, type SplitVestingResult, } from "./manager.js";
3
3
  export { encryptUint64, encryptUint64Batch, resolveEncryptor, type Encryptor, type EncryptorSource, type EncryptUint64Args, type EncryptUint64BatchArgs, type FheValueInput, } from "./encryption.js";
4
- export { DisclosureType, FeeType, feeTypeName, type CustomFee, type EncryptedInput, type EncryptedInputs, type PendingTransfer, type VestingInfo, type VestingParams, } from "./types.js";
4
+ export { DisclosureType, FeeType, feeTypeName, type CreateVestingPreflightReport, type CustomFee, type EncryptedInput, type EncryptedInputs, type PendingTransfer, type VestingInfo, type VestingParams, } from "./types.js";
5
5
  export { confidentialVestingFactoryAbi, confidentialVestingManagerAbi, erc7984OperatorAbi, } from "./abis/index.js";
6
- export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, TokenOpsValidationError, ContractRevertError, TokenOpsContractError, PausedError, AccessDeniedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../core/errors.js";
6
+ export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, TokenOpsValidationError, ContractRevertError, TokenOpsContractError, PausedError, AccessDeniedError, OperatorNotApprovedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../core/errors.js";
7
7
  export { type PreflightResult } from "../core/preflight.js";
8
8
  export { VestingNotFoundError, NotVestingRecipientError, ClaimLockedError, VestingRevokedError, VestingNotRevocableError, VestingExpiredError, TransferAlreadyPendingError, NoPendingTransferError, NotPendingRecipientError, TransferExpiredError, } from "./errors.js";
9
9
  export { FHE_SPLIT_DENOMINATOR, scaleRatio, share, type ScaleRatioArgs, type ScaleRatioWidth, type ScaledRatio, } from "../fhe/scale-ratio.js";