@tokenops/sdk 2.0.0-alpha.2 → 2.0.0-alpha.3

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 (80) hide show
  1. package/CHANGELOG.md +39 -3
  2. package/README.md +11 -5
  3. package/dist/{chunk-PZZK3O3S.cjs → chunk-4AWQJQXY.cjs} +391 -43
  4. package/dist/{chunk-SPLNGUFF.js → chunk-4IB4IY5Y.js} +1 -1
  5. package/dist/{chunk-A4DCEE33.js → chunk-6HCT4QIX.js} +11 -10
  6. package/dist/{chunk-MM5BV5CS.cjs → chunk-6XOAYDC6.cjs} +4 -4
  7. package/dist/{chunk-FEDX7B6T.cjs → chunk-AHU2HMNE.cjs} +3 -3
  8. package/dist/{chunk-IGO5XSPS.js → chunk-BPIVVCSQ.js} +2 -2
  9. package/dist/{chunk-X7WBPCEU.js → chunk-BXX5TETM.js} +375 -27
  10. package/dist/{chunk-GADGBQJO.js → chunk-GCJFAY4X.js} +2 -2
  11. package/dist/{chunk-IUKKNJ2R.cjs → chunk-GKYZQJGP.cjs} +7 -7
  12. package/dist/{chunk-3YHBO2DL.cjs → chunk-IEKTGJ4J.cjs} +2 -2
  13. package/dist/{chunk-UHHMVBLU.cjs → chunk-JVNJSDQ4.cjs} +2 -2
  14. package/dist/{chunk-VW356KR3.js → chunk-LEYYG4RF.js} +126 -3
  15. package/dist/{chunk-PYYSB5ZN.js → chunk-NGU4JYIR.js} +1 -1
  16. package/dist/{chunk-FT5H2Q7Y.cjs → chunk-PG3WXT3K.cjs} +11 -10
  17. package/dist/{chunk-44YJPMQC.js → chunk-PK6Q6J5F.js} +1 -1
  18. package/dist/{chunk-EBLBPUPI.cjs → chunk-TND5NDV7.cjs} +18 -10
  19. package/dist/{chunk-EYDA6Q6C.js → chunk-U3TBQRT7.js} +10 -2
  20. package/dist/{chunk-WJMEBBU7.js → chunk-WRWRA4TN.js} +1 -1
  21. package/dist/{chunk-FHWSBGWE.cjs → chunk-YABHXJNH.cjs} +5 -5
  22. package/dist/{chunk-AREQJHKA.cjs → chunk-YTIYTV4K.cjs} +129 -2
  23. package/dist/core/addresses.d.ts +4 -4
  24. package/dist/core/errors.d.ts +1 -1
  25. package/dist/fhe-airdrop/abis/airdrop-base.d.ts +19 -0
  26. package/dist/fhe-airdrop/abis/ecdsa.d.ts +19 -0
  27. package/dist/fhe-airdrop/abis/factory.d.ts +113 -0
  28. package/dist/fhe-airdrop/abis/merkle.d.ts +19 -0
  29. package/dist/fhe-airdrop/advanced/index.cjs +4 -4
  30. package/dist/fhe-airdrop/advanced/index.js +1 -1
  31. package/dist/fhe-airdrop/advanced/react/index.cjs +110 -80
  32. package/dist/fhe-airdrop/advanced/react/index.d.cts +1 -0
  33. package/dist/fhe-airdrop/advanced/react/index.d.ts +1 -0
  34. package/dist/fhe-airdrop/advanced/react/index.js +34 -5
  35. package/dist/fhe-airdrop/advanced/react/useDisableCustomFee.d.ts +2 -1
  36. package/dist/fhe-airdrop/advanced/react/useFactoryRenounceRole.d.ts +4 -3
  37. package/dist/fhe-airdrop/advanced/react/useFactoryRevokeRole.d.ts +9 -7
  38. package/dist/fhe-airdrop/advanced/react/useFactoryRoleMembers.d.ts +6 -5
  39. package/dist/fhe-airdrop/advanced/react/useSetCustomFee.d.ts +2 -1
  40. package/dist/fhe-airdrop/advanced/react/useSetDefaultGasFee.d.ts +5 -3
  41. package/dist/fhe-airdrop/advanced/react/useSetMaxGasFee.d.ts +33 -0
  42. package/dist/fhe-airdrop/airdrop-base.d.ts +47 -8
  43. package/dist/fhe-airdrop/constants.d.ts +9 -1
  44. package/dist/fhe-airdrop/ecdsa.d.ts +13 -0
  45. package/dist/fhe-airdrop/errors.d.ts +59 -0
  46. package/dist/fhe-airdrop/factory.d.ts +62 -22
  47. package/dist/fhe-airdrop/guards.d.ts +87 -2
  48. package/dist/fhe-airdrop/index.cjs +67 -55
  49. package/dist/fhe-airdrop/index.d.cts +3 -3
  50. package/dist/fhe-airdrop/index.d.ts +3 -3
  51. package/dist/fhe-airdrop/index.js +4 -4
  52. package/dist/fhe-airdrop/react/index.cjs +237 -177
  53. package/dist/fhe-airdrop/react/index.d.cts +4 -1
  54. package/dist/fhe-airdrop/react/index.d.ts +4 -1
  55. package/dist/fhe-airdrop/react/index.js +72 -15
  56. package/dist/fhe-airdrop/react/keys.d.ts +8 -0
  57. package/dist/fhe-airdrop/react/useFactoryFees.d.ts +11 -4
  58. package/dist/fhe-airdrop/react/useIsAirdrop.d.ts +44 -0
  59. package/dist/fhe-airdrop/react/useRefreshComplianceBalance.d.ts +36 -0
  60. package/dist/fhe-airdrop/react/useResolveGasFee.d.ts +30 -0
  61. package/dist/fhe-airdrop/types.d.ts +13 -0
  62. package/dist/fhe-disperse/index.cjs +21 -21
  63. package/dist/fhe-disperse/index.js +2 -2
  64. package/dist/fhe-disperse/react/index.cjs +22 -22
  65. package/dist/fhe-disperse/react/index.js +3 -3
  66. package/dist/fhe-vesting/advanced/index.cjs +5 -5
  67. package/dist/fhe-vesting/advanced/index.js +3 -3
  68. package/dist/fhe-vesting/advanced/react/index.cjs +7 -7
  69. package/dist/fhe-vesting/advanced/react/index.js +4 -4
  70. package/dist/fhe-vesting/index.cjs +8 -8
  71. package/dist/fhe-vesting/index.js +2 -2
  72. package/dist/fhe-vesting/react/index.cjs +114 -114
  73. package/dist/fhe-vesting/react/index.js +3 -3
  74. package/dist/index.cjs +18 -18
  75. package/dist/index.js +1 -1
  76. package/dist/testnet-faucet/index.cjs +14 -14
  77. package/dist/testnet-faucet/index.js +2 -2
  78. package/dist/testnet-faucet/react/index.cjs +8 -8
  79. package/dist/testnet-faucet/react/index.js +3 -3
  80. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkIUKKNJ2R_cjs = require('../../chunk-IUKKNJ2R.cjs');
4
- var chunkEBLBPUPI_cjs = require('../../chunk-EBLBPUPI.cjs');
5
- var chunkPZZK3O3S_cjs = require('../../chunk-PZZK3O3S.cjs');
6
- var chunkAREQJHKA_cjs = require('../../chunk-AREQJHKA.cjs');
3
+ var chunkGKYZQJGP_cjs = require('../../chunk-GKYZQJGP.cjs');
4
+ var chunkTND5NDV7_cjs = require('../../chunk-TND5NDV7.cjs');
5
+ var chunk4AWQJQXY_cjs = require('../../chunk-4AWQJQXY.cjs');
6
+ var chunkYTIYTV4K_cjs = require('../../chunk-YTIYTV4K.cjs');
7
7
  require('../../chunk-FAXIIH5R.cjs');
8
8
  require('../../chunk-UG5RKLU2.cjs');
9
9
  require('../../chunk-MVDQMV25.cjs');
10
- require('../../chunk-FT5H2Q7Y.cjs');
10
+ require('../../chunk-PG3WXT3K.cjs');
11
11
  require('../../chunk-JK4XMMKM.cjs');
12
12
  require('../../chunk-66IHPTOK.cjs');
13
13
  var chunk67OV5CX2_cjs = require('../../chunk-67OV5CX2.cjs');
@@ -16,19 +16,19 @@ var reactQuery = require('@tanstack/react-query');
16
16
  var react = require('react');
17
17
 
18
18
  function useAirdropToken(args) {
19
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(args);
19
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(args);
20
20
  return reactQuery.useQuery({
21
21
  ...args.query,
22
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: args.address, fn: "token", args: [] }),
22
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: args.address, fn: "token", args: [] }),
23
23
  queryFn: () => client.token(),
24
24
  enabled: Boolean(client && (args.query?.enabled ?? true))
25
25
  });
26
26
  }
27
27
  function useAirdropWindow(args) {
28
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(args);
28
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(args);
29
29
  return reactQuery.useQuery({
30
30
  ...args.query,
31
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: args.address, fn: "window", args: [] }),
31
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: args.address, fn: "window", args: [] }),
32
32
  queryFn: async () => {
33
33
  const [startTime, endTime, hasStarted, hasEnded, isActive] = await Promise.all([
34
34
  client.startTime(),
@@ -43,29 +43,29 @@ function useAirdropWindow(args) {
43
43
  });
44
44
  }
45
45
  function useAirdropPaused(args) {
46
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(args);
46
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(args);
47
47
  return reactQuery.useQuery({
48
48
  ...args.query,
49
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: args.address, fn: "paused", args: [] }),
49
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: args.address, fn: "paused", args: [] }),
50
50
  queryFn: () => client.paused(),
51
51
  enabled: Boolean(client && (args.query?.enabled ?? true))
52
52
  });
53
53
  }
54
54
  function useAirdropGasFee(args) {
55
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(args);
55
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(args);
56
56
  return reactQuery.useQuery({
57
57
  ...args.query,
58
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: args.address, fn: "gasFee", args: [] }),
58
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: args.address, fn: "gasFee", args: [] }),
59
59
  queryFn: () => client.gasFee(),
60
60
  enabled: Boolean(client && (args.query?.enabled ?? true))
61
61
  });
62
62
  }
63
63
  function useAirdropHasRole(args) {
64
64
  const { role, holder, ...base } = args;
65
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(base);
65
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(base);
66
66
  return reactQuery.useQuery({
67
67
  ...args.query,
68
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
68
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
69
69
  chainId,
70
70
  address: args.address,
71
71
  fn: "hasRole",
@@ -76,20 +76,20 @@ function useAirdropHasRole(args) {
76
76
  });
77
77
  }
78
78
  function useMerkleRoot(args) {
79
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(args);
79
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(args);
80
80
  return reactQuery.useQuery({
81
81
  ...args.query,
82
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: args.address, fn: "merkleRoot", args: [] }),
82
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: args.address, fn: "merkleRoot", args: [] }),
83
83
  queryFn: () => client.merkleRoot(),
84
84
  enabled: Boolean(client && (args.query?.enabled ?? true))
85
85
  });
86
86
  }
87
87
  function useClaimedAmount(args) {
88
88
  const { account, ...base } = args;
89
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(base);
89
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(base);
90
90
  return reactQuery.useQuery({
91
91
  ...args.query,
92
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
92
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
93
93
  chainId,
94
94
  address: args.address,
95
95
  fn: "getClaimedAmount",
@@ -100,10 +100,10 @@ function useClaimedAmount(args) {
100
100
  });
101
101
  }
102
102
  function useComplianceManager(args) {
103
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(args);
103
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(args);
104
104
  return reactQuery.useQuery({
105
105
  ...args.query,
106
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
106
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
107
107
  chainId,
108
108
  address: args.address,
109
109
  fn: "complianceManager",
@@ -114,26 +114,42 @@ function useComplianceManager(args) {
114
114
  });
115
115
  }
116
116
  function useFactoryFees(args = {}) {
117
- const { client, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(args);
117
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(args);
118
118
  return reactQuery.useQuery({
119
119
  ...args.query,
120
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: resolvedAddress, fn: "fees", args: [] }),
120
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: resolvedAddress, fn: "fees", args: [] }),
121
121
  queryFn: async () => {
122
- const [feeCollector, defaultGasFee] = await Promise.all([
122
+ const [feeCollector, defaultGasFee, maxGasFee] = await Promise.all([
123
123
  client.feeCollector(),
124
- client.defaultGasFee()
124
+ client.defaultGasFee(),
125
+ client.maxGasFee()
125
126
  ]);
126
- return { feeCollector, defaultGasFee };
127
+ return { feeCollector, defaultGasFee, maxGasFee };
127
128
  },
128
129
  enabled: Boolean(client && (args.query?.enabled ?? true))
129
130
  });
130
131
  }
132
+ function useResolveGasFee(args = {}) {
133
+ const { creator, ...base } = args;
134
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
135
+ return reactQuery.useQuery({
136
+ ...args.query,
137
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
138
+ chainId,
139
+ address: resolvedAddress,
140
+ fn: chunkTND5NDV7_cjs.AIRDROP_FN.resolvedGasFee,
141
+ args: [creator]
142
+ }),
143
+ queryFn: () => client.resolveGasFee(creator),
144
+ enabled: Boolean(client && creator && (args.query?.enabled ?? true))
145
+ });
146
+ }
131
147
  function useFactoryRegistry(args = {}) {
132
148
  const { offset = 0n, limit = 50n, ...base } = args;
133
- const { client, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(base);
149
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
134
150
  return reactQuery.useQuery({
135
151
  ...args.query,
136
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
152
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
137
153
  chainId,
138
154
  address: resolvedAddress,
139
155
  fn: "registry",
@@ -149,12 +165,30 @@ function useFactoryRegistry(args = {}) {
149
165
  enabled: Boolean(client && (args.query?.enabled ?? true))
150
166
  });
151
167
  }
168
+ function useIsAirdrop(args = {}) {
169
+ const { candidate, ...base } = args;
170
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
171
+ return reactQuery.useQuery({
172
+ // Per-result, not blanket: `true` is immutable (append-only registry),
173
+ // `false` is not. See the TSDoc above.
174
+ staleTime: (query) => query.state.data === true ? Infinity : 0,
175
+ ...args.query,
176
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
177
+ chainId,
178
+ address: resolvedAddress,
179
+ fn: chunkTND5NDV7_cjs.AIRDROP_FN.isAirdrop,
180
+ args: [candidate]
181
+ }),
182
+ queryFn: () => client.isAirdrop(candidate),
183
+ enabled: Boolean(client && candidate && (args.query?.enabled ?? true))
184
+ });
185
+ }
152
186
  function useEffectiveUpgradeable(args = {}) {
153
187
  const { creator, ...base } = args;
154
- const { client, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(base);
188
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
155
189
  return reactQuery.useQuery({
156
190
  ...args.query,
157
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
191
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
158
192
  chainId,
159
193
  address: resolvedAddress,
160
194
  fn: "effectiveUpgradeable",
@@ -165,11 +199,11 @@ function useEffectiveUpgradeable(args = {}) {
165
199
  });
166
200
  }
167
201
  function useAirdropConfig(args) {
168
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(args);
202
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(args);
169
203
  return reactQuery.useQuery({
170
204
  staleTime: Infinity,
171
205
  ...args.query,
172
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.config({ chainId, address: args.address }),
206
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.config({ chainId, address: args.address }),
173
207
  queryFn: async () => {
174
208
  const [token, airdropType, unwrappable, complianceManager, gasFee] = await Promise.all([
175
209
  client.token(),
@@ -191,11 +225,11 @@ function useAirdropConfig(args) {
191
225
  });
192
226
  }
193
227
  function useAirdropDeploymentMode(args) {
194
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(args);
228
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(args);
195
229
  return reactQuery.useQuery({
196
230
  staleTime: Infinity,
197
231
  ...args.query,
198
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
232
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
199
233
  chainId,
200
234
  address: args.address,
201
235
  fn: "deploymentMode",
@@ -207,12 +241,12 @@ function useAirdropDeploymentMode(args) {
207
241
  }
208
242
  function useAirdropRoleAdmin(args) {
209
243
  const { role, ...base } = args;
210
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(base);
244
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(base);
211
245
  return reactQuery.useQuery({
212
246
  // A default, not a lock: `query.staleTime` still wins.
213
247
  staleTime: Infinity,
214
248
  ...args.query,
215
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
249
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
216
250
  chainId,
217
251
  address: args.address,
218
252
  fn: "getRoleAdmin",
@@ -224,9 +258,9 @@ function useAirdropRoleAdmin(args) {
224
258
  }
225
259
  function useAirdropRoleConstants(args) {
226
260
  const { variant, dedupMode, ...base } = args;
227
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(base);
228
- const { client: merkleClient } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(base);
229
- const { client: ecdsaClient } = chunkEBLBPUPI_cjs.useMemoEcdsaAirdropClient({
261
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(base);
262
+ const { client: merkleClient } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(base);
263
+ const { client: ecdsaClient } = chunkTND5NDV7_cjs.useMemoEcdsaAirdropClient({
230
264
  ...base,
231
265
  dedupMode: dedupMode ?? "none"
232
266
  });
@@ -236,7 +270,7 @@ function useAirdropRoleConstants(args) {
236
270
  ...args.query,
237
271
  // `variant` is in the key because it changes the SHAPE of the result -
238
272
  // the merkle and ecdsa responses must not share a cache slot.
239
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
273
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
240
274
  chainId,
241
275
  address: args.address,
242
276
  fn: "roleConstants",
@@ -282,10 +316,10 @@ function useAirdropRoleConstants(args) {
282
316
  }
283
317
  function useAirdropRoleMembers(args) {
284
318
  const { role, ...base } = args;
285
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(base);
319
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(base);
286
320
  return reactQuery.useQuery({
287
321
  ...args.query,
288
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.roleMembers({ chainId, address: args.address }, role),
322
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.roleMembers({ chainId, address: args.address }, role),
289
323
  queryFn: async () => {
290
324
  const [members, count] = await Promise.all([
291
325
  client.getRoleMembers(role),
@@ -298,19 +332,19 @@ function useAirdropRoleMembers(args) {
298
332
  }
299
333
  function useComplianceHasRole(args) {
300
334
  const { role, holder, ...base } = args;
301
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(base);
335
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(base);
302
336
  return reactQuery.useQuery({
303
337
  ...args.query,
304
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceHasRole({ chainId, address: args.address }, role, holder),
338
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceHasRole({ chainId, address: args.address }, role, holder),
305
339
  queryFn: () => client.hasRole({ role, holder }),
306
340
  enabled: Boolean(client && role && holder && (args.query?.enabled ?? true))
307
341
  });
308
342
  }
309
343
  function useComplianceInfo(args) {
310
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(args);
344
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(args);
311
345
  return reactQuery.useQuery({
312
346
  ...args.query,
313
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceInfo({ chainId, address: args.address }),
347
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceInfo({ chainId, address: args.address }),
314
348
  queryFn: async () => {
315
349
  const [airdrop, platformDelegate, clientDelegates] = await Promise.all([
316
350
  client.airdrop(),
@@ -324,11 +358,11 @@ function useComplianceInfo(args) {
324
358
  }
325
359
  function useComplianceManagerOf(args = {}) {
326
360
  const { airdrop, ...base } = args;
327
- const { client, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(base);
361
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
328
362
  return reactQuery.useQuery({
329
363
  staleTime: Infinity,
330
364
  ...args.query,
331
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
365
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
332
366
  chainId,
333
367
  address: resolvedAddress,
334
368
  fn: "complianceManagerOf",
@@ -339,12 +373,12 @@ function useComplianceManagerOf(args = {}) {
339
373
  });
340
374
  }
341
375
  function useComplianceRoleConstants(args) {
342
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(args);
376
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(args);
343
377
  return reactQuery.useQuery({
344
378
  // A default, not a lock: `query.staleTime` still wins.
345
379
  staleTime: Infinity,
346
380
  ...args.query,
347
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
381
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
348
382
  chainId,
349
383
  address: args.address,
350
384
  fn: "complianceRoleConstants",
@@ -362,10 +396,10 @@ function useComplianceRoleConstants(args) {
362
396
  }
363
397
  function useComplianceRoleMembers(args) {
364
398
  const { role, ...base } = args;
365
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(base);
399
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(base);
366
400
  return reactQuery.useQuery({
367
401
  ...args.query,
368
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceRoleMembers({ chainId, address: args.address }, role),
402
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceRoleMembers({ chainId, address: args.address }, role),
369
403
  queryFn: async () => {
370
404
  const [members, count] = await Promise.all([
371
405
  client.getRoleMembers(role),
@@ -377,13 +411,13 @@ function useComplianceRoleMembers(args) {
377
411
  });
378
412
  }
379
413
  function useEcdsaDomain(args) {
380
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoEcdsaAirdropClient(args);
414
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoEcdsaAirdropClient(args);
381
415
  return reactQuery.useQuery({
382
416
  staleTime: Infinity,
383
417
  ...args.query,
384
418
  // `dedupMode` is a client-construction concern only; it moves no value
385
419
  // read here, so it stays out of the key.
386
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: args.address, fn: "ecdsaDomain", args: [] }),
420
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: args.address, fn: "ecdsaDomain", args: [] }),
387
421
  queryFn: async () => {
388
422
  const [claimTypehash, domainSeparator, domain] = await Promise.all([
389
423
  client.claimTypehash(),
@@ -397,10 +431,10 @@ function useEcdsaDomain(args) {
397
431
  }
398
432
  function useEffectiveDelegateToCompliance(args = {}) {
399
433
  const { creator, ...base } = args;
400
- const { client, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(base);
434
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
401
435
  return reactQuery.useQuery({
402
436
  ...args.query,
403
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
437
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
404
438
  chainId,
405
439
  address: resolvedAddress,
406
440
  fn: "effectiveDelegateToCompliance",
@@ -412,34 +446,34 @@ function useEffectiveDelegateToCompliance(args = {}) {
412
446
  }
413
447
  function useIsActiveDelegate(args) {
414
448
  const { delegate, ...base } = args;
415
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(base);
449
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(base);
416
450
  return reactQuery.useQuery({
417
451
  ...args.query,
418
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.activeDelegate({ chainId, address: args.address }, delegate),
452
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.activeDelegate({ chainId, address: args.address }, delegate),
419
453
  queryFn: () => client.isActiveDelegate(delegate),
420
454
  enabled: Boolean(client && delegate && (args.query?.enabled ?? true))
421
455
  });
422
456
  }
423
457
  function useIsMerkleRootMutable(args) {
424
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(args);
458
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(args);
425
459
  return reactQuery.useQuery({
426
460
  // Before the spread so a consumer can still opt into refetching.
427
461
  staleTime: Infinity,
428
462
  ...args.query,
429
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.merkleRootMutable({ chainId, address: args.address }),
463
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.merkleRootMutable({ chainId, address: args.address }),
430
464
  queryFn: () => client.isMerkleRootMutable(),
431
465
  enabled: Boolean(client && (args.query?.enabled ?? true))
432
466
  });
433
467
  }
434
468
  function useIsSignatureValid(args) {
435
469
  const { recipient, encryptedAmountHandle, dedupId, deadline, signer, signature, ...base } = args;
436
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoEcdsaAirdropClient(base);
470
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoEcdsaAirdropClient(base);
437
471
  return reactQuery.useQuery({
438
472
  ...args.query,
439
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
473
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
440
474
  chainId,
441
475
  address: args.address,
442
- fn: chunkEBLBPUPI_cjs.AIRDROP_FN.isSignatureValid,
476
+ fn: chunkTND5NDV7_cjs.AIRDROP_FN.isSignatureValid,
443
477
  args: [recipient, encryptedAmountHandle, dedupId, deadline, signer, signature]
444
478
  }),
445
479
  queryFn: () => client.isSignatureValid({
@@ -457,21 +491,21 @@ function useIsSignatureValid(args) {
457
491
  }
458
492
  function usePreflightClaim(args) {
459
493
  const { variant, dedupMode, claimant, account, to, entrypoint, signature, ...base } = args;
460
- const { client: merkleClient, chainId } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(base);
461
- const { client: ecdsaClient } = chunkEBLBPUPI_cjs.useMemoEcdsaAirdropClient({
494
+ const { client: merkleClient, chainId } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(base);
495
+ const { client: ecdsaClient } = chunkTND5NDV7_cjs.useMemoEcdsaAirdropClient({
462
496
  ...base,
463
497
  dedupMode: dedupMode ?? "none"
464
498
  });
465
499
  const client = variant === "ecdsa" ? ecdsaClient : merkleClient;
466
500
  return reactQuery.useQuery({
467
501
  ...args.query,
468
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
502
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
469
503
  chainId,
470
504
  address: args.address,
471
505
  fn: "preflightClaim",
472
506
  args: [variant, claimant, account, to, entrypoint, signature]
473
507
  }),
474
- queryFn: () => chunkAREQJHKA_cjs.preflightClaim({
508
+ queryFn: () => chunkYTIYTV4K_cjs.preflightClaim({
475
509
  airdrop: client,
476
510
  claimant,
477
511
  account,
@@ -483,13 +517,13 @@ function usePreflightClaim(args) {
483
517
  });
484
518
  }
485
519
  function usePreflightCreateAirdrop(args = {}) {
486
- const { client, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(args);
520
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(args);
487
521
  return reactQuery.useQuery({
488
522
  ...args.query,
489
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
523
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
490
524
  chainId,
491
525
  address: resolvedAddress,
492
- fn: chunkEBLBPUPI_cjs.AIRDROP_FN.preflightCreate,
526
+ fn: chunkTND5NDV7_cjs.AIRDROP_FN.preflightCreate,
493
527
  args: [
494
528
  args.variant,
495
529
  args.mode,
@@ -509,7 +543,7 @@ function usePreflightCreateAirdrop(args = {}) {
509
543
  userSalt: args.userSalt,
510
544
  expectedInitCodeHash: args.expectedInitCodeHash
511
545
  };
512
- return args.variant === "merkle" ? chunkAREQJHKA_cjs.preflightCreate({ ...common, variant: "merkle", params: args.params }) : chunkAREQJHKA_cjs.preflightCreate({ ...common, variant: "ecdsa", params: args.params });
546
+ return args.variant === "merkle" ? chunkYTIYTV4K_cjs.preflightCreate({ ...common, variant: "merkle", params: args.params }) : chunkYTIYTV4K_cjs.preflightCreate({ ...common, variant: "ecdsa", params: args.params });
513
547
  },
514
548
  enabled: Boolean(
515
549
  client && args.variant && args.params && args.mode && args.creator && args.userSalt && (args.query?.enabled ?? true)
@@ -517,7 +551,7 @@ function usePreflightCreateAirdrop(args = {}) {
517
551
  });
518
552
  }
519
553
  function useCreateEcdsaAirdrop(options = {}) {
520
- const { client, resolutionError, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(options);
554
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
521
555
  const queryClient = reactQuery.useQueryClient();
522
556
  return reactQuery.useMutation({
523
557
  mutationFn: async (args) => {
@@ -528,13 +562,16 @@ function useCreateEcdsaAirdrop(options = {}) {
528
562
  },
529
563
  onSuccess: () => {
530
564
  void queryClient.invalidateQueries({
531
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKeyPrefix({ chainId, address: resolvedAddress, fn: "registry" })
565
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.registryAll({ chainId, address: resolvedAddress })
566
+ });
567
+ void queryClient.invalidateQueries({
568
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.isAirdropAll({ chainId, address: resolvedAddress })
532
569
  });
533
570
  }
534
571
  });
535
572
  }
536
573
  function useCreateMerkleAirdrop(options = {}) {
537
- const { client, resolutionError, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(options);
574
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
538
575
  const queryClient = reactQuery.useQueryClient();
539
576
  return reactQuery.useMutation({
540
577
  mutationFn: async (args) => {
@@ -545,13 +582,16 @@ function useCreateMerkleAirdrop(options = {}) {
545
582
  },
546
583
  onSuccess: () => {
547
584
  void queryClient.invalidateQueries({
548
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKeyPrefix({ chainId, address: resolvedAddress, fn: "registry" })
585
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.registryAll({ chainId, address: resolvedAddress })
586
+ });
587
+ void queryClient.invalidateQueries({
588
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.isAirdropAll({ chainId, address: resolvedAddress })
549
589
  });
550
590
  }
551
591
  });
552
592
  }
553
593
  function useFundAirdrop(options = {}) {
554
- const { client, resolutionError } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(options);
594
+ const { client, resolutionError } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
555
595
  return reactQuery.useMutation({
556
596
  mutationFn: async (args) => {
557
597
  if (!client) {
@@ -562,7 +602,7 @@ function useFundAirdrop(options = {}) {
562
602
  });
563
603
  }
564
604
  function useEcdsaClaim(options) {
565
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoEcdsaAirdropClient(options);
605
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoEcdsaAirdropClient(options);
566
606
  const queryClient = reactQuery.useQueryClient();
567
607
  return reactQuery.useMutation({
568
608
  mutationFn: async (args) => {
@@ -573,13 +613,13 @@ function useEcdsaClaim(options) {
573
613
  },
574
614
  onSuccess: () => {
575
615
  void queryClient.invalidateQueries({
576
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.isSignatureValidAll({ chainId, address: options.address })
616
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.isSignatureValidAll({ chainId, address: options.address })
577
617
  });
578
618
  }
579
619
  });
580
620
  }
581
621
  function useMerkleClaim(options) {
582
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(options);
622
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(options);
583
623
  const queryClient = reactQuery.useQueryClient();
584
624
  return reactQuery.useMutation({
585
625
  mutationFn: async (args) => {
@@ -592,7 +632,7 @@ function useMerkleClaim(options) {
592
632
  onSuccess: (_hash, _variables, context) => {
593
633
  if (!context?.account) return;
594
634
  void queryClient.invalidateQueries({
595
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
635
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
596
636
  chainId,
597
637
  address: options.address,
598
638
  fn: "getClaimedAmount",
@@ -603,7 +643,7 @@ function useMerkleClaim(options) {
603
643
  });
604
644
  }
605
645
  function useSetMerkleRoot(options) {
606
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(options);
646
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(options);
607
647
  const queryClient = reactQuery.useQueryClient();
608
648
  return reactQuery.useMutation({
609
649
  mutationFn: async (args) => {
@@ -614,7 +654,7 @@ function useSetMerkleRoot(options) {
614
654
  },
615
655
  onSuccess: () => {
616
656
  void queryClient.invalidateQueries({
617
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({
657
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
618
658
  chainId,
619
659
  address: options.address,
620
660
  fn: "merkleRoot",
@@ -625,14 +665,14 @@ function useSetMerkleRoot(options) {
625
665
  });
626
666
  }
627
667
  function useGrantInstanceRoles(options) {
628
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
668
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
629
669
  const queryClient = reactQuery.useQueryClient();
630
670
  return reactQuery.useMutation({
631
671
  mutationFn: async (args) => {
632
672
  if (!client) {
633
673
  throw new chunk67OV5CX2_cjs.MissingClientError("useGrantInstanceRoles", "airdrop-base");
634
674
  }
635
- return chunkIUKKNJ2R_cjs.grantInstanceRoles({
675
+ return chunkGKYZQJGP_cjs.grantInstanceRoles({
636
676
  airdrop: client,
637
677
  assignment: args.assignment,
638
678
  ...args.revokeFromCreator !== void 0 ? { revokeFromCreator: args.revokeFromCreator } : {}
@@ -640,13 +680,13 @@ function useGrantInstanceRoles(options) {
640
680
  },
641
681
  onSuccess: () => {
642
682
  const scope = { chainId, address: options.address };
643
- void queryClient.invalidateQueries({ queryKey: chunkEBLBPUPI_cjs.airdropKeys.hasRoleAll(scope) });
644
- void queryClient.invalidateQueries({ queryKey: chunkEBLBPUPI_cjs.airdropKeys.roleMembersAll(scope) });
683
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.hasRoleAll(scope) });
684
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.roleMembersAll(scope) });
645
685
  }
646
686
  });
647
687
  }
648
688
  function useAirdropPause(options) {
649
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
689
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
650
690
  const queryClient = reactQuery.useQueryClient();
651
691
  return reactQuery.useMutation({
652
692
  mutationFn: async ({ paused, ...rest }) => {
@@ -657,16 +697,16 @@ function useAirdropPause(options) {
657
697
  },
658
698
  onSuccess: () => {
659
699
  void queryClient.invalidateQueries({
660
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: options.address, fn: "paused", args: [] })
700
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: options.address, fn: "paused", args: [] })
661
701
  });
662
702
  void queryClient.invalidateQueries({
663
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: options.address, fn: "window", args: [] })
703
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: options.address, fn: "window", args: [] })
664
704
  });
665
705
  }
666
706
  });
667
707
  }
668
708
  function useExtendClaimWindow(options) {
669
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
709
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
670
710
  const queryClient = reactQuery.useQueryClient();
671
711
  return reactQuery.useMutation({
672
712
  mutationFn: async (args) => {
@@ -677,13 +717,13 @@ function useExtendClaimWindow(options) {
677
717
  },
678
718
  onSuccess: () => {
679
719
  void queryClient.invalidateQueries({
680
- queryKey: chunkEBLBPUPI_cjs.airdropQueryKey({ chainId, address: options.address, fn: "window", args: [] })
720
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({ chainId, address: options.address, fn: "window", args: [] })
681
721
  });
682
722
  }
683
723
  });
684
724
  }
685
725
  function useWithdrawConfidential(options) {
686
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
726
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
687
727
  return reactQuery.useMutation({
688
728
  mutationFn: async (args) => {
689
729
  if (!client) {
@@ -694,7 +734,7 @@ function useWithdrawConfidential(options) {
694
734
  });
695
735
  }
696
736
  function useAddComplianceDelegate(options) {
697
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(options);
737
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(options);
698
738
  const queryClient = reactQuery.useQueryClient();
699
739
  return reactQuery.useMutation({
700
740
  mutationFn: async (args) => {
@@ -705,15 +745,15 @@ function useAddComplianceDelegate(options) {
705
745
  },
706
746
  onSuccess: (_hash, variables) => {
707
747
  const scope = { chainId, address: options.address };
708
- void queryClient.invalidateQueries({ queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceInfo(scope) });
748
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceInfo(scope) });
709
749
  void queryClient.invalidateQueries({
710
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.activeDelegate(scope, variables.delegate)
750
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.activeDelegate(scope, variables.delegate)
711
751
  });
712
752
  }
713
753
  });
714
754
  }
715
755
  function useAirdropGrantRole(options) {
716
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
756
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
717
757
  const queryClient = reactQuery.useQueryClient();
718
758
  return reactQuery.useMutation({
719
759
  mutationFn: async (args) => {
@@ -725,16 +765,16 @@ function useAirdropGrantRole(options) {
725
765
  onSuccess: (_hash, variables) => {
726
766
  const scope = { chainId, address: options.address };
727
767
  void queryClient.invalidateQueries({
728
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.hasRole(scope, variables.role, variables.holder)
768
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.hasRole(scope, variables.role, variables.holder)
729
769
  });
730
770
  void queryClient.invalidateQueries({
731
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.roleMembers(scope, variables.role)
771
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.roleMembers(scope, variables.role)
732
772
  });
733
773
  }
734
774
  });
735
775
  }
736
776
  function useAirdropRenounceRole(options) {
737
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
777
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
738
778
  const queryClient = reactQuery.useQueryClient();
739
779
  return reactQuery.useMutation({
740
780
  mutationFn: async (args) => {
@@ -745,15 +785,15 @@ function useAirdropRenounceRole(options) {
745
785
  },
746
786
  onSuccess: (_hash, variables) => {
747
787
  const scope = { chainId, address: options.address };
748
- void queryClient.invalidateQueries({ queryKey: chunkEBLBPUPI_cjs.airdropKeys.hasRoleAll(scope) });
788
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.hasRoleAll(scope) });
749
789
  void queryClient.invalidateQueries({
750
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.roleMembers(scope, variables.role)
790
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.roleMembers(scope, variables.role)
751
791
  });
752
792
  }
753
793
  });
754
794
  }
755
795
  function useAirdropRevokeRole(options) {
756
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
796
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
757
797
  const queryClient = reactQuery.useQueryClient();
758
798
  return reactQuery.useMutation({
759
799
  mutationFn: async (args) => {
@@ -765,16 +805,16 @@ function useAirdropRevokeRole(options) {
765
805
  onSuccess: (_hash, variables) => {
766
806
  const scope = { chainId, address: options.address };
767
807
  void queryClient.invalidateQueries({
768
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.hasRole(scope, variables.role, variables.holder)
808
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.hasRole(scope, variables.role, variables.holder)
769
809
  });
770
810
  void queryClient.invalidateQueries({
771
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.roleMembers(scope, variables.role)
811
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.roleMembers(scope, variables.role)
772
812
  });
773
813
  }
774
814
  });
775
815
  }
776
816
  function useAirdropUpgradeToAndCall(options) {
777
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
817
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
778
818
  return reactQuery.useMutation({
779
819
  mutationFn: async (args) => {
780
820
  if (!client) {
@@ -785,7 +825,7 @@ function useAirdropUpgradeToAndCall(options) {
785
825
  });
786
826
  }
787
827
  function useBatchDiscloseHandlesToParty(options) {
788
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
828
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
789
829
  return reactQuery.useMutation({
790
830
  mutationFn: async (args) => {
791
831
  if (!client) {
@@ -799,16 +839,16 @@ function useBuildMerkleCampaign(options = {}) {
799
839
  const encryptorSourceRef = react.useRef(options.encryptor);
800
840
  encryptorSourceRef.current = options.encryptor;
801
841
  return reactQuery.useMutation({
802
- mutationFn: async (args) => chunkIUKKNJ2R_cjs.buildMerkleCampaign({
842
+ mutationFn: async (args) => chunkGKYZQJGP_cjs.buildMerkleCampaign({
803
843
  instance: args.instance,
804
844
  recipients: args.recipients,
805
- encryptor: () => chunkPZZK3O3S_cjs.resolveEncryptor(encryptorSourceRef.current),
845
+ encryptor: () => chunk4AWQJQXY_cjs.resolveEncryptor(encryptorSourceRef.current),
806
846
  ...args.submitter !== void 0 ? { submitter: args.submitter } : {}
807
847
  })
808
848
  });
809
849
  }
810
850
  function useComplianceGrantRole(options) {
811
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(options);
851
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(options);
812
852
  const queryClient = reactQuery.useQueryClient();
813
853
  return reactQuery.useMutation({
814
854
  mutationFn: async (args) => {
@@ -820,16 +860,16 @@ function useComplianceGrantRole(options) {
820
860
  onSuccess: (_hash, variables) => {
821
861
  const scope = { chainId, address: options.address };
822
862
  void queryClient.invalidateQueries({
823
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceHasRole(scope, variables.role, variables.holder)
863
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceHasRole(scope, variables.role, variables.holder)
824
864
  });
825
865
  void queryClient.invalidateQueries({
826
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceRoleMembers(scope, variables.role)
866
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceRoleMembers(scope, variables.role)
827
867
  });
828
868
  }
829
869
  });
830
870
  }
831
871
  function useComplianceRenounceRole(options) {
832
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(options);
872
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(options);
833
873
  const queryClient = reactQuery.useQueryClient();
834
874
  return reactQuery.useMutation({
835
875
  mutationFn: async (args) => {
@@ -840,15 +880,15 @@ function useComplianceRenounceRole(options) {
840
880
  },
841
881
  onSuccess: (_hash, variables) => {
842
882
  const scope = { chainId, address: options.address };
843
- void queryClient.invalidateQueries({ queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceHasRoleAll(scope) });
883
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceHasRoleAll(scope) });
844
884
  void queryClient.invalidateQueries({
845
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceRoleMembers(scope, variables.role)
885
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceRoleMembers(scope, variables.role)
846
886
  });
847
887
  }
848
888
  });
849
889
  }
850
890
  function useComplianceRevokeRole(options) {
851
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(options);
891
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(options);
852
892
  const queryClient = reactQuery.useQueryClient();
853
893
  return reactQuery.useMutation({
854
894
  mutationFn: async (args) => {
@@ -860,16 +900,16 @@ function useComplianceRevokeRole(options) {
860
900
  onSuccess: (_hash, variables) => {
861
901
  const scope = { chainId, address: options.address };
862
902
  void queryClient.invalidateQueries({
863
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceHasRole(scope, variables.role, variables.holder)
903
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceHasRole(scope, variables.role, variables.holder)
864
904
  });
865
905
  void queryClient.invalidateQueries({
866
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceRoleMembers(scope, variables.role)
906
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceRoleMembers(scope, variables.role)
867
907
  });
868
908
  }
869
909
  });
870
910
  }
871
911
  function useCreateAndFundEcdsaAirdrop(options = {}) {
872
- const { client, resolutionError, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(options);
912
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
873
913
  const queryClient = reactQuery.useQueryClient();
874
914
  return reactQuery.useMutation({
875
915
  mutationFn: async (args) => {
@@ -880,13 +920,16 @@ function useCreateAndFundEcdsaAirdrop(options = {}) {
880
920
  },
881
921
  onSuccess: () => {
882
922
  void queryClient.invalidateQueries({
883
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.registryAll({ chainId, address: resolvedAddress })
923
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.registryAll({ chainId, address: resolvedAddress })
924
+ });
925
+ void queryClient.invalidateQueries({
926
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.isAirdropAll({ chainId, address: resolvedAddress })
884
927
  });
885
928
  }
886
929
  });
887
930
  }
888
931
  function useCreateAndFundMerkleAirdrop(options = {}) {
889
- const { client, resolutionError, chainId, resolvedAddress } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(options);
932
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
890
933
  const queryClient = reactQuery.useQueryClient();
891
934
  return reactQuery.useMutation({
892
935
  mutationFn: async (args) => {
@@ -897,13 +940,16 @@ function useCreateAndFundMerkleAirdrop(options = {}) {
897
940
  },
898
941
  onSuccess: () => {
899
942
  void queryClient.invalidateQueries({
900
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.registryAll({ chainId, address: resolvedAddress })
943
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.registryAll({ chainId, address: resolvedAddress })
944
+ });
945
+ void queryClient.invalidateQueries({
946
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.isAirdropAll({ chainId, address: resolvedAddress })
901
947
  });
902
948
  }
903
949
  });
904
950
  }
905
951
  function useDiscloseHandleToParty(options) {
906
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
952
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
907
953
  return reactQuery.useMutation({
908
954
  mutationFn: async (args) => {
909
955
  if (!client) {
@@ -914,7 +960,7 @@ function useDiscloseHandleToParty(options) {
914
960
  });
915
961
  }
916
962
  function useEcdsaClaimAndUnwrap(options) {
917
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoEcdsaAirdropClient(options);
963
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoEcdsaAirdropClient(options);
918
964
  const queryClient = reactQuery.useQueryClient();
919
965
  return reactQuery.useMutation({
920
966
  mutationFn: async (args) => {
@@ -925,7 +971,7 @@ function useEcdsaClaimAndUnwrap(options) {
925
971
  },
926
972
  onSuccess: () => {
927
973
  void queryClient.invalidateQueries({
928
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.isSignatureValidAll({ chainId, address: options.address })
974
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.isSignatureValidAll({ chainId, address: options.address })
929
975
  });
930
976
  }
931
977
  });
@@ -934,16 +980,16 @@ function useEncryptCampaignAmounts(options = {}) {
934
980
  const encryptorSourceRef = react.useRef(options.encryptor);
935
981
  encryptorSourceRef.current = options.encryptor;
936
982
  return reactQuery.useMutation({
937
- mutationFn: async (args) => chunkIUKKNJ2R_cjs.encryptCampaignAmounts({
983
+ mutationFn: async (args) => chunkGKYZQJGP_cjs.encryptCampaignAmounts({
938
984
  instance: args.instance,
939
985
  recipients: args.recipients,
940
- encryptor: () => chunkPZZK3O3S_cjs.resolveEncryptor(encryptorSourceRef.current),
986
+ encryptor: () => chunk4AWQJQXY_cjs.resolveEncryptor(encryptorSourceRef.current),
941
987
  ...args.submitter !== void 0 ? { submitter: args.submitter } : {}
942
988
  })
943
989
  });
944
990
  }
945
991
  function useMerkleClaimAndUnwrap(options) {
946
- const { client, walletClient, chainId } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(options);
992
+ const { client, walletClient, chainId } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(options);
947
993
  const queryClient = reactQuery.useQueryClient();
948
994
  return reactQuery.useMutation({
949
995
  mutationFn: async (args) => {
@@ -963,13 +1009,13 @@ function useMerkleClaimAndUnwrap(options) {
963
1009
  onSuccess: (_hash, _variables, context) => {
964
1010
  if (!context?.sender) return;
965
1011
  void queryClient.invalidateQueries({
966
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.claimedAmount({ chainId, address: options.address }, context.sender)
1012
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.claimedAmount({ chainId, address: options.address }, context.sender)
967
1013
  });
968
1014
  }
969
1015
  });
970
1016
  }
971
1017
  function usePlanMerkleCampaign(options = {}) {
972
- const { client, resolutionError } = chunkEBLBPUPI_cjs.useMemoAirdropFactoryClient(options);
1018
+ const { client, resolutionError } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
973
1019
  const encryptorSourceRef = react.useRef(options.encryptor);
974
1020
  encryptorSourceRef.current = options.encryptor;
975
1021
  return reactQuery.useMutation({
@@ -977,16 +1023,16 @@ function usePlanMerkleCampaign(options = {}) {
977
1023
  if (!client) {
978
1024
  throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("usePlanMerkleCampaign", "factory");
979
1025
  }
980
- return chunkIUKKNJ2R_cjs.planMerkleCampaign({
1026
+ return chunkGKYZQJGP_cjs.planMerkleCampaign({
981
1027
  factory: client,
982
1028
  ...args,
983
- encryptor: () => chunkPZZK3O3S_cjs.resolveEncryptor(encryptorSourceRef.current)
1029
+ encryptor: () => chunk4AWQJQXY_cjs.resolveEncryptor(encryptorSourceRef.current)
984
1030
  });
985
1031
  }
986
1032
  });
987
1033
  }
988
1034
  function useRescueERC20(options) {
989
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
1035
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
990
1036
  return reactQuery.useMutation({
991
1037
  mutationFn: async (args) => {
992
1038
  if (!client) {
@@ -997,7 +1043,7 @@ function useRescueERC20(options) {
997
1043
  });
998
1044
  }
999
1045
  function useRescueOtherConfidentialToken(options) {
1000
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
1046
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
1001
1047
  return reactQuery.useMutation({
1002
1048
  mutationFn: async (args) => {
1003
1049
  if (!client) {
@@ -1008,7 +1054,7 @@ function useRescueOtherConfidentialToken(options) {
1008
1054
  });
1009
1055
  }
1010
1056
  function useRevokeComplianceDelegate(options) {
1011
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoComplianceManagerClient(options);
1057
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoComplianceManagerClient(options);
1012
1058
  const queryClient = reactQuery.useQueryClient();
1013
1059
  return reactQuery.useMutation({
1014
1060
  mutationFn: async (args) => {
@@ -1019,15 +1065,15 @@ function useRevokeComplianceDelegate(options) {
1019
1065
  },
1020
1066
  onSuccess: (_hash, variables) => {
1021
1067
  const scope = { chainId, address: options.address };
1022
- void queryClient.invalidateQueries({ queryKey: chunkEBLBPUPI_cjs.airdropKeys.complianceInfo(scope) });
1068
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.complianceInfo(scope) });
1023
1069
  void queryClient.invalidateQueries({
1024
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.activeDelegate(scope, variables.delegate)
1070
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.activeDelegate(scope, variables.delegate)
1025
1071
  });
1026
1072
  }
1027
1073
  });
1028
1074
  }
1029
1075
  function useRotateMerkleRoot(options) {
1030
- const { client, chainId } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(options);
1076
+ const { client, chainId } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(options);
1031
1077
  const encryptorSourceRef = react.useRef(options.encryptor);
1032
1078
  encryptorSourceRef.current = options.encryptor;
1033
1079
  const queryClient = reactQuery.useQueryClient();
@@ -1036,23 +1082,23 @@ function useRotateMerkleRoot(options) {
1036
1082
  if (!client) {
1037
1083
  throw new chunk67OV5CX2_cjs.MissingClientError("useRotateMerkleRoot", "merkle-airdrop");
1038
1084
  }
1039
- return chunkIUKKNJ2R_cjs.rotateMerkleRoot({
1085
+ return chunkGKYZQJGP_cjs.rotateMerkleRoot({
1040
1086
  airdrop: client,
1041
1087
  recipients: args.recipients,
1042
- encryptor: () => chunkPZZK3O3S_cjs.resolveEncryptor(encryptorSourceRef.current),
1088
+ encryptor: () => chunk4AWQJQXY_cjs.resolveEncryptor(encryptorSourceRef.current),
1043
1089
  ...args.submitter !== void 0 ? { submitter: args.submitter } : {},
1044
1090
  ...args.account !== void 0 ? { account: args.account } : {}
1045
1091
  });
1046
1092
  },
1047
1093
  onSuccess: () => {
1048
1094
  void queryClient.invalidateQueries({
1049
- queryKey: chunkEBLBPUPI_cjs.airdropKeys.merkleRoot({ chainId, address: options.address })
1095
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.merkleRoot({ chainId, address: options.address })
1050
1096
  });
1051
1097
  }
1052
1098
  });
1053
1099
  }
1054
1100
  function useSignClaimAuthorization(options) {
1055
- const { walletClient, chainId } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
1101
+ const { walletClient, chainId } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
1056
1102
  return reactQuery.useMutation({
1057
1103
  mutationFn: async (args) => {
1058
1104
  if (!walletClient) {
@@ -1061,7 +1107,7 @@ function useSignClaimAuthorization(options) {
1061
1107
  if (chainId === void 0) {
1062
1108
  throw new chunk67OV5CX2_cjs.MissingClientError("useSignClaimAuthorization", "airdrop-base");
1063
1109
  }
1064
- return chunkPZZK3O3S_cjs.signClaimAuthorization({
1110
+ return chunk4AWQJQXY_cjs.signClaimAuthorization({
1065
1111
  walletClient,
1066
1112
  airdrop: options.address,
1067
1113
  chainId,
@@ -1075,7 +1121,7 @@ function useSignClaimAuthorization(options) {
1075
1121
  });
1076
1122
  }
1077
1123
  function useWithdrawGasFee(options) {
1078
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
1124
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
1079
1125
  return reactQuery.useMutation({
1080
1126
  mutationFn: async (args) => {
1081
1127
  if (!client) {
@@ -1086,7 +1132,7 @@ function useWithdrawGasFee(options) {
1086
1132
  });
1087
1133
  }
1088
1134
  function useAdminBatchDiscloseBalanceToParties(options) {
1089
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
1135
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
1090
1136
  return reactQuery.useMutation({
1091
1137
  mutationFn: async (args) => {
1092
1138
  if (!client) {
@@ -1097,7 +1143,7 @@ function useAdminBatchDiscloseBalanceToParties(options) {
1097
1143
  });
1098
1144
  }
1099
1145
  function useAdminDiscloseBalanceToParty(options) {
1100
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
1146
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
1101
1147
  return reactQuery.useMutation({
1102
1148
  mutationFn: async (args) => {
1103
1149
  if (!client) {
@@ -1108,7 +1154,7 @@ function useAdminDiscloseBalanceToParty(options) {
1108
1154
  });
1109
1155
  }
1110
1156
  function useAdminGetCurrentBalance(options) {
1111
- const { client } = chunkEBLBPUPI_cjs.useMemoAirdropBaseClient(options);
1157
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
1112
1158
  return reactQuery.useMutation({
1113
1159
  mutationFn: async (args) => {
1114
1160
  if (!client) {
@@ -1118,8 +1164,19 @@ function useAdminGetCurrentBalance(options) {
1118
1164
  }
1119
1165
  });
1120
1166
  }
1167
+ function useRefreshComplianceBalance(options) {
1168
+ const { client } = chunkTND5NDV7_cjs.useMemoAirdropBaseClient(options);
1169
+ return reactQuery.useMutation({
1170
+ mutationFn: async (args) => {
1171
+ if (!client) {
1172
+ throw new chunk67OV5CX2_cjs.MissingClientError("useRefreshComplianceBalance", "airdrop-base");
1173
+ }
1174
+ return client.refreshComplianceBalance(args ?? {});
1175
+ }
1176
+ });
1177
+ }
1121
1178
  function useAccessEcdsaClaimAmount(options) {
1122
- const { client } = chunkEBLBPUPI_cjs.useMemoEcdsaAirdropClient(options);
1179
+ const { client } = chunkTND5NDV7_cjs.useMemoEcdsaAirdropClient(options);
1123
1180
  return reactQuery.useMutation({
1124
1181
  mutationFn: async (args) => {
1125
1182
  if (!client) {
@@ -1130,7 +1187,7 @@ function useAccessEcdsaClaimAmount(options) {
1130
1187
  });
1131
1188
  }
1132
1189
  function useAccessMerkleClaimAmount(options) {
1133
- const { client } = chunkEBLBPUPI_cjs.useMemoMerkleAirdropClient(options);
1190
+ const { client } = chunkTND5NDV7_cjs.useMemoMerkleAirdropClient(options);
1134
1191
  return reactQuery.useMutation({
1135
1192
  mutationFn: async (args) => {
1136
1193
  if (!client) {
@@ -1143,119 +1200,119 @@ function useAccessMerkleClaimAmount(options) {
1143
1200
 
1144
1201
  Object.defineProperty(exports, "buildMerkleCampaign", {
1145
1202
  enumerable: true,
1146
- get: function () { return chunkIUKKNJ2R_cjs.buildMerkleCampaign; }
1203
+ get: function () { return chunkGKYZQJGP_cjs.buildMerkleCampaign; }
1147
1204
  });
1148
1205
  Object.defineProperty(exports, "buildMerkleTree", {
1149
1206
  enumerable: true,
1150
- get: function () { return chunkIUKKNJ2R_cjs.buildMerkleTree; }
1207
+ get: function () { return chunkGKYZQJGP_cjs.buildMerkleTree; }
1151
1208
  });
1152
1209
  Object.defineProperty(exports, "encryptCampaignAmounts", {
1153
1210
  enumerable: true,
1154
- get: function () { return chunkIUKKNJ2R_cjs.encryptCampaignAmounts; }
1211
+ get: function () { return chunkGKYZQJGP_cjs.encryptCampaignAmounts; }
1155
1212
  });
1156
1213
  Object.defineProperty(exports, "grantInstanceRoles", {
1157
1214
  enumerable: true,
1158
- get: function () { return chunkIUKKNJ2R_cjs.grantInstanceRoles; }
1215
+ get: function () { return chunkGKYZQJGP_cjs.grantInstanceRoles; }
1159
1216
  });
1160
1217
  Object.defineProperty(exports, "leafOf", {
1161
1218
  enumerable: true,
1162
- get: function () { return chunkIUKKNJ2R_cjs.leafOf; }
1219
+ get: function () { return chunkGKYZQJGP_cjs.leafOf; }
1163
1220
  });
1164
1221
  Object.defineProperty(exports, "planInstanceRoleSplit", {
1165
1222
  enumerable: true,
1166
- get: function () { return chunkIUKKNJ2R_cjs.planInstanceRoleSplit; }
1223
+ get: function () { return chunkGKYZQJGP_cjs.planInstanceRoleSplit; }
1167
1224
  });
1168
1225
  Object.defineProperty(exports, "planMerkleCampaign", {
1169
1226
  enumerable: true,
1170
- get: function () { return chunkIUKKNJ2R_cjs.planMerkleCampaign; }
1227
+ get: function () { return chunkGKYZQJGP_cjs.planMerkleCampaign; }
1171
1228
  });
1172
1229
  Object.defineProperty(exports, "rotateMerkleRoot", {
1173
1230
  enumerable: true,
1174
- get: function () { return chunkIUKKNJ2R_cjs.rotateMerkleRoot; }
1231
+ get: function () { return chunkGKYZQJGP_cjs.rotateMerkleRoot; }
1175
1232
  });
1176
1233
  Object.defineProperty(exports, "validateCampaignRecipients", {
1177
1234
  enumerable: true,
1178
- get: function () { return chunkIUKKNJ2R_cjs.validateCampaignRecipients; }
1235
+ get: function () { return chunkGKYZQJGP_cjs.validateCampaignRecipients; }
1179
1236
  });
1180
1237
  Object.defineProperty(exports, "airdropQueryKey", {
1181
1238
  enumerable: true,
1182
- get: function () { return chunkEBLBPUPI_cjs.airdropQueryKey; }
1239
+ get: function () { return chunkTND5NDV7_cjs.airdropQueryKey; }
1183
1240
  });
1184
1241
  Object.defineProperty(exports, "airdropQueryKeyPrefix", {
1185
1242
  enumerable: true,
1186
- get: function () { return chunkEBLBPUPI_cjs.airdropQueryKeyPrefix; }
1243
+ get: function () { return chunkTND5NDV7_cjs.airdropQueryKeyPrefix; }
1187
1244
  });
1188
1245
  Object.defineProperty(exports, "encryptUint64", {
1189
1246
  enumerable: true,
1190
- get: function () { return chunkPZZK3O3S_cjs.encryptUint64; }
1247
+ get: function () { return chunk4AWQJQXY_cjs.encryptUint64; }
1191
1248
  });
1192
1249
  Object.defineProperty(exports, "encryptUint64Batch", {
1193
1250
  enumerable: true,
1194
- get: function () { return chunkPZZK3O3S_cjs.encryptUint64Batch; }
1251
+ get: function () { return chunk4AWQJQXY_cjs.encryptUint64Batch; }
1195
1252
  });
1196
1253
  Object.defineProperty(exports, "resolveEncryptor", {
1197
1254
  enumerable: true,
1198
- get: function () { return chunkPZZK3O3S_cjs.resolveEncryptor; }
1255
+ get: function () { return chunk4AWQJQXY_cjs.resolveEncryptor; }
1199
1256
  });
1200
1257
  Object.defineProperty(exports, "signClaimAuthorization", {
1201
1258
  enumerable: true,
1202
- get: function () { return chunkPZZK3O3S_cjs.signClaimAuthorization; }
1259
+ get: function () { return chunk4AWQJQXY_cjs.signClaimAuthorization; }
1203
1260
  });
1204
1261
  Object.defineProperty(exports, "AlreadyClaimedError", {
1205
1262
  enumerable: true,
1206
- get: function () { return chunkAREQJHKA_cjs.AlreadyClaimedError; }
1263
+ get: function () { return chunkYTIYTV4K_cjs.AlreadyClaimedError; }
1207
1264
  });
1208
1265
  Object.defineProperty(exports, "ClaimNotStartedError", {
1209
1266
  enumerable: true,
1210
- get: function () { return chunkAREQJHKA_cjs.ClaimNotStartedError; }
1267
+ get: function () { return chunkYTIYTV4K_cjs.ClaimNotStartedError; }
1211
1268
  });
1212
1269
  Object.defineProperty(exports, "ClaimWindowClosedError", {
1213
1270
  enumerable: true,
1214
- get: function () { return chunkAREQJHKA_cjs.ClaimWindowClosedError; }
1271
+ get: function () { return chunkYTIYTV4K_cjs.ClaimWindowClosedError; }
1215
1272
  });
1216
1273
  Object.defineProperty(exports, "DedupIdConsumedError", {
1217
1274
  enumerable: true,
1218
- get: function () { return chunkAREQJHKA_cjs.DedupIdConsumedError; }
1275
+ get: function () { return chunkYTIYTV4K_cjs.DedupIdConsumedError; }
1219
1276
  });
1220
1277
  Object.defineProperty(exports, "FeeCollectorSelfAdministeredError", {
1221
1278
  enumerable: true,
1222
- get: function () { return chunkAREQJHKA_cjs.FeeCollectorSelfAdministeredError; }
1279
+ get: function () { return chunkYTIYTV4K_cjs.FeeCollectorSelfAdministeredError; }
1223
1280
  });
1224
1281
  Object.defineProperty(exports, "MerkleUupsUnsupportedError", {
1225
1282
  enumerable: true,
1226
- get: function () { return chunkAREQJHKA_cjs.MerkleUupsUnsupportedError; }
1283
+ get: function () { return chunkYTIYTV4K_cjs.MerkleUupsUnsupportedError; }
1227
1284
  });
1228
1285
  Object.defineProperty(exports, "NonStockWrapperError", {
1229
1286
  enumerable: true,
1230
- get: function () { return chunkAREQJHKA_cjs.NonStockWrapperError; }
1287
+ get: function () { return chunkYTIYTV4K_cjs.NonStockWrapperError; }
1231
1288
  });
1232
1289
  Object.defineProperty(exports, "PredictionDriftError", {
1233
1290
  enumerable: true,
1234
- get: function () { return chunkAREQJHKA_cjs.PredictionDriftError; }
1291
+ get: function () { return chunkYTIYTV4K_cjs.PredictionDriftError; }
1235
1292
  });
1236
1293
  Object.defineProperty(exports, "SaltCollisionError", {
1237
1294
  enumerable: true,
1238
- get: function () { return chunkAREQJHKA_cjs.SaltCollisionError; }
1295
+ get: function () { return chunkYTIYTV4K_cjs.SaltCollisionError; }
1239
1296
  });
1240
1297
  Object.defineProperty(exports, "SignatureExpiredError", {
1241
1298
  enumerable: true,
1242
- get: function () { return chunkAREQJHKA_cjs.SignatureExpiredError; }
1299
+ get: function () { return chunkYTIYTV4K_cjs.SignatureExpiredError; }
1243
1300
  });
1244
1301
  Object.defineProperty(exports, "UnauthorizedRedirectError", {
1245
1302
  enumerable: true,
1246
- get: function () { return chunkAREQJHKA_cjs.UnauthorizedRedirectError; }
1303
+ get: function () { return chunkYTIYTV4K_cjs.UnauthorizedRedirectError; }
1247
1304
  });
1248
1305
  Object.defineProperty(exports, "UpgradeabilityNotAllowedError", {
1249
1306
  enumerable: true,
1250
- get: function () { return chunkAREQJHKA_cjs.UpgradeabilityNotAllowedError; }
1307
+ get: function () { return chunkYTIYTV4K_cjs.UpgradeabilityNotAllowedError; }
1251
1308
  });
1252
1309
  Object.defineProperty(exports, "preflightClaim", {
1253
1310
  enumerable: true,
1254
- get: function () { return chunkAREQJHKA_cjs.preflightClaim; }
1311
+ get: function () { return chunkYTIYTV4K_cjs.preflightClaim; }
1255
1312
  });
1256
1313
  Object.defineProperty(exports, "preflightCreate", {
1257
1314
  enumerable: true,
1258
- get: function () { return chunkAREQJHKA_cjs.preflightCreate; }
1315
+ get: function () { return chunkYTIYTV4K_cjs.preflightCreate; }
1259
1316
  });
1260
1317
  Object.defineProperty(exports, "AccessDeniedError", {
1261
1318
  enumerable: true,
@@ -1451,6 +1508,7 @@ exports.useFactoryRegistry = useFactoryRegistry;
1451
1508
  exports.useFundAirdrop = useFundAirdrop;
1452
1509
  exports.useGrantInstanceRoles = useGrantInstanceRoles;
1453
1510
  exports.useIsActiveDelegate = useIsActiveDelegate;
1511
+ exports.useIsAirdrop = useIsAirdrop;
1454
1512
  exports.useIsMerkleRootMutable = useIsMerkleRootMutable;
1455
1513
  exports.useIsSignatureValid = useIsSignatureValid;
1456
1514
  exports.useMerkleClaim = useMerkleClaim;
@@ -1459,8 +1517,10 @@ exports.useMerkleRoot = useMerkleRoot;
1459
1517
  exports.usePlanMerkleCampaign = usePlanMerkleCampaign;
1460
1518
  exports.usePreflightClaim = usePreflightClaim;
1461
1519
  exports.usePreflightCreateAirdrop = usePreflightCreateAirdrop;
1520
+ exports.useRefreshComplianceBalance = useRefreshComplianceBalance;
1462
1521
  exports.useRescueERC20 = useRescueERC20;
1463
1522
  exports.useRescueOtherConfidentialToken = useRescueOtherConfidentialToken;
1523
+ exports.useResolveGasFee = useResolveGasFee;
1464
1524
  exports.useRevokeComplianceDelegate = useRevokeComplianceDelegate;
1465
1525
  exports.useRotateMerkleRoot = useRotateMerkleRoot;
1466
1526
  exports.useSetMerkleRoot = useSetMerkleRoot;