@tokenops/sdk 1.6.0 → 2.0.0-alpha.2

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 (263) hide show
  1. package/CHANGELOG.md +77 -8
  2. package/CONTRIBUTING.md +4 -2
  3. package/README.md +146 -90
  4. package/SUPPORT.md +47 -0
  5. package/dist/{chunk-BD4LZBVF.cjs → chunk-3QHNYEQD.cjs} +18 -17
  6. package/dist/{chunk-YFIWCYHC.cjs → chunk-3YHBO2DL.cjs} +56 -54
  7. package/dist/{chunk-QET3Q4JP.js → chunk-44YJPMQC.js} +8 -6
  8. package/dist/{chunk-6WSNS3UV.js → chunk-4RAAATVY.js} +2 -4
  9. package/dist/{chunk-4KJ66YRH.js → chunk-4TSDNZQ3.js} +2 -2
  10. package/dist/chunk-66IHPTOK.cjs +20 -0
  11. package/dist/{chunk-2RNW4MIJ.cjs → chunk-67OV5CX2.cjs} +0 -18
  12. package/dist/{chunk-PD7ME2BT.js → chunk-6GNR22OV.js} +2 -1
  13. package/dist/{chunk-WOEETTH7.cjs → chunk-7AFPOE7N.cjs} +6 -6
  14. package/dist/{chunk-QKKBBH7I.js → chunk-A4DCEE33.js} +34 -7
  15. package/dist/chunk-AREQJHKA.cjs +713 -0
  16. package/dist/{chunk-U57COLUE.js → chunk-AXIPOR3C.js} +2 -2
  17. package/dist/chunk-EBLBPUPI.cjs +255 -0
  18. package/dist/chunk-EYDA6Q6C.js +245 -0
  19. package/dist/{chunk-SYHNZSZZ.cjs → chunk-FAXIIH5R.cjs} +3 -3
  20. package/dist/{chunk-AYGRYDBX.cjs → chunk-FEDX7B6T.cjs} +37 -35
  21. package/dist/{chunk-CBRL2PJA.cjs → chunk-FHWSBGWE.cjs} +12 -12
  22. package/dist/{chunk-WUXUWTFW.cjs → chunk-FT5H2Q7Y.cjs} +37 -7
  23. package/dist/chunk-GADGBQJO.js +423 -0
  24. package/dist/{chunk-VHSNYUYV.js → chunk-IGO5XSPS.js} +5 -5
  25. package/dist/chunk-IUKKNJ2R.cjs +433 -0
  26. package/dist/{chunk-VR3FREBX.cjs → chunk-JK4XMMKM.cjs} +3 -3
  27. package/dist/{chunk-4ZCXK4VI.cjs → chunk-KFRDLKMA.cjs} +14 -14
  28. package/dist/chunk-KWFFIJYX.js +11 -0
  29. package/dist/{chunk-7G7UOQV4.cjs → chunk-MM5BV5CS.cjs} +4 -4
  30. package/dist/{chunk-43RFBQ73.cjs → chunk-MVDQMV25.cjs} +29 -32
  31. package/dist/chunk-NWFMBLSQ.js +4 -0
  32. package/dist/{chunk-HETNKZEE.js → chunk-PYYSB5ZN.js} +1 -1
  33. package/dist/chunk-PZZK3O3S.cjs +9843 -0
  34. package/dist/{chunk-DRSPMIZ7.js → chunk-QBJ7O2B4.js} +1 -11
  35. package/dist/{chunk-WTK6JDSI.js → chunk-SPLNGUFF.js} +6 -4
  36. package/dist/{chunk-UJS4N2XM.cjs → chunk-TEBM66WA.cjs} +12 -12
  37. package/dist/{chunk-TN65XNTI.js → chunk-TWT3STIX.js} +8 -6
  38. package/dist/chunk-UG5RKLU2.cjs +6 -0
  39. package/dist/{chunk-EUKPOXWR.cjs → chunk-UHHMVBLU.cjs} +17 -15
  40. package/dist/chunk-VW356KR3.js +688 -0
  41. package/dist/{chunk-BK7YIVLK.cjs → chunk-WJLECC22.cjs} +75 -73
  42. package/dist/{chunk-V5D7BHW3.js → chunk-WJMEBBU7.js} +6 -4
  43. package/dist/{chunk-NFW7AUEX.js → chunk-WMACINXO.js} +1 -1
  44. package/dist/chunk-X7WBPCEU.js +9817 -0
  45. package/dist/{chunk-46T67CE2.js → chunk-ZA673I3O.js} +1 -1
  46. package/dist/{chunk-YPYCWLYP.js → chunk-ZWXJTBZO.js} +1 -1
  47. package/dist/core/addresses.d.ts +14 -2
  48. package/dist/core/brands.d.ts +8 -2
  49. package/dist/core/errors.d.ts +71 -10
  50. package/dist/core/preflight.d.ts +1 -0
  51. package/dist/fhe/erc7984-abi.d.ts +1 -0
  52. package/dist/fhe/index.cjs +64 -63
  53. package/dist/fhe/index.js +7 -6
  54. package/dist/fhe/operators.d.ts +22 -5
  55. package/dist/fhe/react/index.cjs +13 -12
  56. package/dist/fhe/react/index.js +6 -5
  57. package/dist/fhe/types.d.ts +8 -2
  58. package/dist/fhe-airdrop/abis/{cloneable.d.ts → airdrop-base.d.ts} +254 -396
  59. package/dist/fhe-airdrop/abis/compliance.d.ts +422 -0
  60. package/dist/fhe-airdrop/abis/ecdsa.d.ts +1316 -0
  61. package/dist/fhe-airdrop/abis/factory.d.ts +1319 -190
  62. package/dist/fhe-airdrop/abis/index.d.ts +5 -2
  63. package/dist/fhe-airdrop/abis/merkle.d.ts +1250 -0
  64. package/dist/fhe-airdrop/advanced/index.cjs +11 -12
  65. package/dist/fhe-airdrop/advanced/index.d.cts +34 -11
  66. package/dist/fhe-airdrop/advanced/index.d.ts +34 -11
  67. package/dist/fhe-airdrop/advanced/index.js +3 -8
  68. package/dist/fhe-airdrop/advanced/react/index.cjs +619 -51
  69. package/dist/fhe-airdrop/advanced/react/index.d.cts +43 -3
  70. package/dist/fhe-airdrop/advanced/react/index.d.ts +43 -3
  71. package/dist/fhe-airdrop/advanced/react/index.js +592 -52
  72. package/dist/fhe-airdrop/advanced/react/useClearCompliancePolicy.d.ts +28 -0
  73. package/dist/fhe-airdrop/advanced/react/useClearUpgradeabilityPolicy.d.ts +26 -0
  74. package/dist/fhe-airdrop/advanced/react/useDisableCustomFee.d.ts +25 -0
  75. package/dist/fhe-airdrop/advanced/react/useEcdsaInitCodeHash.d.ts +30 -0
  76. package/dist/fhe-airdrop/advanced/react/useFactoryComplianceDelegate.d.ts +25 -0
  77. package/dist/fhe-airdrop/advanced/react/useFactoryCompliancePolicy.d.ts +38 -0
  78. package/dist/fhe-airdrop/advanced/react/useFactoryCustomFee.d.ts +24 -0
  79. package/dist/fhe-airdrop/advanced/react/useFactoryGrantRole.d.ts +32 -0
  80. package/dist/fhe-airdrop/advanced/react/useFactoryHasRole.d.ts +27 -0
  81. package/dist/fhe-airdrop/advanced/react/useFactoryImplementations.d.ts +33 -0
  82. package/dist/fhe-airdrop/advanced/react/useFactoryRenounceRole.d.ts +36 -0
  83. package/dist/fhe-airdrop/advanced/react/useFactoryRevokeRole.d.ts +35 -0
  84. package/dist/fhe-airdrop/advanced/react/useFactoryRoleConstants.d.ts +46 -0
  85. package/dist/fhe-airdrop/advanced/react/useFactoryRoleMembers.d.ts +47 -0
  86. package/dist/fhe-airdrop/advanced/react/useFactoryUpgradeabilityPolicy.d.ts +39 -0
  87. package/dist/fhe-airdrop/advanced/react/useMerkleInitCodeHash.d.ts +24 -0
  88. package/dist/fhe-airdrop/advanced/react/usePredictEcdsaAirdropAddress.d.ts +33 -0
  89. package/dist/fhe-airdrop/advanced/react/usePredictMerkleAirdropAddress.d.ts +27 -0
  90. package/dist/fhe-airdrop/advanced/react/useSetComplianceDelegate.d.ts +33 -0
  91. package/dist/fhe-airdrop/advanced/react/useSetComplianceManagerImpl.d.ts +27 -0
  92. package/dist/fhe-airdrop/advanced/react/useSetCompliancePolicy.d.ts +28 -0
  93. package/dist/fhe-airdrop/advanced/react/useSetCustomFee.d.ts +28 -0
  94. package/dist/fhe-airdrop/advanced/react/useSetDefaultDelegateToCompliance.d.ts +31 -0
  95. package/dist/fhe-airdrop/advanced/react/useSetDefaultGasFee.d.ts +28 -0
  96. package/dist/fhe-airdrop/advanced/react/useSetDefaultUpgradeable.d.ts +27 -0
  97. package/dist/fhe-airdrop/advanced/react/useSetEcdsaImplementation.d.ts +34 -0
  98. package/dist/fhe-airdrop/advanced/react/useSetFeeCollector.d.ts +27 -0
  99. package/dist/fhe-airdrop/advanced/react/useSetMerkleImplementation.d.ts +30 -0
  100. package/dist/fhe-airdrop/advanced/react/useSetUpgradeabilityPolicy.d.ts +31 -0
  101. package/dist/fhe-airdrop/airdrop-base.d.ts +608 -0
  102. package/dist/fhe-airdrop/campaign.d.ts +338 -0
  103. package/dist/fhe-airdrop/compliance.d.ts +302 -0
  104. package/dist/fhe-airdrop/constants.d.ts +33 -0
  105. package/dist/fhe-airdrop/ecdsa.d.ts +263 -0
  106. package/dist/fhe-airdrop/encryption.d.ts +92 -14
  107. package/dist/fhe-airdrop/errors.d.ts +273 -15
  108. package/dist/fhe-airdrop/factory.d.ts +533 -274
  109. package/dist/fhe-airdrop/guards.d.ts +317 -0
  110. package/dist/fhe-airdrop/index.cjs +233 -73
  111. package/dist/fhe-airdrop/index.d.cts +46 -8
  112. package/dist/fhe-airdrop/index.d.ts +46 -8
  113. package/dist/fhe-airdrop/index.js +11 -7
  114. package/dist/fhe-airdrop/merkle-tree.d.ts +97 -0
  115. package/dist/fhe-airdrop/merkle.d.ts +201 -0
  116. package/dist/fhe-airdrop/react/_shared.d.ts +156 -70
  117. package/dist/fhe-airdrop/react/index.cjs +1174 -384
  118. package/dist/fhe-airdrop/react/index.d.cts +99 -74
  119. package/dist/fhe-airdrop/react/index.d.ts +99 -74
  120. package/dist/fhe-airdrop/react/index.js +993 -303
  121. package/dist/fhe-airdrop/react/keys.d.ts +90 -0
  122. package/dist/fhe-airdrop/react/useAccessEcdsaClaimAmount.d.ts +26 -0
  123. package/dist/fhe-airdrop/react/useAccessMerkleClaimAmount.d.ts +27 -0
  124. package/dist/fhe-airdrop/react/useAddComplianceDelegate.d.ts +37 -0
  125. package/dist/fhe-airdrop/react/useAdminBatchDiscloseBalanceToParties.d.ts +36 -0
  126. package/dist/fhe-airdrop/react/useAdminDiscloseBalanceToParty.d.ts +31 -0
  127. package/dist/fhe-airdrop/react/useAdminGetCurrentBalance.d.ts +27 -0
  128. package/dist/fhe-airdrop/react/useAirdropConfig.d.ts +49 -0
  129. package/dist/fhe-airdrop/react/useAirdropDeploymentMode.d.ts +28 -0
  130. package/dist/fhe-airdrop/react/useAirdropGasFee.d.ts +10 -5
  131. package/dist/fhe-airdrop/react/useAirdropGrantRole.d.ts +29 -10
  132. package/dist/fhe-airdrop/react/useAirdropHasRole.d.ts +15 -6
  133. package/dist/fhe-airdrop/react/useAirdropPause.d.ts +30 -0
  134. package/dist/fhe-airdrop/react/useAirdropPaused.d.ts +17 -0
  135. package/dist/fhe-airdrop/react/useAirdropRenounceRole.d.ts +36 -0
  136. package/dist/fhe-airdrop/react/useAirdropRevokeRole.d.ts +27 -9
  137. package/dist/fhe-airdrop/react/useAirdropRoleAdmin.d.ts +28 -0
  138. package/dist/fhe-airdrop/react/useAirdropRoleConstants.d.ts +67 -0
  139. package/dist/fhe-airdrop/react/useAirdropRoleMembers.d.ts +49 -0
  140. package/dist/fhe-airdrop/react/useAirdropToken.d.ts +11 -4
  141. package/dist/fhe-airdrop/react/useAirdropUpgradeToAndCall.d.ts +45 -0
  142. package/dist/fhe-airdrop/react/useAirdropWindow.d.ts +37 -0
  143. package/dist/fhe-airdrop/react/useBatchDiscloseHandlesToParty.d.ts +32 -0
  144. package/dist/fhe-airdrop/react/useBuildMerkleCampaign.d.ts +68 -0
  145. package/dist/fhe-airdrop/react/useClaimedAmount.d.ts +29 -0
  146. package/dist/fhe-airdrop/react/useComplianceGrantRole.d.ts +32 -0
  147. package/dist/fhe-airdrop/react/useComplianceHasRole.d.ts +37 -0
  148. package/dist/fhe-airdrop/react/useComplianceInfo.d.ts +50 -0
  149. package/dist/fhe-airdrop/react/useComplianceManager.d.ts +16 -0
  150. package/dist/fhe-airdrop/react/useComplianceManagerOf.d.ts +32 -0
  151. package/dist/fhe-airdrop/react/useComplianceRenounceRole.d.ts +38 -0
  152. package/dist/fhe-airdrop/react/useComplianceRevokeRole.d.ts +36 -0
  153. package/dist/fhe-airdrop/react/useComplianceRoleConstants.d.ts +41 -0
  154. package/dist/fhe-airdrop/react/useComplianceRoleMembers.d.ts +45 -0
  155. package/dist/fhe-airdrop/react/useCreateAndFundEcdsaAirdrop.d.ts +55 -0
  156. package/dist/fhe-airdrop/react/useCreateAndFundMerkleAirdrop.d.ts +52 -0
  157. package/dist/fhe-airdrop/react/useCreateEcdsaAirdrop.d.ts +28 -0
  158. package/dist/fhe-airdrop/react/useCreateMerkleAirdrop.d.ts +25 -0
  159. package/dist/fhe-airdrop/react/useDiscloseHandleToParty.d.ts +35 -0
  160. package/dist/fhe-airdrop/react/useEcdsaClaim.d.ts +24 -0
  161. package/dist/fhe-airdrop/react/useEcdsaClaimAndUnwrap.d.ts +27 -0
  162. package/dist/fhe-airdrop/react/useEcdsaDomain.d.ts +41 -0
  163. package/dist/fhe-airdrop/react/useEffectiveDelegateToCompliance.d.ts +26 -0
  164. package/dist/fhe-airdrop/react/useEffectiveUpgradeable.d.ts +20 -0
  165. package/dist/fhe-airdrop/react/useEncryptCampaignAmounts.d.ts +59 -0
  166. package/dist/fhe-airdrop/react/useExtendClaimWindow.d.ts +17 -12
  167. package/dist/fhe-airdrop/react/useFactoryFees.d.ts +28 -0
  168. package/dist/fhe-airdrop/react/useFactoryRegistry.d.ts +35 -0
  169. package/dist/fhe-airdrop/react/useFundAirdrop.d.ts +35 -0
  170. package/dist/fhe-airdrop/react/useGrantInstanceRoles.d.ts +35 -0
  171. package/dist/fhe-airdrop/react/useIsActiveDelegate.d.ts +29 -0
  172. package/dist/fhe-airdrop/react/useIsMerkleRootMutable.d.ts +21 -0
  173. package/dist/fhe-airdrop/react/useIsSignatureValid.d.ts +46 -0
  174. package/dist/fhe-airdrop/react/useMerkleClaim.d.ts +22 -0
  175. package/dist/fhe-airdrop/react/useMerkleClaimAndUnwrap.d.ts +29 -0
  176. package/dist/fhe-airdrop/react/useMerkleRoot.d.ts +15 -0
  177. package/dist/fhe-airdrop/react/usePlanMerkleCampaign.d.ts +53 -0
  178. package/dist/fhe-airdrop/react/usePreflightClaim.d.ts +46 -0
  179. package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +51 -35
  180. package/dist/fhe-airdrop/react/useRescueERC20.d.ts +30 -0
  181. package/dist/fhe-airdrop/react/useRescueOtherConfidentialToken.d.ts +34 -0
  182. package/dist/fhe-airdrop/react/useRevokeComplianceDelegate.d.ts +37 -0
  183. package/dist/fhe-airdrop/react/useRotateMerkleRoot.d.ts +52 -0
  184. package/dist/fhe-airdrop/react/useSetMerkleRoot.d.ts +22 -0
  185. package/dist/fhe-airdrop/react/useSignClaimAuthorization.d.ts +32 -21
  186. package/dist/fhe-airdrop/react/useWithdrawConfidential.d.ts +23 -0
  187. package/dist/fhe-airdrop/react/useWithdrawGasFee.d.ts +37 -0
  188. package/dist/fhe-airdrop/roles.d.ts +147 -0
  189. package/dist/fhe-airdrop/types.d.ts +78 -63
  190. package/dist/fhe-disperse/index.cjs +70 -68
  191. package/dist/fhe-disperse/index.js +10 -8
  192. package/dist/fhe-disperse/react/index.cjs +94 -92
  193. package/dist/fhe-disperse/react/index.js +13 -11
  194. package/dist/fhe-vesting/advanced/index.cjs +10 -8
  195. package/dist/fhe-vesting/advanced/index.js +8 -6
  196. package/dist/fhe-vesting/advanced/react/index.cjs +16 -14
  197. package/dist/fhe-vesting/advanced/react/index.js +13 -11
  198. package/dist/fhe-vesting/index.cjs +74 -72
  199. package/dist/fhe-vesting/index.js +11 -9
  200. package/dist/fhe-vesting/react/index.cjs +228 -226
  201. package/dist/fhe-vesting/react/index.js +15 -13
  202. package/dist/index.cjs +100 -87
  203. package/dist/index.js +3 -2
  204. package/dist/testnet-faucet/index.cjs +57 -55
  205. package/dist/testnet-faucet/index.js +7 -5
  206. package/dist/testnet-faucet/react/index.cjs +55 -53
  207. package/dist/testnet-faucet/react/index.js +9 -7
  208. package/package.json +6 -2
  209. package/dist/chunk-CNP4L3GF.js +0 -105
  210. package/dist/chunk-KSDSXJ34.js +0 -41
  211. package/dist/chunk-LBWRFZR3.cjs +0 -1681
  212. package/dist/chunk-OL6SHN3D.cjs +0 -44
  213. package/dist/chunk-S2XD75JM.js +0 -1637
  214. package/dist/chunk-SPGSO5SO.cjs +0 -1644
  215. package/dist/chunk-UE5XK2SY.js +0 -1673
  216. package/dist/chunk-WO72UBQD.cjs +0 -109
  217. package/dist/fhe-airdrop/advanced/factory-advanced.d.ts +0 -53
  218. package/dist/fhe-airdrop/advanced/react/usePredictAirdropAddress.d.ts +0 -49
  219. package/dist/fhe-airdrop/airdrop.d.ts +0 -317
  220. package/dist/fhe-airdrop/react/useAccessClaimAmount.d.ts +0 -37
  221. package/dist/fhe-airdrop/react/useAirdropCanExtendClaimWindow.d.ts +0 -7
  222. package/dist/fhe-airdrop/react/useAirdropClaimTypehash.d.ts +0 -10
  223. package/dist/fhe-airdrop/react/useAirdropClaimedSignatures.d.ts +0 -16
  224. package/dist/fhe-airdrop/react/useAirdropDeploymentBlockNumber.d.ts +0 -6
  225. package/dist/fhe-airdrop/react/useAirdropDomainSeparator.d.ts +0 -8
  226. package/dist/fhe-airdrop/react/useAirdropEndTime.d.ts +0 -10
  227. package/dist/fhe-airdrop/react/useAirdropFactoryCustomFee.d.ts +0 -17
  228. package/dist/fhe-airdrop/react/useAirdropFactoryDefaultGasFee.d.ts +0 -10
  229. package/dist/fhe-airdrop/react/useAirdropFactoryDisableCustomFee.d.ts +0 -15
  230. package/dist/fhe-airdrop/react/useAirdropFactoryFeeCollector.d.ts +0 -11
  231. package/dist/fhe-airdrop/react/useAirdropFactoryInitCodeHash.d.ts +0 -17
  232. package/dist/fhe-airdrop/react/useAirdropFactorySetCustomFee.d.ts +0 -17
  233. package/dist/fhe-airdrop/react/useAirdropFactorySetDefaultGasFee.d.ts +0 -16
  234. package/dist/fhe-airdrop/react/useAirdropFactorySetFeeCollector.d.ts +0 -15
  235. package/dist/fhe-airdrop/react/useAirdropHasClaimEnded.d.ts +0 -7
  236. package/dist/fhe-airdrop/react/useAirdropHasClaimStarted.d.ts +0 -7
  237. package/dist/fhe-airdrop/react/useAirdropIsClaimWindowActive.d.ts +0 -9
  238. package/dist/fhe-airdrop/react/useAirdropIsPaused.d.ts +0 -8
  239. package/dist/fhe-airdrop/react/useAirdropIsSignatureClaimed.d.ts +0 -22
  240. package/dist/fhe-airdrop/react/useAirdropIsSignatureValid.d.ts +0 -51
  241. package/dist/fhe-airdrop/react/useAirdropStartTime.d.ts +0 -10
  242. package/dist/fhe-airdrop/react/useAirdropWithdrawGasFee.d.ts +0 -15
  243. package/dist/fhe-airdrop/react/useAirdropWithdrawOtherConfidentialToken.d.ts +0 -14
  244. package/dist/fhe-airdrop/react/useAirdropWithdrawOtherToken.d.ts +0 -14
  245. package/dist/fhe-airdrop/react/useClaim.d.ts +0 -39
  246. package/dist/fhe-airdrop/react/useConfidentialAirdropFactoryImplementation.d.ts +0 -11
  247. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdrop.d.ts +0 -41
  248. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdropAndGetAddress.d.ts +0 -48
  249. package/dist/fhe-airdrop/react/useCreateConfidentialAirdrop.d.ts +0 -29
  250. package/dist/fhe-airdrop/react/useCreateConfidentialAirdropAndGetAddress.d.ts +0 -31
  251. package/dist/fhe-airdrop/react/useDisableCustomFee.d.ts +0 -14
  252. package/dist/fhe-airdrop/react/useFactoryCustomFee.d.ts +0 -17
  253. package/dist/fhe-airdrop/react/useFactoryDefaultGasFee.d.ts +0 -10
  254. package/dist/fhe-airdrop/react/useFactoryFeeCollector.d.ts +0 -11
  255. package/dist/fhe-airdrop/react/useFactoryInitCodeHash.d.ts +0 -17
  256. package/dist/fhe-airdrop/react/useFundConfidentialAirdrop.d.ts +0 -33
  257. package/dist/fhe-airdrop/react/useSetCustomFee.d.ts +0 -16
  258. package/dist/fhe-airdrop/react/useSetDefaultGasFee.d.ts +0 -15
  259. package/dist/fhe-airdrop/react/useSetFeeCollector.d.ts +0 -14
  260. package/dist/fhe-airdrop/react/useSetPaused.d.ts +0 -14
  261. package/dist/fhe-airdrop/react/useWithdraw.d.ts +0 -12
  262. package/dist/fhe-airdrop/react/useWithdrawOtherConfidentialToken.d.ts +0 -13
  263. package/dist/fhe-airdrop/react/useWithdrawOtherToken.d.ts +0 -13
@@ -1,16 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkYFIWCYHC_cjs = require('../../chunk-YFIWCYHC.cjs');
4
- var chunkWOEETTH7_cjs = require('../../chunk-WOEETTH7.cjs');
3
+ var chunk3YHBO2DL_cjs = require('../../chunk-3YHBO2DL.cjs');
4
+ var chunk7AFPOE7N_cjs = require('../../chunk-7AFPOE7N.cjs');
5
5
  require('../../chunk-ZQUE2B3Q.cjs');
6
- require('../../chunk-4ZCXK4VI.cjs');
7
- require('../../chunk-UJS4N2XM.cjs');
8
- require('../../chunk-SYHNZSZZ.cjs');
6
+ require('../../chunk-KFRDLKMA.cjs');
7
+ require('../../chunk-TEBM66WA.cjs');
8
+ require('../../chunk-FAXIIH5R.cjs');
9
9
  require('../../chunk-FWHYQZ5E.cjs');
10
- require('../../chunk-43RFBQ73.cjs');
11
- var chunkWUXUWTFW_cjs = require('../../chunk-WUXUWTFW.cjs');
12
- require('../../chunk-VR3FREBX.cjs');
13
- var chunk2RNW4MIJ_cjs = require('../../chunk-2RNW4MIJ.cjs');
10
+ require('../../chunk-UG5RKLU2.cjs');
11
+ require('../../chunk-MVDQMV25.cjs');
12
+ var chunkFT5H2Q7Y_cjs = require('../../chunk-FT5H2Q7Y.cjs');
13
+ require('../../chunk-JK4XMMKM.cjs');
14
+ require('../../chunk-66IHPTOK.cjs');
15
+ var chunk67OV5CX2_cjs = require('../../chunk-67OV5CX2.cjs');
14
16
  require('../../chunk-VJKZWYYJ.cjs');
15
17
  var reactQuery = require('@tanstack/react-query');
16
18
  var react = require('react');
@@ -21,7 +23,7 @@ var FHE_DISPERSE_NAMESPACE = "fhe-disperse";
21
23
  function tryResolveSingletonAddress(override, chainId) {
22
24
  if (override) return override;
23
25
  if (chainId === void 0) return void 0;
24
- return chunkWUXUWTFW_cjs.getFheDisperseSingletonAddress(chainId);
26
+ return chunkFT5H2Q7Y_cjs.getFheDisperseSingletonAddress(chainId);
25
27
  }
26
28
  function useMemoDisperseClient(opts = {}) {
27
29
  const publicClient = wagmi.usePublicClient({ chainId: opts.chainId });
@@ -34,14 +36,14 @@ function useMemoDisperseClient(opts = {}) {
34
36
  const client = react.useMemo(() => {
35
37
  if (!publicClient) return void 0;
36
38
  if (!resolvedAddress) return void 0;
37
- return chunkYFIWCYHC_cjs.createConfidentialDisperseClient({
39
+ return chunk3YHBO2DL_cjs.createConfidentialDisperseClient({
38
40
  publicClient,
39
41
  ...walletClient ? { walletClient } : {},
40
42
  address: resolvedAddress,
41
43
  ...chainId !== void 0 ? { chainId } : {},
42
44
  // Lazy — invoked per-encryption inside the headless client. Picks up
43
45
  // whichever EncryptorSource the consumer last passed in.
44
- encryptor: () => chunkYFIWCYHC_cjs.resolveEncryptor(encryptorSourceRef.current),
46
+ encryptor: () => chunk3YHBO2DL_cjs.resolveEncryptor(encryptorSourceRef.current),
45
47
  ...opts.aclAddress ? { aclAddress: opts.aclAddress } : {}
46
48
  });
47
49
  }, [publicClient, walletClient, resolvedAddress, chainId, opts.aclAddress]);
@@ -57,16 +59,16 @@ function useMemoDisperseClient(opts = {}) {
57
59
  function computeSingletonResolutionError(override, chainId) {
58
60
  if (override) return void 0;
59
61
  if (chainId === void 0) {
60
- return new chunk2RNW4MIJ_cjs.DeploymentAddressUnavailableError({
62
+ return new chunk67OV5CX2_cjs.DeploymentAddressUnavailableError({
61
63
  reason: "chain-id-missing",
62
64
  product: "fheDisperse",
63
65
  contract: "disperseConfidentialSingleton",
64
66
  clientLabel: "ConfidentialDisperseClient"
65
67
  });
66
68
  }
67
- const resolved = chunkWUXUWTFW_cjs.getFheDisperseSingletonAddress(chainId);
69
+ const resolved = chunkFT5H2Q7Y_cjs.getFheDisperseSingletonAddress(chainId);
68
70
  if (!resolved) {
69
- return new chunk2RNW4MIJ_cjs.DeploymentAddressUnavailableError({
71
+ return new chunk67OV5CX2_cjs.DeploymentAddressUnavailableError({
70
72
  reason: "registry-not-deployed",
71
73
  product: "fheDisperse",
72
74
  contract: "disperseConfidentialSingleton",
@@ -269,7 +271,7 @@ function useRegister(options = {}) {
269
271
  return reactQuery.useMutation({
270
272
  mutationFn: async (args) => {
271
273
  if (!client) {
272
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useRegister", "disperse");
274
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useRegister", "disperse");
273
275
  }
274
276
  return client.register(args);
275
277
  }
@@ -280,7 +282,7 @@ function useApproveTokenOnWallets(options = {}) {
280
282
  return reactQuery.useMutation({
281
283
  mutationFn: async (args) => {
282
284
  if (!client) {
283
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useApproveTokenOnWallets", "disperse");
285
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useApproveTokenOnWallets", "disperse");
284
286
  }
285
287
  return client.approveTokenOnWallets(args);
286
288
  }
@@ -291,7 +293,7 @@ function useRevokeTokenOnWallets(options = {}) {
291
293
  return reactQuery.useMutation({
292
294
  mutationFn: async (args) => {
293
295
  if (!client) {
294
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useRevokeTokenOnWallets", "disperse");
296
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useRevokeTokenOnWallets", "disperse");
295
297
  }
296
298
  return client.revokeTokenOnWallets(args);
297
299
  }
@@ -302,7 +304,7 @@ function useRecoverFromWallets(options = {}) {
302
304
  return reactQuery.useMutation({
303
305
  mutationFn: async (args) => {
304
306
  if (!client) {
305
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useRecoverFromWallets", "disperse");
307
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useRecoverFromWallets", "disperse");
306
308
  }
307
309
  return client.recoverFromWallets(args);
308
310
  }
@@ -313,7 +315,7 @@ function useRecoverERC20FromWallets(options = {}) {
313
315
  return reactQuery.useMutation({
314
316
  mutationFn: async (args) => {
315
317
  if (!client) {
316
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useRecoverERC20FromWallets", "disperse");
318
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useRecoverERC20FromWallets", "disperse");
317
319
  }
318
320
  return client.recoverERC20FromWallets(args);
319
321
  }
@@ -324,7 +326,7 @@ function useDisperse(options = {}) {
324
326
  return reactQuery.useMutation({
325
327
  mutationFn: async (args) => {
326
328
  if (!client) {
327
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useDisperse", "disperse");
329
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useDisperse", "disperse");
328
330
  }
329
331
  return client.disperse(args);
330
332
  }
@@ -335,7 +337,7 @@ function useAccessEncryptedFeeReserve(options = {}) {
335
337
  return reactQuery.useMutation({
336
338
  mutationFn: async (args) => {
337
339
  if (!client) {
338
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useAccessEncryptedFeeReserve", "disperse");
340
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useAccessEncryptedFeeReserve", "disperse");
339
341
  }
340
342
  return client.getEncryptedFeeReserve(args);
341
343
  }
@@ -347,7 +349,7 @@ function useDiscloseHandleToParty(options = {}) {
347
349
  return reactQuery.useMutation({
348
350
  mutationFn: async (args) => {
349
351
  if (!client) {
350
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useDiscloseHandleToParty", "disperse");
352
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useDiscloseHandleToParty", "disperse");
351
353
  }
352
354
  return client.discloseHandleToParty(args);
353
355
  }
@@ -358,7 +360,7 @@ function useBatchDiscloseHandlesToParty(options = {}) {
358
360
  return reactQuery.useMutation({
359
361
  mutationFn: async (args) => {
360
362
  if (!client) {
361
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useBatchDiscloseHandlesToParty", "disperse");
363
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useBatchDiscloseHandlesToParty", "disperse");
362
364
  }
363
365
  return client.batchDiscloseHandlesToParty(args);
364
366
  }
@@ -368,7 +370,7 @@ function usePause(options = {}) {
368
370
  const { client, resolutionError } = useMemoDisperseClient(options);
369
371
  return reactQuery.useMutation({
370
372
  mutationFn: async ({ account }) => {
371
- if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("usePause", "disperse");
373
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("usePause", "disperse");
372
374
  return client.pause(account);
373
375
  }
374
376
  });
@@ -377,7 +379,7 @@ function useUnpause(options = {}) {
377
379
  const { client, resolutionError } = useMemoDisperseClient(options);
378
380
  return reactQuery.useMutation({
379
381
  mutationFn: async ({ account }) => {
380
- if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useUnpause", "disperse");
382
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useUnpause", "disperse");
381
383
  return client.unpause(account);
382
384
  }
383
385
  });
@@ -386,7 +388,7 @@ function useSetFeeConfig(options = {}) {
386
388
  const { client, resolutionError } = useMemoDisperseClient(options);
387
389
  return reactQuery.useMutation({
388
390
  mutationFn: async ({ config, account }) => {
389
- if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetFeeConfig", "disperse");
391
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetFeeConfig", "disperse");
390
392
  return client.setFeeConfig(config, account);
391
393
  }
392
394
  });
@@ -395,7 +397,7 @@ function useSetCustomFee(options = {}) {
395
397
  const { client, resolutionError } = useMemoDisperseClient(options);
396
398
  return reactQuery.useMutation({
397
399
  mutationFn: async ({ user, gasFee, tokenFee, account }) => {
398
- if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetCustomFee", "disperse");
400
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetCustomFee", "disperse");
399
401
  return client.setCustomFee(user, gasFee, tokenFee, account);
400
402
  }
401
403
  });
@@ -405,7 +407,7 @@ function useDisableCustomFee(options = {}) {
405
407
  return reactQuery.useMutation({
406
408
  mutationFn: async ({ user, account }) => {
407
409
  if (!client) {
408
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useDisableCustomFee", "disperse");
410
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useDisableCustomFee", "disperse");
409
411
  }
410
412
  return client.disableCustomFee(user, account);
411
413
  }
@@ -416,7 +418,7 @@ function useSetMaxBatchSizeHolding(options = {}) {
416
418
  return reactQuery.useMutation({
417
419
  mutationFn: async ({ size, account }) => {
418
420
  if (!client) {
419
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetMaxBatchSizeHolding", "disperse");
421
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetMaxBatchSizeHolding", "disperse");
420
422
  }
421
423
  return client.setMaxBatchSizeHolding(size, account);
422
424
  }
@@ -427,7 +429,7 @@ function useSetMaxBatchSizeDirect(options = {}) {
427
429
  return reactQuery.useMutation({
428
430
  mutationFn: async ({ size, account }) => {
429
431
  if (!client) {
430
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetMaxBatchSizeDirect", "disperse");
432
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetMaxBatchSizeDirect", "disperse");
431
433
  }
432
434
  return client.setMaxBatchSizeDirect(size, account);
433
435
  }
@@ -438,7 +440,7 @@ function useSetMaxBatchSizeTokenFee(options = {}) {
438
440
  return reactQuery.useMutation({
439
441
  mutationFn: async ({ size, account }) => {
440
442
  if (!client) {
441
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetMaxBatchSizeTokenFee", "disperse");
443
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetMaxBatchSizeTokenFee", "disperse");
442
444
  }
443
445
  return client.setMaxBatchSizeTokenFee(size, account);
444
446
  }
@@ -448,7 +450,7 @@ function useWithdrawGasFee(options = {}) {
448
450
  const { client, resolutionError } = useMemoDisperseClient(options);
449
451
  return reactQuery.useMutation({
450
452
  mutationFn: async ({ to, amount, account }) => {
451
- if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawGasFee", "disperse");
453
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useWithdrawGasFee", "disperse");
452
454
  return client.withdrawGasFee(to, amount, account);
453
455
  }
454
456
  });
@@ -458,7 +460,7 @@ function useWithdrawTokenFee(options = {}) {
458
460
  return reactQuery.useMutation({
459
461
  mutationFn: async (args) => {
460
462
  if (!client) {
461
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawTokenFee", "disperse");
463
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useWithdrawTokenFee", "disperse");
462
464
  }
463
465
  if (args.encryptedInput !== void 0) {
464
466
  const { token: token2, to: to2, encryptedInput, account: account2 } = args;
@@ -470,7 +472,7 @@ function useWithdrawTokenFee(options = {}) {
470
472
  });
471
473
  }
472
474
  const { token, to, amount, encryptor: encryptorSource, account } = args;
473
- const eager = encryptorSource ? chunkYFIWCYHC_cjs.resolveEncryptor(encryptorSource) : void 0;
475
+ const eager = encryptorSource ? chunk3YHBO2DL_cjs.resolveEncryptor(encryptorSource) : void 0;
474
476
  return client.withdrawTokenFee({
475
477
  token,
476
478
  to,
@@ -486,7 +488,7 @@ function useRescueConfidentialTokens(options = {}) {
486
488
  return reactQuery.useMutation({
487
489
  mutationFn: async ({ token, to, account }) => {
488
490
  if (!client) {
489
- throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useRescueConfidentialTokens", "disperse");
491
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useRescueConfidentialTokens", "disperse");
490
492
  }
491
493
  return client.rescueConfidentialTokens(token, to, account);
492
494
  }
@@ -496,7 +498,7 @@ function useRescueERC20(options = {}) {
496
498
  const { client, resolutionError } = useMemoDisperseClient(options);
497
499
  return reactQuery.useMutation({
498
500
  mutationFn: async ({ token, to, account }) => {
499
- if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useRescueERC20", "disperse");
501
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useRescueERC20", "disperse");
500
502
  return client.rescueERC20(token, to, account);
501
503
  }
502
504
  });
@@ -505,7 +507,7 @@ function useGrantRole(options = {}) {
505
507
  const { client, resolutionError } = useMemoDisperseClient(options);
506
508
  return reactQuery.useMutation({
507
509
  mutationFn: async ({ role, accountTarget, account }) => {
508
- if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useGrantRole", "disperse");
510
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useGrantRole", "disperse");
509
511
  return client.grantRole(role, accountTarget, account);
510
512
  }
511
513
  });
@@ -514,7 +516,7 @@ function useRevokeRole(options = {}) {
514
516
  const { client, resolutionError } = useMemoDisperseClient(options);
515
517
  return reactQuery.useMutation({
516
518
  mutationFn: async ({ role, accountTarget, account }) => {
517
- if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useRevokeRole", "disperse");
519
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useRevokeRole", "disperse");
518
520
  return client.revokeRole(role, accountTarget, account);
519
521
  }
520
522
  });
@@ -522,215 +524,215 @@ function useRevokeRole(options = {}) {
522
524
 
523
525
  Object.defineProperty(exports, "AlreadyRegisteredError", {
524
526
  enumerable: true,
525
- get: function () { return chunkYFIWCYHC_cjs.AlreadyRegisteredError; }
527
+ get: function () { return chunk3YHBO2DL_cjs.AlreadyRegisteredError; }
526
528
  });
527
529
  Object.defineProperty(exports, "DEFAULT_ADMIN_ROLE", {
528
530
  enumerable: true,
529
- get: function () { return chunkYFIWCYHC_cjs.DEFAULT_ADMIN_ROLE; }
531
+ get: function () { return chunk3YHBO2DL_cjs.DEFAULT_ADMIN_ROLE; }
530
532
  });
531
533
  Object.defineProperty(exports, "DisperseEncryptedReserveNotGrantedError", {
532
534
  enumerable: true,
533
- get: function () { return chunkYFIWCYHC_cjs.DisperseEncryptedReserveNotGrantedError; }
535
+ get: function () { return chunk3YHBO2DL_cjs.DisperseEncryptedReserveNotGrantedError; }
534
536
  });
535
537
  Object.defineProperty(exports, "DisperseSubwalletNotFoundError", {
536
538
  enumerable: true,
537
- get: function () { return chunkYFIWCYHC_cjs.DisperseSubwalletNotFoundError; }
539
+ get: function () { return chunk3YHBO2DL_cjs.DisperseSubwalletNotFoundError; }
538
540
  });
539
541
  Object.defineProperty(exports, "FEE_COLLECTOR_ROLE", {
540
542
  enumerable: true,
541
- get: function () { return chunkYFIWCYHC_cjs.FEE_COLLECTOR_ROLE; }
543
+ get: function () { return chunk3YHBO2DL_cjs.FEE_COLLECTOR_ROLE; }
542
544
  });
543
545
  Object.defineProperty(exports, "FEE_MANAGER_ROLE", {
544
546
  enumerable: true,
545
- get: function () { return chunkYFIWCYHC_cjs.FEE_MANAGER_ROLE; }
547
+ get: function () { return chunk3YHBO2DL_cjs.FEE_MANAGER_ROLE; }
546
548
  });
547
549
  Object.defineProperty(exports, "NotRegisteredError", {
548
550
  enumerable: true,
549
- get: function () { return chunkYFIWCYHC_cjs.NotRegisteredError; }
551
+ get: function () { return chunk3YHBO2DL_cjs.NotRegisteredError; }
550
552
  });
551
553
  Object.defineProperty(exports, "PAUSER_ROLE", {
552
554
  enumerable: true,
553
- get: function () { return chunkYFIWCYHC_cjs.PAUSER_ROLE; }
555
+ get: function () { return chunk3YHBO2DL_cjs.PAUSER_ROLE; }
554
556
  });
555
557
  Object.defineProperty(exports, "SingletonNotApprovedError", {
556
558
  enumerable: true,
557
- get: function () { return chunkYFIWCYHC_cjs.SingletonNotApprovedError; }
559
+ get: function () { return chunk3YHBO2DL_cjs.SingletonNotApprovedError; }
558
560
  });
559
561
  Object.defineProperty(exports, "SubwalletsNotApprovedError", {
560
562
  enumerable: true,
561
- get: function () { return chunkYFIWCYHC_cjs.SubwalletsNotApprovedError; }
563
+ get: function () { return chunk3YHBO2DL_cjs.SubwalletsNotApprovedError; }
562
564
  });
563
565
  Object.defineProperty(exports, "WITHDRAWER_ROLE", {
564
566
  enumerable: true,
565
- get: function () { return chunkYFIWCYHC_cjs.WITHDRAWER_ROLE; }
567
+ get: function () { return chunk3YHBO2DL_cjs.WITHDRAWER_ROLE; }
566
568
  });
567
569
  Object.defineProperty(exports, "computeSubtotals", {
568
570
  enumerable: true,
569
- get: function () { return chunkYFIWCYHC_cjs.computeSubtotals; }
571
+ get: function () { return chunk3YHBO2DL_cjs.computeSubtotals; }
570
572
  });
571
573
  Object.defineProperty(exports, "encryptUint64", {
572
574
  enumerable: true,
573
- get: function () { return chunkYFIWCYHC_cjs.encryptUint64; }
575
+ get: function () { return chunk3YHBO2DL_cjs.encryptUint64; }
574
576
  });
575
577
  Object.defineProperty(exports, "encryptUint64Batch", {
576
578
  enumerable: true,
577
- get: function () { return chunkYFIWCYHC_cjs.encryptUint64Batch; }
579
+ get: function () { return chunk3YHBO2DL_cjs.encryptUint64Batch; }
578
580
  });
579
581
  Object.defineProperty(exports, "resolveEncryptor", {
580
582
  enumerable: true,
581
- get: function () { return chunkYFIWCYHC_cjs.resolveEncryptor; }
583
+ get: function () { return chunk3YHBO2DL_cjs.resolveEncryptor; }
582
584
  });
583
585
  Object.defineProperty(exports, "useEnsureOperator", {
584
586
  enumerable: true,
585
- get: function () { return chunkWOEETTH7_cjs.useEnsureOperator; }
587
+ get: function () { return chunk7AFPOE7N_cjs.useEnsureOperator; }
586
588
  });
587
589
  Object.defineProperty(exports, "useIsOperator", {
588
590
  enumerable: true,
589
- get: function () { return chunkWOEETTH7_cjs.useIsOperator; }
591
+ get: function () { return chunk7AFPOE7N_cjs.useIsOperator; }
590
592
  });
591
593
  Object.defineProperty(exports, "AccessDeniedError", {
592
594
  enumerable: true,
593
- get: function () { return chunk2RNW4MIJ_cjs.AccessDeniedError; }
595
+ get: function () { return chunk67OV5CX2_cjs.AccessDeniedError; }
594
596
  });
595
597
  Object.defineProperty(exports, "AlreadyInitializedError", {
596
598
  enumerable: true,
597
- get: function () { return chunk2RNW4MIJ_cjs.AlreadyInitializedError; }
599
+ get: function () { return chunk67OV5CX2_cjs.AlreadyInitializedError; }
598
600
  });
599
601
  Object.defineProperty(exports, "BatchTooLargeError", {
600
602
  enumerable: true,
601
- get: function () { return chunk2RNW4MIJ_cjs.BatchTooLargeError; }
603
+ get: function () { return chunk67OV5CX2_cjs.BatchTooLargeError; }
602
604
  });
603
605
  Object.defineProperty(exports, "ContractRevertError", {
604
606
  enumerable: true,
605
- get: function () { return chunk2RNW4MIJ_cjs.ContractRevertError; }
607
+ get: function () { return chunk67OV5CX2_cjs.ContractRevertError; }
606
608
  });
607
609
  Object.defineProperty(exports, "DecryptionFailedError", {
608
610
  enumerable: true,
609
- get: function () { return chunk2RNW4MIJ_cjs.DecryptionFailedError; }
611
+ get: function () { return chunk67OV5CX2_cjs.DecryptionFailedError; }
610
612
  });
611
613
  Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
612
614
  enumerable: true,
613
- get: function () { return chunk2RNW4MIJ_cjs.DeploymentAddressUnavailableError; }
615
+ get: function () { return chunk67OV5CX2_cjs.DeploymentAddressUnavailableError; }
614
616
  });
615
617
  Object.defineProperty(exports, "EncryptionFailedError", {
616
618
  enumerable: true,
617
- get: function () { return chunk2RNW4MIJ_cjs.EncryptionFailedError; }
619
+ get: function () { return chunk67OV5CX2_cjs.EncryptionFailedError; }
618
620
  });
619
621
  Object.defineProperty(exports, "FeatureDisabledError", {
620
622
  enumerable: true,
621
- get: function () { return chunk2RNW4MIJ_cjs.FeatureDisabledError; }
623
+ get: function () { return chunk67OV5CX2_cjs.FeatureDisabledError; }
622
624
  });
623
625
  Object.defineProperty(exports, "FheHandleNotAllowedError", {
624
626
  enumerable: true,
625
- get: function () { return chunk2RNW4MIJ_cjs.FheHandleNotAllowedError; }
627
+ get: function () { return chunk67OV5CX2_cjs.FheHandleNotAllowedError; }
626
628
  });
627
629
  Object.defineProperty(exports, "InsufficientBalanceError", {
628
630
  enumerable: true,
629
- get: function () { return chunk2RNW4MIJ_cjs.InsufficientBalanceError; }
631
+ get: function () { return chunk67OV5CX2_cjs.InsufficientBalanceError; }
630
632
  });
631
633
  Object.defineProperty(exports, "InsufficientFeeError", {
632
634
  enumerable: true,
633
- get: function () { return chunk2RNW4MIJ_cjs.InsufficientFeeError; }
635
+ get: function () { return chunk67OV5CX2_cjs.InsufficientFeeError; }
634
636
  });
635
637
  Object.defineProperty(exports, "InsufficientGasFundsError", {
636
638
  enumerable: true,
637
- get: function () { return chunk2RNW4MIJ_cjs.InsufficientGasFundsError; }
639
+ get: function () { return chunk67OV5CX2_cjs.InsufficientGasFundsError; }
638
640
  });
639
641
  Object.defineProperty(exports, "InvalidArgumentError", {
640
642
  enumerable: true,
641
- get: function () { return chunk2RNW4MIJ_cjs.InvalidArgumentError; }
643
+ get: function () { return chunk67OV5CX2_cjs.InvalidArgumentError; }
642
644
  });
643
645
  Object.defineProperty(exports, "InvalidSignatureError", {
644
646
  enumerable: true,
645
- get: function () { return chunk2RNW4MIJ_cjs.InvalidSignatureError; }
647
+ get: function () { return chunk67OV5CX2_cjs.InvalidSignatureError; }
646
648
  });
647
649
  Object.defineProperty(exports, "MissingAccountError", {
648
650
  enumerable: true,
649
- get: function () { return chunk2RNW4MIJ_cjs.MissingAccountError; }
651
+ get: function () { return chunk67OV5CX2_cjs.MissingAccountError; }
650
652
  });
651
653
  Object.defineProperty(exports, "MissingClientError", {
652
654
  enumerable: true,
653
- get: function () { return chunk2RNW4MIJ_cjs.MissingClientError; }
655
+ get: function () { return chunk67OV5CX2_cjs.MissingClientError; }
654
656
  });
655
657
  Object.defineProperty(exports, "MissingEncryptorError", {
656
658
  enumerable: true,
657
- get: function () { return chunk2RNW4MIJ_cjs.MissingEncryptorError; }
659
+ get: function () { return chunk67OV5CX2_cjs.MissingEncryptorError; }
658
660
  });
659
661
  Object.defineProperty(exports, "MissingPublicClientError", {
660
662
  enumerable: true,
661
- get: function () { return chunk2RNW4MIJ_cjs.MissingPublicClientError; }
663
+ get: function () { return chunk67OV5CX2_cjs.MissingPublicClientError; }
662
664
  });
663
665
  Object.defineProperty(exports, "MissingWalletClientError", {
664
666
  enumerable: true,
665
- get: function () { return chunk2RNW4MIJ_cjs.MissingWalletClientError; }
667
+ get: function () { return chunk67OV5CX2_cjs.MissingWalletClientError; }
666
668
  });
667
669
  Object.defineProperty(exports, "NetworkError", {
668
670
  enumerable: true,
669
- get: function () { return chunk2RNW4MIJ_cjs.NetworkError; }
671
+ get: function () { return chunk67OV5CX2_cjs.NetworkError; }
670
672
  });
671
673
  Object.defineProperty(exports, "OperatorNotApprovedError", {
672
674
  enumerable: true,
673
- get: function () { return chunk2RNW4MIJ_cjs.OperatorNotApprovedError; }
675
+ get: function () { return chunk67OV5CX2_cjs.OperatorNotApprovedError; }
674
676
  });
675
677
  Object.defineProperty(exports, "PausedError", {
676
678
  enumerable: true,
677
- get: function () { return chunk2RNW4MIJ_cjs.PausedError; }
679
+ get: function () { return chunk67OV5CX2_cjs.PausedError; }
678
680
  });
679
681
  Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
680
682
  enumerable: true,
681
- get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventAmbiguousError; }
683
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventAmbiguousError; }
682
684
  });
683
685
  Object.defineProperty(exports, "ReceiptEventNotFoundError", {
684
686
  enumerable: true,
685
- get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventNotFoundError; }
687
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventNotFoundError; }
686
688
  });
687
689
  Object.defineProperty(exports, "ReentrancyError", {
688
690
  enumerable: true,
689
- get: function () { return chunk2RNW4MIJ_cjs.ReentrancyError; }
691
+ get: function () { return chunk67OV5CX2_cjs.ReentrancyError; }
690
692
  });
691
693
  Object.defineProperty(exports, "RelayerUnreachableError", {
692
694
  enumerable: true,
693
- get: function () { return chunk2RNW4MIJ_cjs.RelayerUnreachableError; }
695
+ get: function () { return chunk67OV5CX2_cjs.RelayerUnreachableError; }
694
696
  });
695
697
  Object.defineProperty(exports, "SigningFailedError", {
696
698
  enumerable: true,
697
- get: function () { return chunk2RNW4MIJ_cjs.SigningFailedError; }
699
+ get: function () { return chunk67OV5CX2_cjs.SigningFailedError; }
698
700
  });
699
701
  Object.defineProperty(exports, "TokenOpsSdkError", {
700
702
  enumerable: true,
701
- get: function () { return chunk2RNW4MIJ_cjs.TokenOpsSdkError; }
703
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsSdkError; }
702
704
  });
703
705
  Object.defineProperty(exports, "TransferFailedError", {
704
706
  enumerable: true,
705
- get: function () { return chunk2RNW4MIJ_cjs.TransferFailedError; }
707
+ get: function () { return chunk67OV5CX2_cjs.TransferFailedError; }
706
708
  });
707
709
  Object.defineProperty(exports, "UnknownWriteFailureError", {
708
710
  enumerable: true,
709
- get: function () { return chunk2RNW4MIJ_cjs.UnknownWriteFailureError; }
711
+ get: function () { return chunk67OV5CX2_cjs.UnknownWriteFailureError; }
710
712
  });
711
713
  Object.defineProperty(exports, "UnsupportedChainError", {
712
714
  enumerable: true,
713
- get: function () { return chunk2RNW4MIJ_cjs.UnsupportedChainError; }
715
+ get: function () { return chunk67OV5CX2_cjs.UnsupportedChainError; }
714
716
  });
715
717
  Object.defineProperty(exports, "UserDecryptNotAllowedError", {
716
718
  enumerable: true,
717
- get: function () { return chunk2RNW4MIJ_cjs.UserDecryptNotAllowedError; }
719
+ get: function () { return chunk67OV5CX2_cjs.UserDecryptNotAllowedError; }
718
720
  });
719
721
  Object.defineProperty(exports, "UserRejectedSignatureError", {
720
722
  enumerable: true,
721
- get: function () { return chunk2RNW4MIJ_cjs.UserRejectedSignatureError; }
723
+ get: function () { return chunk67OV5CX2_cjs.UserRejectedSignatureError; }
722
724
  });
723
725
  Object.defineProperty(exports, "WalletChainMismatchError", {
724
726
  enumerable: true,
725
- get: function () { return chunk2RNW4MIJ_cjs.WalletChainMismatchError; }
727
+ get: function () { return chunk67OV5CX2_cjs.WalletChainMismatchError; }
726
728
  });
727
729
  Object.defineProperty(exports, "WalletRejectedError", {
728
730
  enumerable: true,
729
- get: function () { return chunk2RNW4MIJ_cjs.WalletRejectedError; }
731
+ get: function () { return chunk67OV5CX2_cjs.WalletRejectedError; }
730
732
  });
731
733
  Object.defineProperty(exports, "isTokenOpsSdkError", {
732
734
  enumerable: true,
733
- get: function () { return chunk2RNW4MIJ_cjs.isTokenOpsSdkError; }
735
+ get: function () { return chunk67OV5CX2_cjs.isTokenOpsSdkError; }
734
736
  });
735
737
  exports.FHE_DISPERSE_KEY = FHE_DISPERSE_KEY;
736
738
  exports.FHE_DISPERSE_NAMESPACE = FHE_DISPERSE_NAMESPACE;
@@ -1,16 +1,18 @@
1
- import { resolveEncryptor, createConfidentialDisperseClient } from '../../chunk-QET3Q4JP.js';
2
- export { AlreadyRegisteredError, DEFAULT_ADMIN_ROLE, DisperseEncryptedReserveNotGrantedError, DisperseSubwalletNotFoundError, FEE_COLLECTOR_ROLE, FEE_MANAGER_ROLE, NotRegisteredError, PAUSER_ROLE, SingletonNotApprovedError, SubwalletsNotApprovedError, WITHDRAWER_ROLE, computeSubtotals, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../../chunk-QET3Q4JP.js';
3
- export { useEnsureOperator, useIsOperator } from '../../chunk-U57COLUE.js';
1
+ import { resolveEncryptor, createConfidentialDisperseClient } from '../../chunk-44YJPMQC.js';
2
+ export { AlreadyRegisteredError, DEFAULT_ADMIN_ROLE, DisperseEncryptedReserveNotGrantedError, DisperseSubwalletNotFoundError, FEE_COLLECTOR_ROLE, FEE_MANAGER_ROLE, NotRegisteredError, PAUSER_ROLE, SingletonNotApprovedError, SubwalletsNotApprovedError, WITHDRAWER_ROLE, computeSubtotals, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../../chunk-44YJPMQC.js';
3
+ export { useEnsureOperator, useIsOperator } from '../../chunk-AXIPOR3C.js';
4
4
  import '../../chunk-FT4LNBOS.js';
5
- import '../../chunk-4KJ66YRH.js';
6
- import '../../chunk-NFW7AUEX.js';
7
- import '../../chunk-YPYCWLYP.js';
5
+ import '../../chunk-4TSDNZQ3.js';
6
+ import '../../chunk-WMACINXO.js';
7
+ import '../../chunk-ZWXJTBZO.js';
8
8
  import '../../chunk-7VELUOMI.js';
9
- import '../../chunk-6WSNS3UV.js';
10
- import { getFheDisperseSingletonAddress } from '../../chunk-QKKBBH7I.js';
11
- import '../../chunk-46T67CE2.js';
12
- import { MissingClientError, DeploymentAddressUnavailableError } from '../../chunk-DRSPMIZ7.js';
13
- export { AccessDeniedError, AlreadyInitializedError, BatchTooLargeError, ContractRevertError, DecryptionFailedError, DeploymentAddressUnavailableError, EncryptionFailedError, FeatureDisabledError, FheHandleNotAllowedError, InsufficientBalanceError, InsufficientFeeError, InsufficientGasFundsError, InvalidArgumentError, InvalidSignatureError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, NetworkError, OperatorNotApprovedError, PausedError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ReentrancyError, RelayerUnreachableError, SigningFailedError, TokenOpsSdkError, TransferFailedError, UnknownWriteFailureError, UnsupportedChainError, UserDecryptNotAllowedError, UserRejectedSignatureError, WalletChainMismatchError, WalletRejectedError, isTokenOpsSdkError } from '../../chunk-DRSPMIZ7.js';
9
+ import '../../chunk-NWFMBLSQ.js';
10
+ import '../../chunk-4RAAATVY.js';
11
+ import { getFheDisperseSingletonAddress } from '../../chunk-A4DCEE33.js';
12
+ import '../../chunk-ZA673I3O.js';
13
+ import '../../chunk-KWFFIJYX.js';
14
+ import { MissingClientError, DeploymentAddressUnavailableError } from '../../chunk-QBJ7O2B4.js';
15
+ export { AccessDeniedError, AlreadyInitializedError, BatchTooLargeError, ContractRevertError, DecryptionFailedError, DeploymentAddressUnavailableError, EncryptionFailedError, FeatureDisabledError, FheHandleNotAllowedError, InsufficientBalanceError, InsufficientFeeError, InsufficientGasFundsError, InvalidArgumentError, InvalidSignatureError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, NetworkError, OperatorNotApprovedError, PausedError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ReentrancyError, RelayerUnreachableError, SigningFailedError, TokenOpsSdkError, TransferFailedError, UnknownWriteFailureError, UnsupportedChainError, UserDecryptNotAllowedError, UserRejectedSignatureError, WalletChainMismatchError, WalletRejectedError, isTokenOpsSdkError } from '../../chunk-QBJ7O2B4.js';
14
16
  import '../../chunk-Q2GP5UDC.js';
15
17
  import { useQuery, useMutation } from '@tanstack/react-query';
16
18
  import { useRef, useMemo } from 'react';
@@ -1,20 +1,22 @@
1
1
  'use strict';
2
2
 
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');
3
+ var chunkMM5BV5CS_cjs = require('../../chunk-MM5BV5CS.cjs');
4
+ require('../../chunk-UHHMVBLU.cjs');
5
+ require('../../chunk-UG5RKLU2.cjs');
6
+ require('../../chunk-MVDQMV25.cjs');
7
+ require('../../chunk-FT5H2Q7Y.cjs');
8
+ require('../../chunk-JK4XMMKM.cjs');
9
+ require('../../chunk-66IHPTOK.cjs');
10
+ require('../../chunk-67OV5CX2.cjs');
9
11
  require('../../chunk-VJKZWYYJ.cjs');
10
12
 
11
13
 
12
14
 
13
15
  Object.defineProperty(exports, "ConfidentialVestingFactoryAdvancedClient", {
14
16
  enumerable: true,
15
- get: function () { return chunk7G7UOQV4_cjs.ConfidentialVestingFactoryAdvancedClient; }
17
+ get: function () { return chunkMM5BV5CS_cjs.ConfidentialVestingFactoryAdvancedClient; }
16
18
  });
17
19
  Object.defineProperty(exports, "createConfidentialVestingFactoryAdvancedClient", {
18
20
  enumerable: true,
19
- get: function () { return chunk7G7UOQV4_cjs.createConfidentialVestingFactoryAdvancedClient; }
21
+ get: function () { return chunkMM5BV5CS_cjs.createConfidentialVestingFactoryAdvancedClient; }
20
22
  });
@@ -1,7 +1,9 @@
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';
1
+ export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient } from '../../chunk-PYYSB5ZN.js';
2
+ import '../../chunk-WJMEBBU7.js';
3
+ import '../../chunk-NWFMBLSQ.js';
4
+ import '../../chunk-4RAAATVY.js';
5
+ import '../../chunk-A4DCEE33.js';
6
+ import '../../chunk-ZA673I3O.js';
7
+ import '../../chunk-KWFFIJYX.js';
8
+ import '../../chunk-QBJ7O2B4.js';
7
9
  import '../../chunk-Q2GP5UDC.js';