@tokenops/sdk 1.1.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +158 -2
  2. package/README.md +18 -8
  3. package/SECURITY.md +7 -1
  4. package/dist/{chunk-56UI7LUR.cjs → chunk-2RNW4MIJ.cjs} +37 -0
  5. package/dist/{chunk-VDXVNZCO.cjs → chunk-43RFBQ73.cjs} +85 -29
  6. package/dist/{chunk-BE2AIZ3K.js → chunk-46T67CE2.js} +1 -1
  7. package/dist/{chunk-WRCUDSUJ.js → chunk-4KJ66YRH.js} +61 -3
  8. package/dist/{chunk-ITQ7WKVC.cjs → chunk-4ZCXK4VI.cjs} +68 -8
  9. package/dist/{chunk-JFLEEXKP.js → chunk-6WSNS3UV.js} +58 -2
  10. package/dist/{chunk-W7JHOK7G.cjs → chunk-7G7UOQV4.cjs} +4 -4
  11. package/dist/{chunk-5KHIQG7Y.cjs → chunk-AYGRYDBX.cjs} +35 -36
  12. package/dist/{chunk-5SGMJADP.cjs → chunk-BD4LZBVF.cjs} +85 -9
  13. package/dist/{chunk-OYLZEEHF.cjs → chunk-BK7YIVLK.cjs} +304 -179
  14. package/dist/{chunk-SEKC7H5Y.cjs → chunk-CBRL2PJA.cjs} +12 -11
  15. package/dist/{chunk-XWDVPV42.js → chunk-CNP4L3GF.js} +4 -4
  16. package/dist/{chunk-IVE3QEGD.js → chunk-DRSPMIZ7.js} +28 -1
  17. package/dist/{chunk-SAGJIEQK.cjs → chunk-EUKPOXWR.cjs} +15 -16
  18. package/dist/chunk-FT4LNBOS.js +11 -0
  19. package/dist/{chunk-ITQBDRWX.js → chunk-HETNKZEE.js} +1 -1
  20. package/dist/{chunk-JJ4R5QXF.js → chunk-KSDSXJ34.js} +1 -1
  21. package/dist/{chunk-SYHXDHWX.cjs → chunk-LBWRFZR3.cjs} +218 -31
  22. package/dist/{chunk-ZXCOJY2Z.js → chunk-NFW7AUEX.js} +1 -1
  23. package/dist/{chunk-FPQBFIUW.cjs → chunk-OL6SHN3D.cjs} +3 -3
  24. package/dist/{chunk-XSNLAS5M.js → chunk-PD7ME2BT.js} +75 -2
  25. package/dist/{chunk-FXCW7LVB.js → chunk-QET3Q4JP.js} +94 -9
  26. package/dist/{chunk-M7V2EDPB.js → chunk-QKKBBH7I.js} +2 -2
  27. package/dist/{chunk-XXXDQSHE.js → chunk-S2XD75JM.js} +12 -3
  28. package/dist/{chunk-5SA2HF2W.cjs → chunk-SPGSO5SO.cjs} +31 -22
  29. package/dist/{chunk-Q7ARQSUH.cjs → chunk-SYHNZSZZ.cjs} +3 -3
  30. package/dist/{chunk-X56UVEXS.js → chunk-TN65XNTI.js} +248 -120
  31. package/dist/chunk-U57COLUE.js +56 -0
  32. package/dist/{chunk-OQZAZIAS.js → chunk-UE5XK2SY.js} +193 -6
  33. package/dist/{chunk-NS44KBV5.cjs → chunk-UJS4N2XM.cjs} +12 -12
  34. package/dist/{chunk-IR5AK5U5.js → chunk-V5D7BHW3.js} +4 -5
  35. package/dist/{chunk-3PQ2RFPC.js → chunk-VHSNYUYV.js} +5 -4
  36. package/dist/{chunk-CQIPRNS7.cjs → chunk-VR3FREBX.cjs} +3 -3
  37. package/dist/{chunk-G7G75C46.cjs → chunk-WO72UBQD.cjs} +11 -11
  38. package/dist/chunk-WOEETTH7.cjs +59 -0
  39. package/dist/{chunk-QE7ZONJ2.js → chunk-WTK6JDSI.js} +4 -5
  40. package/dist/{chunk-3ZRHDTEX.cjs → chunk-WUXUWTFW.cjs} +3 -3
  41. package/dist/{chunk-23F7JIK5.cjs → chunk-YFIWCYHC.cjs} +141 -54
  42. package/dist/{chunk-FYQ2UW4T.js → chunk-YPYCWLYP.js} +1 -1
  43. package/dist/chunk-ZQUE2B3Q.cjs +33 -0
  44. package/dist/core/addresses.d.ts +1 -1
  45. package/dist/core/errors.d.ts +41 -1
  46. package/dist/core/revert-mapper.d.ts +77 -0
  47. package/dist/core/wagmi-compat.d.ts +40 -0
  48. package/dist/fhe/index.cjs +134 -68
  49. package/dist/fhe/index.d.cts +2 -1
  50. package/dist/fhe/index.d.ts +2 -1
  51. package/dist/fhe/index.js +64 -10
  52. package/dist/fhe/mock-erc7984.d.ts +4 -4
  53. package/dist/fhe/operators.d.ts +142 -2
  54. package/dist/fhe/react/index.cjs +21 -8
  55. package/dist/fhe/react/index.d.cts +2 -0
  56. package/dist/fhe/react/index.d.ts +2 -0
  57. package/dist/fhe/react/index.js +8 -3
  58. package/dist/fhe/react/useEnsureOperator.d.ts +56 -0
  59. package/dist/fhe/react/useIsOperator.d.ts +54 -0
  60. package/dist/fhe/sepolia-encryptor-web.d.ts +45 -4
  61. package/dist/fhe/sepolia-encryptor.d.ts +38 -0
  62. package/dist/fhe-airdrop/advanced/index.cjs +9 -9
  63. package/dist/fhe-airdrop/advanced/index.js +7 -7
  64. package/dist/fhe-airdrop/advanced/react/index.cjs +14 -14
  65. package/dist/fhe-airdrop/advanced/react/index.js +10 -10
  66. package/dist/fhe-airdrop/airdrop.d.ts +9 -0
  67. package/dist/fhe-airdrop/encryption.d.ts +8 -0
  68. package/dist/fhe-airdrop/factory.d.ts +86 -1
  69. package/dist/fhe-airdrop/index.cjs +69 -66
  70. package/dist/fhe-airdrop/index.d.cts +3 -3
  71. package/dist/fhe-airdrop/index.d.ts +3 -3
  72. package/dist/fhe-airdrop/index.js +7 -8
  73. package/dist/fhe-airdrop/react/index.cjs +176 -135
  74. package/dist/fhe-airdrop/react/index.d.cts +7 -4
  75. package/dist/fhe-airdrop/react/index.d.ts +7 -4
  76. package/dist/fhe-airdrop/react/index.js +43 -16
  77. package/dist/fhe-airdrop/react/useAccessClaimAmount.d.ts +17 -11
  78. package/dist/fhe-airdrop/react/useAirdropIsSignatureValid.d.ts +3 -2
  79. package/dist/fhe-airdrop/react/useClaim.d.ts +10 -0
  80. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdrop.d.ts +8 -0
  81. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdropAndGetAddress.d.ts +8 -0
  82. package/dist/fhe-airdrop/react/useFundConfidentialAirdrop.d.ts +8 -0
  83. package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +51 -0
  84. package/dist/fhe-airdrop/react/useSignClaimAuthorization.d.ts +1 -1
  85. package/dist/fhe-airdrop/types.d.ts +56 -0
  86. package/dist/fhe-disperse/encryption.d.ts +8 -0
  87. package/dist/fhe-disperse/errors.d.ts +55 -0
  88. package/dist/fhe-disperse/index.cjs +77 -66
  89. package/dist/fhe-disperse/index.d.cts +2 -2
  90. package/dist/fhe-disperse/index.d.ts +2 -2
  91. package/dist/fhe-disperse/index.js +8 -9
  92. package/dist/fhe-disperse/react/index.cjs +108 -87
  93. package/dist/fhe-disperse/react/index.d.cts +4 -2
  94. package/dist/fhe-disperse/react/index.d.ts +4 -2
  95. package/dist/fhe-disperse/react/index.js +12 -11
  96. package/dist/fhe-disperse/react/useCalculateFee.d.ts +7 -0
  97. package/dist/fhe-disperse/react/useDisperse.d.ts +9 -0
  98. package/dist/fhe-disperse/react/usePreflightDisperse.d.ts +7 -0
  99. package/dist/fhe-disperse/react/useSingletonCalculateFee.d.ts +7 -0
  100. package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +6 -0
  101. package/dist/fhe-disperse/react/useWithdrawTokenFee.d.ts +6 -0
  102. package/dist/fhe-disperse/singleton.d.ts +29 -0
  103. package/dist/fhe-disperse/subtotals.d.ts +6 -0
  104. package/dist/fhe-vesting/advanced/index.cjs +8 -9
  105. package/dist/fhe-vesting/advanced/index.js +6 -7
  106. package/dist/fhe-vesting/advanced/react/index.cjs +15 -15
  107. package/dist/fhe-vesting/advanced/react/index.js +12 -12
  108. package/dist/fhe-vesting/encryption.d.ts +8 -0
  109. package/dist/fhe-vesting/index.cjs +82 -79
  110. package/dist/fhe-vesting/index.d.cts +2 -2
  111. package/dist/fhe-vesting/index.d.ts +2 -2
  112. package/dist/fhe-vesting/index.js +9 -10
  113. package/dist/fhe-vesting/manager.d.ts +119 -1
  114. package/dist/fhe-vesting/react/index.cjs +264 -224
  115. package/dist/fhe-vesting/react/index.d.cts +9 -6
  116. package/dist/fhe-vesting/react/index.d.ts +9 -6
  117. package/dist/fhe-vesting/react/index.js +44 -21
  118. package/dist/fhe-vesting/react/useAccessClaimableAmount.d.ts +11 -3
  119. package/dist/fhe-vesting/react/useAccessSettledAmount.d.ts +11 -3
  120. package/dist/fhe-vesting/react/useAccessTotalAllocation.d.ts +11 -3
  121. package/dist/fhe-vesting/react/useAccessVestedAmount.d.ts +11 -3
  122. package/dist/fhe-vesting/react/useAdminClaim.d.ts +2 -0
  123. package/dist/fhe-vesting/react/useAdminGetClaimableAmount.d.ts +1 -1
  124. package/dist/fhe-vesting/react/useAdminGetSettledAmount.d.ts +1 -1
  125. package/dist/fhe-vesting/react/useAdminGetTotalAllocation.d.ts +1 -1
  126. package/dist/fhe-vesting/react/useAdminGetVestedAmount.d.ts +1 -1
  127. package/dist/fhe-vesting/react/useAdminPartialClaim.d.ts +10 -0
  128. package/dist/fhe-vesting/react/useBatchCreateVesting.d.ts +8 -0
  129. package/dist/fhe-vesting/react/useClaim.d.ts +3 -1
  130. package/dist/fhe-vesting/react/useCreateVesting.d.ts +8 -0
  131. package/dist/fhe-vesting/react/useDiscloseHandleToParty.d.ts +1 -1
  132. package/dist/fhe-vesting/react/useManagerDiscloseHandleToParty.d.ts +1 -1
  133. package/dist/fhe-vesting/react/useManagerWithdrawTokenFee.d.ts +6 -0
  134. package/dist/fhe-vesting/react/usePartialClaim.d.ts +9 -1
  135. package/dist/fhe-vesting/react/usePreflightCreateVesting.d.ts +37 -0
  136. package/dist/fhe-vesting/react/useVestingClaim.d.ts +2 -0
  137. package/dist/fhe-vesting/react/useVestingInfo.d.ts +1 -1
  138. package/dist/fhe-vesting/react/useWithdrawAdmin.d.ts +6 -0
  139. package/dist/fhe-vesting/react/useWithdrawTokenFee.d.ts +6 -0
  140. package/dist/fhe-vesting/types.d.ts +45 -0
  141. package/dist/index.cjs +93 -86
  142. package/dist/index.d.cts +1 -1
  143. package/dist/index.d.ts +1 -1
  144. package/dist/index.js +2 -3
  145. package/dist/testnet-faucet/index.cjs +58 -55
  146. package/dist/testnet-faucet/index.d.cts +1 -1
  147. package/dist/testnet-faucet/index.d.ts +1 -1
  148. package/dist/testnet-faucet/index.js +5 -6
  149. package/dist/testnet-faucet/react/index.cjs +60 -56
  150. package/dist/testnet-faucet/react/index.d.cts +3 -2
  151. package/dist/testnet-faucet/react/index.d.ts +3 -2
  152. package/dist/testnet-faucet/react/index.js +11 -11
  153. package/dist/testnet-faucet/react/useConfidentialBalance.d.ts +3 -2
  154. package/dist/testnet-faucet/react/useUnderlyingBalance.d.ts +2 -2
  155. package/package.json +14 -8
  156. package/dist/chunk-66IHPTOK.cjs +0 -20
  157. package/dist/chunk-KWFFIJYX.js +0 -11
  158. package/dist/fhe-airdrop/react/useAirdropClaim.d.ts +0 -25
  159. package/dist/fhe-airdrop/react/useGetClaimAmount.d.ts +0 -30
  160. package/dist/fhe-vesting/react/useGetClaimableAmount.d.ts +0 -13
  161. package/dist/fhe-vesting/react/useGetSettledAmount.d.ts +0 -14
  162. package/dist/fhe-vesting/react/useGetTotalAllocation.d.ts +0 -13
  163. package/dist/fhe-vesting/react/useGetVestedAmount.d.ts +0 -25
@@ -19,6 +19,13 @@ export interface UsePreflightDisperseArgs extends BaseHookOptions {
19
19
  * Hook is disabled until `user`, `token`, `recipients`, `amounts`, and `mode`
20
20
  * are all set.
21
21
  *
22
+ * **Amount units:** TokenOps confidential (ERC-7984) tokens use a 6-decimals
23
+ * convention (1 token = 1_000_000 base units), not the 18 decimals typical of
24
+ * ERC-20. Amount parameters are base units of the token's actual decimals:
25
+ * for the CTTT test token (6 decimals) `1_000_000n` = 1 CTTT, while the
26
+ * transparent TTT test token uses 18 decimals. Pass `amounts[]` in the same
27
+ * units you will pass to `useDisperse` so the report reflects the real call.
28
+ *
22
29
  * For live dashboards, set `refetchInterval` so the report stays current as
23
30
  * the user toggles approvals in a wallet UI:
24
31
  *
@@ -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,20 @@
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 chunk7G7UOQV4_cjs = require('../../chunk-7G7UOQV4.cjs');
4
+ require('../../chunk-EUKPOXWR.cjs');
5
+ require('../../chunk-43RFBQ73.cjs');
6
+ require('../../chunk-WUXUWTFW.cjs');
7
+ require('../../chunk-VR3FREBX.cjs');
8
+ require('../../chunk-2RNW4MIJ.cjs');
8
9
  require('../../chunk-VJKZWYYJ.cjs');
9
- require('../../chunk-66IHPTOK.cjs');
10
- require('../../chunk-56UI7LUR.cjs');
11
10
 
12
11
 
13
12
 
14
13
  Object.defineProperty(exports, "ConfidentialVestingFactoryAdvancedClient", {
15
14
  enumerable: true,
16
- get: function () { return chunkW7JHOK7G_cjs.ConfidentialVestingFactoryAdvancedClient; }
15
+ get: function () { return chunk7G7UOQV4_cjs.ConfidentialVestingFactoryAdvancedClient; }
17
16
  });
18
17
  Object.defineProperty(exports, "createConfidentialVestingFactoryAdvancedClient", {
19
18
  enumerable: true,
20
- get: function () { return chunkW7JHOK7G_cjs.createConfidentialVestingFactoryAdvancedClient; }
19
+ get: function () { return chunk7G7UOQV4_cjs.createConfidentialVestingFactoryAdvancedClient; }
21
20
  });
@@ -1,8 +1,7 @@
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-HETNKZEE.js';
2
+ import '../../chunk-V5D7BHW3.js';
3
+ import '../../chunk-6WSNS3UV.js';
4
+ import '../../chunk-QKKBBH7I.js';
5
+ import '../../chunk-46T67CE2.js';
6
+ import '../../chunk-DRSPMIZ7.js';
6
7
  import '../../chunk-Q2GP5UDC.js';
7
- import '../../chunk-KWFFIJYX.js';
8
- import '../../chunk-IVE3QEGD.js';
@@ -1,18 +1,18 @@
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 chunkCBRL2PJA_cjs = require('../../../chunk-CBRL2PJA.cjs');
4
+ require('../../../chunk-BK7YIVLK.cjs');
5
+ require('../../../chunk-UJS4N2XM.cjs');
6
+ require('../../../chunk-BD4LZBVF.cjs');
7
+ require('../../../chunk-SYHNZSZZ.cjs');
8
+ require('../../../chunk-FWHYQZ5E.cjs');
9
+ var chunk7G7UOQV4_cjs = require('../../../chunk-7G7UOQV4.cjs');
10
+ require('../../../chunk-EUKPOXWR.cjs');
11
+ require('../../../chunk-43RFBQ73.cjs');
12
+ var chunkWUXUWTFW_cjs = require('../../../chunk-WUXUWTFW.cjs');
13
+ require('../../../chunk-VR3FREBX.cjs');
14
+ require('../../../chunk-2RNW4MIJ.cjs');
13
15
  require('../../../chunk-VJKZWYYJ.cjs');
14
- require('../../../chunk-66IHPTOK.cjs');
15
- require('../../../chunk-56UI7LUR.cjs');
16
16
  var react = require('react');
17
17
  var reactQuery = require('@tanstack/react-query');
18
18
  var wagmi = require('wagmi');
@@ -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 : chunk3ZRHDTEX_cjs.DEPLOYED_ADDRESSES.fheVesting?.confidentialVestingFactory?.[resolvedChainId] ?? void 0);
38
+ const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 : chunkWUXUWTFW_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 chunkW7JHOK7G_cjs.createConfidentialVestingFactoryAdvancedClient({
43
+ return chunk7G7UOQV4_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: chunkSEKC7H5Y_cjs.buildQueryKey(
51
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
52
52
  "factory:predictManagerAddress",
53
53
  resolvedChainId,
54
54
  resolvedAddress,
@@ -1,16 +1,16 @@
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-VHSNYUYV.js';
2
+ import '../../../chunk-TN65XNTI.js';
3
+ import '../../../chunk-NFW7AUEX.js';
4
+ import '../../../chunk-PD7ME2BT.js';
5
+ import '../../../chunk-YPYCWLYP.js';
6
+ import '../../../chunk-7VELUOMI.js';
7
+ import { createConfidentialVestingFactoryAdvancedClient } from '../../../chunk-HETNKZEE.js';
8
+ import '../../../chunk-V5D7BHW3.js';
9
+ import '../../../chunk-6WSNS3UV.js';
10
+ import { DEPLOYED_ADDRESSES } from '../../../chunk-QKKBBH7I.js';
11
+ import '../../../chunk-46T67CE2.js';
12
+ import '../../../chunk-DRSPMIZ7.js';
11
13
  import '../../../chunk-Q2GP5UDC.js';
12
- import '../../../chunk-KWFFIJYX.js';
13
- import '../../../chunk-IVE3QEGD.js';
14
14
  import { useRef, useMemo } from 'react';
15
15
  import { useQuery } from '@tanstack/react-query';
16
16
  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,272 @@
1
1
  'use strict';
2
2
 
3
+ var chunkBK7YIVLK_cjs = require('../chunk-BK7YIVLK.cjs');
4
+ require('../chunk-UJS4N2XM.cjs');
5
+ var chunkBD4LZBVF_cjs = require('../chunk-BD4LZBVF.cjs');
6
+ require('../chunk-SYHNZSZZ.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 chunkEUKPOXWR_cjs = require('../chunk-EUKPOXWR.cjs');
9
+ require('../chunk-43RFBQ73.cjs');
10
+ require('../chunk-WUXUWTFW.cjs');
11
+ require('../chunk-VR3FREBX.cjs');
12
+ var chunk2RNW4MIJ_cjs = require('../chunk-2RNW4MIJ.cjs');
12
13
  require('../chunk-VJKZWYYJ.cjs');
13
- require('../chunk-66IHPTOK.cjs');
14
- var chunk56UI7LUR_cjs = require('../chunk-56UI7LUR.cjs');
15
14
 
16
15
 
17
16
 
18
- Object.defineProperty(exports, "erc7984OperatorAbi", {
19
- enumerable: true,
20
- get: function () { return chunkFWHYQZ5E_cjs.erc7984OperatorAbi; }
21
- });
22
17
  Object.defineProperty(exports, "ClaimLockedError", {
23
18
  enumerable: true,
24
- get: function () { return chunkOYLZEEHF_cjs.ClaimLockedError; }
19
+ get: function () { return chunkBK7YIVLK_cjs.ClaimLockedError; }
25
20
  });
26
21
  Object.defineProperty(exports, "ConfidentialVestingManagerClient", {
27
22
  enumerable: true,
28
- get: function () { return chunkOYLZEEHF_cjs.ConfidentialVestingManagerClient; }
23
+ get: function () { return chunkBK7YIVLK_cjs.ConfidentialVestingManagerClient; }
29
24
  });
30
25
  Object.defineProperty(exports, "NoPendingTransferError", {
31
26
  enumerable: true,
32
- get: function () { return chunkOYLZEEHF_cjs.NoPendingTransferError; }
27
+ get: function () { return chunkBK7YIVLK_cjs.NoPendingTransferError; }
33
28
  });
34
29
  Object.defineProperty(exports, "NotPendingRecipientError", {
35
30
  enumerable: true,
36
- get: function () { return chunkOYLZEEHF_cjs.NotPendingRecipientError; }
31
+ get: function () { return chunkBK7YIVLK_cjs.NotPendingRecipientError; }
37
32
  });
38
33
  Object.defineProperty(exports, "NotVestingRecipientError", {
39
34
  enumerable: true,
40
- get: function () { return chunkOYLZEEHF_cjs.NotVestingRecipientError; }
35
+ get: function () { return chunkBK7YIVLK_cjs.NotVestingRecipientError; }
41
36
  });
42
37
  Object.defineProperty(exports, "TransferAlreadyPendingError", {
43
38
  enumerable: true,
44
- get: function () { return chunkOYLZEEHF_cjs.TransferAlreadyPendingError; }
39
+ get: function () { return chunkBK7YIVLK_cjs.TransferAlreadyPendingError; }
45
40
  });
46
41
  Object.defineProperty(exports, "TransferExpiredError", {
47
42
  enumerable: true,
48
- get: function () { return chunkOYLZEEHF_cjs.TransferExpiredError; }
43
+ get: function () { return chunkBK7YIVLK_cjs.TransferExpiredError; }
49
44
  });
50
45
  Object.defineProperty(exports, "VestingExpiredError", {
51
46
  enumerable: true,
52
- get: function () { return chunkOYLZEEHF_cjs.VestingExpiredError; }
47
+ get: function () { return chunkBK7YIVLK_cjs.VestingExpiredError; }
53
48
  });
54
49
  Object.defineProperty(exports, "VestingNotFoundError", {
55
50
  enumerable: true,
56
- get: function () { return chunkOYLZEEHF_cjs.VestingNotFoundError; }
51
+ get: function () { return chunkBK7YIVLK_cjs.VestingNotFoundError; }
57
52
  });
58
53
  Object.defineProperty(exports, "VestingNotRevocableError", {
59
54
  enumerable: true,
60
- get: function () { return chunkOYLZEEHF_cjs.VestingNotRevocableError; }
55
+ get: function () { return chunkBK7YIVLK_cjs.VestingNotRevocableError; }
61
56
  });
62
57
  Object.defineProperty(exports, "VestingRevokedError", {
63
58
  enumerable: true,
64
- get: function () { return chunkOYLZEEHF_cjs.VestingRevokedError; }
59
+ get: function () { return chunkBK7YIVLK_cjs.VestingRevokedError; }
65
60
  });
66
61
  Object.defineProperty(exports, "confidentialVestingManagerAbi", {
67
62
  enumerable: true,
68
- get: function () { return chunkOYLZEEHF_cjs.confidentialVestingManagerAbi; }
63
+ get: function () { return chunkBK7YIVLK_cjs.confidentialVestingManagerAbi; }
69
64
  });
70
65
  Object.defineProperty(exports, "createConfidentialVestingManagerClient", {
71
66
  enumerable: true,
72
- get: function () { return chunkOYLZEEHF_cjs.createConfidentialVestingManagerClient; }
67
+ get: function () { return chunkBK7YIVLK_cjs.createConfidentialVestingManagerClient; }
68
+ });
69
+ Object.defineProperty(exports, "FHE_SPLIT_DENOMINATOR", {
70
+ enumerable: true,
71
+ get: function () { return chunkBD4LZBVF_cjs.FHE_SPLIT_DENOMINATOR; }
73
72
  });
74
73
  Object.defineProperty(exports, "encryptUint64", {
75
74
  enumerable: true,
76
- get: function () { return chunkOYLZEEHF_cjs.encryptUint64; }
75
+ get: function () { return chunkBD4LZBVF_cjs.encryptUint64; }
77
76
  });
78
77
  Object.defineProperty(exports, "encryptUint64Batch", {
79
78
  enumerable: true,
80
- get: function () { return chunkOYLZEEHF_cjs.encryptUint64Batch; }
79
+ get: function () { return chunkBD4LZBVF_cjs.encryptUint64Batch; }
81
80
  });
82
81
  Object.defineProperty(exports, "resolveEncryptor", {
83
82
  enumerable: true,
84
- get: function () { return chunkOYLZEEHF_cjs.resolveEncryptor; }
85
- });
86
- Object.defineProperty(exports, "FHE_SPLIT_DENOMINATOR", {
87
- enumerable: true,
88
- get: function () { return chunk5SGMJADP_cjs.FHE_SPLIT_DENOMINATOR; }
83
+ get: function () { return chunkBD4LZBVF_cjs.resolveEncryptor; }
89
84
  });
90
85
  Object.defineProperty(exports, "scaleRatio", {
91
86
  enumerable: true,
92
- get: function () { return chunk5SGMJADP_cjs.scaleRatio; }
87
+ get: function () { return chunkBD4LZBVF_cjs.scaleRatio; }
93
88
  });
94
89
  Object.defineProperty(exports, "share", {
95
90
  enumerable: true,
96
- get: function () { return chunk5SGMJADP_cjs.share; }
91
+ get: function () { return chunkBD4LZBVF_cjs.share; }
92
+ });
93
+ Object.defineProperty(exports, "erc7984OperatorAbi", {
94
+ enumerable: true,
95
+ get: function () { return chunkFWHYQZ5E_cjs.erc7984OperatorAbi; }
97
96
  });
98
97
  Object.defineProperty(exports, "ConfidentialVestingFactoryClient", {
99
98
  enumerable: true,
100
- get: function () { return chunkSAGJIEQK_cjs.ConfidentialVestingFactoryClient; }
99
+ get: function () { return chunkEUKPOXWR_cjs.ConfidentialVestingFactoryClient; }
101
100
  });
102
101
  Object.defineProperty(exports, "DisclosureType", {
103
102
  enumerable: true,
104
- get: function () { return chunkSAGJIEQK_cjs.DisclosureType; }
103
+ get: function () { return chunkEUKPOXWR_cjs.DisclosureType; }
105
104
  });
106
105
  Object.defineProperty(exports, "FeeType", {
107
106
  enumerable: true,
108
- get: function () { return chunkSAGJIEQK_cjs.FeeType; }
107
+ get: function () { return chunkEUKPOXWR_cjs.FeeType; }
109
108
  });
110
109
  Object.defineProperty(exports, "confidentialVestingFactoryAbi", {
111
110
  enumerable: true,
112
- get: function () { return chunkSAGJIEQK_cjs.confidentialVestingFactoryAbi; }
111
+ get: function () { return chunkEUKPOXWR_cjs.confidentialVestingFactoryAbi; }
113
112
  });
114
113
  Object.defineProperty(exports, "createConfidentialVestingFactoryClient", {
115
114
  enumerable: true,
116
- get: function () { return chunkSAGJIEQK_cjs.createConfidentialVestingFactoryClient; }
115
+ get: function () { return chunkEUKPOXWR_cjs.createConfidentialVestingFactoryClient; }
117
116
  });
118
117
  Object.defineProperty(exports, "feeTypeName", {
119
118
  enumerable: true,
120
- get: function () { return chunkSAGJIEQK_cjs.feeTypeName; }
119
+ get: function () { return chunkEUKPOXWR_cjs.feeTypeName; }
121
120
  });
122
121
  Object.defineProperty(exports, "AccessDeniedError", {
123
122
  enumerable: true,
124
- get: function () { return chunk56UI7LUR_cjs.AccessDeniedError; }
123
+ get: function () { return chunk2RNW4MIJ_cjs.AccessDeniedError; }
125
124
  });
126
125
  Object.defineProperty(exports, "AlreadyInitializedError", {
127
126
  enumerable: true,
128
- get: function () { return chunk56UI7LUR_cjs.AlreadyInitializedError; }
127
+ get: function () { return chunk2RNW4MIJ_cjs.AlreadyInitializedError; }
129
128
  });
130
129
  Object.defineProperty(exports, "BatchTooLargeError", {
131
130
  enumerable: true,
132
- get: function () { return chunk56UI7LUR_cjs.BatchTooLargeError; }
131
+ get: function () { return chunk2RNW4MIJ_cjs.BatchTooLargeError; }
133
132
  });
134
133
  Object.defineProperty(exports, "ContractRevertError", {
135
134
  enumerable: true,
136
- get: function () { return chunk56UI7LUR_cjs.ContractRevertError; }
135
+ get: function () { return chunk2RNW4MIJ_cjs.ContractRevertError; }
137
136
  });
138
137
  Object.defineProperty(exports, "DecryptionFailedError", {
139
138
  enumerable: true,
140
- get: function () { return chunk56UI7LUR_cjs.DecryptionFailedError; }
139
+ get: function () { return chunk2RNW4MIJ_cjs.DecryptionFailedError; }
141
140
  });
142
141
  Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
143
142
  enumerable: true,
144
- get: function () { return chunk56UI7LUR_cjs.DeploymentAddressUnavailableError; }
143
+ get: function () { return chunk2RNW4MIJ_cjs.DeploymentAddressUnavailableError; }
145
144
  });
146
145
  Object.defineProperty(exports, "EncryptionFailedError", {
147
146
  enumerable: true,
148
- get: function () { return chunk56UI7LUR_cjs.EncryptionFailedError; }
147
+ get: function () { return chunk2RNW4MIJ_cjs.EncryptionFailedError; }
149
148
  });
150
149
  Object.defineProperty(exports, "FeatureDisabledError", {
151
150
  enumerable: true,
152
- get: function () { return chunk56UI7LUR_cjs.FeatureDisabledError; }
151
+ get: function () { return chunk2RNW4MIJ_cjs.FeatureDisabledError; }
153
152
  });
154
153
  Object.defineProperty(exports, "FheHandleNotAllowedError", {
155
154
  enumerable: true,
156
- get: function () { return chunk56UI7LUR_cjs.FheHandleNotAllowedError; }
155
+ get: function () { return chunk2RNW4MIJ_cjs.FheHandleNotAllowedError; }
157
156
  });
158
157
  Object.defineProperty(exports, "InsufficientBalanceError", {
159
158
  enumerable: true,
160
- get: function () { return chunk56UI7LUR_cjs.InsufficientBalanceError; }
159
+ get: function () { return chunk2RNW4MIJ_cjs.InsufficientBalanceError; }
161
160
  });
162
161
  Object.defineProperty(exports, "InsufficientFeeError", {
163
162
  enumerable: true,
164
- get: function () { return chunk56UI7LUR_cjs.InsufficientFeeError; }
163
+ get: function () { return chunk2RNW4MIJ_cjs.InsufficientFeeError; }
165
164
  });
166
165
  Object.defineProperty(exports, "InsufficientGasFundsError", {
167
166
  enumerable: true,
168
- get: function () { return chunk56UI7LUR_cjs.InsufficientGasFundsError; }
167
+ get: function () { return chunk2RNW4MIJ_cjs.InsufficientGasFundsError; }
169
168
  });
170
169
  Object.defineProperty(exports, "InvalidArgumentError", {
171
170
  enumerable: true,
172
- get: function () { return chunk56UI7LUR_cjs.InvalidArgumentError; }
171
+ get: function () { return chunk2RNW4MIJ_cjs.InvalidArgumentError; }
173
172
  });
174
173
  Object.defineProperty(exports, "InvalidSignatureError", {
175
174
  enumerable: true,
176
- get: function () { return chunk56UI7LUR_cjs.InvalidSignatureError; }
175
+ get: function () { return chunk2RNW4MIJ_cjs.InvalidSignatureError; }
177
176
  });
178
177
  Object.defineProperty(exports, "MissingAccountError", {
179
178
  enumerable: true,
180
- get: function () { return chunk56UI7LUR_cjs.MissingAccountError; }
179
+ get: function () { return chunk2RNW4MIJ_cjs.MissingAccountError; }
181
180
  });
182
181
  Object.defineProperty(exports, "MissingClientError", {
183
182
  enumerable: true,
184
- get: function () { return chunk56UI7LUR_cjs.MissingClientError; }
183
+ get: function () { return chunk2RNW4MIJ_cjs.MissingClientError; }
185
184
  });
186
185
  Object.defineProperty(exports, "MissingEncryptorError", {
187
186
  enumerable: true,
188
- get: function () { return chunk56UI7LUR_cjs.MissingEncryptorError; }
187
+ get: function () { return chunk2RNW4MIJ_cjs.MissingEncryptorError; }
189
188
  });
190
189
  Object.defineProperty(exports, "MissingPublicClientError", {
191
190
  enumerable: true,
192
- get: function () { return chunk56UI7LUR_cjs.MissingPublicClientError; }
191
+ get: function () { return chunk2RNW4MIJ_cjs.MissingPublicClientError; }
193
192
  });
194
193
  Object.defineProperty(exports, "MissingWalletClientError", {
195
194
  enumerable: true,
196
- get: function () { return chunk56UI7LUR_cjs.MissingWalletClientError; }
195
+ get: function () { return chunk2RNW4MIJ_cjs.MissingWalletClientError; }
197
196
  });
198
197
  Object.defineProperty(exports, "NetworkError", {
199
198
  enumerable: true,
200
- get: function () { return chunk56UI7LUR_cjs.NetworkError; }
199
+ get: function () { return chunk2RNW4MIJ_cjs.NetworkError; }
200
+ });
201
+ Object.defineProperty(exports, "OperatorNotApprovedError", {
202
+ enumerable: true,
203
+ get: function () { return chunk2RNW4MIJ_cjs.OperatorNotApprovedError; }
201
204
  });
202
205
  Object.defineProperty(exports, "PausedError", {
203
206
  enumerable: true,
204
- get: function () { return chunk56UI7LUR_cjs.PausedError; }
207
+ get: function () { return chunk2RNW4MIJ_cjs.PausedError; }
205
208
  });
206
209
  Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
207
210
  enumerable: true,
208
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventAmbiguousError; }
211
+ get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventAmbiguousError; }
209
212
  });
210
213
  Object.defineProperty(exports, "ReceiptEventNotFoundError", {
211
214
  enumerable: true,
212
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventNotFoundError; }
215
+ get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventNotFoundError; }
213
216
  });
214
217
  Object.defineProperty(exports, "ReentrancyError", {
215
218
  enumerable: true,
216
- get: function () { return chunk56UI7LUR_cjs.ReentrancyError; }
219
+ get: function () { return chunk2RNW4MIJ_cjs.ReentrancyError; }
217
220
  });
218
221
  Object.defineProperty(exports, "RelayerUnreachableError", {
219
222
  enumerable: true,
220
- get: function () { return chunk56UI7LUR_cjs.RelayerUnreachableError; }
223
+ get: function () { return chunk2RNW4MIJ_cjs.RelayerUnreachableError; }
221
224
  });
222
225
  Object.defineProperty(exports, "SigningFailedError", {
223
226
  enumerable: true,
224
- get: function () { return chunk56UI7LUR_cjs.SigningFailedError; }
227
+ get: function () { return chunk2RNW4MIJ_cjs.SigningFailedError; }
225
228
  });
226
229
  Object.defineProperty(exports, "TokenOpsContractError", {
227
230
  enumerable: true,
228
- get: function () { return chunk56UI7LUR_cjs.TokenOpsContractError; }
231
+ get: function () { return chunk2RNW4MIJ_cjs.TokenOpsContractError; }
229
232
  });
230
233
  Object.defineProperty(exports, "TokenOpsSdkError", {
231
234
  enumerable: true,
232
- get: function () { return chunk56UI7LUR_cjs.TokenOpsSdkError; }
235
+ get: function () { return chunk2RNW4MIJ_cjs.TokenOpsSdkError; }
233
236
  });
234
237
  Object.defineProperty(exports, "TokenOpsValidationError", {
235
238
  enumerable: true,
236
- get: function () { return chunk56UI7LUR_cjs.TokenOpsValidationError; }
239
+ get: function () { return chunk2RNW4MIJ_cjs.TokenOpsValidationError; }
237
240
  });
238
241
  Object.defineProperty(exports, "TransferFailedError", {
239
242
  enumerable: true,
240
- get: function () { return chunk56UI7LUR_cjs.TransferFailedError; }
243
+ get: function () { return chunk2RNW4MIJ_cjs.TransferFailedError; }
241
244
  });
242
245
  Object.defineProperty(exports, "UnknownWriteFailureError", {
243
246
  enumerable: true,
244
- get: function () { return chunk56UI7LUR_cjs.UnknownWriteFailureError; }
247
+ get: function () { return chunk2RNW4MIJ_cjs.UnknownWriteFailureError; }
245
248
  });
246
249
  Object.defineProperty(exports, "UnsupportedChainError", {
247
250
  enumerable: true,
248
- get: function () { return chunk56UI7LUR_cjs.UnsupportedChainError; }
251
+ get: function () { return chunk2RNW4MIJ_cjs.UnsupportedChainError; }
249
252
  });
250
253
  Object.defineProperty(exports, "UserDecryptNotAllowedError", {
251
254
  enumerable: true,
252
- get: function () { return chunk56UI7LUR_cjs.UserDecryptNotAllowedError; }
255
+ get: function () { return chunk2RNW4MIJ_cjs.UserDecryptNotAllowedError; }
253
256
  });
254
257
  Object.defineProperty(exports, "UserRejectedSignatureError", {
255
258
  enumerable: true,
256
- get: function () { return chunk56UI7LUR_cjs.UserRejectedSignatureError; }
259
+ get: function () { return chunk2RNW4MIJ_cjs.UserRejectedSignatureError; }
257
260
  });
258
261
  Object.defineProperty(exports, "WalletChainMismatchError", {
259
262
  enumerable: true,
260
- get: function () { return chunk56UI7LUR_cjs.WalletChainMismatchError; }
263
+ get: function () { return chunk2RNW4MIJ_cjs.WalletChainMismatchError; }
261
264
  });
262
265
  Object.defineProperty(exports, "WalletRejectedError", {
263
266
  enumerable: true,
264
- get: function () { return chunk56UI7LUR_cjs.WalletRejectedError; }
267
+ get: function () { return chunk2RNW4MIJ_cjs.WalletRejectedError; }
265
268
  });
266
269
  Object.defineProperty(exports, "isTokenOpsSdkError", {
267
270
  enumerable: true,
268
- get: function () { return chunk56UI7LUR_cjs.isTokenOpsSdkError; }
271
+ get: function () { return chunk2RNW4MIJ_cjs.isTokenOpsSdkError; }
269
272
  });