@tokenops/sdk 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +102 -18
  2. package/dist/{chunk-HTOMTEA3.cjs → chunk-23F7JIK5.cjs} +2 -2
  3. package/dist/{chunk-ECT3NL2L.js → chunk-3PQ2RFPC.js} +3 -3
  4. package/dist/{chunk-OLDGMKW2.cjs → chunk-3ZRHDTEX.cjs} +33 -0
  5. package/dist/chunk-5KHIQG7Y.cjs +2180 -0
  6. package/dist/{chunk-T5LVV3KY.cjs → chunk-FPQBFIUW.cjs} +3 -3
  7. package/dist/{chunk-QIHZVLIK.js → chunk-FXCW7LVB.js} +1 -1
  8. package/dist/{chunk-K6MFFDBJ.cjs → chunk-G7G75C46.cjs} +6 -6
  9. package/dist/{chunk-72YGZEQE.js → chunk-IR5AK5U5.js} +6 -8
  10. package/dist/{chunk-CMRETRZO.js → chunk-ITQBDRWX.js} +1 -1
  11. package/dist/{chunk-ZHFLRKFY.js → chunk-JJ4R5QXF.js} +1 -1
  12. package/dist/{chunk-COPFW5Z4.js → chunk-M7V2EDPB.js} +30 -1
  13. package/dist/{chunk-UOG4PJL5.js → chunk-OQZAZIAS.js} +8 -10
  14. package/dist/{chunk-SUOG3BQS.cjs → chunk-OYLZEEHF.cjs} +1 -2
  15. package/dist/chunk-QE7ZONJ2.js +2171 -0
  16. package/dist/{chunk-62DF53UQ.cjs → chunk-SAGJIEQK.cjs} +7 -9
  17. package/dist/{chunk-JFR5J4FL.cjs → chunk-SEKC7H5Y.cjs} +8 -8
  18. package/dist/{chunk-6ECAHP5O.cjs → chunk-SYHXDHWX.cjs} +9 -11
  19. package/dist/{chunk-QCA7O2Q5.cjs → chunk-W7JHOK7G.cjs} +4 -4
  20. package/dist/{chunk-52TC6BF7.js → chunk-X56UVEXS.js} +1 -2
  21. package/dist/{chunk-HGXNRR25.js → chunk-XWDVPV42.js} +2 -2
  22. package/dist/core/addresses.d.ts +22 -0
  23. package/dist/core/errors.d.ts +1 -1
  24. package/dist/core/telemetry.d.ts +0 -3
  25. package/dist/fhe/operators.d.ts +1 -1
  26. package/dist/fhe-airdrop/advanced/factory-advanced.d.ts +3 -3
  27. package/dist/fhe-airdrop/advanced/index.cjs +5 -5
  28. package/dist/fhe-airdrop/advanced/index.d.cts +2 -2
  29. package/dist/fhe-airdrop/advanced/index.d.ts +2 -2
  30. package/dist/fhe-airdrop/advanced/index.js +3 -3
  31. package/dist/fhe-airdrop/advanced/react/index.cjs +8 -8
  32. package/dist/fhe-airdrop/advanced/react/index.d.cts +1 -1
  33. package/dist/fhe-airdrop/advanced/react/index.d.ts +1 -1
  34. package/dist/fhe-airdrop/advanced/react/index.js +4 -4
  35. package/dist/fhe-airdrop/factory.d.ts +8 -10
  36. package/dist/fhe-airdrop/index.cjs +9 -9
  37. package/dist/fhe-airdrop/index.js +2 -2
  38. package/dist/fhe-airdrop/react/index.cjs +69 -69
  39. package/dist/fhe-airdrop/react/index.js +4 -4
  40. package/dist/fhe-disperse/index.cjs +19 -19
  41. package/dist/fhe-disperse/index.js +2 -2
  42. package/dist/fhe-disperse/react/index.cjs +20 -20
  43. package/dist/fhe-disperse/react/index.js +3 -3
  44. package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +2 -2
  45. package/dist/fhe-vesting/advanced/factory-advanced.d.ts +2 -2
  46. package/dist/fhe-vesting/advanced/index.cjs +5 -5
  47. package/dist/fhe-vesting/advanced/index.d.cts +2 -2
  48. package/dist/fhe-vesting/advanced/index.d.ts +2 -2
  49. package/dist/fhe-vesting/advanced/index.js +3 -3
  50. package/dist/fhe-vesting/advanced/react/index.cjs +8 -8
  51. package/dist/fhe-vesting/advanced/react/index.d.cts +1 -1
  52. package/dist/fhe-vesting/advanced/react/index.d.ts +1 -1
  53. package/dist/fhe-vesting/advanced/react/index.js +5 -5
  54. package/dist/fhe-vesting/factory.d.ts +6 -8
  55. package/dist/fhe-vesting/index.cjs +25 -25
  56. package/dist/fhe-vesting/index.js +3 -3
  57. package/dist/fhe-vesting/manager.d.ts +1 -2
  58. package/dist/fhe-vesting/react/index.cjs +126 -126
  59. package/dist/fhe-vesting/react/index.js +4 -4
  60. package/dist/fhe-vesting/react/useManagerWithdrawTokenFee.d.ts +1 -1
  61. package/dist/fhe-vesting/types.d.ts +0 -2
  62. package/dist/index.cjs +27 -11
  63. package/dist/index.js +1 -1
  64. package/dist/testnet-faucet/abis/confidential-test-token.d.ts +1039 -0
  65. package/dist/testnet-faucet/abis/index.d.ts +2 -0
  66. package/dist/testnet-faucet/abis/test-token.d.ts +253 -0
  67. package/dist/testnet-faucet/errors.d.ts +21 -0
  68. package/dist/testnet-faucet/faucet.d.ts +173 -0
  69. package/dist/testnet-faucet/index.cjs +208 -0
  70. package/dist/testnet-faucet/index.d.cts +8 -0
  71. package/dist/testnet-faucet/index.d.ts +8 -0
  72. package/dist/testnet-faucet/index.js +7 -0
  73. package/dist/testnet-faucet/react/_shared.d.ts +61 -0
  74. package/dist/testnet-faucet/react/index.cjs +379 -0
  75. package/dist/testnet-faucet/react/index.d.cts +38 -0
  76. package/dist/testnet-faucet/react/index.d.ts +38 -0
  77. package/dist/testnet-faucet/react/index.js +219 -0
  78. package/dist/testnet-faucet/react/useConfidentialBalance.d.ts +24 -0
  79. package/dist/testnet-faucet/react/useFaucetDecimals.d.ts +9 -0
  80. package/dist/testnet-faucet/react/useFaucetMetadata.d.ts +14 -0
  81. package/dist/testnet-faucet/react/useFaucetRate.d.ts +11 -0
  82. package/dist/testnet-faucet/react/useInferredTotalSupply.d.ts +11 -0
  83. package/dist/testnet-faucet/react/useMaxTotalSupply.d.ts +10 -0
  84. package/dist/testnet-faucet/react/useMintConfidential.d.ts +35 -0
  85. package/dist/testnet-faucet/react/useMintUnderlying.d.ts +31 -0
  86. package/dist/testnet-faucet/react/useUnderlyingBalance.d.ts +19 -0
  87. package/dist/testnet-faucet/react/useUnderlyingDecimals.d.ts +9 -0
  88. package/dist/testnet-faucet/react/useUnderlyingTokenAddress.d.ts +12 -0
  89. package/dist/testnet-faucet/types.d.ts +92 -0
  90. package/dist/testnet-faucet/validate.d.ts +44 -0
  91. package/package.json +77 -29
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkJFR5J4FL_cjs = require('../../chunk-JFR5J4FL.cjs');
4
- var chunkSUOG3BQS_cjs = require('../../chunk-SUOG3BQS.cjs');
3
+ var chunkSEKC7H5Y_cjs = require('../../chunk-SEKC7H5Y.cjs');
4
+ var chunkOYLZEEHF_cjs = require('../../chunk-OYLZEEHF.cjs');
5
5
  require('../../chunk-NS44KBV5.cjs');
6
6
  var chunk5SGMJADP_cjs = require('../../chunk-5SGMJADP.cjs');
7
7
  require('../../chunk-Q7ARQSUH.cjs');
8
- var chunk62DF53UQ_cjs = require('../../chunk-62DF53UQ.cjs');
8
+ var chunkSAGJIEQK_cjs = require('../../chunk-SAGJIEQK.cjs');
9
9
  require('../../chunk-VDXVNZCO.cjs');
10
- require('../../chunk-OLDGMKW2.cjs');
10
+ require('../../chunk-3ZRHDTEX.cjs');
11
11
  require('../../chunk-CQIPRNS7.cjs');
12
12
  require('../../chunk-VJKZWYYJ.cjs');
13
13
  require('../../chunk-66IHPTOK.cjs');
@@ -15,45 +15,45 @@ var chunk56UI7LUR_cjs = require('../../chunk-56UI7LUR.cjs');
15
15
  var reactQuery = require('@tanstack/react-query');
16
16
 
17
17
  function useConfidentialVestingFactoryImplementation(options = {}) {
18
- const { client, chainId, resolvedAddress } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
18
+ const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
19
19
  return reactQuery.useQuery({
20
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
20
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
21
21
  queryFn: () => client.implementation(),
22
22
  enabled: !!client,
23
23
  staleTime: 0
24
24
  });
25
25
  }
26
26
  function useFactoryDefaultGasFee(options = {}) {
27
- const { client, chainId, resolvedAddress } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
27
+ const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
28
28
  return reactQuery.useQuery({
29
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
29
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
30
30
  queryFn: () => client.defaultGasFee(),
31
31
  enabled: !!client,
32
32
  staleTime: 0
33
33
  });
34
34
  }
35
35
  function useFactoryDefaultTokenFee(options = {}) {
36
- const { client, chainId, resolvedAddress } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
36
+ const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
37
37
  return reactQuery.useQuery({
38
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("factory:defaultTokenFee", chainId, resolvedAddress),
38
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:defaultTokenFee", chainId, resolvedAddress),
39
39
  queryFn: () => client.defaultTokenFee(),
40
40
  enabled: !!client,
41
41
  staleTime: 0
42
42
  });
43
43
  }
44
44
  function useFactoryDefaultFeeType(options = {}) {
45
- const { client, chainId, resolvedAddress } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
45
+ const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
46
46
  return reactQuery.useQuery({
47
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("factory:defaultFeeType", chainId, resolvedAddress),
47
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:defaultFeeType", chainId, resolvedAddress),
48
48
  queryFn: () => client.defaultFeeType(),
49
49
  enabled: !!client,
50
50
  staleTime: 0
51
51
  });
52
52
  }
53
53
  function useFactoryFeeCollector(options = {}) {
54
- const { client, chainId, resolvedAddress } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
54
+ const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
55
55
  return reactQuery.useQuery({
56
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
56
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
57
57
  queryFn: () => client.feeCollector(),
58
58
  enabled: !!client,
59
59
  staleTime: 0
@@ -61,9 +61,9 @@ function useFactoryFeeCollector(options = {}) {
61
61
  }
62
62
  function useFactoryCustomFee(args = {}) {
63
63
  const { creator, ...base } = args;
64
- const { client, chainId, resolvedAddress } = chunkJFR5J4FL_cjs.useMemoFactoryClient(base);
64
+ const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(base);
65
65
  return reactQuery.useQuery({
66
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
66
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
67
67
  queryFn: () => client.getCustomFee(creator),
68
68
  enabled: !!client && !!creator,
69
69
  staleTime: 0
@@ -71,9 +71,9 @@ function useFactoryCustomFee(args = {}) {
71
71
  }
72
72
  function useFactoryInitCodeHash(args = {}) {
73
73
  const { token, deployer, splitEnabled, pausableEnabled, ...base } = args;
74
- const { client, chainId, resolvedAddress } = chunkJFR5J4FL_cjs.useMemoFactoryClient(base);
74
+ const { client, chainId, resolvedAddress } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(base);
75
75
  return reactQuery.useQuery({
76
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey(
76
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey(
77
77
  "factory:getInitCodeHash",
78
78
  chainId,
79
79
  resolvedAddress,
@@ -93,7 +93,7 @@ function useFactoryInitCodeHash(args = {}) {
93
93
  });
94
94
  }
95
95
  function useCreateManagerAndGetAddress(options = {}) {
96
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
96
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
97
97
  return reactQuery.useMutation({
98
98
  mutationFn: async (args) => {
99
99
  if (!client) {
@@ -104,7 +104,7 @@ function useCreateManagerAndGetAddress(options = {}) {
104
104
  });
105
105
  }
106
106
  function useCreateManager(options = {}) {
107
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
107
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
108
108
  return reactQuery.useMutation({
109
109
  mutationFn: async (args) => {
110
110
  if (!client) {
@@ -115,7 +115,7 @@ function useCreateManager(options = {}) {
115
115
  });
116
116
  }
117
117
  function useSetDefaultGasFee(options = {}) {
118
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
118
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
119
119
  return reactQuery.useMutation({
120
120
  mutationFn: async ({ fee, account }) => {
121
121
  if (!client)
@@ -125,7 +125,7 @@ function useSetDefaultGasFee(options = {}) {
125
125
  });
126
126
  }
127
127
  function useSetDefaultTokenFee(options = {}) {
128
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
128
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
129
129
  return reactQuery.useMutation({
130
130
  mutationFn: async ({ feeBps, account }) => {
131
131
  if (!client)
@@ -135,7 +135,7 @@ function useSetDefaultTokenFee(options = {}) {
135
135
  });
136
136
  }
137
137
  function useSetDefaultFeeType(options = {}) {
138
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
138
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
139
139
  return reactQuery.useMutation({
140
140
  mutationFn: async ({ feeType, account }) => {
141
141
  if (!client)
@@ -145,7 +145,7 @@ function useSetDefaultFeeType(options = {}) {
145
145
  });
146
146
  }
147
147
  function useResetGasFee(options = {}) {
148
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
148
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
149
149
  return reactQuery.useMutation({
150
150
  mutationFn: async (args) => {
151
151
  if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useResetGasFee", "factory");
@@ -154,7 +154,7 @@ function useResetGasFee(options = {}) {
154
154
  });
155
155
  }
156
156
  function useResetTokenFee(options = {}) {
157
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
157
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
158
158
  return reactQuery.useMutation({
159
159
  mutationFn: async (args) => {
160
160
  if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useResetTokenFee", "factory");
@@ -163,7 +163,7 @@ function useResetTokenFee(options = {}) {
163
163
  });
164
164
  }
165
165
  function useSetCustomFee(options = {}) {
166
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
166
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
167
167
  return reactQuery.useMutation({
168
168
  mutationFn: async ({ creator, feeType, gasFee, tokenFee, account }) => {
169
169
  if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetCustomFee", "factory");
@@ -172,7 +172,7 @@ function useSetCustomFee(options = {}) {
172
172
  });
173
173
  }
174
174
  function useDisableCustomFee(options = {}) {
175
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
175
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
176
176
  return reactQuery.useMutation({
177
177
  mutationFn: async ({ creator, account }) => {
178
178
  if (!client)
@@ -182,7 +182,7 @@ function useDisableCustomFee(options = {}) {
182
182
  });
183
183
  }
184
184
  function useSetFeeCollector(options = {}) {
185
- const { client, resolutionError } = chunkJFR5J4FL_cjs.useMemoFactoryClient(options);
185
+ const { client, resolutionError } = chunkSEKC7H5Y_cjs.useMemoFactoryClient(options);
186
186
  return reactQuery.useMutation({
187
187
  mutationFn: async ({ newCollector, account }) => {
188
188
  if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetFeeCollector", "factory");
@@ -191,90 +191,90 @@ function useSetFeeCollector(options = {}) {
191
191
  });
192
192
  }
193
193
  function useManagerToken(options) {
194
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
194
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
195
195
  return reactQuery.useQuery({
196
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:TOKEN_ADDRESS", chainId, options.address),
196
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:TOKEN_ADDRESS", chainId, options.address),
197
197
  queryFn: () => client.token(),
198
198
  enabled: !!client,
199
199
  staleTime: 0
200
200
  });
201
201
  }
202
202
  function useManagerFeeType(options) {
203
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
203
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
204
204
  return reactQuery.useQuery({
205
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:FEE_TYPE", chainId, options.address),
205
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:FEE_TYPE", chainId, options.address),
206
206
  queryFn: () => client.feeType(),
207
207
  enabled: !!client,
208
208
  staleTime: 0
209
209
  });
210
210
  }
211
211
  function useManagerFee(options) {
212
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
212
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
213
213
  return reactQuery.useQuery({
214
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:FEE", chainId, options.address),
214
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:FEE", chainId, options.address),
215
215
  queryFn: () => client.fee(),
216
216
  enabled: !!client,
217
217
  staleTime: 0
218
218
  });
219
219
  }
220
220
  function useManagerFeeInfo(options) {
221
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
221
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
222
222
  return reactQuery.useQuery({
223
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:getFeeInfo", chainId, options.address),
223
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getFeeInfo", chainId, options.address),
224
224
  queryFn: () => client.getFeeInfo(),
225
225
  enabled: !!client,
226
226
  staleTime: 0
227
227
  });
228
228
  }
229
229
  function useManagerDeploymentBlockNumber(options) {
230
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
230
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
231
231
  return reactQuery.useQuery({
232
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:DEPLOYMENT_BLOCK_NUMBER", chainId, options.address),
232
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:DEPLOYMENT_BLOCK_NUMBER", chainId, options.address),
233
233
  queryFn: () => client.deploymentBlockNumber(),
234
234
  enabled: !!client,
235
235
  staleTime: 0
236
236
  });
237
237
  }
238
238
  function useManagerIsSplitEnabled(options) {
239
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
239
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
240
240
  return reactQuery.useQuery({
241
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:isSplitEnabled", chainId, options.address),
241
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:isSplitEnabled", chainId, options.address),
242
242
  queryFn: () => client.isSplitEnabled(),
243
243
  enabled: !!client,
244
244
  staleTime: 0
245
245
  });
246
246
  }
247
247
  function useManagerIsPausable(options) {
248
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
248
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
249
249
  return reactQuery.useQuery({
250
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:isPausable", chainId, options.address),
250
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:isPausable", chainId, options.address),
251
251
  queryFn: () => client.isPausable(),
252
252
  enabled: !!client,
253
253
  staleTime: 0
254
254
  });
255
255
  }
256
256
  function useManagerPaused(options) {
257
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
257
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
258
258
  return reactQuery.useQuery({
259
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:paused", chainId, options.address),
259
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:paused", chainId, options.address),
260
260
  queryFn: () => client.paused(),
261
261
  enabled: !!client,
262
262
  staleTime: 0
263
263
  });
264
264
  }
265
265
  function useManagerMaxBatchSize(options) {
266
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
266
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
267
267
  return reactQuery.useQuery({
268
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:maxBatchSize", chainId, options.address),
268
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:maxBatchSize", chainId, options.address),
269
269
  queryFn: () => client.maxBatchSize(),
270
270
  enabled: !!client,
271
271
  staleTime: 0
272
272
  });
273
273
  }
274
274
  function useManagerMaxRevokeBatchSize(options) {
275
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
275
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
276
276
  return reactQuery.useQuery({
277
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:maxRevokeBatchSize", chainId, options.address),
277
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:maxRevokeBatchSize", chainId, options.address),
278
278
  queryFn: () => client.maxRevokeBatchSize(),
279
279
  enabled: !!client,
280
280
  staleTime: 0
@@ -282,27 +282,27 @@ function useManagerMaxRevokeBatchSize(options) {
282
282
  }
283
283
  function useVestingInfo(args) {
284
284
  const { vestingId, ...base } = args;
285
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(base);
285
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
286
286
  return reactQuery.useQuery({
287
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:getVestingInfo", chainId, base.address, vestingId),
287
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getVestingInfo", chainId, base.address, vestingId),
288
288
  queryFn: () => client.getVestingInfo(vestingId),
289
289
  enabled: !!client && !!vestingId,
290
290
  staleTime: 0
291
291
  });
292
292
  }
293
293
  function useAllRecipients(options) {
294
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
294
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
295
295
  return reactQuery.useQuery({
296
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:getAllRecipients", chainId, options.address),
296
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getAllRecipients", chainId, options.address),
297
297
  queryFn: () => client.getAllRecipients(),
298
298
  enabled: !!client,
299
299
  staleTime: 0
300
300
  });
301
301
  }
302
302
  function useAllRecipientsLength(options) {
303
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
303
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
304
304
  return reactQuery.useQuery({
305
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:getAllRecipientsLength", chainId, options.address),
305
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getAllRecipientsLength", chainId, options.address),
306
306
  queryFn: () => client.getAllRecipientsLength(),
307
307
  enabled: !!client,
308
308
  staleTime: 0
@@ -310,9 +310,9 @@ function useAllRecipientsLength(options) {
310
310
  }
311
311
  function useAllRecipientsSliced(args) {
312
312
  const { start, end, ...base } = args;
313
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(base);
313
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
314
314
  return reactQuery.useQuery({
315
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:getAllRecipientsSliced", chainId, base.address, start, end),
315
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getAllRecipientsSliced", chainId, base.address, start, end),
316
316
  queryFn: () => client.getAllRecipientsSliced(start, end),
317
317
  enabled: !!client && start !== void 0 && end !== void 0,
318
318
  staleTime: 0
@@ -320,9 +320,9 @@ function useAllRecipientsSliced(args) {
320
320
  }
321
321
  function useIsRecipient(args) {
322
322
  const { account, ...base } = args;
323
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(base);
323
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
324
324
  return reactQuery.useQuery({
325
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:isRecipient", chainId, base.address, account),
325
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:isRecipient", chainId, base.address, account),
326
326
  queryFn: () => client.isRecipient(account),
327
327
  enabled: !!client && !!account,
328
328
  staleTime: 0
@@ -330,9 +330,9 @@ function useIsRecipient(args) {
330
330
  }
331
331
  function useRecipientVestings(args) {
332
332
  const { recipient, ...base } = args;
333
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(base);
333
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
334
334
  return reactQuery.useQuery({
335
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:getAllRecipientVestings", chainId, base.address, recipient),
335
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getAllRecipientVestings", chainId, base.address, recipient),
336
336
  queryFn: () => client.getAllRecipientVestings(recipient),
337
337
  enabled: !!client && !!recipient,
338
338
  staleTime: 0
@@ -340,9 +340,9 @@ function useRecipientVestings(args) {
340
340
  }
341
341
  function useRecipientVestingsLength(args) {
342
342
  const { recipient, ...base } = args;
343
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(base);
343
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
344
344
  return reactQuery.useQuery({
345
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey(
345
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey(
346
346
  "manager:getAllRecipientVestingsLength",
347
347
  chainId,
348
348
  base.address,
@@ -355,9 +355,9 @@ function useRecipientVestingsLength(args) {
355
355
  }
356
356
  function useRecipientVestingsSliced(args) {
357
357
  const { recipient, start, end, ...base } = args;
358
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(base);
358
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
359
359
  return reactQuery.useQuery({
360
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey(
360
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey(
361
361
  "manager:getAllRecipientVestingsSliced",
362
362
  chainId,
363
363
  base.address,
@@ -372,9 +372,9 @@ function useRecipientVestingsSliced(args) {
372
372
  }
373
373
  function usePendingVestingTransfer(args) {
374
374
  const { vestingId, ...base } = args;
375
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(base);
375
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
376
376
  return reactQuery.useQuery({
377
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:getPendingVestingTransfer", chainId, base.address, vestingId),
377
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:getPendingVestingTransfer", chainId, base.address, vestingId),
378
378
  queryFn: () => client.getPendingVestingTransfer(vestingId),
379
379
  enabled: !!client && !!vestingId,
380
380
  staleTime: 0
@@ -382,25 +382,25 @@ function usePendingVestingTransfer(args) {
382
382
  }
383
383
  function useHasRole(args) {
384
384
  const { role, account, ...base } = args;
385
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(base);
385
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(base);
386
386
  return reactQuery.useQuery({
387
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:hasRole", chainId, base.address, role, account),
387
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:hasRole", chainId, base.address, role, account),
388
388
  queryFn: () => client.hasRole(role, account),
389
389
  enabled: !!client && !!role && !!account,
390
390
  staleTime: 0
391
391
  });
392
392
  }
393
393
  function useRoleConstants(options) {
394
- const { client, chainId } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
394
+ const { client, chainId } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
395
395
  return reactQuery.useQuery({
396
- queryKey: chunkJFR5J4FL_cjs.buildQueryKey("manager:roleConstants", chainId, options.address),
396
+ queryKey: chunkSEKC7H5Y_cjs.buildQueryKey("manager:roleConstants", chainId, options.address),
397
397
  queryFn: () => client.roleConstants(),
398
398
  enabled: !!client,
399
399
  staleTime: 0
400
400
  });
401
401
  }
402
402
  function useGetVestedAmount(options) {
403
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
403
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
404
404
  return reactQuery.useMutation({
405
405
  mutationFn: async (args) => {
406
406
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetVestedAmount", "manager");
@@ -409,7 +409,7 @@ function useGetVestedAmount(options) {
409
409
  });
410
410
  }
411
411
  function useGetClaimableAmount(options) {
412
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
412
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
413
413
  return reactQuery.useMutation({
414
414
  mutationFn: async (args) => {
415
415
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetClaimableAmount", "manager");
@@ -418,7 +418,7 @@ function useGetClaimableAmount(options) {
418
418
  });
419
419
  }
420
420
  function useGetTotalAllocation(options) {
421
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
421
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
422
422
  return reactQuery.useMutation({
423
423
  mutationFn: async (args) => {
424
424
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetTotalAllocation", "manager");
@@ -427,7 +427,7 @@ function useGetTotalAllocation(options) {
427
427
  });
428
428
  }
429
429
  function useGetSettledAmount(options) {
430
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
430
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
431
431
  return reactQuery.useMutation({
432
432
  mutationFn: async (args) => {
433
433
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetSettledAmount", "manager");
@@ -436,7 +436,7 @@ function useGetSettledAmount(options) {
436
436
  });
437
437
  }
438
438
  function useAdminGetVestedAmount(options) {
439
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
439
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
440
440
  return reactQuery.useMutation({
441
441
  mutationFn: async (args) => {
442
442
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetVestedAmount", "manager");
@@ -445,7 +445,7 @@ function useAdminGetVestedAmount(options) {
445
445
  });
446
446
  }
447
447
  function useAdminGetClaimableAmount(options) {
448
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
448
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
449
449
  return reactQuery.useMutation({
450
450
  mutationFn: async (args) => {
451
451
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetClaimableAmount", "manager");
@@ -454,7 +454,7 @@ function useAdminGetClaimableAmount(options) {
454
454
  });
455
455
  }
456
456
  function useAdminGetTotalAllocation(options) {
457
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
457
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
458
458
  return reactQuery.useMutation({
459
459
  mutationFn: async (args) => {
460
460
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetTotalAllocation", "manager");
@@ -463,7 +463,7 @@ function useAdminGetTotalAllocation(options) {
463
463
  });
464
464
  }
465
465
  function useAdminGetSettledAmount(options) {
466
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
466
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
467
467
  return reactQuery.useMutation({
468
468
  mutationFn: async (args) => {
469
469
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetSettledAmount", "manager");
@@ -472,7 +472,7 @@ function useAdminGetSettledAmount(options) {
472
472
  });
473
473
  }
474
474
  function useAdminGetTokenBalance(options) {
475
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
475
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
476
476
  return reactQuery.useMutation({
477
477
  mutationFn: async (args) => {
478
478
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminGetTokenBalance", "manager");
@@ -481,7 +481,7 @@ function useAdminGetTokenBalance(options) {
481
481
  });
482
482
  }
483
483
  function useCreateVesting(options) {
484
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
484
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
485
485
  return reactQuery.useMutation({
486
486
  mutationFn: async (args) => {
487
487
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useCreateVesting", "manager");
@@ -490,7 +490,7 @@ function useCreateVesting(options) {
490
490
  });
491
491
  }
492
492
  function useBatchCreateVesting(options) {
493
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
493
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
494
494
  return reactQuery.useMutation({
495
495
  mutationFn: async (args) => {
496
496
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useBatchCreateVesting", "manager");
@@ -499,7 +499,7 @@ function useBatchCreateVesting(options) {
499
499
  });
500
500
  }
501
501
  function useClaim(options) {
502
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
502
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
503
503
  return reactQuery.useMutation({
504
504
  mutationFn: async (args) => {
505
505
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useClaim", "manager");
@@ -508,7 +508,7 @@ function useClaim(options) {
508
508
  });
509
509
  }
510
510
  function useAdminClaim(options) {
511
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
511
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
512
512
  return reactQuery.useMutation({
513
513
  mutationFn: async (args) => {
514
514
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminClaim", "manager");
@@ -517,7 +517,7 @@ function useAdminClaim(options) {
517
517
  });
518
518
  }
519
519
  function usePartialClaim(options) {
520
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
520
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
521
521
  return reactQuery.useMutation({
522
522
  mutationFn: async (args) => {
523
523
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("usePartialClaim", "manager");
@@ -526,7 +526,7 @@ function usePartialClaim(options) {
526
526
  });
527
527
  }
528
528
  function useAdminPartialClaim(options) {
529
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
529
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
530
530
  return reactQuery.useMutation({
531
531
  mutationFn: async (args) => {
532
532
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminPartialClaim", "manager");
@@ -535,7 +535,7 @@ function useAdminPartialClaim(options) {
535
535
  });
536
536
  }
537
537
  function useRevokeVesting(options) {
538
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
538
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
539
539
  return reactQuery.useMutation({
540
540
  mutationFn: async ({ vestingId, account }) => {
541
541
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useRevokeVesting", "manager");
@@ -544,7 +544,7 @@ function useRevokeVesting(options) {
544
544
  });
545
545
  }
546
546
  function useBatchRevokeVesting(options) {
547
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
547
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
548
548
  return reactQuery.useMutation({
549
549
  mutationFn: async ({ vestingIds, account }) => {
550
550
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useBatchRevokeVesting", "manager");
@@ -553,7 +553,7 @@ function useBatchRevokeVesting(options) {
553
553
  });
554
554
  }
555
555
  function useSplitVesting(options) {
556
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
556
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
557
557
  return reactQuery.useMutation({
558
558
  mutationFn: async (args) => {
559
559
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useSplitVesting", "manager");
@@ -562,7 +562,7 @@ function useSplitVesting(options) {
562
562
  });
563
563
  }
564
564
  function useInitiateVestingTransfer(options) {
565
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
565
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
566
566
  return reactQuery.useMutation({
567
567
  mutationFn: async (args) => {
568
568
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useInitiateVestingTransfer", "manager");
@@ -571,7 +571,7 @@ function useInitiateVestingTransfer(options) {
571
571
  });
572
572
  }
573
573
  function useAcceptVestingTransfer(options) {
574
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
574
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
575
575
  return reactQuery.useMutation({
576
576
  mutationFn: async ({ vestingId, account }) => {
577
577
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAcceptVestingTransfer", "manager");
@@ -580,7 +580,7 @@ function useAcceptVestingTransfer(options) {
580
580
  });
581
581
  }
582
582
  function useCancelVestingTransfer(options) {
583
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
583
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
584
584
  return reactQuery.useMutation({
585
585
  mutationFn: async ({ vestingId, account }) => {
586
586
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useCancelVestingTransfer", "manager");
@@ -589,7 +589,7 @@ function useCancelVestingTransfer(options) {
589
589
  });
590
590
  }
591
591
  function useDirectVestingTransfer(options) {
592
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
592
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
593
593
  return reactQuery.useMutation({
594
594
  mutationFn: async ({ vestingId, newOwner, account }) => {
595
595
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useDirectVestingTransfer", "manager");
@@ -598,7 +598,7 @@ function useDirectVestingTransfer(options) {
598
598
  });
599
599
  }
600
600
  function useDiscloseToParty(options) {
601
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
601
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
602
602
  return reactQuery.useMutation({
603
603
  mutationFn: async (args) => {
604
604
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useDiscloseToParty", "manager");
@@ -607,7 +607,7 @@ function useDiscloseToParty(options) {
607
607
  });
608
608
  }
609
609
  function useBatchDiscloseToParty(options) {
610
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
610
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
611
611
  return reactQuery.useMutation({
612
612
  mutationFn: async (args) => {
613
613
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useBatchDiscloseToParty", "manager");
@@ -616,7 +616,7 @@ function useBatchDiscloseToParty(options) {
616
616
  });
617
617
  }
618
618
  function useAdminDiscloseToParty(options) {
619
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
619
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
620
620
  return reactQuery.useMutation({
621
621
  mutationFn: async (args) => {
622
622
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminDiscloseToParty", "manager");
@@ -625,7 +625,7 @@ function useAdminDiscloseToParty(options) {
625
625
  });
626
626
  }
627
627
  function useAdminBatchDiscloseToParty(options) {
628
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
628
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
629
629
  return reactQuery.useMutation({
630
630
  mutationFn: async (args) => {
631
631
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAdminBatchDiscloseToParty", "manager");
@@ -634,7 +634,7 @@ function useAdminBatchDiscloseToParty(options) {
634
634
  });
635
635
  }
636
636
  function useDiscloseHandleToParty(options) {
637
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
637
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
638
638
  return reactQuery.useMutation({
639
639
  mutationFn: async ({ handle, party, account }) => {
640
640
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useDiscloseHandleToParty", "manager");
@@ -643,7 +643,7 @@ function useDiscloseHandleToParty(options) {
643
643
  });
644
644
  }
645
645
  function useBatchDiscloseHandlesToParty(options) {
646
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
646
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
647
647
  return reactQuery.useMutation({
648
648
  mutationFn: async ({ handles, party, account }) => {
649
649
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useBatchDiscloseHandlesToParty", "manager");
@@ -652,7 +652,7 @@ function useBatchDiscloseHandlesToParty(options) {
652
652
  });
653
653
  }
654
654
  function useWithdrawAdmin(options) {
655
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
655
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
656
656
  return reactQuery.useMutation({
657
657
  mutationFn: async (args) => {
658
658
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawAdmin", "manager");
@@ -661,7 +661,7 @@ function useWithdrawAdmin(options) {
661
661
  });
662
662
  }
663
663
  function useWithdrawOtherToken(options) {
664
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
664
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
665
665
  return reactQuery.useMutation({
666
666
  mutationFn: async ({ token, to, account }) => {
667
667
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawOtherToken", "manager");
@@ -670,7 +670,7 @@ function useWithdrawOtherToken(options) {
670
670
  });
671
671
  }
672
672
  function useWithdrawOtherConfidentialToken(options) {
673
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
673
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
674
674
  return reactQuery.useMutation({
675
675
  mutationFn: async ({ token, to, account }) => {
676
676
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawOtherConfidentialToken", "manager");
@@ -679,7 +679,7 @@ function useWithdrawOtherConfidentialToken(options) {
679
679
  });
680
680
  }
681
681
  function useWithdrawGasFee(options) {
682
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
682
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
683
683
  return reactQuery.useMutation({
684
684
  mutationFn: async ({ to, amount, account }) => {
685
685
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawGasFee", "manager");
@@ -688,7 +688,7 @@ function useWithdrawGasFee(options) {
688
688
  });
689
689
  }
690
690
  function useWithdrawTokenFee(options) {
691
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
691
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
692
692
  return reactQuery.useMutation({
693
693
  mutationFn: async (args) => {
694
694
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawTokenFee", "manager");
@@ -697,7 +697,7 @@ function useWithdrawTokenFee(options) {
697
697
  });
698
698
  }
699
699
  function useSetMaxBatchSize(options) {
700
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
700
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
701
701
  return reactQuery.useMutation({
702
702
  mutationFn: async ({ newMax, account }) => {
703
703
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useSetMaxBatchSize", "manager");
@@ -706,7 +706,7 @@ function useSetMaxBatchSize(options) {
706
706
  });
707
707
  }
708
708
  function useSetMaxRevokeBatchSize(options) {
709
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
709
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
710
710
  return reactQuery.useMutation({
711
711
  mutationFn: async ({ newMax, account }) => {
712
712
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useSetMaxRevokeBatchSize", "manager");
@@ -715,7 +715,7 @@ function useSetMaxRevokeBatchSize(options) {
715
715
  });
716
716
  }
717
717
  function useTransferFeeCollectorRole(options) {
718
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
718
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
719
719
  return reactQuery.useMutation({
720
720
  mutationFn: async ({ newCollector, account }) => {
721
721
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useTransferFeeCollectorRole", "manager");
@@ -724,7 +724,7 @@ function useTransferFeeCollectorRole(options) {
724
724
  });
725
725
  }
726
726
  function usePause(options) {
727
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
727
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
728
728
  return reactQuery.useMutation({
729
729
  mutationFn: async (args) => {
730
730
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("usePause", "manager");
@@ -733,7 +733,7 @@ function usePause(options) {
733
733
  });
734
734
  }
735
735
  function useUnpause(options) {
736
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
736
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
737
737
  return reactQuery.useMutation({
738
738
  mutationFn: async (args) => {
739
739
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useUnpause", "manager");
@@ -742,7 +742,7 @@ function useUnpause(options) {
742
742
  });
743
743
  }
744
744
  function useGrantRole(options) {
745
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
745
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
746
746
  return reactQuery.useMutation({
747
747
  mutationFn: async ({ role, accountTarget, account }) => {
748
748
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGrantRole", "manager");
@@ -751,7 +751,7 @@ function useGrantRole(options) {
751
751
  });
752
752
  }
753
753
  function useRevokeRole(options) {
754
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
754
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
755
755
  return reactQuery.useMutation({
756
756
  mutationFn: async ({ role, accountTarget, account }) => {
757
757
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useRevokeRole", "manager");
@@ -760,7 +760,7 @@ function useRevokeRole(options) {
760
760
  });
761
761
  }
762
762
  function useRenounceRole(options) {
763
- const { client } = chunkJFR5J4FL_cjs.useMemoManagerClient(options);
763
+ const { client } = chunkSEKC7H5Y_cjs.useMemoManagerClient(options);
764
764
  return reactQuery.useMutation({
765
765
  mutationFn: async ({ role, callerConfirm, account }) => {
766
766
  if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useRenounceRole", "manager");
@@ -771,55 +771,55 @@ function useRenounceRole(options) {
771
771
 
772
772
  Object.defineProperty(exports, "ClaimLockedError", {
773
773
  enumerable: true,
774
- get: function () { return chunkSUOG3BQS_cjs.ClaimLockedError; }
774
+ get: function () { return chunkOYLZEEHF_cjs.ClaimLockedError; }
775
775
  });
776
776
  Object.defineProperty(exports, "NoPendingTransferError", {
777
777
  enumerable: true,
778
- get: function () { return chunkSUOG3BQS_cjs.NoPendingTransferError; }
778
+ get: function () { return chunkOYLZEEHF_cjs.NoPendingTransferError; }
779
779
  });
780
780
  Object.defineProperty(exports, "NotPendingRecipientError", {
781
781
  enumerable: true,
782
- get: function () { return chunkSUOG3BQS_cjs.NotPendingRecipientError; }
782
+ get: function () { return chunkOYLZEEHF_cjs.NotPendingRecipientError; }
783
783
  });
784
784
  Object.defineProperty(exports, "NotVestingRecipientError", {
785
785
  enumerable: true,
786
- get: function () { return chunkSUOG3BQS_cjs.NotVestingRecipientError; }
786
+ get: function () { return chunkOYLZEEHF_cjs.NotVestingRecipientError; }
787
787
  });
788
788
  Object.defineProperty(exports, "TransferAlreadyPendingError", {
789
789
  enumerable: true,
790
- get: function () { return chunkSUOG3BQS_cjs.TransferAlreadyPendingError; }
790
+ get: function () { return chunkOYLZEEHF_cjs.TransferAlreadyPendingError; }
791
791
  });
792
792
  Object.defineProperty(exports, "TransferExpiredError", {
793
793
  enumerable: true,
794
- get: function () { return chunkSUOG3BQS_cjs.TransferExpiredError; }
794
+ get: function () { return chunkOYLZEEHF_cjs.TransferExpiredError; }
795
795
  });
796
796
  Object.defineProperty(exports, "VestingExpiredError", {
797
797
  enumerable: true,
798
- get: function () { return chunkSUOG3BQS_cjs.VestingExpiredError; }
798
+ get: function () { return chunkOYLZEEHF_cjs.VestingExpiredError; }
799
799
  });
800
800
  Object.defineProperty(exports, "VestingNotFoundError", {
801
801
  enumerable: true,
802
- get: function () { return chunkSUOG3BQS_cjs.VestingNotFoundError; }
802
+ get: function () { return chunkOYLZEEHF_cjs.VestingNotFoundError; }
803
803
  });
804
804
  Object.defineProperty(exports, "VestingNotRevocableError", {
805
805
  enumerable: true,
806
- get: function () { return chunkSUOG3BQS_cjs.VestingNotRevocableError; }
806
+ get: function () { return chunkOYLZEEHF_cjs.VestingNotRevocableError; }
807
807
  });
808
808
  Object.defineProperty(exports, "VestingRevokedError", {
809
809
  enumerable: true,
810
- get: function () { return chunkSUOG3BQS_cjs.VestingRevokedError; }
810
+ get: function () { return chunkOYLZEEHF_cjs.VestingRevokedError; }
811
811
  });
812
812
  Object.defineProperty(exports, "encryptUint64", {
813
813
  enumerable: true,
814
- get: function () { return chunkSUOG3BQS_cjs.encryptUint64; }
814
+ get: function () { return chunkOYLZEEHF_cjs.encryptUint64; }
815
815
  });
816
816
  Object.defineProperty(exports, "encryptUint64Batch", {
817
817
  enumerable: true,
818
- get: function () { return chunkSUOG3BQS_cjs.encryptUint64Batch; }
818
+ get: function () { return chunkOYLZEEHF_cjs.encryptUint64Batch; }
819
819
  });
820
820
  Object.defineProperty(exports, "resolveEncryptor", {
821
821
  enumerable: true,
822
- get: function () { return chunkSUOG3BQS_cjs.resolveEncryptor; }
822
+ get: function () { return chunkOYLZEEHF_cjs.resolveEncryptor; }
823
823
  });
824
824
  Object.defineProperty(exports, "scaleRatio", {
825
825
  enumerable: true,
@@ -827,11 +827,11 @@ Object.defineProperty(exports, "scaleRatio", {
827
827
  });
828
828
  Object.defineProperty(exports, "DisclosureType", {
829
829
  enumerable: true,
830
- get: function () { return chunk62DF53UQ_cjs.DisclosureType; }
830
+ get: function () { return chunkSAGJIEQK_cjs.DisclosureType; }
831
831
  });
832
832
  Object.defineProperty(exports, "FeeType", {
833
833
  enumerable: true,
834
- get: function () { return chunk62DF53UQ_cjs.FeeType; }
834
+ get: function () { return chunkSAGJIEQK_cjs.FeeType; }
835
835
  });
836
836
  Object.defineProperty(exports, "AccessDeniedError", {
837
837
  enumerable: true,