@tokenops/sdk 1.0.0 → 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.
- package/README.md +120 -26
- package/dist/{chunk-5SGMJADP.cjs → chunk-2NCLOQ56.cjs} +9 -9
- package/dist/{chunk-QIHZVLIK.js → chunk-2PWNH3UE.js} +35 -6
- package/dist/{chunk-T5LVV3KY.cjs → chunk-4WPGQSNT.cjs} +3 -3
- package/dist/{chunk-SUOG3BQS.cjs → chunk-5X5WL5CU.cjs} +266 -103
- package/dist/{chunk-56UI7LUR.cjs → chunk-67OV5CX2.cjs} +19 -0
- package/dist/{chunk-WRCUDSUJ.js → chunk-6BMP4ICG.js} +2 -2
- package/dist/{chunk-XXXDQSHE.js → chunk-6R4KNAPK.js} +5 -3
- package/dist/{chunk-XSNLAS5M.js → chunk-AOP6HMPW.js} +1 -1
- package/dist/{chunk-62DF53UQ.cjs → chunk-C7BRZXJA.cjs} +19 -21
- package/dist/{chunk-UOG4PJL5.js → chunk-DUZIIRPF.js} +181 -14
- package/dist/{chunk-Q7ARQSUH.cjs → chunk-FAXIIH5R.cjs} +3 -3
- package/dist/chunk-FT4LNBOS.js +11 -0
- package/dist/chunk-IJFQ5L4I.js +2171 -0
- package/dist/{chunk-52TC6BF7.js → chunk-IXLO7GO5.js} +210 -47
- package/dist/{chunk-CQIPRNS7.cjs → chunk-JK4XMMKM.cjs} +3 -3
- package/dist/{chunk-ITQ7WKVC.cjs → chunk-JYOTGRSO.cjs} +8 -8
- package/dist/{chunk-VDXVNZCO.cjs → chunk-KLKI352M.cjs} +85 -29
- package/dist/{chunk-5SA2HF2W.cjs → chunk-MCRBVJGZ.cjs} +24 -22
- package/dist/{chunk-ECT3NL2L.js → chunk-NTZY6IB7.js} +4 -4
- package/dist/{chunk-ZHFLRKFY.js → chunk-ODLTEGHB.js} +1 -1
- package/dist/{chunk-HGXNRR25.js → chunk-ORFTDNFZ.js} +4 -4
- package/dist/{chunk-72YGZEQE.js → chunk-OXTLPTO3.js} +9 -11
- package/dist/{chunk-HTOMTEA3.cjs → chunk-PFXURMBZ.cjs} +77 -48
- package/dist/{chunk-OLDGMKW2.cjs → chunk-PUPKNW3R.cjs} +35 -2
- package/dist/{chunk-IVE3QEGD.js → chunk-QBJ7O2B4.js} +18 -1
- package/dist/{chunk-JFLEEXKP.js → chunk-SG65XWH7.js} +58 -2
- package/dist/{chunk-K6MFFDBJ.cjs → chunk-T46YXSBP.cjs} +11 -11
- package/dist/{chunk-NS44KBV5.cjs → chunk-TEBM66WA.cjs} +12 -12
- package/dist/{chunk-6ECAHP5O.cjs → chunk-TIUKIY5V.cjs} +200 -33
- package/dist/{chunk-QCA7O2Q5.cjs → chunk-V2PXZVBF.cjs} +4 -4
- package/dist/{chunk-JFR5J4FL.cjs → chunk-W7IGCOVL.cjs} +11 -11
- package/dist/chunk-WENHUPZC.cjs +2180 -0
- package/dist/{chunk-ZXCOJY2Z.js → chunk-WMACINXO.js} +1 -1
- package/dist/{chunk-COPFW5Z4.js → chunk-XGGTQQFH.js} +31 -2
- package/dist/{chunk-CMRETRZO.js → chunk-YQIBBEFJ.js} +1 -1
- package/dist/{chunk-BE2AIZ3K.js → chunk-ZA673I3O.js} +1 -1
- package/dist/chunk-ZQUE2B3Q.cjs +33 -0
- package/dist/{chunk-FYQ2UW4T.js → chunk-ZWXJTBZO.js} +1 -1
- package/dist/core/addresses.d.ts +22 -0
- package/dist/core/errors.d.ts +41 -1
- package/dist/core/revert-mapper.d.ts +77 -0
- package/dist/core/telemetry.d.ts +0 -3
- package/dist/core/wagmi-compat.d.ts +40 -0
- package/dist/fhe/index.cjs +112 -66
- package/dist/fhe/index.d.cts +1 -1
- package/dist/fhe/index.d.ts +1 -1
- package/dist/fhe/index.js +50 -8
- package/dist/fhe/operators.d.ts +1 -1
- package/dist/fhe/react/index.cjs +7 -7
- package/dist/fhe/react/index.js +2 -2
- package/dist/fhe/sepolia-encryptor-web.d.ts +27 -1
- package/dist/fhe/sepolia-encryptor.d.ts +38 -0
- package/dist/fhe-airdrop/advanced/factory-advanced.d.ts +3 -3
- package/dist/fhe-airdrop/advanced/index.cjs +9 -8
- package/dist/fhe-airdrop/advanced/index.d.cts +2 -2
- package/dist/fhe-airdrop/advanced/index.d.ts +2 -2
- package/dist/fhe-airdrop/advanced/index.js +7 -6
- package/dist/fhe-airdrop/advanced/react/index.cjs +14 -13
- package/dist/fhe-airdrop/advanced/react/index.d.cts +1 -1
- package/dist/fhe-airdrop/advanced/react/index.d.ts +1 -1
- package/dist/fhe-airdrop/advanced/react/index.js +10 -9
- package/dist/fhe-airdrop/airdrop.d.ts +2 -0
- package/dist/fhe-airdrop/encryption.d.ts +8 -0
- package/dist/fhe-airdrop/factory.d.ts +94 -11
- package/dist/fhe-airdrop/index.cjs +61 -57
- package/dist/fhe-airdrop/index.d.cts +3 -3
- package/dist/fhe-airdrop/index.d.ts +3 -3
- package/dist/fhe-airdrop/index.js +7 -7
- package/dist/fhe-airdrop/react/index.cjs +163 -133
- package/dist/fhe-airdrop/react/index.d.cts +4 -3
- package/dist/fhe-airdrop/react/index.d.ts +4 -3
- package/dist/fhe-airdrop/react/index.js +38 -13
- package/dist/fhe-airdrop/react/useAirdropClaim.d.ts +2 -0
- package/dist/fhe-airdrop/react/useAirdropIsSignatureValid.d.ts +3 -2
- package/dist/fhe-airdrop/react/useClaim.d.ts +2 -0
- package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdrop.d.ts +8 -0
- package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdropAndGetAddress.d.ts +8 -0
- package/dist/fhe-airdrop/react/useFundConfidentialAirdrop.d.ts +8 -0
- package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +51 -0
- package/dist/fhe-airdrop/types.d.ts +45 -0
- package/dist/fhe-disperse/encryption.d.ts +8 -0
- package/dist/fhe-disperse/index.cjs +69 -65
- package/dist/fhe-disperse/index.d.cts +1 -1
- package/dist/fhe-disperse/index.d.ts +1 -1
- package/dist/fhe-disperse/index.js +8 -8
- package/dist/fhe-disperse/react/index.cjs +90 -86
- package/dist/fhe-disperse/react/index.d.cts +1 -1
- package/dist/fhe-disperse/react/index.d.ts +1 -1
- package/dist/fhe-disperse/react/index.js +10 -10
- package/dist/fhe-disperse/react/useCalculateFee.d.ts +7 -0
- package/dist/fhe-disperse/react/useDisperse.d.ts +9 -0
- package/dist/fhe-disperse/react/usePreflightDisperse.d.ts +7 -0
- package/dist/fhe-disperse/react/useSingletonCalculateFee.d.ts +7 -0
- package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +8 -2
- package/dist/fhe-disperse/react/useWithdrawTokenFee.d.ts +6 -0
- package/dist/fhe-disperse/singleton.d.ts +29 -0
- package/dist/fhe-disperse/subtotals.d.ts +6 -0
- package/dist/fhe-vesting/advanced/factory-advanced.d.ts +2 -2
- package/dist/fhe-vesting/advanced/index.cjs +8 -8
- package/dist/fhe-vesting/advanced/index.d.cts +2 -2
- package/dist/fhe-vesting/advanced/index.d.ts +2 -2
- package/dist/fhe-vesting/advanced/index.js +6 -6
- package/dist/fhe-vesting/advanced/react/index.cjs +15 -14
- package/dist/fhe-vesting/advanced/react/index.d.cts +1 -1
- package/dist/fhe-vesting/advanced/react/index.d.ts +1 -1
- package/dist/fhe-vesting/advanced/react/index.js +12 -11
- package/dist/fhe-vesting/encryption.d.ts +8 -0
- package/dist/fhe-vesting/factory.d.ts +6 -8
- package/dist/fhe-vesting/index.cjs +79 -75
- package/dist/fhe-vesting/index.d.cts +2 -2
- package/dist/fhe-vesting/index.d.ts +2 -2
- package/dist/fhe-vesting/index.js +9 -9
- package/dist/fhe-vesting/manager.d.ts +101 -3
- package/dist/fhe-vesting/react/index.cjs +241 -219
- package/dist/fhe-vesting/react/index.d.cts +3 -2
- package/dist/fhe-vesting/react/index.d.ts +3 -2
- package/dist/fhe-vesting/react/index.js +29 -12
- package/dist/fhe-vesting/react/useAdminClaim.d.ts +2 -0
- package/dist/fhe-vesting/react/useAdminPartialClaim.d.ts +2 -0
- package/dist/fhe-vesting/react/useBatchCreateVesting.d.ts +8 -0
- package/dist/fhe-vesting/react/useClaim.d.ts +2 -0
- package/dist/fhe-vesting/react/useCreateVesting.d.ts +8 -0
- package/dist/fhe-vesting/react/useManagerWithdrawTokenFee.d.ts +7 -1
- package/dist/fhe-vesting/react/usePartialClaim.d.ts +8 -0
- package/dist/fhe-vesting/react/usePreflightCreateVesting.d.ts +37 -0
- package/dist/fhe-vesting/react/useVestingClaim.d.ts +2 -0
- package/dist/fhe-vesting/react/useWithdrawAdmin.d.ts +6 -0
- package/dist/fhe-vesting/react/useWithdrawTokenFee.d.ts +6 -0
- package/dist/fhe-vesting/types.d.ts +34 -2
- package/dist/index.cjs +73 -49
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/testnet-faucet/abis/confidential-test-token.d.ts +1039 -0
- package/dist/testnet-faucet/abis/index.d.ts +2 -0
- package/dist/testnet-faucet/abis/test-token.d.ts +253 -0
- package/dist/testnet-faucet/errors.d.ts +21 -0
- package/dist/testnet-faucet/faucet.d.ts +173 -0
- package/dist/testnet-faucet/index.cjs +212 -0
- package/dist/testnet-faucet/index.d.cts +8 -0
- package/dist/testnet-faucet/index.d.ts +8 -0
- package/dist/testnet-faucet/index.js +7 -0
- package/dist/testnet-faucet/react/_shared.d.ts +61 -0
- package/dist/testnet-faucet/react/index.cjs +384 -0
- package/dist/testnet-faucet/react/index.d.cts +39 -0
- package/dist/testnet-faucet/react/index.d.ts +39 -0
- package/dist/testnet-faucet/react/index.js +220 -0
- package/dist/testnet-faucet/react/useConfidentialBalance.d.ts +25 -0
- package/dist/testnet-faucet/react/useFaucetDecimals.d.ts +9 -0
- package/dist/testnet-faucet/react/useFaucetMetadata.d.ts +14 -0
- package/dist/testnet-faucet/react/useFaucetRate.d.ts +11 -0
- package/dist/testnet-faucet/react/useInferredTotalSupply.d.ts +11 -0
- package/dist/testnet-faucet/react/useMaxTotalSupply.d.ts +10 -0
- package/dist/testnet-faucet/react/useMintConfidential.d.ts +35 -0
- package/dist/testnet-faucet/react/useMintUnderlying.d.ts +31 -0
- package/dist/testnet-faucet/react/useUnderlyingBalance.d.ts +19 -0
- package/dist/testnet-faucet/react/useUnderlyingDecimals.d.ts +9 -0
- package/dist/testnet-faucet/react/useUnderlyingTokenAddress.d.ts +12 -0
- package/dist/testnet-faucet/types.d.ts +92 -0
- package/dist/testnet-faucet/validate.d.ts +44 -0
- package/package.json +79 -30
|
@@ -1,40 +1,42 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
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
|
|
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 } =
|
|
19
|
+
const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
|
|
18
20
|
return reactQuery.useQuery({
|
|
19
|
-
queryKey:
|
|
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 } =
|
|
28
|
+
const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
|
|
27
29
|
return reactQuery.useQuery({
|
|
28
|
-
queryKey:
|
|
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 } =
|
|
37
|
+
const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(options);
|
|
36
38
|
return reactQuery.useQuery({
|
|
37
|
-
queryKey:
|
|
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 } =
|
|
47
|
+
const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(base);
|
|
46
48
|
return reactQuery.useQuery({
|
|
47
|
-
queryKey:
|
|
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 } =
|
|
57
|
+
const { client, chainId, resolvedAddress } = chunkT46YXSBP_cjs.useMemoFactoryClient(base);
|
|
56
58
|
return reactQuery.useQuery({
|
|
57
|
-
queryKey:
|
|
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 } =
|
|
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
|
|
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 } =
|
|
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
|
|
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 } =
|
|
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
|
|
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 } =
|
|
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
|
|
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 } =
|
|
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
|
|
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 } =
|
|
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
|
|
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 } =
|
|
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
|
|
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 } =
|
|
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
|
|
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 } =
|
|
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
|
|
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 } =
|
|
182
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
158
183
|
return reactQuery.useQuery({
|
|
159
|
-
queryKey:
|
|
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 } =
|
|
191
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
167
192
|
return reactQuery.useQuery({
|
|
168
|
-
queryKey:
|
|
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 } =
|
|
200
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
176
201
|
return reactQuery.useQuery({
|
|
177
|
-
queryKey:
|
|
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 } =
|
|
209
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
185
210
|
return reactQuery.useQuery({
|
|
186
|
-
queryKey:
|
|
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 } =
|
|
218
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
194
219
|
return reactQuery.useQuery({
|
|
195
|
-
queryKey:
|
|
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 } =
|
|
227
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
203
228
|
return reactQuery.useQuery({
|
|
204
|
-
queryKey:
|
|
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 } =
|
|
236
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
212
237
|
return reactQuery.useQuery({
|
|
213
|
-
queryKey:
|
|
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 } =
|
|
245
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
221
246
|
return reactQuery.useQuery({
|
|
222
|
-
queryKey:
|
|
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 } =
|
|
254
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
230
255
|
return reactQuery.useQuery({
|
|
231
|
-
queryKey:
|
|
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 } =
|
|
263
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
239
264
|
return reactQuery.useQuery({
|
|
240
|
-
queryKey:
|
|
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 } =
|
|
272
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
248
273
|
return reactQuery.useQuery({
|
|
249
|
-
queryKey:
|
|
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 } =
|
|
281
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
257
282
|
return reactQuery.useQuery({
|
|
258
|
-
queryKey:
|
|
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 } =
|
|
291
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(base);
|
|
267
292
|
return reactQuery.useQuery({
|
|
268
|
-
queryKey:
|
|
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 } =
|
|
301
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(base);
|
|
277
302
|
return reactQuery.useQuery({
|
|
278
|
-
queryKey:
|
|
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 } =
|
|
293
|
-
const { address: connectedAddress } =
|
|
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:
|
|
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 } =
|
|
340
|
+
const { client, chainId } = chunkT46YXSBP_cjs.useMemoAirdropClient(base);
|
|
316
341
|
return reactQuery.useQuery({
|
|
317
|
-
queryKey:
|
|
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 } =
|
|
349
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
325
350
|
return reactQuery.useMutation({
|
|
326
351
|
mutationFn: async (args) => {
|
|
327
|
-
if (!client) throw new
|
|
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 } =
|
|
358
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
334
359
|
return reactQuery.useMutation({
|
|
335
360
|
mutationFn: async (args) => {
|
|
336
|
-
if (!client) throw new
|
|
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 } =
|
|
367
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
343
368
|
return reactQuery.useMutation({
|
|
344
369
|
mutationFn: async ({ recipient, account }) => {
|
|
345
|
-
if (!client) throw new
|
|
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 } =
|
|
376
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
352
377
|
return reactQuery.useMutation({
|
|
353
378
|
mutationFn: async ({ paused, account }) => {
|
|
354
|
-
if (!client) throw new
|
|
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 } =
|
|
385
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
361
386
|
return reactQuery.useMutation({
|
|
362
387
|
mutationFn: async ({ newEndTime, account }) => {
|
|
363
|
-
if (!client) throw new
|
|
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 } =
|
|
394
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
370
395
|
return reactQuery.useMutation({
|
|
371
396
|
mutationFn: async ({ tokenAddress, recipient, account }) => {
|
|
372
|
-
if (!client) throw new
|
|
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 } =
|
|
403
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
379
404
|
return reactQuery.useMutation({
|
|
380
405
|
mutationFn: async ({ tokenAddress, recipient, account }) => {
|
|
381
|
-
if (!client) throw new
|
|
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 } =
|
|
412
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
388
413
|
return reactQuery.useMutation({
|
|
389
414
|
mutationFn: async ({ recipient, amount, account }) => {
|
|
390
|
-
if (!client) throw new
|
|
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 } =
|
|
421
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
397
422
|
return reactQuery.useMutation({
|
|
398
423
|
mutationFn: async ({ role, accountTarget, account }) => {
|
|
399
|
-
if (!client) throw new
|
|
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 } =
|
|
430
|
+
const { client } = chunkT46YXSBP_cjs.useMemoAirdropClient(options);
|
|
406
431
|
return reactQuery.useMutation({
|
|
407
432
|
mutationFn: async ({ role, accountTarget, account }) => {
|
|
408
|
-
if (!client) throw new
|
|
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
|
|
443
|
+
throw new chunk67OV5CX2_cjs.MissingWalletClientError("useSignClaimAuthorization");
|
|
419
444
|
}
|
|
420
|
-
return
|
|
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
|
|
457
|
+
get: function () { return chunkMCRBVJGZ_cjs.AlreadyClaimedError; }
|
|
433
458
|
});
|
|
434
459
|
Object.defineProperty(exports, "ClaimNotStartedError", {
|
|
435
460
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
461
|
+
get: function () { return chunkMCRBVJGZ_cjs.ClaimNotStartedError; }
|
|
437
462
|
});
|
|
438
463
|
Object.defineProperty(exports, "ClaimWindowClosedError", {
|
|
439
464
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
465
|
+
get: function () { return chunkMCRBVJGZ_cjs.ClaimWindowClosedError; }
|
|
441
466
|
});
|
|
442
467
|
Object.defineProperty(exports, "encryptUint64", {
|
|
443
468
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
469
|
+
get: function () { return chunkTIUKIY5V_cjs.encryptUint64; }
|
|
445
470
|
});
|
|
446
471
|
Object.defineProperty(exports, "encryptUint64Batch", {
|
|
447
472
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
473
|
+
get: function () { return chunkTIUKIY5V_cjs.encryptUint64Batch; }
|
|
449
474
|
});
|
|
450
475
|
Object.defineProperty(exports, "resolveEncryptor", {
|
|
451
476
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
477
|
+
get: function () { return chunkTIUKIY5V_cjs.resolveEncryptor; }
|
|
453
478
|
});
|
|
454
479
|
Object.defineProperty(exports, "signClaimAuthorization", {
|
|
455
480
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
481
|
+
get: function () { return chunkTIUKIY5V_cjs.signClaimAuthorization; }
|
|
457
482
|
});
|
|
458
483
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
459
484
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
485
|
+
get: function () { return chunk67OV5CX2_cjs.AccessDeniedError; }
|
|
461
486
|
});
|
|
462
487
|
Object.defineProperty(exports, "AlreadyInitializedError", {
|
|
463
488
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
489
|
+
get: function () { return chunk67OV5CX2_cjs.AlreadyInitializedError; }
|
|
465
490
|
});
|
|
466
491
|
Object.defineProperty(exports, "BatchTooLargeError", {
|
|
467
492
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
493
|
+
get: function () { return chunk67OV5CX2_cjs.BatchTooLargeError; }
|
|
469
494
|
});
|
|
470
495
|
Object.defineProperty(exports, "ContractRevertError", {
|
|
471
496
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
497
|
+
get: function () { return chunk67OV5CX2_cjs.ContractRevertError; }
|
|
473
498
|
});
|
|
474
499
|
Object.defineProperty(exports, "DecryptionFailedError", {
|
|
475
500
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
501
|
+
get: function () { return chunk67OV5CX2_cjs.DecryptionFailedError; }
|
|
477
502
|
});
|
|
478
503
|
Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
|
|
479
504
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
505
|
+
get: function () { return chunk67OV5CX2_cjs.DeploymentAddressUnavailableError; }
|
|
481
506
|
});
|
|
482
507
|
Object.defineProperty(exports, "EncryptionFailedError", {
|
|
483
508
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
509
|
+
get: function () { return chunk67OV5CX2_cjs.EncryptionFailedError; }
|
|
485
510
|
});
|
|
486
511
|
Object.defineProperty(exports, "FeatureDisabledError", {
|
|
487
512
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
513
|
+
get: function () { return chunk67OV5CX2_cjs.FeatureDisabledError; }
|
|
489
514
|
});
|
|
490
515
|
Object.defineProperty(exports, "FheHandleNotAllowedError", {
|
|
491
516
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
517
|
+
get: function () { return chunk67OV5CX2_cjs.FheHandleNotAllowedError; }
|
|
493
518
|
});
|
|
494
519
|
Object.defineProperty(exports, "InsufficientBalanceError", {
|
|
495
520
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
521
|
+
get: function () { return chunk67OV5CX2_cjs.InsufficientBalanceError; }
|
|
497
522
|
});
|
|
498
523
|
Object.defineProperty(exports, "InsufficientFeeError", {
|
|
499
524
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
525
|
+
get: function () { return chunk67OV5CX2_cjs.InsufficientFeeError; }
|
|
501
526
|
});
|
|
502
527
|
Object.defineProperty(exports, "InsufficientGasFundsError", {
|
|
503
528
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
529
|
+
get: function () { return chunk67OV5CX2_cjs.InsufficientGasFundsError; }
|
|
505
530
|
});
|
|
506
531
|
Object.defineProperty(exports, "InvalidArgumentError", {
|
|
507
532
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
533
|
+
get: function () { return chunk67OV5CX2_cjs.InvalidArgumentError; }
|
|
509
534
|
});
|
|
510
535
|
Object.defineProperty(exports, "InvalidSignatureError", {
|
|
511
536
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
537
|
+
get: function () { return chunk67OV5CX2_cjs.InvalidSignatureError; }
|
|
513
538
|
});
|
|
514
539
|
Object.defineProperty(exports, "MissingAccountError", {
|
|
515
540
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
541
|
+
get: function () { return chunk67OV5CX2_cjs.MissingAccountError; }
|
|
517
542
|
});
|
|
518
543
|
Object.defineProperty(exports, "MissingClientError", {
|
|
519
544
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
545
|
+
get: function () { return chunk67OV5CX2_cjs.MissingClientError; }
|
|
521
546
|
});
|
|
522
547
|
Object.defineProperty(exports, "MissingEncryptorError", {
|
|
523
548
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
549
|
+
get: function () { return chunk67OV5CX2_cjs.MissingEncryptorError; }
|
|
525
550
|
});
|
|
526
551
|
Object.defineProperty(exports, "MissingPublicClientError", {
|
|
527
552
|
enumerable: true,
|
|
528
|
-
get: function () { return
|
|
553
|
+
get: function () { return chunk67OV5CX2_cjs.MissingPublicClientError; }
|
|
529
554
|
});
|
|
530
555
|
Object.defineProperty(exports, "MissingWalletClientError", {
|
|
531
556
|
enumerable: true,
|
|
532
|
-
get: function () { return
|
|
557
|
+
get: function () { return chunk67OV5CX2_cjs.MissingWalletClientError; }
|
|
533
558
|
});
|
|
534
559
|
Object.defineProperty(exports, "NetworkError", {
|
|
535
560
|
enumerable: true,
|
|
536
|
-
get: function () { return
|
|
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
|
|
569
|
+
get: function () { return chunk67OV5CX2_cjs.PausedError; }
|
|
541
570
|
});
|
|
542
571
|
Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
|
|
543
572
|
enumerable: true,
|
|
544
|
-
get: function () { return
|
|
573
|
+
get: function () { return chunk67OV5CX2_cjs.ReceiptEventAmbiguousError; }
|
|
545
574
|
});
|
|
546
575
|
Object.defineProperty(exports, "ReceiptEventNotFoundError", {
|
|
547
576
|
enumerable: true,
|
|
548
|
-
get: function () { return
|
|
577
|
+
get: function () { return chunk67OV5CX2_cjs.ReceiptEventNotFoundError; }
|
|
549
578
|
});
|
|
550
579
|
Object.defineProperty(exports, "ReentrancyError", {
|
|
551
580
|
enumerable: true,
|
|
552
|
-
get: function () { return
|
|
581
|
+
get: function () { return chunk67OV5CX2_cjs.ReentrancyError; }
|
|
553
582
|
});
|
|
554
583
|
Object.defineProperty(exports, "RelayerUnreachableError", {
|
|
555
584
|
enumerable: true,
|
|
556
|
-
get: function () { return
|
|
585
|
+
get: function () { return chunk67OV5CX2_cjs.RelayerUnreachableError; }
|
|
557
586
|
});
|
|
558
587
|
Object.defineProperty(exports, "SigningFailedError", {
|
|
559
588
|
enumerable: true,
|
|
560
|
-
get: function () { return
|
|
589
|
+
get: function () { return chunk67OV5CX2_cjs.SigningFailedError; }
|
|
561
590
|
});
|
|
562
591
|
Object.defineProperty(exports, "TokenOpsSdkError", {
|
|
563
592
|
enumerable: true,
|
|
564
|
-
get: function () { return
|
|
593
|
+
get: function () { return chunk67OV5CX2_cjs.TokenOpsSdkError; }
|
|
565
594
|
});
|
|
566
595
|
Object.defineProperty(exports, "TransferFailedError", {
|
|
567
596
|
enumerable: true,
|
|
568
|
-
get: function () { return
|
|
597
|
+
get: function () { return chunk67OV5CX2_cjs.TransferFailedError; }
|
|
569
598
|
});
|
|
570
599
|
Object.defineProperty(exports, "UnknownWriteFailureError", {
|
|
571
600
|
enumerable: true,
|
|
572
|
-
get: function () { return
|
|
601
|
+
get: function () { return chunk67OV5CX2_cjs.UnknownWriteFailureError; }
|
|
573
602
|
});
|
|
574
603
|
Object.defineProperty(exports, "UnsupportedChainError", {
|
|
575
604
|
enumerable: true,
|
|
576
|
-
get: function () { return
|
|
605
|
+
get: function () { return chunk67OV5CX2_cjs.UnsupportedChainError; }
|
|
577
606
|
});
|
|
578
607
|
Object.defineProperty(exports, "UserDecryptNotAllowedError", {
|
|
579
608
|
enumerable: true,
|
|
580
|
-
get: function () { return
|
|
609
|
+
get: function () { return chunk67OV5CX2_cjs.UserDecryptNotAllowedError; }
|
|
581
610
|
});
|
|
582
611
|
Object.defineProperty(exports, "UserRejectedSignatureError", {
|
|
583
612
|
enumerable: true,
|
|
584
|
-
get: function () { return
|
|
613
|
+
get: function () { return chunk67OV5CX2_cjs.UserRejectedSignatureError; }
|
|
585
614
|
});
|
|
586
615
|
Object.defineProperty(exports, "WalletChainMismatchError", {
|
|
587
616
|
enumerable: true,
|
|
588
|
-
get: function () { return
|
|
617
|
+
get: function () { return chunk67OV5CX2_cjs.WalletChainMismatchError; }
|
|
589
618
|
});
|
|
590
619
|
Object.defineProperty(exports, "WalletRejectedError", {
|
|
591
620
|
enumerable: true,
|
|
592
|
-
get: function () { return
|
|
621
|
+
get: function () { return chunk67OV5CX2_cjs.WalletRejectedError; }
|
|
593
622
|
});
|
|
594
623
|
Object.defineProperty(exports, "isTokenOpsSdkError", {
|
|
595
624
|
enumerable: true,
|
|
596
|
-
get: function () { return
|
|
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;
|