@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
@@ -1,59 +1,62 @@
1
1
  'use strict';
2
2
 
3
- var chunkSEKC7H5Y_cjs = require('../../chunk-SEKC7H5Y.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');
3
+ var chunkWOEETTH7_cjs = require('../../chunk-WOEETTH7.cjs');
4
+ require('../../chunk-ZQUE2B3Q.cjs');
5
+ require('../../chunk-4ZCXK4VI.cjs');
6
+ var chunkCBRL2PJA_cjs = require('../../chunk-CBRL2PJA.cjs');
7
+ var chunkBK7YIVLK_cjs = require('../../chunk-BK7YIVLK.cjs');
8
+ require('../../chunk-UJS4N2XM.cjs');
9
+ var chunkBD4LZBVF_cjs = require('../../chunk-BD4LZBVF.cjs');
10
+ require('../../chunk-SYHNZSZZ.cjs');
11
+ require('../../chunk-FWHYQZ5E.cjs');
12
+ var chunkEUKPOXWR_cjs = require('../../chunk-EUKPOXWR.cjs');
13
+ require('../../chunk-43RFBQ73.cjs');
14
+ require('../../chunk-WUXUWTFW.cjs');
15
+ require('../../chunk-VR3FREBX.cjs');
16
+ var chunk2RNW4MIJ_cjs = require('../../chunk-2RNW4MIJ.cjs');
12
17
  require('../../chunk-VJKZWYYJ.cjs');
13
- require('../../chunk-66IHPTOK.cjs');
14
- var chunk56UI7LUR_cjs = require('../../chunk-56UI7LUR.cjs');
15
18
  var reactQuery = require('@tanstack/react-query');
16
19
 
17
20
  function useConfidentialVestingFactoryImplementation(options = {}) {
18
- const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
21
+ const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
19
22
  return reactQuery.useQuery({
20
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
23
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
21
24
  queryFn: () => client.implementation(),
22
25
  enabled: !!client,
23
26
  staleTime: 0
24
27
  });
25
28
  }
26
29
  function useFactoryDefaultGasFee(options = {}) {
27
- const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
30
+ const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
28
31
  return reactQuery.useQuery({
29
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
32
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
30
33
  queryFn: () => client.defaultGasFee(),
31
34
  enabled: !!client,
32
35
  staleTime: 0
33
36
  });
34
37
  }
35
38
  function useFactoryDefaultTokenFee(options = {}) {
36
- const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
39
+ const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
37
40
  return reactQuery.useQuery({
38
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:defaultTokenFee", chainId, resolvedAddress),
41
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:defaultTokenFee", chainId, resolvedAddress),
39
42
  queryFn: () => client.defaultTokenFee(),
40
43
  enabled: !!client,
41
44
  staleTime: 0
42
45
  });
43
46
  }
44
47
  function useFactoryDefaultFeeType(options = {}) {
45
- const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
48
+ const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
46
49
  return reactQuery.useQuery({
47
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:defaultFeeType", chainId, resolvedAddress),
50
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:defaultFeeType", chainId, resolvedAddress),
48
51
  queryFn: () => client.defaultFeeType(),
49
52
  enabled: !!client,
50
53
  staleTime: 0
51
54
  });
52
55
  }
53
56
  function useFactoryFeeCollector(options = {}) {
54
- const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
57
+ const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
55
58
  return reactQuery.useQuery({
56
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
59
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
57
60
  queryFn: () => client.feeCollector(),
58
61
  enabled: !!client,
59
62
  staleTime: 0
@@ -61,9 +64,9 @@ function useFactoryFeeCollector(options = {}) {
61
64
  }
62
65
  function useFactoryCustomFee(args = {}) {
63
66
  const { creator, ...base } = args;
64
- const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(base);
67
+ const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(base);
65
68
  return reactQuery.useQuery({
66
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
69
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
67
70
  queryFn: () => client.getCustomFee(creator),
68
71
  enabled: !!client && !!creator,
69
72
  staleTime: 0
@@ -71,9 +74,9 @@ function useFactoryCustomFee(args = {}) {
71
74
  }
72
75
  function useFactoryInitCodeHash(args = {}) {
73
76
  const { token, deployer, splitEnabled, pausableEnabled, ...base } = args;
74
- const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(base);
77
+ const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(base);
75
78
  return reactQuery.useQuery({
76
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey(
79
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
77
80
  "factory:getInitCodeHash",
78
81
  chainId,
79
82
  resolvedAddress,
@@ -93,188 +96,188 @@ function useFactoryInitCodeHash(args = {}) {
93
96
  });
94
97
  }
95
98
  function useCreateManagerAndGetAddress(options = {}) {
96
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
99
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
97
100
  return reactQuery.useMutation({
98
101
  mutationFn: async (args) => {
99
102
  if (!client) {
100
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useCreateManagerAndGetAddress", "factory");
103
+ throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useCreateManagerAndGetAddress", "factory");
101
104
  }
102
105
  return client.createManagerAndGetAddress(args);
103
106
  }
104
107
  });
105
108
  }
106
109
  function useCreateManager(options = {}) {
107
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
110
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
108
111
  return reactQuery.useMutation({
109
112
  mutationFn: async (args) => {
110
113
  if (!client) {
111
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useCreateManager", "factory");
114
+ throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useCreateManager", "factory");
112
115
  }
113
116
  return client.createManager(args);
114
117
  }
115
118
  });
116
119
  }
117
120
  function useSetDefaultGasFee(options = {}) {
118
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
121
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
119
122
  return reactQuery.useMutation({
120
123
  mutationFn: async ({ fee, account }) => {
121
124
  if (!client)
122
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetDefaultGasFee", "factory");
125
+ throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetDefaultGasFee", "factory");
123
126
  return client.setDefaultGasFee(fee, account);
124
127
  }
125
128
  });
126
129
  }
127
130
  function useSetDefaultTokenFee(options = {}) {
128
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
131
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
129
132
  return reactQuery.useMutation({
130
133
  mutationFn: async ({ feeBps, account }) => {
131
134
  if (!client)
132
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetDefaultTokenFee", "factory");
135
+ throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetDefaultTokenFee", "factory");
133
136
  return client.setDefaultTokenFee(feeBps, account);
134
137
  }
135
138
  });
136
139
  }
137
140
  function useSetDefaultFeeType(options = {}) {
138
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
141
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
139
142
  return reactQuery.useMutation({
140
143
  mutationFn: async ({ feeType, account }) => {
141
144
  if (!client)
142
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetDefaultFeeType", "factory");
145
+ throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetDefaultFeeType", "factory");
143
146
  return client.setDefaultFeeType(feeType, account);
144
147
  }
145
148
  });
146
149
  }
147
150
  function useResetGasFee(options = {}) {
148
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
151
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
149
152
  return reactQuery.useMutation({
150
153
  mutationFn: async (args) => {
151
- if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useResetGasFee", "factory");
154
+ if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useResetGasFee", "factory");
152
155
  return client.resetGasFee(args?.account);
153
156
  }
154
157
  });
155
158
  }
156
159
  function useResetTokenFee(options = {}) {
157
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
160
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
158
161
  return reactQuery.useMutation({
159
162
  mutationFn: async (args) => {
160
- if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useResetTokenFee", "factory");
163
+ if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useResetTokenFee", "factory");
161
164
  return client.resetTokenFee(args?.account);
162
165
  }
163
166
  });
164
167
  }
165
168
  function useSetCustomFee(options = {}) {
166
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
169
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
167
170
  return reactQuery.useMutation({
168
171
  mutationFn: async ({ creator, feeType, gasFee, tokenFee, account }) => {
169
- if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetCustomFee", "factory");
172
+ if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetCustomFee", "factory");
170
173
  return client.setCustomFee({ creator, feeType, gasFee, tokenFee }, account);
171
174
  }
172
175
  });
173
176
  }
174
177
  function useDisableCustomFee(options = {}) {
175
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
178
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
176
179
  return reactQuery.useMutation({
177
180
  mutationFn: async ({ creator, account }) => {
178
181
  if (!client)
179
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useDisableCustomFee", "factory");
182
+ throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useDisableCustomFee", "factory");
180
183
  return client.disableCustomFee(creator, account);
181
184
  }
182
185
  });
183
186
  }
184
187
  function useSetFeeCollector(options = {}) {
185
- const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
188
+ const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
186
189
  return reactQuery.useMutation({
187
190
  mutationFn: async ({ newCollector, account }) => {
188
- if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetFeeCollector", "factory");
191
+ if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetFeeCollector", "factory");
189
192
  return client.setFeeCollector(newCollector, account);
190
193
  }
191
194
  });
192
195
  }
193
196
  function useManagerToken(options) {
194
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
197
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
195
198
  return reactQuery.useQuery({
196
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:TOKEN_ADDRESS", chainId, options.address),
199
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:TOKEN_ADDRESS", chainId, options.address),
197
200
  queryFn: () => client.token(),
198
201
  enabled: !!client,
199
202
  staleTime: 0
200
203
  });
201
204
  }
202
205
  function useManagerFeeType(options) {
203
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
206
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
204
207
  return reactQuery.useQuery({
205
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:FEE_TYPE", chainId, options.address),
208
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:FEE_TYPE", chainId, options.address),
206
209
  queryFn: () => client.feeType(),
207
210
  enabled: !!client,
208
211
  staleTime: 0
209
212
  });
210
213
  }
211
214
  function useManagerFee(options) {
212
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
215
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
213
216
  return reactQuery.useQuery({
214
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:FEE", chainId, options.address),
217
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:FEE", chainId, options.address),
215
218
  queryFn: () => client.fee(),
216
219
  enabled: !!client,
217
220
  staleTime: 0
218
221
  });
219
222
  }
220
223
  function useManagerFeeInfo(options) {
221
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
224
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
222
225
  return reactQuery.useQuery({
223
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getFeeInfo", chainId, options.address),
226
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getFeeInfo", chainId, options.address),
224
227
  queryFn: () => client.getFeeInfo(),
225
228
  enabled: !!client,
226
229
  staleTime: 0
227
230
  });
228
231
  }
229
232
  function useManagerDeploymentBlockNumber(options) {
230
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
233
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
231
234
  return reactQuery.useQuery({
232
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:DEPLOYMENT_BLOCK_NUMBER", chainId, options.address),
235
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:DEPLOYMENT_BLOCK_NUMBER", chainId, options.address),
233
236
  queryFn: () => client.deploymentBlockNumber(),
234
237
  enabled: !!client,
235
238
  staleTime: 0
236
239
  });
237
240
  }
238
241
  function useManagerIsSplitEnabled(options) {
239
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
242
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
240
243
  return reactQuery.useQuery({
241
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:isSplitEnabled", chainId, options.address),
244
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:isSplitEnabled", chainId, options.address),
242
245
  queryFn: () => client.isSplitEnabled(),
243
246
  enabled: !!client,
244
247
  staleTime: 0
245
248
  });
246
249
  }
247
250
  function useManagerIsPausable(options) {
248
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
251
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
249
252
  return reactQuery.useQuery({
250
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:isPausable", chainId, options.address),
253
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:isPausable", chainId, options.address),
251
254
  queryFn: () => client.isPausable(),
252
255
  enabled: !!client,
253
256
  staleTime: 0
254
257
  });
255
258
  }
256
259
  function useManagerPaused(options) {
257
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
260
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
258
261
  return reactQuery.useQuery({
259
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:paused", chainId, options.address),
262
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:paused", chainId, options.address),
260
263
  queryFn: () => client.paused(),
261
264
  enabled: !!client,
262
265
  staleTime: 0
263
266
  });
264
267
  }
265
268
  function useManagerMaxBatchSize(options) {
266
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
269
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
267
270
  return reactQuery.useQuery({
268
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:maxBatchSize", chainId, options.address),
271
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:maxBatchSize", chainId, options.address),
269
272
  queryFn: () => client.maxBatchSize(),
270
273
  enabled: !!client,
271
274
  staleTime: 0
272
275
  });
273
276
  }
274
277
  function useManagerMaxRevokeBatchSize(options) {
275
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
278
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
276
279
  return reactQuery.useQuery({
277
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:maxRevokeBatchSize", chainId, options.address),
280
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:maxRevokeBatchSize", chainId, options.address),
278
281
  queryFn: () => client.maxRevokeBatchSize(),
279
282
  enabled: !!client,
280
283
  staleTime: 0
@@ -282,27 +285,27 @@ function useManagerMaxRevokeBatchSize(options) {
282
285
  }
283
286
  function useVestingInfo(args) {
284
287
  const { vestingId, ...base } = args;
285
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
288
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
286
289
  return reactQuery.useQuery({
287
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getVestingInfo", chainId, base.address, vestingId),
290
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getVestingInfo", chainId, base.address, vestingId),
288
291
  queryFn: () => client.getVestingInfo(vestingId),
289
292
  enabled: !!client && !!vestingId,
290
293
  staleTime: 0
291
294
  });
292
295
  }
293
296
  function useAllRecipients(options) {
294
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
297
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
295
298
  return reactQuery.useQuery({
296
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getAllRecipients", chainId, options.address),
299
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getAllRecipients", chainId, options.address),
297
300
  queryFn: () => client.getAllRecipients(),
298
301
  enabled: !!client,
299
302
  staleTime: 0
300
303
  });
301
304
  }
302
305
  function useAllRecipientsLength(options) {
303
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
306
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
304
307
  return reactQuery.useQuery({
305
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getAllRecipientsLength", chainId, options.address),
308
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getAllRecipientsLength", chainId, options.address),
306
309
  queryFn: () => client.getAllRecipientsLength(),
307
310
  enabled: !!client,
308
311
  staleTime: 0
@@ -310,9 +313,9 @@ function useAllRecipientsLength(options) {
310
313
  }
311
314
  function useAllRecipientsSliced(args) {
312
315
  const { start, end, ...base } = args;
313
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
316
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
314
317
  return reactQuery.useQuery({
315
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getAllRecipientsSliced", chainId, base.address, start, end),
318
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getAllRecipientsSliced", chainId, base.address, start, end),
316
319
  queryFn: () => client.getAllRecipientsSliced(start, end),
317
320
  enabled: !!client && start !== void 0 && end !== void 0,
318
321
  staleTime: 0
@@ -320,19 +323,35 @@ function useAllRecipientsSliced(args) {
320
323
  }
321
324
  function useIsRecipient(args) {
322
325
  const { account, ...base } = args;
323
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
326
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
324
327
  return reactQuery.useQuery({
325
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:isRecipient", chainId, base.address, account),
328
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:isRecipient", chainId, base.address, account),
326
329
  queryFn: () => client.isRecipient(account),
327
330
  enabled: !!client && !!account,
328
331
  staleTime: 0
329
332
  });
330
333
  }
334
+ function usePreflightCreateVesting(args) {
335
+ const { params, creator, ...base } = args;
336
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
337
+ return reactQuery.useQuery({
338
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
339
+ "manager:preflightCreateVesting",
340
+ chainId,
341
+ base.address,
342
+ creator,
343
+ params
344
+ ),
345
+ queryFn: () => client.preflightCreateVesting({ params, creator }),
346
+ enabled: !!client && !!params && !!creator,
347
+ staleTime: 0
348
+ });
349
+ }
331
350
  function useRecipientVestings(args) {
332
351
  const { recipient, ...base } = args;
333
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
352
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
334
353
  return reactQuery.useQuery({
335
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getAllRecipientVestings", chainId, base.address, recipient),
354
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getAllRecipientVestings", chainId, base.address, recipient),
336
355
  queryFn: () => client.getAllRecipientVestings(recipient),
337
356
  enabled: !!client && !!recipient,
338
357
  staleTime: 0
@@ -340,9 +359,9 @@ function useRecipientVestings(args) {
340
359
  }
341
360
  function useRecipientVestingsLength(args) {
342
361
  const { recipient, ...base } = args;
343
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
362
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
344
363
  return reactQuery.useQuery({
345
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey(
364
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
346
365
  "manager:getAllRecipientVestingsLength",
347
366
  chainId,
348
367
  base.address,
@@ -355,9 +374,9 @@ function useRecipientVestingsLength(args) {
355
374
  }
356
375
  function useRecipientVestingsSliced(args) {
357
376
  const { recipient, start, end, ...base } = args;
358
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
377
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
359
378
  return reactQuery.useQuery({
360
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey(
379
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
361
380
  "manager:getAllRecipientVestingsSliced",
362
381
  chainId,
363
382
  base.address,
@@ -372,9 +391,9 @@ function useRecipientVestingsSliced(args) {
372
391
  }
373
392
  function usePendingVestingTransfer(args) {
374
393
  const { vestingId, ...base } = args;
375
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
394
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
376
395
  return reactQuery.useQuery({
377
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getPendingVestingTransfer", chainId, base.address, vestingId),
396
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getPendingVestingTransfer", chainId, base.address, vestingId),
378
397
  queryFn: () => client.getPendingVestingTransfer(vestingId),
379
398
  enabled: !!client && !!vestingId,
380
399
  staleTime: 0
@@ -382,598 +401,618 @@ function usePendingVestingTransfer(args) {
382
401
  }
383
402
  function useHasRole(args) {
384
403
  const { role, account, ...base } = args;
385
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
404
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
386
405
  return reactQuery.useQuery({
387
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:hasRole", chainId, base.address, role, account),
406
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:hasRole", chainId, base.address, role, account),
388
407
  queryFn: () => client.hasRole(role, account),
389
408
  enabled: !!client && !!role && !!account,
390
409
  staleTime: 0
391
410
  });
392
411
  }
393
412
  function useRoleConstants(options) {
394
- const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
413
+ const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
395
414
  return reactQuery.useQuery({
396
- queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:roleConstants", chainId, options.address),
415
+ queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:roleConstants", chainId, options.address),
397
416
  queryFn: () => client.roleConstants(),
398
417
  enabled: !!client,
399
418
  staleTime: 0
400
419
  });
401
420
  }
402
- function useGetVestedAmount(options) {
403
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
421
+ function useAccessVestedAmount(options) {
422
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
404
423
  return reactQuery.useMutation({
405
424
  mutationFn: async (args) => {
406
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetVestedAmount", "manager");
425
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessVestedAmount", "manager");
407
426
  return client.getVestedAmount(args);
408
427
  }
409
428
  });
410
429
  }
411
- function useGetClaimableAmount(options) {
412
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
430
+ var useGetVestedAmount = useAccessVestedAmount;
431
+ function useAccessClaimableAmount(options) {
432
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
413
433
  return reactQuery.useMutation({
414
434
  mutationFn: async (args) => {
415
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetClaimableAmount", "manager");
435
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessClaimableAmount", "manager");
416
436
  return client.getClaimableAmount(args);
417
437
  }
418
438
  });
419
439
  }
420
- function useGetTotalAllocation(options) {
421
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
440
+ var useGetClaimableAmount = useAccessClaimableAmount;
441
+ function useAccessTotalAllocation(options) {
442
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
422
443
  return reactQuery.useMutation({
423
444
  mutationFn: async (args) => {
424
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetTotalAllocation", "manager");
445
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessTotalAllocation", "manager");
425
446
  return client.getTotalAllocation(args);
426
447
  }
427
448
  });
428
449
  }
429
- function useGetSettledAmount(options) {
430
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
450
+ var useGetTotalAllocation = useAccessTotalAllocation;
451
+ function useAccessSettledAmount(options) {
452
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
431
453
  return reactQuery.useMutation({
432
454
  mutationFn: async (args) => {
433
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetSettledAmount", "manager");
455
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessSettledAmount", "manager");
434
456
  return client.getSettledAmount(args);
435
457
  }
436
458
  });
437
459
  }
460
+ var useGetSettledAmount = useAccessSettledAmount;
438
461
  function useAdminGetVestedAmount(options) {
439
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
462
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
440
463
  return reactQuery.useMutation({
441
464
  mutationFn: async (args) => {
442
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetVestedAmount", "manager");
465
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetVestedAmount", "manager");
443
466
  return client.adminGetVestedAmount(args);
444
467
  }
445
468
  });
446
469
  }
447
470
  function useAdminGetClaimableAmount(options) {
448
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
471
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
449
472
  return reactQuery.useMutation({
450
473
  mutationFn: async (args) => {
451
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetClaimableAmount", "manager");
474
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetClaimableAmount", "manager");
452
475
  return client.adminGetClaimableAmount(args);
453
476
  }
454
477
  });
455
478
  }
456
479
  function useAdminGetTotalAllocation(options) {
457
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
480
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
458
481
  return reactQuery.useMutation({
459
482
  mutationFn: async (args) => {
460
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetTotalAllocation", "manager");
483
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetTotalAllocation", "manager");
461
484
  return client.adminGetTotalAllocation(args);
462
485
  }
463
486
  });
464
487
  }
465
488
  function useAdminGetSettledAmount(options) {
466
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
489
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
467
490
  return reactQuery.useMutation({
468
491
  mutationFn: async (args) => {
469
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetSettledAmount", "manager");
492
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetSettledAmount", "manager");
470
493
  return client.adminGetSettledAmount(args);
471
494
  }
472
495
  });
473
496
  }
474
497
  function useAdminGetTokenBalance(options) {
475
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
498
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
476
499
  return reactQuery.useMutation({
477
500
  mutationFn: async (args) => {
478
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetTokenBalance", "manager");
501
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetTokenBalance", "manager");
479
502
  return client.adminGetTokenBalance(args);
480
503
  }
481
504
  });
482
505
  }
483
506
  function useCreateVesting(options) {
484
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
507
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
485
508
  return reactQuery.useMutation({
486
509
  mutationFn: async (args) => {
487
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useCreateVesting", "manager");
510
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useCreateVesting", "manager");
488
511
  return client.createVesting(args);
489
512
  }
490
513
  });
491
514
  }
492
515
  function useBatchCreateVesting(options) {
493
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
516
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
494
517
  return reactQuery.useMutation({
495
518
  mutationFn: async (args) => {
496
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useBatchCreateVesting", "manager");
519
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useBatchCreateVesting", "manager");
497
520
  return client.batchCreateVesting(args);
498
521
  }
499
522
  });
500
523
  }
501
524
  function useClaim(options) {
502
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
525
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
503
526
  return reactQuery.useMutation({
504
527
  mutationFn: async (args) => {
505
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useClaim", "manager");
528
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useClaim", "manager");
506
529
  return client.claim(args);
507
530
  }
508
531
  });
509
532
  }
510
533
  function useAdminClaim(options) {
511
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
534
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
512
535
  return reactQuery.useMutation({
513
536
  mutationFn: async (args) => {
514
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminClaim", "manager");
537
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminClaim", "manager");
515
538
  return client.adminClaim(args);
516
539
  }
517
540
  });
518
541
  }
519
542
  function usePartialClaim(options) {
520
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
543
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
521
544
  return reactQuery.useMutation({
522
545
  mutationFn: async (args) => {
523
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("usePartialClaim", "manager");
546
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("usePartialClaim", "manager");
524
547
  return client.partialClaim(args);
525
548
  }
526
549
  });
527
550
  }
528
551
  function useAdminPartialClaim(options) {
529
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
552
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
530
553
  return reactQuery.useMutation({
531
554
  mutationFn: async (args) => {
532
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminPartialClaim", "manager");
555
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminPartialClaim", "manager");
533
556
  return client.adminPartialClaim(args);
534
557
  }
535
558
  });
536
559
  }
537
560
  function useRevokeVesting(options) {
538
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
561
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
539
562
  return reactQuery.useMutation({
540
563
  mutationFn: async ({ vestingId, account }) => {
541
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useRevokeVesting", "manager");
564
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useRevokeVesting", "manager");
542
565
  return client.revokeVesting(vestingId, account);
543
566
  }
544
567
  });
545
568
  }
546
569
  function useBatchRevokeVesting(options) {
547
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
570
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
548
571
  return reactQuery.useMutation({
549
572
  mutationFn: async ({ vestingIds, account }) => {
550
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useBatchRevokeVesting", "manager");
573
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useBatchRevokeVesting", "manager");
551
574
  return client.batchRevokeVesting(vestingIds, account);
552
575
  }
553
576
  });
554
577
  }
555
578
  function useSplitVesting(options) {
556
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
579
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
557
580
  return reactQuery.useMutation({
558
581
  mutationFn: async (args) => {
559
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useSplitVesting", "manager");
582
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useSplitVesting", "manager");
560
583
  return client.splitVesting(args);
561
584
  }
562
585
  });
563
586
  }
564
587
  function useInitiateVestingTransfer(options) {
565
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
588
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
566
589
  return reactQuery.useMutation({
567
590
  mutationFn: async (args) => {
568
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useInitiateVestingTransfer", "manager");
591
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useInitiateVestingTransfer", "manager");
569
592
  return client.initiateVestingTransfer(args);
570
593
  }
571
594
  });
572
595
  }
573
596
  function useAcceptVestingTransfer(options) {
574
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
597
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
575
598
  return reactQuery.useMutation({
576
599
  mutationFn: async ({ vestingId, account }) => {
577
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAcceptVestingTransfer", "manager");
600
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAcceptVestingTransfer", "manager");
578
601
  return client.acceptVestingTransfer(vestingId, account);
579
602
  }
580
603
  });
581
604
  }
582
605
  function useCancelVestingTransfer(options) {
583
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
606
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
584
607
  return reactQuery.useMutation({
585
608
  mutationFn: async ({ vestingId, account }) => {
586
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useCancelVestingTransfer", "manager");
609
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useCancelVestingTransfer", "manager");
587
610
  return client.cancelVestingTransfer(vestingId, account);
588
611
  }
589
612
  });
590
613
  }
591
614
  function useDirectVestingTransfer(options) {
592
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
615
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
593
616
  return reactQuery.useMutation({
594
617
  mutationFn: async ({ vestingId, newOwner, account }) => {
595
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useDirectVestingTransfer", "manager");
618
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useDirectVestingTransfer", "manager");
596
619
  return client.directVestingTransfer(vestingId, newOwner, account);
597
620
  }
598
621
  });
599
622
  }
600
623
  function useDiscloseToParty(options) {
601
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
624
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
602
625
  return reactQuery.useMutation({
603
626
  mutationFn: async (args) => {
604
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useDiscloseToParty", "manager");
627
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useDiscloseToParty", "manager");
605
628
  return client.discloseToParty(args);
606
629
  }
607
630
  });
608
631
  }
609
632
  function useBatchDiscloseToParty(options) {
610
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
633
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
611
634
  return reactQuery.useMutation({
612
635
  mutationFn: async (args) => {
613
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useBatchDiscloseToParty", "manager");
636
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useBatchDiscloseToParty", "manager");
614
637
  return client.batchDiscloseToParty(args);
615
638
  }
616
639
  });
617
640
  }
618
641
  function useAdminDiscloseToParty(options) {
619
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
642
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
620
643
  return reactQuery.useMutation({
621
644
  mutationFn: async (args) => {
622
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminDiscloseToParty", "manager");
645
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminDiscloseToParty", "manager");
623
646
  return client.adminDiscloseToParty(args);
624
647
  }
625
648
  });
626
649
  }
627
650
  function useAdminBatchDiscloseToParty(options) {
628
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
651
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
629
652
  return reactQuery.useMutation({
630
653
  mutationFn: async (args) => {
631
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminBatchDiscloseToParty", "manager");
654
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminBatchDiscloseToParty", "manager");
632
655
  return client.adminBatchDiscloseToParty(args);
633
656
  }
634
657
  });
635
658
  }
636
659
  function useDiscloseHandleToParty(options) {
637
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
660
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
638
661
  return reactQuery.useMutation({
639
662
  mutationFn: async ({ handle, party, account }) => {
640
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useDiscloseHandleToParty", "manager");
663
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useDiscloseHandleToParty", "manager");
641
664
  return client.discloseHandleToParty(handle, party, account);
642
665
  }
643
666
  });
644
667
  }
645
668
  function useBatchDiscloseHandlesToParty(options) {
646
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
669
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
647
670
  return reactQuery.useMutation({
648
671
  mutationFn: async ({ handles, party, account }) => {
649
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useBatchDiscloseHandlesToParty", "manager");
672
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useBatchDiscloseHandlesToParty", "manager");
650
673
  return client.batchDiscloseHandlesToParty(handles, party, account);
651
674
  }
652
675
  });
653
676
  }
654
677
  function useWithdrawAdmin(options) {
655
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
678
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
656
679
  return reactQuery.useMutation({
657
680
  mutationFn: async (args) => {
658
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawAdmin", "manager");
681
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawAdmin", "manager");
659
682
  return client.withdrawAdmin(args);
660
683
  }
661
684
  });
662
685
  }
663
686
  function useWithdrawOtherToken(options) {
664
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
687
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
665
688
  return reactQuery.useMutation({
666
689
  mutationFn: async ({ token, to, account }) => {
667
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawOtherToken", "manager");
690
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawOtherToken", "manager");
668
691
  return client.withdrawOtherToken(token, to, account);
669
692
  }
670
693
  });
671
694
  }
672
695
  function useWithdrawOtherConfidentialToken(options) {
673
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
696
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
674
697
  return reactQuery.useMutation({
675
698
  mutationFn: async ({ token, to, account }) => {
676
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawOtherConfidentialToken", "manager");
699
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawOtherConfidentialToken", "manager");
677
700
  return client.withdrawOtherConfidentialToken(token, to, account);
678
701
  }
679
702
  });
680
703
  }
681
704
  function useWithdrawGasFee(options) {
682
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
705
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
683
706
  return reactQuery.useMutation({
684
707
  mutationFn: async ({ to, amount, account }) => {
685
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawGasFee", "manager");
708
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawGasFee", "manager");
686
709
  return client.withdrawGasFee(to, amount, account);
687
710
  }
688
711
  });
689
712
  }
690
713
  function useWithdrawTokenFee(options) {
691
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
714
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
692
715
  return reactQuery.useMutation({
693
716
  mutationFn: async (args) => {
694
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawTokenFee", "manager");
717
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawTokenFee", "manager");
695
718
  return client.withdrawTokenFee(args);
696
719
  }
697
720
  });
698
721
  }
699
722
  function useSetMaxBatchSize(options) {
700
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
723
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
701
724
  return reactQuery.useMutation({
702
725
  mutationFn: async ({ newMax, account }) => {
703
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useSetMaxBatchSize", "manager");
726
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useSetMaxBatchSize", "manager");
704
727
  return client.setMaxBatchSize(newMax, account);
705
728
  }
706
729
  });
707
730
  }
708
731
  function useSetMaxRevokeBatchSize(options) {
709
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
732
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
710
733
  return reactQuery.useMutation({
711
734
  mutationFn: async ({ newMax, account }) => {
712
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useSetMaxRevokeBatchSize", "manager");
735
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useSetMaxRevokeBatchSize", "manager");
713
736
  return client.setMaxRevokeBatchSize(newMax, account);
714
737
  }
715
738
  });
716
739
  }
717
740
  function useTransferFeeCollectorRole(options) {
718
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
741
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
719
742
  return reactQuery.useMutation({
720
743
  mutationFn: async ({ newCollector, account }) => {
721
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useTransferFeeCollectorRole", "manager");
744
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useTransferFeeCollectorRole", "manager");
722
745
  return client.transferFeeCollectorRole(newCollector, account);
723
746
  }
724
747
  });
725
748
  }
726
749
  function usePause(options) {
727
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
750
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
728
751
  return reactQuery.useMutation({
729
752
  mutationFn: async (args) => {
730
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("usePause", "manager");
753
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("usePause", "manager");
731
754
  return client.pause(args?.account);
732
755
  }
733
756
  });
734
757
  }
735
758
  function useUnpause(options) {
736
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
759
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
737
760
  return reactQuery.useMutation({
738
761
  mutationFn: async (args) => {
739
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useUnpause", "manager");
762
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useUnpause", "manager");
740
763
  return client.unpause(args?.account);
741
764
  }
742
765
  });
743
766
  }
744
767
  function useGrantRole(options) {
745
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
768
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
746
769
  return reactQuery.useMutation({
747
770
  mutationFn: async ({ role, accountTarget, account }) => {
748
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGrantRole", "manager");
771
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useGrantRole", "manager");
749
772
  return client.grantRole(role, accountTarget, account);
750
773
  }
751
774
  });
752
775
  }
753
776
  function useRevokeRole(options) {
754
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
777
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
755
778
  return reactQuery.useMutation({
756
779
  mutationFn: async ({ role, accountTarget, account }) => {
757
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useRevokeRole", "manager");
780
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useRevokeRole", "manager");
758
781
  return client.revokeRole(role, accountTarget, account);
759
782
  }
760
783
  });
761
784
  }
762
785
  function useRenounceRole(options) {
763
- const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
786
+ const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
764
787
  return reactQuery.useMutation({
765
788
  mutationFn: async ({ role, callerConfirm, account }) => {
766
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useRenounceRole", "manager");
789
+ if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useRenounceRole", "manager");
767
790
  return client.renounceRole(role, callerConfirm, account);
768
791
  }
769
792
  });
770
793
  }
771
794
 
795
+ Object.defineProperty(exports, "useEnsureOperator", {
796
+ enumerable: true,
797
+ get: function () { return chunkWOEETTH7_cjs.useEnsureOperator; }
798
+ });
799
+ Object.defineProperty(exports, "useIsOperator", {
800
+ enumerable: true,
801
+ get: function () { return chunkWOEETTH7_cjs.useIsOperator; }
802
+ });
772
803
  Object.defineProperty(exports, "ClaimLockedError", {
773
804
  enumerable: true,
774
- get: function () { return chunkOYLZEEHF_cjs.ClaimLockedError; }
805
+ get: function () { return chunkBK7YIVLK_cjs.ClaimLockedError; }
775
806
  });
776
807
  Object.defineProperty(exports, "NoPendingTransferError", {
777
808
  enumerable: true,
778
- get: function () { return chunkOYLZEEHF_cjs.NoPendingTransferError; }
809
+ get: function () { return chunkBK7YIVLK_cjs.NoPendingTransferError; }
779
810
  });
780
811
  Object.defineProperty(exports, "NotPendingRecipientError", {
781
812
  enumerable: true,
782
- get: function () { return chunkOYLZEEHF_cjs.NotPendingRecipientError; }
813
+ get: function () { return chunkBK7YIVLK_cjs.NotPendingRecipientError; }
783
814
  });
784
815
  Object.defineProperty(exports, "NotVestingRecipientError", {
785
816
  enumerable: true,
786
- get: function () { return chunkOYLZEEHF_cjs.NotVestingRecipientError; }
817
+ get: function () { return chunkBK7YIVLK_cjs.NotVestingRecipientError; }
787
818
  });
788
819
  Object.defineProperty(exports, "TransferAlreadyPendingError", {
789
820
  enumerable: true,
790
- get: function () { return chunkOYLZEEHF_cjs.TransferAlreadyPendingError; }
821
+ get: function () { return chunkBK7YIVLK_cjs.TransferAlreadyPendingError; }
791
822
  });
792
823
  Object.defineProperty(exports, "TransferExpiredError", {
793
824
  enumerable: true,
794
- get: function () { return chunkOYLZEEHF_cjs.TransferExpiredError; }
825
+ get: function () { return chunkBK7YIVLK_cjs.TransferExpiredError; }
795
826
  });
796
827
  Object.defineProperty(exports, "VestingExpiredError", {
797
828
  enumerable: true,
798
- get: function () { return chunkOYLZEEHF_cjs.VestingExpiredError; }
829
+ get: function () { return chunkBK7YIVLK_cjs.VestingExpiredError; }
799
830
  });
800
831
  Object.defineProperty(exports, "VestingNotFoundError", {
801
832
  enumerable: true,
802
- get: function () { return chunkOYLZEEHF_cjs.VestingNotFoundError; }
833
+ get: function () { return chunkBK7YIVLK_cjs.VestingNotFoundError; }
803
834
  });
804
835
  Object.defineProperty(exports, "VestingNotRevocableError", {
805
836
  enumerable: true,
806
- get: function () { return chunkOYLZEEHF_cjs.VestingNotRevocableError; }
837
+ get: function () { return chunkBK7YIVLK_cjs.VestingNotRevocableError; }
807
838
  });
808
839
  Object.defineProperty(exports, "VestingRevokedError", {
809
840
  enumerable: true,
810
- get: function () { return chunkOYLZEEHF_cjs.VestingRevokedError; }
841
+ get: function () { return chunkBK7YIVLK_cjs.VestingRevokedError; }
811
842
  });
812
843
  Object.defineProperty(exports, "encryptUint64", {
813
844
  enumerable: true,
814
- get: function () { return chunkOYLZEEHF_cjs.encryptUint64; }
845
+ get: function () { return chunkBD4LZBVF_cjs.encryptUint64; }
815
846
  });
816
847
  Object.defineProperty(exports, "encryptUint64Batch", {
817
848
  enumerable: true,
818
- get: function () { return chunkOYLZEEHF_cjs.encryptUint64Batch; }
849
+ get: function () { return chunkBD4LZBVF_cjs.encryptUint64Batch; }
819
850
  });
820
851
  Object.defineProperty(exports, "resolveEncryptor", {
821
852
  enumerable: true,
822
- get: function () { return chunkOYLZEEHF_cjs.resolveEncryptor; }
853
+ get: function () { return chunkBD4LZBVF_cjs.resolveEncryptor; }
823
854
  });
824
855
  Object.defineProperty(exports, "scaleRatio", {
825
856
  enumerable: true,
826
- get: function () { return chunk5SGMJADP_cjs.scaleRatio; }
857
+ get: function () { return chunkBD4LZBVF_cjs.scaleRatio; }
827
858
  });
828
859
  Object.defineProperty(exports, "DisclosureType", {
829
860
  enumerable: true,
830
- get: function () { return chunkSAGJIEQK_cjs.DisclosureType; }
861
+ get: function () { return chunkEUKPOXWR_cjs.DisclosureType; }
831
862
  });
832
863
  Object.defineProperty(exports, "FeeType", {
833
864
  enumerable: true,
834
- get: function () { return chunkSAGJIEQK_cjs.FeeType; }
865
+ get: function () { return chunkEUKPOXWR_cjs.FeeType; }
835
866
  });
836
867
  Object.defineProperty(exports, "AccessDeniedError", {
837
868
  enumerable: true,
838
- get: function () { return chunk56UI7LUR_cjs.AccessDeniedError; }
869
+ get: function () { return chunk2RNW4MIJ_cjs.AccessDeniedError; }
839
870
  });
840
871
  Object.defineProperty(exports, "AlreadyInitializedError", {
841
872
  enumerable: true,
842
- get: function () { return chunk56UI7LUR_cjs.AlreadyInitializedError; }
873
+ get: function () { return chunk2RNW4MIJ_cjs.AlreadyInitializedError; }
843
874
  });
844
875
  Object.defineProperty(exports, "BatchTooLargeError", {
845
876
  enumerable: true,
846
- get: function () { return chunk56UI7LUR_cjs.BatchTooLargeError; }
877
+ get: function () { return chunk2RNW4MIJ_cjs.BatchTooLargeError; }
847
878
  });
848
879
  Object.defineProperty(exports, "ContractRevertError", {
849
880
  enumerable: true,
850
- get: function () { return chunk56UI7LUR_cjs.ContractRevertError; }
881
+ get: function () { return chunk2RNW4MIJ_cjs.ContractRevertError; }
851
882
  });
852
883
  Object.defineProperty(exports, "DecryptionFailedError", {
853
884
  enumerable: true,
854
- get: function () { return chunk56UI7LUR_cjs.DecryptionFailedError; }
885
+ get: function () { return chunk2RNW4MIJ_cjs.DecryptionFailedError; }
855
886
  });
856
887
  Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
857
888
  enumerable: true,
858
- get: function () { return chunk56UI7LUR_cjs.DeploymentAddressUnavailableError; }
889
+ get: function () { return chunk2RNW4MIJ_cjs.DeploymentAddressUnavailableError; }
859
890
  });
860
891
  Object.defineProperty(exports, "EncryptionFailedError", {
861
892
  enumerable: true,
862
- get: function () { return chunk56UI7LUR_cjs.EncryptionFailedError; }
893
+ get: function () { return chunk2RNW4MIJ_cjs.EncryptionFailedError; }
863
894
  });
864
895
  Object.defineProperty(exports, "FeatureDisabledError", {
865
896
  enumerable: true,
866
- get: function () { return chunk56UI7LUR_cjs.FeatureDisabledError; }
897
+ get: function () { return chunk2RNW4MIJ_cjs.FeatureDisabledError; }
867
898
  });
868
899
  Object.defineProperty(exports, "FheHandleNotAllowedError", {
869
900
  enumerable: true,
870
- get: function () { return chunk56UI7LUR_cjs.FheHandleNotAllowedError; }
901
+ get: function () { return chunk2RNW4MIJ_cjs.FheHandleNotAllowedError; }
871
902
  });
872
903
  Object.defineProperty(exports, "InsufficientBalanceError", {
873
904
  enumerable: true,
874
- get: function () { return chunk56UI7LUR_cjs.InsufficientBalanceError; }
905
+ get: function () { return chunk2RNW4MIJ_cjs.InsufficientBalanceError; }
875
906
  });
876
907
  Object.defineProperty(exports, "InsufficientFeeError", {
877
908
  enumerable: true,
878
- get: function () { return chunk56UI7LUR_cjs.InsufficientFeeError; }
909
+ get: function () { return chunk2RNW4MIJ_cjs.InsufficientFeeError; }
879
910
  });
880
911
  Object.defineProperty(exports, "InsufficientGasFundsError", {
881
912
  enumerable: true,
882
- get: function () { return chunk56UI7LUR_cjs.InsufficientGasFundsError; }
913
+ get: function () { return chunk2RNW4MIJ_cjs.InsufficientGasFundsError; }
883
914
  });
884
915
  Object.defineProperty(exports, "InvalidArgumentError", {
885
916
  enumerable: true,
886
- get: function () { return chunk56UI7LUR_cjs.InvalidArgumentError; }
917
+ get: function () { return chunk2RNW4MIJ_cjs.InvalidArgumentError; }
887
918
  });
888
919
  Object.defineProperty(exports, "InvalidSignatureError", {
889
920
  enumerable: true,
890
- get: function () { return chunk56UI7LUR_cjs.InvalidSignatureError; }
921
+ get: function () { return chunk2RNW4MIJ_cjs.InvalidSignatureError; }
891
922
  });
892
923
  Object.defineProperty(exports, "MissingAccountError", {
893
924
  enumerable: true,
894
- get: function () { return chunk56UI7LUR_cjs.MissingAccountError; }
925
+ get: function () { return chunk2RNW4MIJ_cjs.MissingAccountError; }
895
926
  });
896
927
  Object.defineProperty(exports, "MissingClientError", {
897
928
  enumerable: true,
898
- get: function () { return chunk56UI7LUR_cjs.MissingClientError; }
929
+ get: function () { return chunk2RNW4MIJ_cjs.MissingClientError; }
899
930
  });
900
931
  Object.defineProperty(exports, "MissingEncryptorError", {
901
932
  enumerable: true,
902
- get: function () { return chunk56UI7LUR_cjs.MissingEncryptorError; }
933
+ get: function () { return chunk2RNW4MIJ_cjs.MissingEncryptorError; }
903
934
  });
904
935
  Object.defineProperty(exports, "MissingPublicClientError", {
905
936
  enumerable: true,
906
- get: function () { return chunk56UI7LUR_cjs.MissingPublicClientError; }
937
+ get: function () { return chunk2RNW4MIJ_cjs.MissingPublicClientError; }
907
938
  });
908
939
  Object.defineProperty(exports, "MissingWalletClientError", {
909
940
  enumerable: true,
910
- get: function () { return chunk56UI7LUR_cjs.MissingWalletClientError; }
941
+ get: function () { return chunk2RNW4MIJ_cjs.MissingWalletClientError; }
911
942
  });
912
943
  Object.defineProperty(exports, "NetworkError", {
913
944
  enumerable: true,
914
- get: function () { return chunk56UI7LUR_cjs.NetworkError; }
945
+ get: function () { return chunk2RNW4MIJ_cjs.NetworkError; }
946
+ });
947
+ Object.defineProperty(exports, "OperatorNotApprovedError", {
948
+ enumerable: true,
949
+ get: function () { return chunk2RNW4MIJ_cjs.OperatorNotApprovedError; }
915
950
  });
916
951
  Object.defineProperty(exports, "PausedError", {
917
952
  enumerable: true,
918
- get: function () { return chunk56UI7LUR_cjs.PausedError; }
953
+ get: function () { return chunk2RNW4MIJ_cjs.PausedError; }
919
954
  });
920
955
  Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
921
956
  enumerable: true,
922
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventAmbiguousError; }
957
+ get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventAmbiguousError; }
923
958
  });
924
959
  Object.defineProperty(exports, "ReceiptEventNotFoundError", {
925
960
  enumerable: true,
926
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventNotFoundError; }
961
+ get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventNotFoundError; }
927
962
  });
928
963
  Object.defineProperty(exports, "ReentrancyError", {
929
964
  enumerable: true,
930
- get: function () { return chunk56UI7LUR_cjs.ReentrancyError; }
965
+ get: function () { return chunk2RNW4MIJ_cjs.ReentrancyError; }
931
966
  });
932
967
  Object.defineProperty(exports, "RelayerUnreachableError", {
933
968
  enumerable: true,
934
- get: function () { return chunk56UI7LUR_cjs.RelayerUnreachableError; }
969
+ get: function () { return chunk2RNW4MIJ_cjs.RelayerUnreachableError; }
935
970
  });
936
971
  Object.defineProperty(exports, "SigningFailedError", {
937
972
  enumerable: true,
938
- get: function () { return chunk56UI7LUR_cjs.SigningFailedError; }
973
+ get: function () { return chunk2RNW4MIJ_cjs.SigningFailedError; }
939
974
  });
940
975
  Object.defineProperty(exports, "TokenOpsSdkError", {
941
976
  enumerable: true,
942
- get: function () { return chunk56UI7LUR_cjs.TokenOpsSdkError; }
977
+ get: function () { return chunk2RNW4MIJ_cjs.TokenOpsSdkError; }
943
978
  });
944
979
  Object.defineProperty(exports, "TransferFailedError", {
945
980
  enumerable: true,
946
- get: function () { return chunk56UI7LUR_cjs.TransferFailedError; }
981
+ get: function () { return chunk2RNW4MIJ_cjs.TransferFailedError; }
947
982
  });
948
983
  Object.defineProperty(exports, "UnknownWriteFailureError", {
949
984
  enumerable: true,
950
- get: function () { return chunk56UI7LUR_cjs.UnknownWriteFailureError; }
985
+ get: function () { return chunk2RNW4MIJ_cjs.UnknownWriteFailureError; }
951
986
  });
952
987
  Object.defineProperty(exports, "UnsupportedChainError", {
953
988
  enumerable: true,
954
- get: function () { return chunk56UI7LUR_cjs.UnsupportedChainError; }
989
+ get: function () { return chunk2RNW4MIJ_cjs.UnsupportedChainError; }
955
990
  });
956
991
  Object.defineProperty(exports, "UserDecryptNotAllowedError", {
957
992
  enumerable: true,
958
- get: function () { return chunk56UI7LUR_cjs.UserDecryptNotAllowedError; }
993
+ get: function () { return chunk2RNW4MIJ_cjs.UserDecryptNotAllowedError; }
959
994
  });
960
995
  Object.defineProperty(exports, "UserRejectedSignatureError", {
961
996
  enumerable: true,
962
- get: function () { return chunk56UI7LUR_cjs.UserRejectedSignatureError; }
997
+ get: function () { return chunk2RNW4MIJ_cjs.UserRejectedSignatureError; }
963
998
  });
964
999
  Object.defineProperty(exports, "WalletChainMismatchError", {
965
1000
  enumerable: true,
966
- get: function () { return chunk56UI7LUR_cjs.WalletChainMismatchError; }
1001
+ get: function () { return chunk2RNW4MIJ_cjs.WalletChainMismatchError; }
967
1002
  });
968
1003
  Object.defineProperty(exports, "WalletRejectedError", {
969
1004
  enumerable: true,
970
- get: function () { return chunk56UI7LUR_cjs.WalletRejectedError; }
1005
+ get: function () { return chunk2RNW4MIJ_cjs.WalletRejectedError; }
971
1006
  });
972
1007
  Object.defineProperty(exports, "isTokenOpsSdkError", {
973
1008
  enumerable: true,
974
- get: function () { return chunk56UI7LUR_cjs.isTokenOpsSdkError; }
1009
+ get: function () { return chunk2RNW4MIJ_cjs.isTokenOpsSdkError; }
975
1010
  });
976
1011
  exports.useAcceptVestingTransfer = useAcceptVestingTransfer;
1012
+ exports.useAccessClaimableAmount = useAccessClaimableAmount;
1013
+ exports.useAccessSettledAmount = useAccessSettledAmount;
1014
+ exports.useAccessTotalAllocation = useAccessTotalAllocation;
1015
+ exports.useAccessVestedAmount = useAccessVestedAmount;
977
1016
  exports.useAdminBatchDiscloseToParty = useAdminBatchDiscloseToParty;
978
1017
  exports.useAdminClaim = useAdminClaim;
979
1018
  exports.useAdminDiscloseToParty = useAdminDiscloseToParty;
@@ -1027,6 +1066,7 @@ exports.useManagerToken = useManagerToken;
1027
1066
  exports.usePartialClaim = usePartialClaim;
1028
1067
  exports.usePause = usePause;
1029
1068
  exports.usePendingVestingTransfer = usePendingVestingTransfer;
1069
+ exports.usePreflightCreateVesting = usePreflightCreateVesting;
1030
1070
  exports.useRecipientVestings = useRecipientVestings;
1031
1071
  exports.useRecipientVestingsLength = useRecipientVestingsLength;
1032
1072
  exports.useRecipientVestingsSliced = useRecipientVestingsSliced;