@tokenops/sdk 1.1.1 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +18 -8
  2. package/dist/{chunk-5SGMJADP.cjs → chunk-2NCLOQ56.cjs} +9 -9
  3. package/dist/{chunk-FXCW7LVB.js → chunk-2PWNH3UE.js} +35 -6
  4. package/dist/{chunk-FPQBFIUW.cjs → chunk-4WPGQSNT.cjs} +3 -3
  5. package/dist/{chunk-OYLZEEHF.cjs → chunk-5X5WL5CU.cjs} +265 -101
  6. package/dist/{chunk-56UI7LUR.cjs → chunk-67OV5CX2.cjs} +19 -0
  7. package/dist/{chunk-WRCUDSUJ.js → chunk-6BMP4ICG.js} +2 -2
  8. package/dist/{chunk-XXXDQSHE.js → chunk-6R4KNAPK.js} +5 -3
  9. package/dist/{chunk-XSNLAS5M.js → chunk-AOP6HMPW.js} +1 -1
  10. package/dist/{chunk-SAGJIEQK.cjs → chunk-C7BRZXJA.cjs} +14 -14
  11. package/dist/{chunk-OQZAZIAS.js → chunk-DUZIIRPF.js} +174 -5
  12. package/dist/{chunk-Q7ARQSUH.cjs → chunk-FAXIIH5R.cjs} +3 -3
  13. package/dist/chunk-FT4LNBOS.js +11 -0
  14. package/dist/{chunk-QE7ZONJ2.js → chunk-IJFQ5L4I.js} +4 -4
  15. package/dist/{chunk-X56UVEXS.js → chunk-IXLO7GO5.js} +209 -45
  16. package/dist/{chunk-CQIPRNS7.cjs → chunk-JK4XMMKM.cjs} +3 -3
  17. package/dist/{chunk-ITQ7WKVC.cjs → chunk-JYOTGRSO.cjs} +8 -8
  18. package/dist/{chunk-VDXVNZCO.cjs → chunk-KLKI352M.cjs} +85 -29
  19. package/dist/{chunk-5SA2HF2W.cjs → chunk-MCRBVJGZ.cjs} +24 -22
  20. package/dist/{chunk-3PQ2RFPC.js → chunk-NTZY6IB7.js} +4 -4
  21. package/dist/{chunk-JJ4R5QXF.js → chunk-ODLTEGHB.js} +1 -1
  22. package/dist/{chunk-XWDVPV42.js → chunk-ORFTDNFZ.js} +4 -4
  23. package/dist/{chunk-IR5AK5U5.js → chunk-OXTLPTO3.js} +4 -4
  24. package/dist/{chunk-23F7JIK5.cjs → chunk-PFXURMBZ.cjs} +77 -48
  25. package/dist/{chunk-3ZRHDTEX.cjs → chunk-PUPKNW3R.cjs} +2 -2
  26. package/dist/{chunk-IVE3QEGD.js → chunk-QBJ7O2B4.js} +18 -1
  27. package/dist/{chunk-JFLEEXKP.js → chunk-SG65XWH7.js} +58 -2
  28. package/dist/{chunk-G7G75C46.cjs → chunk-T46YXSBP.cjs} +11 -11
  29. package/dist/{chunk-NS44KBV5.cjs → chunk-TEBM66WA.cjs} +12 -12
  30. package/dist/{chunk-SYHXDHWX.cjs → chunk-TIUKIY5V.cjs} +193 -24
  31. package/dist/{chunk-W7JHOK7G.cjs → chunk-V2PXZVBF.cjs} +4 -4
  32. package/dist/{chunk-SEKC7H5Y.cjs → chunk-W7IGCOVL.cjs} +11 -11
  33. package/dist/{chunk-5KHIQG7Y.cjs → chunk-WENHUPZC.cjs} +31 -31
  34. package/dist/{chunk-ZXCOJY2Z.js → chunk-WMACINXO.js} +1 -1
  35. package/dist/{chunk-M7V2EDPB.js → chunk-XGGTQQFH.js} +1 -1
  36. package/dist/{chunk-ITQBDRWX.js → chunk-YQIBBEFJ.js} +1 -1
  37. package/dist/{chunk-BE2AIZ3K.js → chunk-ZA673I3O.js} +1 -1
  38. package/dist/chunk-ZQUE2B3Q.cjs +33 -0
  39. package/dist/{chunk-FYQ2UW4T.js → chunk-ZWXJTBZO.js} +1 -1
  40. package/dist/core/errors.d.ts +41 -1
  41. package/dist/core/revert-mapper.d.ts +77 -0
  42. package/dist/core/wagmi-compat.d.ts +40 -0
  43. package/dist/fhe/index.cjs +112 -66
  44. package/dist/fhe/index.d.cts +1 -1
  45. package/dist/fhe/index.d.ts +1 -1
  46. package/dist/fhe/index.js +50 -8
  47. package/dist/fhe/react/index.cjs +7 -7
  48. package/dist/fhe/react/index.js +2 -2
  49. package/dist/fhe/sepolia-encryptor-web.d.ts +27 -1
  50. package/dist/fhe/sepolia-encryptor.d.ts +38 -0
  51. package/dist/fhe-airdrop/advanced/index.cjs +9 -8
  52. package/dist/fhe-airdrop/advanced/index.js +7 -6
  53. package/dist/fhe-airdrop/advanced/react/index.cjs +14 -13
  54. package/dist/fhe-airdrop/advanced/react/index.js +10 -9
  55. package/dist/fhe-airdrop/airdrop.d.ts +2 -0
  56. package/dist/fhe-airdrop/encryption.d.ts +8 -0
  57. package/dist/fhe-airdrop/factory.d.ts +86 -1
  58. package/dist/fhe-airdrop/index.cjs +61 -57
  59. package/dist/fhe-airdrop/index.d.cts +3 -3
  60. package/dist/fhe-airdrop/index.d.ts +3 -3
  61. package/dist/fhe-airdrop/index.js +7 -7
  62. package/dist/fhe-airdrop/react/index.cjs +163 -133
  63. package/dist/fhe-airdrop/react/index.d.cts +4 -3
  64. package/dist/fhe-airdrop/react/index.d.ts +4 -3
  65. package/dist/fhe-airdrop/react/index.js +38 -13
  66. package/dist/fhe-airdrop/react/useAirdropClaim.d.ts +2 -0
  67. package/dist/fhe-airdrop/react/useAirdropIsSignatureValid.d.ts +3 -2
  68. package/dist/fhe-airdrop/react/useClaim.d.ts +2 -0
  69. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdrop.d.ts +8 -0
  70. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdropAndGetAddress.d.ts +8 -0
  71. package/dist/fhe-airdrop/react/useFundConfidentialAirdrop.d.ts +8 -0
  72. package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +51 -0
  73. package/dist/fhe-airdrop/types.d.ts +45 -0
  74. package/dist/fhe-disperse/encryption.d.ts +8 -0
  75. package/dist/fhe-disperse/index.cjs +69 -65
  76. package/dist/fhe-disperse/index.d.cts +1 -1
  77. package/dist/fhe-disperse/index.d.ts +1 -1
  78. package/dist/fhe-disperse/index.js +8 -8
  79. package/dist/fhe-disperse/react/index.cjs +90 -86
  80. package/dist/fhe-disperse/react/index.d.cts +1 -1
  81. package/dist/fhe-disperse/react/index.d.ts +1 -1
  82. package/dist/fhe-disperse/react/index.js +10 -10
  83. package/dist/fhe-disperse/react/useCalculateFee.d.ts +7 -0
  84. package/dist/fhe-disperse/react/useDisperse.d.ts +9 -0
  85. package/dist/fhe-disperse/react/usePreflightDisperse.d.ts +7 -0
  86. package/dist/fhe-disperse/react/useSingletonCalculateFee.d.ts +7 -0
  87. package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +6 -0
  88. package/dist/fhe-disperse/react/useWithdrawTokenFee.d.ts +6 -0
  89. package/dist/fhe-disperse/singleton.d.ts +29 -0
  90. package/dist/fhe-disperse/subtotals.d.ts +6 -0
  91. package/dist/fhe-vesting/advanced/index.cjs +8 -8
  92. package/dist/fhe-vesting/advanced/index.js +6 -6
  93. package/dist/fhe-vesting/advanced/react/index.cjs +15 -14
  94. package/dist/fhe-vesting/advanced/react/index.js +12 -11
  95. package/dist/fhe-vesting/encryption.d.ts +8 -0
  96. package/dist/fhe-vesting/index.cjs +79 -75
  97. package/dist/fhe-vesting/index.d.cts +2 -2
  98. package/dist/fhe-vesting/index.d.ts +2 -2
  99. package/dist/fhe-vesting/index.js +9 -9
  100. package/dist/fhe-vesting/manager.d.ts +100 -1
  101. package/dist/fhe-vesting/react/index.cjs +241 -219
  102. package/dist/fhe-vesting/react/index.d.cts +3 -2
  103. package/dist/fhe-vesting/react/index.d.ts +3 -2
  104. package/dist/fhe-vesting/react/index.js +29 -12
  105. package/dist/fhe-vesting/react/useAdminClaim.d.ts +2 -0
  106. package/dist/fhe-vesting/react/useAdminPartialClaim.d.ts +2 -0
  107. package/dist/fhe-vesting/react/useBatchCreateVesting.d.ts +8 -0
  108. package/dist/fhe-vesting/react/useClaim.d.ts +2 -0
  109. package/dist/fhe-vesting/react/useCreateVesting.d.ts +8 -0
  110. package/dist/fhe-vesting/react/useManagerWithdrawTokenFee.d.ts +6 -0
  111. package/dist/fhe-vesting/react/usePartialClaim.d.ts +8 -0
  112. package/dist/fhe-vesting/react/usePreflightCreateVesting.d.ts +37 -0
  113. package/dist/fhe-vesting/react/useVestingClaim.d.ts +2 -0
  114. package/dist/fhe-vesting/react/useWithdrawAdmin.d.ts +6 -0
  115. package/dist/fhe-vesting/react/useWithdrawTokenFee.d.ts +6 -0
  116. package/dist/fhe-vesting/types.d.ts +34 -0
  117. package/dist/index.cjs +61 -53
  118. package/dist/index.d.cts +1 -1
  119. package/dist/index.d.ts +1 -1
  120. package/dist/index.js +2 -2
  121. package/dist/testnet-faucet/index.cjs +58 -54
  122. package/dist/testnet-faucet/index.d.cts +1 -1
  123. package/dist/testnet-faucet/index.d.ts +1 -1
  124. package/dist/testnet-faucet/index.js +5 -5
  125. package/dist/testnet-faucet/react/index.cjs +60 -55
  126. package/dist/testnet-faucet/react/index.d.cts +3 -2
  127. package/dist/testnet-faucet/react/index.d.ts +3 -2
  128. package/dist/testnet-faucet/react/index.js +11 -10
  129. package/dist/testnet-faucet/react/useConfidentialBalance.d.ts +3 -2
  130. package/dist/testnet-faucet/react/useUnderlyingBalance.d.ts +2 -2
  131. package/package.json +3 -2
@@ -1,40 +1,42 @@
1
1
  'use strict';
2
2
 
3
- var chunkG7G75C46_cjs = require('../../chunk-G7G75C46.cjs');
4
- var chunk5SA2HF2W_cjs = require('../../chunk-5SA2HF2W.cjs');
5
- var chunkSYHXDHWX_cjs = require('../../chunk-SYHXDHWX.cjs');
6
- require('../../chunk-Q7ARQSUH.cjs');
7
- require('../../chunk-VDXVNZCO.cjs');
8
- require('../../chunk-3ZRHDTEX.cjs');
9
- require('../../chunk-CQIPRNS7.cjs');
3
+ var chunkT46YXSBP_cjs = require('../../chunk-T46YXSBP.cjs');
4
+ var chunkMCRBVJGZ_cjs = require('../../chunk-MCRBVJGZ.cjs');
5
+ var chunkTIUKIY5V_cjs = require('../../chunk-TIUKIY5V.cjs');
6
+ var chunkZQUE2B3Q_cjs = require('../../chunk-ZQUE2B3Q.cjs');
7
+ require('../../chunk-FAXIIH5R.cjs');
8
+ require('../../chunk-FWHYQZ5E.cjs');
9
+ require('../../chunk-KLKI352M.cjs');
10
+ require('../../chunk-PUPKNW3R.cjs');
11
+ require('../../chunk-JK4XMMKM.cjs');
10
12
  require('../../chunk-VJKZWYYJ.cjs');
11
13
  require('../../chunk-66IHPTOK.cjs');
12
- var chunk56UI7LUR_cjs = require('../../chunk-56UI7LUR.cjs');
14
+ var chunk67OV5CX2_cjs = require('../../chunk-67OV5CX2.cjs');
13
15
  var reactQuery = require('@tanstack/react-query');
14
16
  var wagmi = require('wagmi');
15
17
 
16
18
  function useConfidentialAirdropFactoryImplementation(options = {}) {
17
- const { client, chainId, resolvedAddress } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
19
+ const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
18
20
  return reactQuery.useQuery({
19
- queryKey: chunkG7G75C46_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
21
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
20
22
  queryFn: () => client.implementation(),
21
23
  enabled: !!client,
22
24
  staleTime: 0
23
25
  });
24
26
  }
25
27
  function useFactoryDefaultGasFee(options = {}) {
26
- const { client, chainId, resolvedAddress } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
28
+ const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
27
29
  return reactQuery.useQuery({
28
- queryKey: chunkG7G75C46_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
30
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
29
31
  queryFn: () => client.defaultGasFee(),
30
32
  enabled: !!client,
31
33
  staleTime: 0
32
34
  });
33
35
  }
34
36
  function useFactoryFeeCollector(options = {}) {
35
- const { client, chainId, resolvedAddress } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
37
+ const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
36
38
  return reactQuery.useQuery({
37
- queryKey: chunkG7G75C46_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
39
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
38
40
  queryFn: () => client.feeCollector(),
39
41
  enabled: !!client,
40
42
  staleTime: 0
@@ -42,9 +44,9 @@ function useFactoryFeeCollector(options = {}) {
42
44
  }
43
45
  function useFactoryCustomFee(args = {}) {
44
46
  const { creator, ...base } = args;
45
- const { client, chainId, resolvedAddress } = chunkG7G75C46_cjs.useMemoFactoryClient(base);
47
+ const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(base);
46
48
  return reactQuery.useQuery({
47
- queryKey: chunkG7G75C46_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
49
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
48
50
  queryFn: () => client.getCustomFee(creator),
49
51
  enabled: !!client && !!creator,
50
52
  staleTime: 0
@@ -52,210 +54,233 @@ function useFactoryCustomFee(args = {}) {
52
54
  }
53
55
  function useFactoryInitCodeHash(args = {}) {
54
56
  const { params, gasFee, ...base } = args;
55
- const { client, chainId, resolvedAddress } = chunkG7G75C46_cjs.useMemoFactoryClient(base);
57
+ const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(base);
56
58
  return reactQuery.useQuery({
57
- queryKey: chunkG7G75C46_cjs.buildQueryKey("factory:getInitCodeHash", chainId, resolvedAddress, params, gasFee),
59
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("factory:getInitCodeHash", chainId, resolvedAddress, params, gasFee),
58
60
  queryFn: () => client.getInitCodeHash({ params, gasFee }),
59
61
  enabled: !!client && !!params && gasFee !== void 0,
60
62
  staleTime: 0
61
63
  });
62
64
  }
65
+ function usePreflightCreateAirdrop(args = {}) {
66
+ const { params, creator, userSalt, funding, ...base } = args;
67
+ const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(base);
68
+ return reactQuery.useQuery({
69
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey(
70
+ "factory:preflightCreateAirdrop",
71
+ chainId,
72
+ resolvedAddress,
73
+ creator,
74
+ params,
75
+ userSalt,
76
+ funding
77
+ ),
78
+ queryFn: () => client.preflightCreateAirdrop({
79
+ params,
80
+ creator,
81
+ ...userSalt !== void 0 ? { userSalt } : {},
82
+ ...funding !== void 0 ? { funding } : {}
83
+ }),
84
+ enabled: !!client && !!params && !!creator,
85
+ staleTime: 0
86
+ });
87
+ }
63
88
  function useCreateConfidentialAirdropAndGetAddress(options = {}) {
64
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
89
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
65
90
  return reactQuery.useMutation({
66
91
  mutationFn: async (args) => {
67
92
  if (!client) {
68
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useCreateConfidentialAirdropAndGetAddress", "factory");
93
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useCreateConfidentialAirdropAndGetAddress", "factory");
69
94
  }
70
95
  return client.createConfidentialAirdropAndGetAddress(args);
71
96
  }
72
97
  });
73
98
  }
74
99
  function useCreateConfidentialAirdrop(options = {}) {
75
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
100
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
76
101
  return reactQuery.useMutation({
77
102
  mutationFn: async (args) => {
78
103
  if (!client) {
79
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useCreateConfidentialAirdrop", "factory");
104
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useCreateConfidentialAirdrop", "factory");
80
105
  }
81
106
  return client.createConfidentialAirdrop(args);
82
107
  }
83
108
  });
84
109
  }
85
110
  function useCreateAndFundConfidentialAirdrop(options = {}) {
86
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
111
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
87
112
  return reactQuery.useMutation({
88
113
  mutationFn: async (args) => {
89
114
  if (!client) {
90
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useCreateAndFundConfidentialAirdrop", "factory");
115
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useCreateAndFundConfidentialAirdrop", "factory");
91
116
  }
92
117
  return client.createAndFundConfidentialAirdrop(args);
93
118
  }
94
119
  });
95
120
  }
96
121
  function useCreateAndFundConfidentialAirdropAndGetAddress(options = {}) {
97
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
122
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
98
123
  return reactQuery.useMutation({
99
124
  mutationFn: async (args) => {
100
125
  if (!client) {
101
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useCreateAndFundConfidentialAirdropAndGetAddress", "factory");
126
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useCreateAndFundConfidentialAirdropAndGetAddress", "factory");
102
127
  }
103
128
  return client.createAndFundConfidentialAirdropAndGetAddress(args);
104
129
  }
105
130
  });
106
131
  }
107
132
  function useFundConfidentialAirdrop(options = {}) {
108
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
133
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
109
134
  return reactQuery.useMutation({
110
135
  mutationFn: async (args) => {
111
136
  if (!client) {
112
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useFundConfidentialAirdrop", "factory");
137
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useFundConfidentialAirdrop", "factory");
113
138
  }
114
139
  return client.fundConfidentialAirdrop(args);
115
140
  }
116
141
  });
117
142
  }
118
143
  function useSetFeeCollector(options = {}) {
119
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
144
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
120
145
  return reactQuery.useMutation({
121
146
  mutationFn: async ({ newFeeCollector, account }) => {
122
- if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetFeeCollector", "factory");
147
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetFeeCollector", "factory");
123
148
  return client.setFeeCollector(newFeeCollector, account);
124
149
  }
125
150
  });
126
151
  }
127
152
  function useSetDefaultGasFee(options = {}) {
128
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
153
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
129
154
  return reactQuery.useMutation({
130
155
  mutationFn: async ({ newGasFee, account }) => {
131
156
  if (!client)
132
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetDefaultGasFee", "factory");
157
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetDefaultGasFee", "factory");
133
158
  return client.setDefaultGasFee(newGasFee, account);
134
159
  }
135
160
  });
136
161
  }
137
162
  function useSetCustomFee(options = {}) {
138
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
163
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
139
164
  return reactQuery.useMutation({
140
165
  mutationFn: async ({ campaignCreator, gasFee, account }) => {
141
- if (!client) throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useSetCustomFee", "factory");
166
+ if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetCustomFee", "factory");
142
167
  return client.setCustomFee(campaignCreator, gasFee, account);
143
168
  }
144
169
  });
145
170
  }
146
171
  function useDisableCustomFee(options = {}) {
147
- const { client, resolutionError } = chunkG7G75C46_cjs.useMemoFactoryClient(options);
172
+ const { client, resolutionError } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
148
173
  return reactQuery.useMutation({
149
174
  mutationFn: async ({ campaignCreator, account }) => {
150
175
  if (!client)
151
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useDisableCustomFee", "factory");
176
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useDisableCustomFee", "factory");
152
177
  return client.disableCustomFee(campaignCreator, account);
153
178
  }
154
179
  });
155
180
  }
156
181
  function useAirdropToken(options) {
157
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
182
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
158
183
  return reactQuery.useQuery({
159
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:TOKEN", chainId, options.address),
184
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:TOKEN", chainId, options.address),
160
185
  queryFn: () => client.token(),
161
186
  enabled: !!client,
162
187
  staleTime: 0
163
188
  });
164
189
  }
165
190
  function useAirdropGasFee(options) {
166
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
191
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
167
192
  return reactQuery.useQuery({
168
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:GAS_FEE", chainId, options.address),
193
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:GAS_FEE", chainId, options.address),
169
194
  queryFn: () => client.gasFee(),
170
195
  enabled: !!client,
171
196
  staleTime: 0
172
197
  });
173
198
  }
174
199
  function useAirdropStartTime(options) {
175
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
200
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
176
201
  return reactQuery.useQuery({
177
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:START_TIME", chainId, options.address),
202
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:START_TIME", chainId, options.address),
178
203
  queryFn: () => client.startTime(),
179
204
  enabled: !!client,
180
205
  staleTime: 0
181
206
  });
182
207
  }
183
208
  function useAirdropCanExtendClaimWindow(options) {
184
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
209
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
185
210
  return reactQuery.useQuery({
186
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:CAN_EXTEND_CLAIM_WINDOW", chainId, options.address),
211
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:CAN_EXTEND_CLAIM_WINDOW", chainId, options.address),
187
212
  queryFn: () => client.canExtendClaimWindow(),
188
213
  enabled: !!client,
189
214
  staleTime: 0
190
215
  });
191
216
  }
192
217
  function useAirdropEndTime(options) {
193
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
218
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
194
219
  return reactQuery.useQuery({
195
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:endTime", chainId, options.address),
220
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:endTime", chainId, options.address),
196
221
  queryFn: () => client.endTime(),
197
222
  enabled: !!client,
198
223
  staleTime: 0
199
224
  });
200
225
  }
201
226
  function useAirdropIsPaused(options) {
202
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
227
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
203
228
  return reactQuery.useQuery({
204
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:isPaused", chainId, options.address),
229
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:isPaused", chainId, options.address),
205
230
  queryFn: () => client.isPaused(),
206
231
  enabled: !!client,
207
232
  staleTime: 0
208
233
  });
209
234
  }
210
235
  function useAirdropDeploymentBlockNumber(options) {
211
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
236
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
212
237
  return reactQuery.useQuery({
213
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:deploymentBlockNumber", chainId, options.address),
238
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:deploymentBlockNumber", chainId, options.address),
214
239
  queryFn: () => client.deploymentBlockNumber(),
215
240
  enabled: !!client,
216
241
  staleTime: 0
217
242
  });
218
243
  }
219
244
  function useAirdropDomainSeparator(options) {
220
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
245
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
221
246
  return reactQuery.useQuery({
222
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:DOMAIN_SEPARATOR", chainId, options.address),
247
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:DOMAIN_SEPARATOR", chainId, options.address),
223
248
  queryFn: () => client.domainSeparator(),
224
249
  enabled: !!client,
225
250
  staleTime: 0
226
251
  });
227
252
  }
228
253
  function useAirdropClaimTypehash(options) {
229
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
254
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
230
255
  return reactQuery.useQuery({
231
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:CLAIM_TYPEHASH", chainId, options.address),
256
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:CLAIM_TYPEHASH", chainId, options.address),
232
257
  queryFn: () => client.claimTypehash(),
233
258
  enabled: !!client,
234
259
  staleTime: 0
235
260
  });
236
261
  }
237
262
  function useAirdropIsClaimWindowActive(options) {
238
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
263
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
239
264
  return reactQuery.useQuery({
240
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:isClaimWindowActive", chainId, options.address),
265
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:isClaimWindowActive", chainId, options.address),
241
266
  queryFn: () => client.isClaimWindowActive(),
242
267
  enabled: !!client,
243
268
  staleTime: 0
244
269
  });
245
270
  }
246
271
  function useAirdropHasClaimStarted(options) {
247
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
272
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
248
273
  return reactQuery.useQuery({
249
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:hasClaimStarted", chainId, options.address),
274
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:hasClaimStarted", chainId, options.address),
250
275
  queryFn: () => client.hasClaimStarted(),
251
276
  enabled: !!client,
252
277
  staleTime: 0
253
278
  });
254
279
  }
255
280
  function useAirdropHasClaimEnded(options) {
256
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
281
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
257
282
  return reactQuery.useQuery({
258
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:hasClaimEnded", chainId, options.address),
283
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:hasClaimEnded", chainId, options.address),
259
284
  queryFn: () => client.hasClaimEnded(),
260
285
  enabled: !!client,
261
286
  staleTime: 0
@@ -263,9 +288,9 @@ function useAirdropHasClaimEnded(options) {
263
288
  }
264
289
  function useAirdropClaimedSignatures(args) {
265
290
  const { signatureHash, ...base } = args;
266
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(base);
291
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(base);
267
292
  return reactQuery.useQuery({
268
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:claimedSignatures", chainId, base.address, signatureHash),
293
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:claimedSignatures", chainId, base.address, signatureHash),
269
294
  queryFn: () => client.claimedSignatures(signatureHash),
270
295
  enabled: !!client && !!signatureHash,
271
296
  staleTime: 0
@@ -273,9 +298,9 @@ function useAirdropClaimedSignatures(args) {
273
298
  }
274
299
  function useAirdropIsSignatureClaimed(args) {
275
300
  const { user, encryptedAmountHandle, ...base } = args;
276
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(base);
301
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(base);
277
302
  return reactQuery.useQuery({
278
- queryKey: chunkG7G75C46_cjs.buildQueryKey(
303
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey(
279
304
  "airdrop:isSignatureClaimed",
280
305
  chainId,
281
306
  base.address,
@@ -289,11 +314,11 @@ function useAirdropIsSignatureClaimed(args) {
289
314
  }
290
315
  function useAirdropIsSignatureValid(args) {
291
316
  const { encryptedAmountHandle, signature, caller, ...base } = args;
292
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(base);
293
- const { address: connectedAddress } = wagmi.useAccount();
317
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(base);
318
+ const { address: connectedAddress } = chunkZQUE2B3Q_cjs.useWagmiAccount();
294
319
  const resolvedCaller = caller ?? connectedAddress;
295
320
  return reactQuery.useQuery({
296
- queryKey: chunkG7G75C46_cjs.buildQueryKey(
321
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey(
297
322
  "airdrop:isSignatureValid",
298
323
  chainId,
299
324
  base.address,
@@ -312,100 +337,100 @@ function useAirdropIsSignatureValid(args) {
312
337
  }
313
338
  function useAirdropHasRole(args) {
314
339
  const { role, account, ...base } = args;
315
- const { client, chainId } = chunkG7G75C46_cjs.useMemoAirdropClient(base);
340
+ const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(base);
316
341
  return reactQuery.useQuery({
317
- queryKey: chunkG7G75C46_cjs.buildQueryKey("airdrop:hasRole", chainId, base.address, role, account),
342
+ queryKey: chunkT46YXSBP_cjs.buildQueryKey("airdrop:hasRole", chainId, base.address, role, account),
318
343
  queryFn: () => client.hasRole(role, account),
319
344
  enabled: !!client && !!role && !!account,
320
345
  staleTime: 0
321
346
  });
322
347
  }
323
348
  function useClaim(options) {
324
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
349
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
325
350
  return reactQuery.useMutation({
326
351
  mutationFn: async (args) => {
327
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useClaim", "airdrop");
352
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useClaim", "airdrop");
328
353
  return client.claim(args);
329
354
  }
330
355
  });
331
356
  }
332
357
  function useGetClaimAmount(options) {
333
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
358
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
334
359
  return reactQuery.useMutation({
335
360
  mutationFn: async (args) => {
336
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useGetClaimAmount", "airdrop");
361
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useGetClaimAmount", "airdrop");
337
362
  return client.getClaimAmount(args);
338
363
  }
339
364
  });
340
365
  }
341
366
  function useWithdraw(options) {
342
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
367
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
343
368
  return reactQuery.useMutation({
344
369
  mutationFn: async ({ recipient, account }) => {
345
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdraw", "airdrop");
370
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useWithdraw", "airdrop");
346
371
  return client.withdraw(recipient, account);
347
372
  }
348
373
  });
349
374
  }
350
375
  function useSetPaused(options) {
351
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
376
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
352
377
  return reactQuery.useMutation({
353
378
  mutationFn: async ({ paused, account }) => {
354
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useSetPaused", "airdrop");
379
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useSetPaused", "airdrop");
355
380
  return client.setPaused(paused, account);
356
381
  }
357
382
  });
358
383
  }
359
384
  function useExtendClaimWindow(options) {
360
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
385
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
361
386
  return reactQuery.useMutation({
362
387
  mutationFn: async ({ newEndTime, account }) => {
363
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useExtendClaimWindow", "airdrop");
388
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useExtendClaimWindow", "airdrop");
364
389
  return client.extendClaimWindow(newEndTime, account);
365
390
  }
366
391
  });
367
392
  }
368
393
  function useWithdrawOtherToken(options) {
369
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
394
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
370
395
  return reactQuery.useMutation({
371
396
  mutationFn: async ({ tokenAddress, recipient, account }) => {
372
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawOtherToken", "airdrop");
397
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useWithdrawOtherToken", "airdrop");
373
398
  return client.withdrawOtherToken(tokenAddress, recipient, account);
374
399
  }
375
400
  });
376
401
  }
377
402
  function useWithdrawOtherConfidentialToken(options) {
378
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
403
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
379
404
  return reactQuery.useMutation({
380
405
  mutationFn: async ({ tokenAddress, recipient, account }) => {
381
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useWithdrawOtherConfidentialToken", "airdrop");
406
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useWithdrawOtherConfidentialToken", "airdrop");
382
407
  return client.withdrawOtherConfidentialToken(tokenAddress, recipient, account);
383
408
  }
384
409
  });
385
410
  }
386
411
  function useAirdropWithdrawGasFee(options) {
387
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
412
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
388
413
  return reactQuery.useMutation({
389
414
  mutationFn: async ({ recipient, amount, account }) => {
390
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAirdropWithdrawGasFee", "airdrop");
415
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAirdropWithdrawGasFee", "airdrop");
391
416
  return client.withdrawGasFee(recipient, amount, account);
392
417
  }
393
418
  });
394
419
  }
395
420
  function useAirdropGrantRole(options) {
396
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
421
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
397
422
  return reactQuery.useMutation({
398
423
  mutationFn: async ({ role, accountTarget, account }) => {
399
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAirdropGrantRole", "airdrop");
424
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAirdropGrantRole", "airdrop");
400
425
  return client.grantRole(role, accountTarget, account);
401
426
  }
402
427
  });
403
428
  }
404
429
  function useAirdropRevokeRole(options) {
405
- const { client } = chunkG7G75C46_cjs.useMemoAirdropClient(options);
430
+ const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
406
431
  return reactQuery.useMutation({
407
432
  mutationFn: async ({ role, accountTarget, account }) => {
408
- if (!client) throw new chunk56UI7LUR_cjs.MissingClientError("useAirdropRevokeRole", "airdrop");
433
+ if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAirdropRevokeRole", "airdrop");
409
434
  return client.revokeRole(role, accountTarget, account);
410
435
  }
411
436
  });
@@ -415,9 +440,9 @@ function useSignClaimAuthorization(options = {}) {
415
440
  return reactQuery.useMutation({
416
441
  mutationFn: async (args) => {
417
442
  if (!walletClient) {
418
- throw new chunk56UI7LUR_cjs.MissingWalletClientError("useSignClaimAuthorization");
443
+ throw new chunk67OV5CX2_cjs.MissingWalletClientError("useSignClaimAuthorization");
419
444
  }
420
- return chunkSYHXDHWX_cjs.signClaimAuthorization({
445
+ return chunkTIUKIY5V_cjs.signClaimAuthorization({
421
446
  walletClient,
422
447
  airdropAddress: args.airdropAddress,
423
448
  recipient: args.recipient,
@@ -429,171 +454,175 @@ function useSignClaimAuthorization(options = {}) {
429
454
 
430
455
  Object.defineProperty(exports, "AlreadyClaimedError", {
431
456
  enumerable: true,
432
- get: function () { return chunk5SA2HF2W_cjs.AlreadyClaimedError; }
457
+ get: function () { return chunkMCRBVJGZ_cjs.AlreadyClaimedError; }
433
458
  });
434
459
  Object.defineProperty(exports, "ClaimNotStartedError", {
435
460
  enumerable: true,
436
- get: function () { return chunk5SA2HF2W_cjs.ClaimNotStartedError; }
461
+ get: function () { return chunkMCRBVJGZ_cjs.ClaimNotStartedError; }
437
462
  });
438
463
  Object.defineProperty(exports, "ClaimWindowClosedError", {
439
464
  enumerable: true,
440
- get: function () { return chunk5SA2HF2W_cjs.ClaimWindowClosedError; }
465
+ get: function () { return chunkMCRBVJGZ_cjs.ClaimWindowClosedError; }
441
466
  });
442
467
  Object.defineProperty(exports, "encryptUint64", {
443
468
  enumerable: true,
444
- get: function () { return chunkSYHXDHWX_cjs.encryptUint64; }
469
+ get: function () { return chunkTIUKIY5V_cjs.encryptUint64; }
445
470
  });
446
471
  Object.defineProperty(exports, "encryptUint64Batch", {
447
472
  enumerable: true,
448
- get: function () { return chunkSYHXDHWX_cjs.encryptUint64Batch; }
473
+ get: function () { return chunkTIUKIY5V_cjs.encryptUint64Batch; }
449
474
  });
450
475
  Object.defineProperty(exports, "resolveEncryptor", {
451
476
  enumerable: true,
452
- get: function () { return chunkSYHXDHWX_cjs.resolveEncryptor; }
477
+ get: function () { return chunkTIUKIY5V_cjs.resolveEncryptor; }
453
478
  });
454
479
  Object.defineProperty(exports, "signClaimAuthorization", {
455
480
  enumerable: true,
456
- get: function () { return chunkSYHXDHWX_cjs.signClaimAuthorization; }
481
+ get: function () { return chunkTIUKIY5V_cjs.signClaimAuthorization; }
457
482
  });
458
483
  Object.defineProperty(exports, "AccessDeniedError", {
459
484
  enumerable: true,
460
- get: function () { return chunk56UI7LUR_cjs.AccessDeniedError; }
485
+ get: function () { return chunk67OV5CX2_cjs.AccessDeniedError; }
461
486
  });
462
487
  Object.defineProperty(exports, "AlreadyInitializedError", {
463
488
  enumerable: true,
464
- get: function () { return chunk56UI7LUR_cjs.AlreadyInitializedError; }
489
+ get: function () { return chunk67OV5CX2_cjs.AlreadyInitializedError; }
465
490
  });
466
491
  Object.defineProperty(exports, "BatchTooLargeError", {
467
492
  enumerable: true,
468
- get: function () { return chunk56UI7LUR_cjs.BatchTooLargeError; }
493
+ get: function () { return chunk67OV5CX2_cjs.BatchTooLargeError; }
469
494
  });
470
495
  Object.defineProperty(exports, "ContractRevertError", {
471
496
  enumerable: true,
472
- get: function () { return chunk56UI7LUR_cjs.ContractRevertError; }
497
+ get: function () { return chunk67OV5CX2_cjs.ContractRevertError; }
473
498
  });
474
499
  Object.defineProperty(exports, "DecryptionFailedError", {
475
500
  enumerable: true,
476
- get: function () { return chunk56UI7LUR_cjs.DecryptionFailedError; }
501
+ get: function () { return chunk67OV5CX2_cjs.DecryptionFailedError; }
477
502
  });
478
503
  Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
479
504
  enumerable: true,
480
- get: function () { return chunk56UI7LUR_cjs.DeploymentAddressUnavailableError; }
505
+ get: function () { return chunk67OV5CX2_cjs.DeploymentAddressUnavailableError; }
481
506
  });
482
507
  Object.defineProperty(exports, "EncryptionFailedError", {
483
508
  enumerable: true,
484
- get: function () { return chunk56UI7LUR_cjs.EncryptionFailedError; }
509
+ get: function () { return chunk67OV5CX2_cjs.EncryptionFailedError; }
485
510
  });
486
511
  Object.defineProperty(exports, "FeatureDisabledError", {
487
512
  enumerable: true,
488
- get: function () { return chunk56UI7LUR_cjs.FeatureDisabledError; }
513
+ get: function () { return chunk67OV5CX2_cjs.FeatureDisabledError; }
489
514
  });
490
515
  Object.defineProperty(exports, "FheHandleNotAllowedError", {
491
516
  enumerable: true,
492
- get: function () { return chunk56UI7LUR_cjs.FheHandleNotAllowedError; }
517
+ get: function () { return chunk67OV5CX2_cjs.FheHandleNotAllowedError; }
493
518
  });
494
519
  Object.defineProperty(exports, "InsufficientBalanceError", {
495
520
  enumerable: true,
496
- get: function () { return chunk56UI7LUR_cjs.InsufficientBalanceError; }
521
+ get: function () { return chunk67OV5CX2_cjs.InsufficientBalanceError; }
497
522
  });
498
523
  Object.defineProperty(exports, "InsufficientFeeError", {
499
524
  enumerable: true,
500
- get: function () { return chunk56UI7LUR_cjs.InsufficientFeeError; }
525
+ get: function () { return chunk67OV5CX2_cjs.InsufficientFeeError; }
501
526
  });
502
527
  Object.defineProperty(exports, "InsufficientGasFundsError", {
503
528
  enumerable: true,
504
- get: function () { return chunk56UI7LUR_cjs.InsufficientGasFundsError; }
529
+ get: function () { return chunk67OV5CX2_cjs.InsufficientGasFundsError; }
505
530
  });
506
531
  Object.defineProperty(exports, "InvalidArgumentError", {
507
532
  enumerable: true,
508
- get: function () { return chunk56UI7LUR_cjs.InvalidArgumentError; }
533
+ get: function () { return chunk67OV5CX2_cjs.InvalidArgumentError; }
509
534
  });
510
535
  Object.defineProperty(exports, "InvalidSignatureError", {
511
536
  enumerable: true,
512
- get: function () { return chunk56UI7LUR_cjs.InvalidSignatureError; }
537
+ get: function () { return chunk67OV5CX2_cjs.InvalidSignatureError; }
513
538
  });
514
539
  Object.defineProperty(exports, "MissingAccountError", {
515
540
  enumerable: true,
516
- get: function () { return chunk56UI7LUR_cjs.MissingAccountError; }
541
+ get: function () { return chunk67OV5CX2_cjs.MissingAccountError; }
517
542
  });
518
543
  Object.defineProperty(exports, "MissingClientError", {
519
544
  enumerable: true,
520
- get: function () { return chunk56UI7LUR_cjs.MissingClientError; }
545
+ get: function () { return chunk67OV5CX2_cjs.MissingClientError; }
521
546
  });
522
547
  Object.defineProperty(exports, "MissingEncryptorError", {
523
548
  enumerable: true,
524
- get: function () { return chunk56UI7LUR_cjs.MissingEncryptorError; }
549
+ get: function () { return chunk67OV5CX2_cjs.MissingEncryptorError; }
525
550
  });
526
551
  Object.defineProperty(exports, "MissingPublicClientError", {
527
552
  enumerable: true,
528
- get: function () { return chunk56UI7LUR_cjs.MissingPublicClientError; }
553
+ get: function () { return chunk67OV5CX2_cjs.MissingPublicClientError; }
529
554
  });
530
555
  Object.defineProperty(exports, "MissingWalletClientError", {
531
556
  enumerable: true,
532
- get: function () { return chunk56UI7LUR_cjs.MissingWalletClientError; }
557
+ get: function () { return chunk67OV5CX2_cjs.MissingWalletClientError; }
533
558
  });
534
559
  Object.defineProperty(exports, "NetworkError", {
535
560
  enumerable: true,
536
- get: function () { return chunk56UI7LUR_cjs.NetworkError; }
561
+ get: function () { return chunk67OV5CX2_cjs.NetworkError; }
562
+ });
563
+ Object.defineProperty(exports, "OperatorNotApprovedError", {
564
+ enumerable: true,
565
+ get: function () { return chunk67OV5CX2_cjs.OperatorNotApprovedError; }
537
566
  });
538
567
  Object.defineProperty(exports, "PausedError", {
539
568
  enumerable: true,
540
- get: function () { return chunk56UI7LUR_cjs.PausedError; }
569
+ get: function () { return chunk67OV5CX2_cjs.PausedError; }
541
570
  });
542
571
  Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
543
572
  enumerable: true,
544
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventAmbiguousError; }
573
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventAmbiguousError; }
545
574
  });
546
575
  Object.defineProperty(exports, "ReceiptEventNotFoundError", {
547
576
  enumerable: true,
548
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventNotFoundError; }
577
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventNotFoundError; }
549
578
  });
550
579
  Object.defineProperty(exports, "ReentrancyError", {
551
580
  enumerable: true,
552
- get: function () { return chunk56UI7LUR_cjs.ReentrancyError; }
581
+ get: function () { return chunk67OV5CX2_cjs.ReentrancyError; }
553
582
  });
554
583
  Object.defineProperty(exports, "RelayerUnreachableError", {
555
584
  enumerable: true,
556
- get: function () { return chunk56UI7LUR_cjs.RelayerUnreachableError; }
585
+ get: function () { return chunk67OV5CX2_cjs.RelayerUnreachableError; }
557
586
  });
558
587
  Object.defineProperty(exports, "SigningFailedError", {
559
588
  enumerable: true,
560
- get: function () { return chunk56UI7LUR_cjs.SigningFailedError; }
589
+ get: function () { return chunk67OV5CX2_cjs.SigningFailedError; }
561
590
  });
562
591
  Object.defineProperty(exports, "TokenOpsSdkError", {
563
592
  enumerable: true,
564
- get: function () { return chunk56UI7LUR_cjs.TokenOpsSdkError; }
593
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsSdkError; }
565
594
  });
566
595
  Object.defineProperty(exports, "TransferFailedError", {
567
596
  enumerable: true,
568
- get: function () { return chunk56UI7LUR_cjs.TransferFailedError; }
597
+ get: function () { return chunk67OV5CX2_cjs.TransferFailedError; }
569
598
  });
570
599
  Object.defineProperty(exports, "UnknownWriteFailureError", {
571
600
  enumerable: true,
572
- get: function () { return chunk56UI7LUR_cjs.UnknownWriteFailureError; }
601
+ get: function () { return chunk67OV5CX2_cjs.UnknownWriteFailureError; }
573
602
  });
574
603
  Object.defineProperty(exports, "UnsupportedChainError", {
575
604
  enumerable: true,
576
- get: function () { return chunk56UI7LUR_cjs.UnsupportedChainError; }
605
+ get: function () { return chunk67OV5CX2_cjs.UnsupportedChainError; }
577
606
  });
578
607
  Object.defineProperty(exports, "UserDecryptNotAllowedError", {
579
608
  enumerable: true,
580
- get: function () { return chunk56UI7LUR_cjs.UserDecryptNotAllowedError; }
609
+ get: function () { return chunk67OV5CX2_cjs.UserDecryptNotAllowedError; }
581
610
  });
582
611
  Object.defineProperty(exports, "UserRejectedSignatureError", {
583
612
  enumerable: true,
584
- get: function () { return chunk56UI7LUR_cjs.UserRejectedSignatureError; }
613
+ get: function () { return chunk67OV5CX2_cjs.UserRejectedSignatureError; }
585
614
  });
586
615
  Object.defineProperty(exports, "WalletChainMismatchError", {
587
616
  enumerable: true,
588
- get: function () { return chunk56UI7LUR_cjs.WalletChainMismatchError; }
617
+ get: function () { return chunk67OV5CX2_cjs.WalletChainMismatchError; }
589
618
  });
590
619
  Object.defineProperty(exports, "WalletRejectedError", {
591
620
  enumerable: true,
592
- get: function () { return chunk56UI7LUR_cjs.WalletRejectedError; }
621
+ get: function () { return chunk67OV5CX2_cjs.WalletRejectedError; }
593
622
  });
594
623
  Object.defineProperty(exports, "isTokenOpsSdkError", {
595
624
  enumerable: true,
596
- get: function () { return chunk56UI7LUR_cjs.isTokenOpsSdkError; }
625
+ get: function () { return chunk67OV5CX2_cjs.isTokenOpsSdkError; }
597
626
  });
598
627
  exports.useAirdropCanExtendClaimWindow = useAirdropCanExtendClaimWindow;
599
628
  exports.useAirdropClaimTypehash = useAirdropClaimTypehash;
@@ -628,6 +657,7 @@ exports.useFactoryFeeCollector = useFactoryFeeCollector;
628
657
  exports.useFactoryInitCodeHash = useFactoryInitCodeHash;
629
658
  exports.useFundConfidentialAirdrop = useFundConfidentialAirdrop;
630
659
  exports.useGetClaimAmount = useGetClaimAmount;
660
+ exports.usePreflightCreateAirdrop = usePreflightCreateAirdrop;
631
661
  exports.useSetCustomFee = useSetCustomFee;
632
662
  exports.useSetDefaultGasFee = useSetDefaultGasFee;
633
663
  exports.useSetFeeCollector = useSetFeeCollector;