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

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