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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/CHANGELOG.md +67 -2
  2. package/README.md +14 -8
  3. package/dist/{chunk-PUX5VXDB.cjs → chunk-4AWQJQXY.cjs} +1415 -69
  4. package/dist/{chunk-74QFZ5MK.js → chunk-4IB4IY5Y.js} +1 -1
  5. package/dist/{chunk-DZHYSUGY.js → chunk-6HCT4QIX.js} +12 -5
  6. package/dist/{chunk-FGEB7RMY.cjs → chunk-6XOAYDC6.cjs} +4 -4
  7. package/dist/{chunk-XAYGD4E4.cjs → chunk-AHU2HMNE.cjs} +3 -3
  8. package/dist/{chunk-6NAVMWZQ.js → chunk-BPIVVCSQ.js} +2 -2
  9. package/dist/{chunk-GKKDAW44.js → chunk-BXX5TETM.js} +1401 -59
  10. package/dist/{chunk-456VDDA3.js → chunk-GCJFAY4X.js} +78 -25
  11. package/dist/{chunk-CTED3MTR.cjs → chunk-GKYZQJGP.cjs} +82 -29
  12. package/dist/{chunk-JZLGCTGK.cjs → chunk-IEKTGJ4J.cjs} +2 -2
  13. package/dist/{chunk-6PXXGACR.cjs → chunk-JVNJSDQ4.cjs} +2 -2
  14. package/dist/{chunk-O5676ZWY.js → chunk-LEYYG4RF.js} +232 -6
  15. package/dist/{chunk-335Z2W67.js → chunk-NGU4JYIR.js} +1 -1
  16. package/dist/{chunk-5576FRT3.cjs → chunk-PG3WXT3K.cjs} +12 -5
  17. package/dist/{chunk-H5POPGOZ.js → chunk-PK6Q6J5F.js} +1 -1
  18. package/dist/chunk-TND5NDV7.cjs +263 -0
  19. package/dist/chunk-U3TBQRT7.js +253 -0
  20. package/dist/{chunk-EAJ7SYHE.js → chunk-WRWRA4TN.js} +1 -1
  21. package/dist/{chunk-JQYC66TO.cjs → chunk-YABHXJNH.cjs} +5 -5
  22. package/dist/{chunk-M4IT6DNJ.cjs → chunk-YTIYTV4K.cjs} +236 -4
  23. package/dist/core/addresses.d.ts +4 -4
  24. package/dist/core/errors.d.ts +1 -1
  25. package/dist/fhe/types.d.ts +2 -2
  26. package/dist/fhe-airdrop/abis/airdrop-base.d.ts +19 -0
  27. package/dist/fhe-airdrop/abis/ecdsa.d.ts +19 -0
  28. package/dist/fhe-airdrop/abis/factory.d.ts +113 -0
  29. package/dist/fhe-airdrop/abis/merkle.d.ts +43 -12
  30. package/dist/fhe-airdrop/advanced/index.cjs +4 -4
  31. package/dist/fhe-airdrop/advanced/index.js +1 -1
  32. package/dist/fhe-airdrop/advanced/react/index.cjs +620 -9
  33. package/dist/fhe-airdrop/advanced/react/index.d.cts +35 -0
  34. package/dist/fhe-airdrop/advanced/react/index.d.ts +35 -0
  35. package/dist/fhe-airdrop/advanced/react/index.js +590 -7
  36. package/dist/fhe-airdrop/advanced/react/useClearCompliancePolicy.d.ts +28 -0
  37. package/dist/fhe-airdrop/advanced/react/useClearUpgradeabilityPolicy.d.ts +26 -0
  38. package/dist/fhe-airdrop/advanced/react/useDisableCustomFee.d.ts +26 -0
  39. package/dist/fhe-airdrop/advanced/react/useEcdsaInitCodeHash.d.ts +30 -0
  40. package/dist/fhe-airdrop/advanced/react/useFactoryComplianceDelegate.d.ts +25 -0
  41. package/dist/fhe-airdrop/advanced/react/useFactoryCompliancePolicy.d.ts +38 -0
  42. package/dist/fhe-airdrop/advanced/react/useFactoryCustomFee.d.ts +24 -0
  43. package/dist/fhe-airdrop/advanced/react/useFactoryGrantRole.d.ts +32 -0
  44. package/dist/fhe-airdrop/advanced/react/useFactoryHasRole.d.ts +27 -0
  45. package/dist/fhe-airdrop/advanced/react/useFactoryImplementations.d.ts +33 -0
  46. package/dist/fhe-airdrop/advanced/react/useFactoryRenounceRole.d.ts +37 -0
  47. package/dist/fhe-airdrop/advanced/react/useFactoryRevokeRole.d.ts +37 -0
  48. package/dist/fhe-airdrop/advanced/react/useFactoryRoleConstants.d.ts +46 -0
  49. package/dist/fhe-airdrop/advanced/react/useFactoryRoleMembers.d.ts +48 -0
  50. package/dist/fhe-airdrop/advanced/react/useFactoryUpgradeabilityPolicy.d.ts +39 -0
  51. package/dist/fhe-airdrop/advanced/react/useMerkleInitCodeHash.d.ts +24 -0
  52. package/dist/fhe-airdrop/advanced/react/useSetComplianceDelegate.d.ts +33 -0
  53. package/dist/fhe-airdrop/advanced/react/useSetComplianceManagerImpl.d.ts +27 -0
  54. package/dist/fhe-airdrop/advanced/react/useSetCompliancePolicy.d.ts +28 -0
  55. package/dist/fhe-airdrop/advanced/react/useSetCustomFee.d.ts +29 -0
  56. package/dist/fhe-airdrop/advanced/react/useSetDefaultDelegateToCompliance.d.ts +31 -0
  57. package/dist/fhe-airdrop/advanced/react/useSetDefaultGasFee.d.ts +30 -0
  58. package/dist/fhe-airdrop/advanced/react/useSetDefaultUpgradeable.d.ts +27 -0
  59. package/dist/fhe-airdrop/advanced/react/useSetEcdsaImplementation.d.ts +34 -0
  60. package/dist/fhe-airdrop/advanced/react/useSetFeeCollector.d.ts +27 -0
  61. package/dist/fhe-airdrop/advanced/react/useSetMaxGasFee.d.ts +33 -0
  62. package/dist/fhe-airdrop/advanced/react/useSetMerkleImplementation.d.ts +30 -0
  63. package/dist/fhe-airdrop/advanced/react/useSetUpgradeabilityPolicy.d.ts +31 -0
  64. package/dist/fhe-airdrop/airdrop-base.d.ts +55 -8
  65. package/dist/fhe-airdrop/campaign.d.ts +61 -20
  66. package/dist/fhe-airdrop/constants.d.ts +9 -1
  67. package/dist/fhe-airdrop/ecdsa.d.ts +13 -0
  68. package/dist/fhe-airdrop/errors.d.ts +87 -0
  69. package/dist/fhe-airdrop/factory.d.ts +62 -22
  70. package/dist/fhe-airdrop/guards.d.ts +133 -4
  71. package/dist/fhe-airdrop/index.cjs +86 -971
  72. package/dist/fhe-airdrop/index.d.cts +4 -4
  73. package/dist/fhe-airdrop/index.d.ts +4 -4
  74. package/dist/fhe-airdrop/index.js +8 -927
  75. package/dist/fhe-airdrop/merkle-tree.d.ts +32 -38
  76. package/dist/fhe-airdrop/merkle.d.ts +52 -31
  77. package/dist/fhe-airdrop/react/_shared.d.ts +13 -0
  78. package/dist/fhe-airdrop/react/index.cjs +997 -87
  79. package/dist/fhe-airdrop/react/index.d.cts +53 -4
  80. package/dist/fhe-airdrop/react/index.d.ts +53 -4
  81. package/dist/fhe-airdrop/react/index.js +887 -27
  82. package/dist/fhe-airdrop/react/keys.d.ts +98 -0
  83. package/dist/fhe-airdrop/react/useAccessEcdsaClaimAmount.d.ts +26 -0
  84. package/dist/fhe-airdrop/react/useAccessMerkleClaimAmount.d.ts +27 -0
  85. package/dist/fhe-airdrop/react/useAddComplianceDelegate.d.ts +37 -0
  86. package/dist/fhe-airdrop/react/useAdminBatchDiscloseBalanceToParties.d.ts +36 -0
  87. package/dist/fhe-airdrop/react/useAdminDiscloseBalanceToParty.d.ts +31 -0
  88. package/dist/fhe-airdrop/react/useAdminGetCurrentBalance.d.ts +27 -0
  89. package/dist/fhe-airdrop/react/useAirdropConfig.d.ts +49 -0
  90. package/dist/fhe-airdrop/react/useAirdropDeploymentMode.d.ts +28 -0
  91. package/dist/fhe-airdrop/react/useAirdropGrantRole.d.ts +35 -0
  92. package/dist/fhe-airdrop/react/useAirdropRenounceRole.d.ts +36 -0
  93. package/dist/fhe-airdrop/react/useAirdropRevokeRole.d.ts +33 -0
  94. package/dist/fhe-airdrop/react/useAirdropRoleAdmin.d.ts +28 -0
  95. package/dist/fhe-airdrop/react/useAirdropRoleConstants.d.ts +67 -0
  96. package/dist/fhe-airdrop/react/useAirdropRoleMembers.d.ts +49 -0
  97. package/dist/fhe-airdrop/react/useAirdropUpgradeToAndCall.d.ts +45 -0
  98. package/dist/fhe-airdrop/react/useBatchDiscloseHandlesToParty.d.ts +32 -0
  99. package/dist/fhe-airdrop/react/useBuildMerkleCampaign.d.ts +68 -0
  100. package/dist/fhe-airdrop/react/useComplianceGrantRole.d.ts +32 -0
  101. package/dist/fhe-airdrop/react/useComplianceHasRole.d.ts +37 -0
  102. package/dist/fhe-airdrop/react/useComplianceInfo.d.ts +50 -0
  103. package/dist/fhe-airdrop/react/useComplianceManagerOf.d.ts +32 -0
  104. package/dist/fhe-airdrop/react/useComplianceRenounceRole.d.ts +38 -0
  105. package/dist/fhe-airdrop/react/useComplianceRevokeRole.d.ts +36 -0
  106. package/dist/fhe-airdrop/react/useComplianceRoleConstants.d.ts +41 -0
  107. package/dist/fhe-airdrop/react/useComplianceRoleMembers.d.ts +45 -0
  108. package/dist/fhe-airdrop/react/useCreateAndFundEcdsaAirdrop.d.ts +55 -0
  109. package/dist/fhe-airdrop/react/useCreateAndFundMerkleAirdrop.d.ts +52 -0
  110. package/dist/fhe-airdrop/react/useDiscloseHandleToParty.d.ts +35 -0
  111. package/dist/fhe-airdrop/react/useEcdsaClaim.d.ts +4 -3
  112. package/dist/fhe-airdrop/react/useEcdsaClaimAndUnwrap.d.ts +27 -0
  113. package/dist/fhe-airdrop/react/useEcdsaDomain.d.ts +41 -0
  114. package/dist/fhe-airdrop/react/useEffectiveDelegateToCompliance.d.ts +26 -0
  115. package/dist/fhe-airdrop/react/useEncryptCampaignAmounts.d.ts +59 -0
  116. package/dist/fhe-airdrop/react/useFactoryFees.d.ts +11 -4
  117. package/dist/fhe-airdrop/react/useIsActiveDelegate.d.ts +29 -0
  118. package/dist/fhe-airdrop/react/useIsAirdrop.d.ts +44 -0
  119. package/dist/fhe-airdrop/react/useIsMerkleRootMutable.d.ts +21 -0
  120. package/dist/fhe-airdrop/react/useIsSignatureValid.d.ts +46 -0
  121. package/dist/fhe-airdrop/react/useMerkleClaim.d.ts +7 -19
  122. package/dist/fhe-airdrop/react/useMerkleClaimAndUnwrap.d.ts +29 -0
  123. package/dist/fhe-airdrop/react/usePlanMerkleCampaign.d.ts +53 -0
  124. package/dist/fhe-airdrop/react/usePreflightClaim.d.ts +46 -0
  125. package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +67 -0
  126. package/dist/fhe-airdrop/react/useRefreshComplianceBalance.d.ts +36 -0
  127. package/dist/fhe-airdrop/react/useRescueERC20.d.ts +30 -0
  128. package/dist/fhe-airdrop/react/useRescueOtherConfidentialToken.d.ts +34 -0
  129. package/dist/fhe-airdrop/react/useResolveGasFee.d.ts +30 -0
  130. package/dist/fhe-airdrop/react/useRevokeComplianceDelegate.d.ts +37 -0
  131. package/dist/fhe-airdrop/react/useRotateMerkleRoot.d.ts +52 -0
  132. package/dist/fhe-airdrop/react/useSignClaimAuthorization.d.ts +42 -0
  133. package/dist/fhe-airdrop/react/useWithdrawGasFee.d.ts +37 -0
  134. package/dist/fhe-airdrop/types.d.ts +27 -1
  135. package/dist/fhe-disperse/index.cjs +21 -21
  136. package/dist/fhe-disperse/index.js +2 -2
  137. package/dist/fhe-disperse/react/index.cjs +22 -22
  138. package/dist/fhe-disperse/react/index.js +3 -3
  139. package/dist/fhe-vesting/advanced/index.cjs +5 -5
  140. package/dist/fhe-vesting/advanced/index.js +3 -3
  141. package/dist/fhe-vesting/advanced/react/index.cjs +7 -7
  142. package/dist/fhe-vesting/advanced/react/index.js +4 -4
  143. package/dist/fhe-vesting/index.cjs +8 -8
  144. package/dist/fhe-vesting/index.js +2 -2
  145. package/dist/fhe-vesting/react/index.cjs +114 -114
  146. package/dist/fhe-vesting/react/index.js +3 -3
  147. package/dist/index.cjs +18 -18
  148. package/dist/index.js +1 -1
  149. package/dist/testnet-faucet/index.cjs +14 -14
  150. package/dist/testnet-faucet/index.js +2 -2
  151. package/dist/testnet-faucet/react/index.cjs +8 -8
  152. package/dist/testnet-faucet/react/index.js +3 -3
  153. package/package.json +1 -1
  154. package/dist/chunk-NCVX3K2N.cjs +0 -161
  155. package/dist/chunk-VP2B4WM2.js +0 -154
@@ -1,24 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var chunkNCVX3K2N_cjs = require('../../../chunk-NCVX3K2N.cjs');
4
- require('../../../chunk-PUX5VXDB.cjs');
5
- require('../../../chunk-M4IT6DNJ.cjs');
3
+ var chunkTND5NDV7_cjs = require('../../../chunk-TND5NDV7.cjs');
4
+ require('../../../chunk-4AWQJQXY.cjs');
5
+ require('../../../chunk-YTIYTV4K.cjs');
6
6
  require('../../../chunk-FAXIIH5R.cjs');
7
7
  require('../../../chunk-UG5RKLU2.cjs');
8
8
  require('../../../chunk-MVDQMV25.cjs');
9
- require('../../../chunk-5576FRT3.cjs');
9
+ require('../../../chunk-PG3WXT3K.cjs');
10
10
  require('../../../chunk-JK4XMMKM.cjs');
11
11
  require('../../../chunk-66IHPTOK.cjs');
12
- require('../../../chunk-67OV5CX2.cjs');
12
+ var chunk67OV5CX2_cjs = require('../../../chunk-67OV5CX2.cjs');
13
13
  require('../../../chunk-VJKZWYYJ.cjs');
14
14
  var reactQuery = require('@tanstack/react-query');
15
15
 
16
16
  function usePredictEcdsaAirdropAddress(args) {
17
17
  const { params, mode, deployer, userSalt, ...base } = args;
18
- const { client, chainId, resolvedAddress } = chunkNCVX3K2N_cjs.useMemoAirdropFactoryClient(base);
18
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
19
19
  return reactQuery.useQuery({
20
20
  ...args.query,
21
- queryKey: chunkNCVX3K2N_cjs.airdropQueryKey({
21
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
22
22
  chainId,
23
23
  address: resolvedAddress,
24
24
  fn: "predictEcdsaAirdropAddress",
@@ -30,10 +30,10 @@ function usePredictEcdsaAirdropAddress(args) {
30
30
  }
31
31
  function usePredictMerkleAirdropAddress(args) {
32
32
  const { params, mode, deployer, userSalt, ...base } = args;
33
- const { client, chainId, resolvedAddress } = chunkNCVX3K2N_cjs.useMemoAirdropFactoryClient(base);
33
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
34
34
  return reactQuery.useQuery({
35
35
  ...args.query,
36
- queryKey: chunkNCVX3K2N_cjs.airdropQueryKey({
36
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
37
37
  chainId,
38
38
  address: resolvedAddress,
39
39
  fn: "predictMerkleAirdropAddress",
@@ -43,6 +43,617 @@ function usePredictMerkleAirdropAddress(args) {
43
43
  enabled: Boolean(client && (args.query?.enabled ?? true))
44
44
  });
45
45
  }
46
+ function useClearCompliancePolicy(options = {}) {
47
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
48
+ const queryClient = reactQuery.useQueryClient();
49
+ return reactQuery.useMutation({
50
+ mutationFn: async (args) => {
51
+ if (!client) {
52
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useClearCompliancePolicy", "factory");
53
+ }
54
+ return client.clearCompliancePolicy(args.creator, args.account);
55
+ },
56
+ onSuccess: (_hash, variables) => {
57
+ const scope = { chainId, address: resolvedAddress };
58
+ void queryClient.invalidateQueries({
59
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.compliancePolicy(scope, variables.creator)
60
+ });
61
+ void queryClient.invalidateQueries({
62
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
63
+ ...scope,
64
+ fn: "effectiveDelegateToCompliance",
65
+ args: [variables.creator]
66
+ })
67
+ });
68
+ }
69
+ });
70
+ }
71
+ function useClearUpgradeabilityPolicy(options = {}) {
72
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
73
+ const queryClient = reactQuery.useQueryClient();
74
+ return reactQuery.useMutation({
75
+ mutationFn: async (args) => {
76
+ if (!client) {
77
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useClearUpgradeabilityPolicy", "factory");
78
+ }
79
+ return client.clearUpgradeabilityPolicy(args.creator, args.account);
80
+ },
81
+ onSuccess: (_hash, variables) => {
82
+ const scope = { chainId, address: resolvedAddress };
83
+ void queryClient.invalidateQueries({
84
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
85
+ ...scope,
86
+ fn: "effectiveUpgradeable",
87
+ args: [variables.creator]
88
+ })
89
+ });
90
+ void queryClient.invalidateQueries({
91
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.upgradeabilityPolicy(scope, variables.creator)
92
+ });
93
+ void queryClient.invalidateQueries({
94
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.preflightCreateAll(scope)
95
+ });
96
+ }
97
+ });
98
+ }
99
+ function useDisableCustomFee(options = {}) {
100
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
101
+ const queryClient = reactQuery.useQueryClient();
102
+ return reactQuery.useMutation({
103
+ mutationFn: async ({ creator, account }) => {
104
+ if (!client) {
105
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useDisableCustomFee", "factory");
106
+ }
107
+ return client.disableCustomFee(creator, account);
108
+ },
109
+ onSuccess: (_hash, variables) => {
110
+ void queryClient.invalidateQueries({
111
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.resolvedGasFeeAll({ chainId, address: resolvedAddress })
112
+ });
113
+ void queryClient.invalidateQueries({
114
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.customFee({ chainId, address: resolvedAddress }, variables.creator)
115
+ });
116
+ }
117
+ });
118
+ }
119
+ function useEcdsaInitCodeHash(args) {
120
+ const { params, mode, ...base } = args;
121
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
122
+ return reactQuery.useQuery({
123
+ ...args.query,
124
+ // `params` is omitted for the same reason the predict hooks omit it: the
125
+ // ABI demands it but the factory ignores it, so only `mode` (plus the
126
+ // implementation pointer, which is what this read reports) moves the
127
+ // result. If a future factory version makes params hash-affecting, this
128
+ // key has to grow with it.
129
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
130
+ chainId,
131
+ address: resolvedAddress,
132
+ fn: "getEcdsaInitCodeHash",
133
+ args: [mode]
134
+ }),
135
+ queryFn: () => client.getEcdsaInitCodeHash({ params, mode }),
136
+ enabled: Boolean(client && (args.query?.enabled ?? true))
137
+ });
138
+ }
139
+ function useFactoryComplianceDelegate(args = {}) {
140
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(args);
141
+ return reactQuery.useQuery({
142
+ ...args.query,
143
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
144
+ chainId,
145
+ address: resolvedAddress,
146
+ fn: "complianceDelegate",
147
+ args: []
148
+ }),
149
+ queryFn: () => client.complianceDelegate(),
150
+ enabled: Boolean(client && (args.query?.enabled ?? true))
151
+ });
152
+ }
153
+ function useFactoryCompliancePolicy(args = {}) {
154
+ const { creator, ...base } = args;
155
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
156
+ return reactQuery.useQuery({
157
+ ...args.query,
158
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.compliancePolicy({ chainId, address: resolvedAddress }, creator),
159
+ queryFn: async () => {
160
+ const [policy, effective] = await Promise.all([
161
+ client.getCompliancePolicy(creator),
162
+ client.effectiveDelegateToCompliance(creator)
163
+ ]);
164
+ return {
165
+ overridden: policy.overridden,
166
+ delegateToCompliance: policy.delegateToCompliance,
167
+ effective
168
+ };
169
+ },
170
+ enabled: Boolean(client && creator && (args.query?.enabled ?? true))
171
+ });
172
+ }
173
+ function useFactoryCustomFee(args = {}) {
174
+ const { creator, ...base } = args;
175
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
176
+ return reactQuery.useQuery({
177
+ ...args.query,
178
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.customFee({ chainId, address: resolvedAddress }, creator),
179
+ queryFn: () => client.getCustomFee(creator),
180
+ enabled: Boolean(client && creator && (args.query?.enabled ?? true))
181
+ });
182
+ }
183
+ function useFactoryGrantRole(options = {}) {
184
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
185
+ const queryClient = reactQuery.useQueryClient();
186
+ return reactQuery.useMutation({
187
+ mutationFn: async (args) => {
188
+ if (!client) {
189
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useFactoryGrantRole", "factory");
190
+ }
191
+ return client.grantRole(args);
192
+ },
193
+ onSuccess: (_hash, variables) => {
194
+ const scope = { chainId, address: resolvedAddress };
195
+ void queryClient.invalidateQueries({
196
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.factoryHasRole(scope, variables.role, variables.holder)
197
+ });
198
+ void queryClient.invalidateQueries({
199
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.factoryRoleMembers(scope, variables.role)
200
+ });
201
+ }
202
+ });
203
+ }
204
+ function useFactoryHasRole(args = {}) {
205
+ const { role, holder, ...base } = args;
206
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
207
+ return reactQuery.useQuery({
208
+ ...args.query,
209
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.factoryHasRole({ chainId, address: resolvedAddress }, role, holder),
210
+ queryFn: () => client.hasRole({ role, holder }),
211
+ enabled: Boolean(client && role && holder && (args.query?.enabled ?? true))
212
+ });
213
+ }
214
+ function useFactoryImplementations(args = {}) {
215
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(args);
216
+ return reactQuery.useQuery({
217
+ ...args.query,
218
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.implementations({ chainId, address: resolvedAddress }),
219
+ queryFn: async () => {
220
+ const [ecdsa, merkle, complianceManager] = await Promise.all([
221
+ client.ecdsaImplementation(),
222
+ client.merkleImplementation(),
223
+ client.complianceManagerImpl()
224
+ ]);
225
+ return { ecdsa, merkle, complianceManager };
226
+ },
227
+ enabled: Boolean(client && (args.query?.enabled ?? true))
228
+ });
229
+ }
230
+ function useFactoryRenounceRole(options = {}) {
231
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
232
+ const queryClient = reactQuery.useQueryClient();
233
+ return reactQuery.useMutation({
234
+ mutationFn: async (args) => {
235
+ if (!client) {
236
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useFactoryRenounceRole", "factory");
237
+ }
238
+ return client.renounceRole(args);
239
+ },
240
+ onSuccess: (_hash, variables) => {
241
+ const scope = { chainId, address: resolvedAddress };
242
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.factoryHasRoleAll(scope) });
243
+ void queryClient.invalidateQueries({
244
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.factoryRoleMembers(scope, variables.role)
245
+ });
246
+ }
247
+ });
248
+ }
249
+ function useFactoryRevokeRole(options = {}) {
250
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
251
+ const queryClient = reactQuery.useQueryClient();
252
+ return reactQuery.useMutation({
253
+ mutationFn: async (args) => {
254
+ if (!client) {
255
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useFactoryRevokeRole", "factory");
256
+ }
257
+ return client.revokeRole(args);
258
+ },
259
+ onSuccess: (_hash, variables) => {
260
+ const scope = { chainId, address: resolvedAddress };
261
+ void queryClient.invalidateQueries({
262
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.factoryHasRole(scope, variables.role, variables.holder)
263
+ });
264
+ void queryClient.invalidateQueries({
265
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.factoryRoleMembers(scope, variables.role)
266
+ });
267
+ }
268
+ });
269
+ }
270
+ function useFactoryRoleConstants(args = {}) {
271
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(args);
272
+ return reactQuery.useQuery({
273
+ // A default, not a lock: `query.staleTime` still wins if a consumer wants refetching.
274
+ staleTime: Infinity,
275
+ ...args.query,
276
+ // `fn` label is unique to this hook, so it stays inline rather than in keys.ts.
277
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
278
+ chainId,
279
+ address: resolvedAddress,
280
+ fn: "factoryRoleConstants",
281
+ args: []
282
+ }),
283
+ queryFn: async () => {
284
+ const [
285
+ FEE_MANAGER_ROLE,
286
+ IMPL_MANAGER_ROLE,
287
+ COMPLIANCE_WIRING_ROLE,
288
+ UPGRADE_MANAGER_ROLE,
289
+ DEFAULT_ADMIN_ROLE
290
+ ] = await Promise.all([
291
+ client.FEE_MANAGER_ROLE(),
292
+ client.IMPL_MANAGER_ROLE(),
293
+ client.COMPLIANCE_WIRING_ROLE(),
294
+ client.UPGRADE_MANAGER_ROLE(),
295
+ client.DEFAULT_ADMIN_ROLE()
296
+ ]);
297
+ return {
298
+ FEE_MANAGER_ROLE,
299
+ IMPL_MANAGER_ROLE,
300
+ COMPLIANCE_WIRING_ROLE,
301
+ UPGRADE_MANAGER_ROLE,
302
+ DEFAULT_ADMIN_ROLE
303
+ };
304
+ },
305
+ enabled: Boolean(client && (args.query?.enabled ?? true))
306
+ });
307
+ }
308
+ function useFactoryRoleMembers(args = {}) {
309
+ const { role, ...base } = args;
310
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
311
+ return reactQuery.useQuery({
312
+ ...args.query,
313
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.factoryRoleMembers({ chainId, address: resolvedAddress }, role),
314
+ queryFn: async () => {
315
+ const [members, count] = await Promise.all([
316
+ client.getRoleMembers(role),
317
+ client.getRoleMemberCount(role)
318
+ ]);
319
+ return { members, count };
320
+ },
321
+ enabled: Boolean(client && role && (args.query?.enabled ?? true))
322
+ });
323
+ }
324
+ function useFactoryUpgradeabilityPolicy(args = {}) {
325
+ const { creator, ...base } = args;
326
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
327
+ return reactQuery.useQuery({
328
+ ...args.query,
329
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.upgradeabilityPolicy({ chainId, address: resolvedAddress }, creator),
330
+ queryFn: async () => {
331
+ const [defaultUpgradeable, policy, effective] = await Promise.all([
332
+ client.defaultUpgradeable(),
333
+ client.getUpgradeabilityPolicy(creator),
334
+ client.effectiveUpgradeable(creator)
335
+ ]);
336
+ return {
337
+ defaultUpgradeable,
338
+ overridden: policy.overridden,
339
+ allowed: policy.allowed,
340
+ effective
341
+ };
342
+ },
343
+ enabled: Boolean(client && creator && (args.query?.enabled ?? true))
344
+ });
345
+ }
346
+ function useMerkleInitCodeHash(args) {
347
+ const { params, mode, ...base } = args;
348
+ const { client, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(base);
349
+ return reactQuery.useQuery({
350
+ ...args.query,
351
+ // `params` omitted deliberately — see useEcdsaInitCodeHash for why.
352
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
353
+ chainId,
354
+ address: resolvedAddress,
355
+ fn: "getMerkleInitCodeHash",
356
+ args: [mode]
357
+ }),
358
+ queryFn: () => client.getMerkleInitCodeHash({ params, mode }),
359
+ enabled: Boolean(client && (args.query?.enabled ?? true))
360
+ });
361
+ }
362
+ function useSetComplianceDelegate(options = {}) {
363
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
364
+ const queryClient = reactQuery.useQueryClient();
365
+ return reactQuery.useMutation({
366
+ mutationFn: async (args) => {
367
+ if (!client) {
368
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetComplianceDelegate", "factory");
369
+ }
370
+ return client.setComplianceDelegate(args.delegate, args.account);
371
+ },
372
+ onSuccess: () => {
373
+ void queryClient.invalidateQueries({
374
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
375
+ chainId,
376
+ address: resolvedAddress,
377
+ fn: "complianceDelegate",
378
+ args: []
379
+ })
380
+ });
381
+ }
382
+ });
383
+ }
384
+ function useSetComplianceManagerImpl(options = {}) {
385
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
386
+ const queryClient = reactQuery.useQueryClient();
387
+ return reactQuery.useMutation({
388
+ mutationFn: async (args) => {
389
+ if (!client) {
390
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetComplianceManagerImpl", "factory");
391
+ }
392
+ return client.setComplianceManagerImpl(args.implementation, args.account);
393
+ },
394
+ onSuccess: () => {
395
+ void queryClient.invalidateQueries({
396
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.implementations({ chainId, address: resolvedAddress })
397
+ });
398
+ }
399
+ });
400
+ }
401
+ function useSetCompliancePolicy(options = {}) {
402
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
403
+ const queryClient = reactQuery.useQueryClient();
404
+ return reactQuery.useMutation({
405
+ mutationFn: async (args) => {
406
+ if (!client) {
407
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetCompliancePolicy", "factory");
408
+ }
409
+ return client.setCompliancePolicy(args.creator, args.delegateToCompliance, args.account);
410
+ },
411
+ onSuccess: (_hash, variables) => {
412
+ const scope = { chainId, address: resolvedAddress };
413
+ void queryClient.invalidateQueries({
414
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.compliancePolicy(scope, variables.creator)
415
+ });
416
+ void queryClient.invalidateQueries({
417
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
418
+ ...scope,
419
+ fn: "effectiveDelegateToCompliance",
420
+ args: [variables.creator]
421
+ })
422
+ });
423
+ }
424
+ });
425
+ }
426
+ function useSetCustomFee(options = {}) {
427
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
428
+ const queryClient = reactQuery.useQueryClient();
429
+ return reactQuery.useMutation({
430
+ mutationFn: async ({ creator, gasFee, account }) => {
431
+ if (!client) {
432
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetCustomFee", "factory");
433
+ }
434
+ return client.setCustomFee(creator, gasFee, account);
435
+ },
436
+ onSuccess: (_hash, variables) => {
437
+ void queryClient.invalidateQueries({
438
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.resolvedGasFeeAll({ chainId, address: resolvedAddress })
439
+ });
440
+ void queryClient.invalidateQueries({
441
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.customFee({ chainId, address: resolvedAddress }, variables.creator)
442
+ });
443
+ }
444
+ });
445
+ }
446
+ function useSetDefaultDelegateToCompliance(options = {}) {
447
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
448
+ const queryClient = reactQuery.useQueryClient();
449
+ return reactQuery.useMutation({
450
+ mutationFn: async (args) => {
451
+ if (!client) {
452
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetDefaultDelegateToCompliance", "factory");
453
+ }
454
+ return client.setDefaultDelegateToCompliance(args.on, args.account);
455
+ },
456
+ onSuccess: () => {
457
+ void queryClient.invalidateQueries({
458
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKeyPrefix({
459
+ chainId,
460
+ address: resolvedAddress,
461
+ fn: "effectiveDelegateToCompliance"
462
+ })
463
+ });
464
+ void queryClient.invalidateQueries({
465
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.compliancePolicyAll({ chainId, address: resolvedAddress })
466
+ });
467
+ }
468
+ });
469
+ }
470
+ function useSetDefaultGasFee(options = {}) {
471
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
472
+ const queryClient = reactQuery.useQueryClient();
473
+ return reactQuery.useMutation({
474
+ mutationFn: async ({ gasFee, account }) => {
475
+ if (!client) {
476
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetDefaultGasFee", "factory");
477
+ }
478
+ return client.setDefaultGasFee(gasFee, account);
479
+ },
480
+ onSuccess: () => {
481
+ void queryClient.invalidateQueries({
482
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.resolvedGasFeeAll({ chainId, address: resolvedAddress })
483
+ });
484
+ void queryClient.invalidateQueries({
485
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.fees({ chainId, address: resolvedAddress })
486
+ });
487
+ }
488
+ });
489
+ }
490
+ function useSetMaxGasFee(options = {}) {
491
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
492
+ const queryClient = reactQuery.useQueryClient();
493
+ return reactQuery.useMutation({
494
+ mutationFn: async ({ maxGasFee, account }) => {
495
+ if (!client) {
496
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetMaxGasFee", "factory");
497
+ }
498
+ return client.setMaxGasFee(maxGasFee, account);
499
+ },
500
+ onSuccess: () => {
501
+ void queryClient.invalidateQueries({
502
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.fees({ chainId, address: resolvedAddress })
503
+ });
504
+ void queryClient.invalidateQueries({
505
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.resolvedGasFeeAll({ chainId, address: resolvedAddress })
506
+ });
507
+ }
508
+ });
509
+ }
510
+ function useSetDefaultUpgradeable(options = {}) {
511
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
512
+ const queryClient = reactQuery.useQueryClient();
513
+ return reactQuery.useMutation({
514
+ mutationFn: async (args) => {
515
+ if (!client) {
516
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetDefaultUpgradeable", "factory");
517
+ }
518
+ return client.setDefaultUpgradeable(args.allowed, args.account);
519
+ },
520
+ onSuccess: () => {
521
+ const scope = { chainId, address: resolvedAddress };
522
+ void queryClient.invalidateQueries({
523
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKeyPrefix({ ...scope, fn: "effectiveUpgradeable" })
524
+ });
525
+ void queryClient.invalidateQueries({
526
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.upgradeabilityPolicyAll(scope)
527
+ });
528
+ void queryClient.invalidateQueries({
529
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.preflightCreateAll(scope)
530
+ });
531
+ }
532
+ });
533
+ }
534
+ function useSetEcdsaImplementation(options = {}) {
535
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
536
+ const queryClient = reactQuery.useQueryClient();
537
+ return reactQuery.useMutation({
538
+ mutationFn: async ({ implementation, account }) => {
539
+ if (!client) {
540
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetEcdsaImplementation", "factory");
541
+ }
542
+ return client.setEcdsaImplementation(implementation, account);
543
+ },
544
+ onSuccess: () => {
545
+ const scope = { chainId, address: resolvedAddress };
546
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.implementations(scope) });
547
+ void queryClient.invalidateQueries({
548
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKeyPrefix({ ...scope, fn: "getEcdsaInitCodeHash" })
549
+ });
550
+ void queryClient.invalidateQueries({
551
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKeyPrefix({ ...scope, fn: "predictEcdsaAirdropAddress" })
552
+ });
553
+ void queryClient.invalidateQueries({
554
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.preflightCreateAll(scope)
555
+ });
556
+ }
557
+ });
558
+ }
559
+ function useSetFeeCollector(options = {}) {
560
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
561
+ const queryClient = reactQuery.useQueryClient();
562
+ return reactQuery.useMutation({
563
+ mutationFn: async ({ feeCollector, account }) => {
564
+ if (!client) {
565
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetFeeCollector", "factory");
566
+ }
567
+ return client.setFeeCollector(feeCollector, account);
568
+ },
569
+ onSuccess: () => {
570
+ void queryClient.invalidateQueries({
571
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.fees({ chainId, address: resolvedAddress })
572
+ });
573
+ }
574
+ });
575
+ }
576
+ function useSetMerkleImplementation(options = {}) {
577
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
578
+ const queryClient = reactQuery.useQueryClient();
579
+ return reactQuery.useMutation({
580
+ mutationFn: async ({ implementation, account }) => {
581
+ if (!client) {
582
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetMerkleImplementation", "factory");
583
+ }
584
+ return client.setMerkleImplementation(implementation, account);
585
+ },
586
+ onSuccess: () => {
587
+ const scope = { chainId, address: resolvedAddress };
588
+ void queryClient.invalidateQueries({ queryKey: chunkTND5NDV7_cjs.airdropKeys.implementations(scope) });
589
+ void queryClient.invalidateQueries({
590
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKeyPrefix({ ...scope, fn: "getMerkleInitCodeHash" })
591
+ });
592
+ void queryClient.invalidateQueries({
593
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKeyPrefix({ ...scope, fn: "predictMerkleAirdropAddress" })
594
+ });
595
+ void queryClient.invalidateQueries({
596
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.preflightCreateAll(scope)
597
+ });
598
+ }
599
+ });
600
+ }
601
+ function useSetUpgradeabilityPolicy(options = {}) {
602
+ const { client, resolutionError, chainId, resolvedAddress } = chunkTND5NDV7_cjs.useMemoAirdropFactoryClient(options);
603
+ const queryClient = reactQuery.useQueryClient();
604
+ return reactQuery.useMutation({
605
+ mutationFn: async (args) => {
606
+ if (!client) {
607
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetUpgradeabilityPolicy", "factory");
608
+ }
609
+ return client.setUpgradeabilityPolicy(args.creator, args.allowed, args.account);
610
+ },
611
+ onSuccess: (_hash, variables) => {
612
+ const scope = { chainId, address: resolvedAddress };
613
+ void queryClient.invalidateQueries({
614
+ queryKey: chunkTND5NDV7_cjs.airdropQueryKey({
615
+ ...scope,
616
+ fn: "effectiveUpgradeable",
617
+ args: [variables.creator]
618
+ })
619
+ });
620
+ void queryClient.invalidateQueries({
621
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.upgradeabilityPolicy(scope, variables.creator)
622
+ });
623
+ void queryClient.invalidateQueries({
624
+ queryKey: chunkTND5NDV7_cjs.airdropKeys.preflightCreateAll(scope)
625
+ });
626
+ }
627
+ });
628
+ }
46
629
 
630
+ exports.useClearCompliancePolicy = useClearCompliancePolicy;
631
+ exports.useClearUpgradeabilityPolicy = useClearUpgradeabilityPolicy;
632
+ exports.useDisableCustomFee = useDisableCustomFee;
633
+ exports.useEcdsaInitCodeHash = useEcdsaInitCodeHash;
634
+ exports.useFactoryComplianceDelegate = useFactoryComplianceDelegate;
635
+ exports.useFactoryCompliancePolicy = useFactoryCompliancePolicy;
636
+ exports.useFactoryCustomFee = useFactoryCustomFee;
637
+ exports.useFactoryGrantRole = useFactoryGrantRole;
638
+ exports.useFactoryHasRole = useFactoryHasRole;
639
+ exports.useFactoryImplementations = useFactoryImplementations;
640
+ exports.useFactoryRenounceRole = useFactoryRenounceRole;
641
+ exports.useFactoryRevokeRole = useFactoryRevokeRole;
642
+ exports.useFactoryRoleConstants = useFactoryRoleConstants;
643
+ exports.useFactoryRoleMembers = useFactoryRoleMembers;
644
+ exports.useFactoryUpgradeabilityPolicy = useFactoryUpgradeabilityPolicy;
645
+ exports.useMerkleInitCodeHash = useMerkleInitCodeHash;
47
646
  exports.usePredictEcdsaAirdropAddress = usePredictEcdsaAirdropAddress;
48
647
  exports.usePredictMerkleAirdropAddress = usePredictMerkleAirdropAddress;
648
+ exports.useSetComplianceDelegate = useSetComplianceDelegate;
649
+ exports.useSetComplianceManagerImpl = useSetComplianceManagerImpl;
650
+ exports.useSetCompliancePolicy = useSetCompliancePolicy;
651
+ exports.useSetCustomFee = useSetCustomFee;
652
+ exports.useSetDefaultDelegateToCompliance = useSetDefaultDelegateToCompliance;
653
+ exports.useSetDefaultGasFee = useSetDefaultGasFee;
654
+ exports.useSetDefaultUpgradeable = useSetDefaultUpgradeable;
655
+ exports.useSetEcdsaImplementation = useSetEcdsaImplementation;
656
+ exports.useSetFeeCollector = useSetFeeCollector;
657
+ exports.useSetMaxGasFee = useSetMaxGasFee;
658
+ exports.useSetMerkleImplementation = useSetMerkleImplementation;
659
+ exports.useSetUpgradeabilityPolicy = useSetUpgradeabilityPolicy;