@tokenops/sdk 1.5.1 → 1.6.0
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/CHANGELOG.md +158 -2
- package/SECURITY.md +7 -1
- package/dist/{chunk-67OV5CX2.cjs → chunk-2RNW4MIJ.cjs} +18 -0
- package/dist/{chunk-KLKI352M.cjs → chunk-43RFBQ73.cjs} +29 -29
- package/dist/{chunk-ZA673I3O.js → chunk-46T67CE2.js} +1 -1
- package/dist/{chunk-6BMP4ICG.js → chunk-4KJ66YRH.js} +61 -3
- package/dist/{chunk-JYOTGRSO.cjs → chunk-4ZCXK4VI.cjs} +68 -8
- package/dist/{chunk-SG65XWH7.js → chunk-6WSNS3UV.js} +1 -1
- package/dist/{chunk-V2PXZVBF.cjs → chunk-7G7UOQV4.cjs} +4 -4
- package/dist/{chunk-WENHUPZC.cjs → chunk-AYGRYDBX.cjs} +35 -36
- package/dist/{chunk-2NCLOQ56.cjs → chunk-BD4LZBVF.cjs} +85 -9
- package/dist/{chunk-5X5WL5CU.cjs → chunk-BK7YIVLK.cjs} +110 -149
- package/dist/{chunk-W7IGCOVL.cjs → chunk-CBRL2PJA.cjs} +12 -11
- package/dist/{chunk-ORFTDNFZ.js → chunk-CNP4L3GF.js} +4 -4
- package/dist/{chunk-QBJ7O2B4.js → chunk-DRSPMIZ7.js} +11 -1
- package/dist/{chunk-C7BRZXJA.cjs → chunk-EUKPOXWR.cjs} +15 -16
- package/dist/{chunk-YQIBBEFJ.js → chunk-HETNKZEE.js} +1 -1
- package/dist/{chunk-ODLTEGHB.js → chunk-KSDSXJ34.js} +1 -1
- package/dist/{chunk-TIUKIY5V.cjs → chunk-LBWRFZR3.cjs} +58 -40
- package/dist/{chunk-WMACINXO.js → chunk-NFW7AUEX.js} +1 -1
- package/dist/{chunk-4WPGQSNT.cjs → chunk-OL6SHN3D.cjs} +3 -3
- package/dist/{chunk-AOP6HMPW.js → chunk-PD7ME2BT.js} +75 -2
- package/dist/{chunk-2PWNH3UE.js → chunk-QET3Q4JP.js} +65 -9
- package/dist/{chunk-XGGTQQFH.js → chunk-QKKBBH7I.js} +2 -2
- package/dist/{chunk-6R4KNAPK.js → chunk-S2XD75JM.js} +10 -3
- package/dist/{chunk-MCRBVJGZ.cjs → chunk-SPGSO5SO.cjs} +29 -22
- package/dist/{chunk-FAXIIH5R.cjs → chunk-SYHNZSZZ.cjs} +3 -3
- package/dist/{chunk-IXLO7GO5.js → chunk-TN65XNTI.js} +47 -83
- package/dist/chunk-U57COLUE.js +56 -0
- package/dist/{chunk-DUZIIRPF.js → chunk-UE5XK2SY.js} +27 -9
- package/dist/{chunk-TEBM66WA.cjs → chunk-UJS4N2XM.cjs} +12 -12
- package/dist/{chunk-OXTLPTO3.js → chunk-V5D7BHW3.js} +4 -5
- package/dist/{chunk-NTZY6IB7.js → chunk-VHSNYUYV.js} +5 -4
- package/dist/{chunk-JK4XMMKM.cjs → chunk-VR3FREBX.cjs} +3 -3
- package/dist/{chunk-T46YXSBP.cjs → chunk-WO72UBQD.cjs} +11 -11
- package/dist/chunk-WOEETTH7.cjs +59 -0
- package/dist/{chunk-IJFQ5L4I.js → chunk-WTK6JDSI.js} +4 -5
- package/dist/{chunk-PUPKNW3R.cjs → chunk-WUXUWTFW.cjs} +3 -3
- package/dist/{chunk-PFXURMBZ.cjs → chunk-YFIWCYHC.cjs} +112 -54
- package/dist/{chunk-ZWXJTBZO.js → chunk-YPYCWLYP.js} +1 -1
- package/dist/core/addresses.d.ts +1 -1
- package/dist/core/errors.d.ts +1 -1
- package/dist/fhe/index.cjs +84 -64
- package/dist/fhe/index.d.cts +1 -0
- package/dist/fhe/index.d.ts +1 -0
- package/dist/fhe/index.js +21 -9
- package/dist/fhe/mock-erc7984.d.ts +4 -4
- package/dist/fhe/operators.d.ts +142 -2
- package/dist/fhe/react/index.cjs +21 -8
- package/dist/fhe/react/index.d.cts +2 -0
- package/dist/fhe/react/index.d.ts +2 -0
- package/dist/fhe/react/index.js +8 -3
- package/dist/fhe/react/useEnsureOperator.d.ts +56 -0
- package/dist/fhe/react/useIsOperator.d.ts +54 -0
- package/dist/fhe/sepolia-encryptor-web.d.ts +18 -3
- package/dist/fhe-airdrop/advanced/index.cjs +8 -9
- package/dist/fhe-airdrop/advanced/index.js +6 -7
- package/dist/fhe-airdrop/advanced/react/index.cjs +13 -14
- package/dist/fhe-airdrop/advanced/react/index.js +9 -10
- package/dist/fhe-airdrop/airdrop.d.ts +7 -0
- package/dist/fhe-airdrop/index.cjs +66 -67
- package/dist/fhe-airdrop/index.js +7 -8
- package/dist/fhe-airdrop/react/index.cjs +148 -137
- package/dist/fhe-airdrop/react/index.d.cts +3 -1
- package/dist/fhe-airdrop/react/index.d.ts +3 -1
- package/dist/fhe-airdrop/react/index.js +16 -14
- package/dist/fhe-airdrop/react/useAccessClaimAmount.d.ts +17 -11
- package/dist/fhe-airdrop/react/useClaim.d.ts +8 -0
- package/dist/fhe-airdrop/react/useSignClaimAuthorization.d.ts +1 -1
- package/dist/fhe-airdrop/types.d.ts +14 -3
- package/dist/fhe-disperse/errors.d.ts +55 -0
- package/dist/fhe-disperse/index.cjs +74 -67
- 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 -9
- package/dist/fhe-disperse/react/index.cjs +105 -88
- package/dist/fhe-disperse/react/index.d.cts +3 -1
- package/dist/fhe-disperse/react/index.d.ts +3 -1
- package/dist/fhe-disperse/react/index.js +12 -11
- package/dist/fhe-vesting/advanced/index.cjs +8 -9
- package/dist/fhe-vesting/advanced/index.js +6 -7
- package/dist/fhe-vesting/advanced/react/index.cjs +14 -15
- package/dist/fhe-vesting/advanced/react/index.js +11 -12
- package/dist/fhe-vesting/index.cjs +75 -76
- package/dist/fhe-vesting/index.js +9 -10
- package/dist/fhe-vesting/manager.d.ts +19 -0
- package/dist/fhe-vesting/react/index.cjs +245 -227
- package/dist/fhe-vesting/react/index.d.cts +6 -4
- package/dist/fhe-vesting/react/index.d.ts +6 -4
- package/dist/fhe-vesting/react/index.js +27 -21
- package/dist/fhe-vesting/react/useAccessClaimableAmount.d.ts +11 -3
- package/dist/fhe-vesting/react/useAccessSettledAmount.d.ts +11 -3
- package/dist/fhe-vesting/react/useAccessTotalAllocation.d.ts +11 -3
- package/dist/fhe-vesting/react/useAccessVestedAmount.d.ts +11 -3
- package/dist/fhe-vesting/react/useAdminGetClaimableAmount.d.ts +1 -1
- package/dist/fhe-vesting/react/useAdminGetSettledAmount.d.ts +1 -1
- package/dist/fhe-vesting/react/useAdminGetTotalAllocation.d.ts +1 -1
- package/dist/fhe-vesting/react/useAdminGetVestedAmount.d.ts +1 -1
- package/dist/fhe-vesting/react/useAdminPartialClaim.d.ts +8 -0
- package/dist/fhe-vesting/react/useClaim.d.ts +1 -1
- package/dist/fhe-vesting/react/useDiscloseHandleToParty.d.ts +1 -1
- package/dist/fhe-vesting/react/useManagerDiscloseHandleToParty.d.ts +1 -1
- package/dist/fhe-vesting/react/usePartialClaim.d.ts +1 -1
- package/dist/fhe-vesting/react/useVestingInfo.d.ts +1 -1
- package/dist/fhe-vesting/types.d.ts +12 -1
- package/dist/index.cjs +87 -88
- package/dist/index.js +2 -3
- package/dist/testnet-faucet/index.cjs +55 -56
- package/dist/testnet-faucet/index.js +5 -6
- package/dist/testnet-faucet/react/index.cjs +53 -54
- package/dist/testnet-faucet/react/index.js +7 -8
- package/package.json +13 -8
- package/dist/chunk-66IHPTOK.cjs +0 -20
- package/dist/chunk-KWFFIJYX.js +0 -11
- package/dist/fhe-airdrop/react/useAirdropClaim.d.ts +0 -27
- package/dist/fhe-airdrop/react/useGetClaimAmount.d.ts +0 -30
- package/dist/fhe-vesting/react/useGetClaimableAmount.d.ts +0 -13
- package/dist/fhe-vesting/react/useGetSettledAmount.d.ts +0 -14
- package/dist/fhe-vesting/react/useGetTotalAllocation.d.ts +0 -13
- package/dist/fhe-vesting/react/useGetVestedAmount.d.ts +0 -25
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkWO72UBQD_cjs = require('../../chunk-WO72UBQD.cjs');
|
|
4
|
+
var chunkSPGSO5SO_cjs = require('../../chunk-SPGSO5SO.cjs');
|
|
5
|
+
var chunkLBWRFZR3_cjs = require('../../chunk-LBWRFZR3.cjs');
|
|
6
|
+
var chunkWOEETTH7_cjs = require('../../chunk-WOEETTH7.cjs');
|
|
6
7
|
var chunkZQUE2B3Q_cjs = require('../../chunk-ZQUE2B3Q.cjs');
|
|
7
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-4ZCXK4VI.cjs');
|
|
9
|
+
require('../../chunk-SYHNZSZZ.cjs');
|
|
8
10
|
require('../../chunk-FWHYQZ5E.cjs');
|
|
9
|
-
require('../../chunk-
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
11
|
+
require('../../chunk-43RFBQ73.cjs');
|
|
12
|
+
require('../../chunk-WUXUWTFW.cjs');
|
|
13
|
+
require('../../chunk-VR3FREBX.cjs');
|
|
14
|
+
var chunk2RNW4MIJ_cjs = require('../../chunk-2RNW4MIJ.cjs');
|
|
12
15
|
require('../../chunk-VJKZWYYJ.cjs');
|
|
13
|
-
require('../../chunk-66IHPTOK.cjs');
|
|
14
|
-
var chunk67OV5CX2_cjs = require('../../chunk-67OV5CX2.cjs');
|
|
15
16
|
var reactQuery = require('@tanstack/react-query');
|
|
16
17
|
var wagmi = require('wagmi');
|
|
17
18
|
|
|
18
19
|
function useConfidentialAirdropFactoryImplementation(options = {}) {
|
|
19
|
-
const { client, chainId, resolvedAddress } =
|
|
20
|
+
const { client, chainId, resolvedAddress } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
20
21
|
return reactQuery.useQuery({
|
|
21
|
-
queryKey:
|
|
22
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
|
|
22
23
|
queryFn: () => client.implementation(),
|
|
23
24
|
enabled: !!client,
|
|
24
25
|
staleTime: 0
|
|
25
26
|
});
|
|
26
27
|
}
|
|
27
28
|
function useFactoryDefaultGasFee(options = {}) {
|
|
28
|
-
const { client, chainId, resolvedAddress } =
|
|
29
|
+
const { client, chainId, resolvedAddress } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
29
30
|
return reactQuery.useQuery({
|
|
30
|
-
queryKey:
|
|
31
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
|
|
31
32
|
queryFn: () => client.defaultGasFee(),
|
|
32
33
|
enabled: !!client,
|
|
33
34
|
staleTime: 0
|
|
34
35
|
});
|
|
35
36
|
}
|
|
36
37
|
function useFactoryFeeCollector(options = {}) {
|
|
37
|
-
const { client, chainId, resolvedAddress } =
|
|
38
|
+
const { client, chainId, resolvedAddress } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
38
39
|
return reactQuery.useQuery({
|
|
39
|
-
queryKey:
|
|
40
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
|
|
40
41
|
queryFn: () => client.feeCollector(),
|
|
41
42
|
enabled: !!client,
|
|
42
43
|
staleTime: 0
|
|
@@ -44,9 +45,9 @@ function useFactoryFeeCollector(options = {}) {
|
|
|
44
45
|
}
|
|
45
46
|
function useFactoryCustomFee(args = {}) {
|
|
46
47
|
const { creator, ...base } = args;
|
|
47
|
-
const { client, chainId, resolvedAddress } =
|
|
48
|
+
const { client, chainId, resolvedAddress } = chunkWO72UBQD_cjs.useMemoFactoryClient(base);
|
|
48
49
|
return reactQuery.useQuery({
|
|
49
|
-
queryKey:
|
|
50
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
|
|
50
51
|
queryFn: () => client.getCustomFee(creator),
|
|
51
52
|
enabled: !!client && !!creator,
|
|
52
53
|
staleTime: 0
|
|
@@ -54,9 +55,9 @@ function useFactoryCustomFee(args = {}) {
|
|
|
54
55
|
}
|
|
55
56
|
function useFactoryInitCodeHash(args = {}) {
|
|
56
57
|
const { params, gasFee, ...base } = args;
|
|
57
|
-
const { client, chainId, resolvedAddress } =
|
|
58
|
+
const { client, chainId, resolvedAddress } = chunkWO72UBQD_cjs.useMemoFactoryClient(base);
|
|
58
59
|
return reactQuery.useQuery({
|
|
59
|
-
queryKey:
|
|
60
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("factory:getInitCodeHash", chainId, resolvedAddress, params, gasFee),
|
|
60
61
|
queryFn: () => client.getInitCodeHash({ params, gasFee }),
|
|
61
62
|
enabled: !!client && !!params && gasFee !== void 0,
|
|
62
63
|
staleTime: 0
|
|
@@ -64,9 +65,9 @@ function useFactoryInitCodeHash(args = {}) {
|
|
|
64
65
|
}
|
|
65
66
|
function usePreflightCreateAirdrop(args = {}) {
|
|
66
67
|
const { params, creator, userSalt, funding, ...base } = args;
|
|
67
|
-
const { client, chainId, resolvedAddress } =
|
|
68
|
+
const { client, chainId, resolvedAddress } = chunkWO72UBQD_cjs.useMemoFactoryClient(base);
|
|
68
69
|
return reactQuery.useQuery({
|
|
69
|
-
queryKey:
|
|
70
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey(
|
|
70
71
|
"factory:preflightCreateAirdrop",
|
|
71
72
|
chainId,
|
|
72
73
|
resolvedAddress,
|
|
@@ -86,201 +87,201 @@ function usePreflightCreateAirdrop(args = {}) {
|
|
|
86
87
|
});
|
|
87
88
|
}
|
|
88
89
|
function useCreateConfidentialAirdropAndGetAddress(options = {}) {
|
|
89
|
-
const { client, resolutionError } =
|
|
90
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
90
91
|
return reactQuery.useMutation({
|
|
91
92
|
mutationFn: async (args) => {
|
|
92
93
|
if (!client) {
|
|
93
|
-
throw resolutionError ?? new
|
|
94
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useCreateConfidentialAirdropAndGetAddress", "factory");
|
|
94
95
|
}
|
|
95
96
|
return client.createConfidentialAirdropAndGetAddress(args);
|
|
96
97
|
}
|
|
97
98
|
});
|
|
98
99
|
}
|
|
99
100
|
function useCreateConfidentialAirdrop(options = {}) {
|
|
100
|
-
const { client, resolutionError } =
|
|
101
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
101
102
|
return reactQuery.useMutation({
|
|
102
103
|
mutationFn: async (args) => {
|
|
103
104
|
if (!client) {
|
|
104
|
-
throw resolutionError ?? new
|
|
105
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useCreateConfidentialAirdrop", "factory");
|
|
105
106
|
}
|
|
106
107
|
return client.createConfidentialAirdrop(args);
|
|
107
108
|
}
|
|
108
109
|
});
|
|
109
110
|
}
|
|
110
111
|
function useCreateAndFundConfidentialAirdrop(options = {}) {
|
|
111
|
-
const { client, resolutionError } =
|
|
112
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
112
113
|
return reactQuery.useMutation({
|
|
113
114
|
mutationFn: async (args) => {
|
|
114
115
|
if (!client) {
|
|
115
|
-
throw resolutionError ?? new
|
|
116
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useCreateAndFundConfidentialAirdrop", "factory");
|
|
116
117
|
}
|
|
117
118
|
return client.createAndFundConfidentialAirdrop(args);
|
|
118
119
|
}
|
|
119
120
|
});
|
|
120
121
|
}
|
|
121
122
|
function useCreateAndFundConfidentialAirdropAndGetAddress(options = {}) {
|
|
122
|
-
const { client, resolutionError } =
|
|
123
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
123
124
|
return reactQuery.useMutation({
|
|
124
125
|
mutationFn: async (args) => {
|
|
125
126
|
if (!client) {
|
|
126
|
-
throw resolutionError ?? new
|
|
127
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useCreateAndFundConfidentialAirdropAndGetAddress", "factory");
|
|
127
128
|
}
|
|
128
129
|
return client.createAndFundConfidentialAirdropAndGetAddress(args);
|
|
129
130
|
}
|
|
130
131
|
});
|
|
131
132
|
}
|
|
132
133
|
function useFundConfidentialAirdrop(options = {}) {
|
|
133
|
-
const { client, resolutionError } =
|
|
134
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
134
135
|
return reactQuery.useMutation({
|
|
135
136
|
mutationFn: async (args) => {
|
|
136
137
|
if (!client) {
|
|
137
|
-
throw resolutionError ?? new
|
|
138
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useFundConfidentialAirdrop", "factory");
|
|
138
139
|
}
|
|
139
140
|
return client.fundConfidentialAirdrop(args);
|
|
140
141
|
}
|
|
141
142
|
});
|
|
142
143
|
}
|
|
143
144
|
function useSetFeeCollector(options = {}) {
|
|
144
|
-
const { client, resolutionError } =
|
|
145
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
145
146
|
return reactQuery.useMutation({
|
|
146
147
|
mutationFn: async ({ newFeeCollector, account }) => {
|
|
147
|
-
if (!client) throw resolutionError ?? new
|
|
148
|
+
if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetFeeCollector", "factory");
|
|
148
149
|
return client.setFeeCollector(newFeeCollector, account);
|
|
149
150
|
}
|
|
150
151
|
});
|
|
151
152
|
}
|
|
152
153
|
function useSetDefaultGasFee(options = {}) {
|
|
153
|
-
const { client, resolutionError } =
|
|
154
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
154
155
|
return reactQuery.useMutation({
|
|
155
156
|
mutationFn: async ({ newGasFee, account }) => {
|
|
156
157
|
if (!client)
|
|
157
|
-
throw resolutionError ?? new
|
|
158
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetDefaultGasFee", "factory");
|
|
158
159
|
return client.setDefaultGasFee(newGasFee, account);
|
|
159
160
|
}
|
|
160
161
|
});
|
|
161
162
|
}
|
|
162
163
|
function useSetCustomFee(options = {}) {
|
|
163
|
-
const { client, resolutionError } =
|
|
164
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
164
165
|
return reactQuery.useMutation({
|
|
165
166
|
mutationFn: async ({ campaignCreator, gasFee, account }) => {
|
|
166
|
-
if (!client) throw resolutionError ?? new
|
|
167
|
+
if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetCustomFee", "factory");
|
|
167
168
|
return client.setCustomFee(campaignCreator, gasFee, account);
|
|
168
169
|
}
|
|
169
170
|
});
|
|
170
171
|
}
|
|
171
172
|
function useDisableCustomFee(options = {}) {
|
|
172
|
-
const { client, resolutionError } =
|
|
173
|
+
const { client, resolutionError } = chunkWO72UBQD_cjs.useMemoFactoryClient(options);
|
|
173
174
|
return reactQuery.useMutation({
|
|
174
175
|
mutationFn: async ({ campaignCreator, account }) => {
|
|
175
176
|
if (!client)
|
|
176
|
-
throw resolutionError ?? new
|
|
177
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useDisableCustomFee", "factory");
|
|
177
178
|
return client.disableCustomFee(campaignCreator, account);
|
|
178
179
|
}
|
|
179
180
|
});
|
|
180
181
|
}
|
|
181
182
|
function useAirdropToken(options) {
|
|
182
|
-
const { client, chainId } =
|
|
183
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
183
184
|
return reactQuery.useQuery({
|
|
184
|
-
queryKey:
|
|
185
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:TOKEN", chainId, options.address),
|
|
185
186
|
queryFn: () => client.token(),
|
|
186
187
|
enabled: !!client,
|
|
187
188
|
staleTime: 0
|
|
188
189
|
});
|
|
189
190
|
}
|
|
190
191
|
function useAirdropGasFee(options) {
|
|
191
|
-
const { client, chainId } =
|
|
192
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
192
193
|
return reactQuery.useQuery({
|
|
193
|
-
queryKey:
|
|
194
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:GAS_FEE", chainId, options.address),
|
|
194
195
|
queryFn: () => client.gasFee(),
|
|
195
196
|
enabled: !!client,
|
|
196
197
|
staleTime: 0
|
|
197
198
|
});
|
|
198
199
|
}
|
|
199
200
|
function useAirdropStartTime(options) {
|
|
200
|
-
const { client, chainId } =
|
|
201
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
201
202
|
return reactQuery.useQuery({
|
|
202
|
-
queryKey:
|
|
203
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:START_TIME", chainId, options.address),
|
|
203
204
|
queryFn: () => client.startTime(),
|
|
204
205
|
enabled: !!client,
|
|
205
206
|
staleTime: 0
|
|
206
207
|
});
|
|
207
208
|
}
|
|
208
209
|
function useAirdropCanExtendClaimWindow(options) {
|
|
209
|
-
const { client, chainId } =
|
|
210
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
210
211
|
return reactQuery.useQuery({
|
|
211
|
-
queryKey:
|
|
212
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:CAN_EXTEND_CLAIM_WINDOW", chainId, options.address),
|
|
212
213
|
queryFn: () => client.canExtendClaimWindow(),
|
|
213
214
|
enabled: !!client,
|
|
214
215
|
staleTime: 0
|
|
215
216
|
});
|
|
216
217
|
}
|
|
217
218
|
function useAirdropEndTime(options) {
|
|
218
|
-
const { client, chainId } =
|
|
219
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
219
220
|
return reactQuery.useQuery({
|
|
220
|
-
queryKey:
|
|
221
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:endTime", chainId, options.address),
|
|
221
222
|
queryFn: () => client.endTime(),
|
|
222
223
|
enabled: !!client,
|
|
223
224
|
staleTime: 0
|
|
224
225
|
});
|
|
225
226
|
}
|
|
226
227
|
function useAirdropIsPaused(options) {
|
|
227
|
-
const { client, chainId } =
|
|
228
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
228
229
|
return reactQuery.useQuery({
|
|
229
|
-
queryKey:
|
|
230
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:isPaused", chainId, options.address),
|
|
230
231
|
queryFn: () => client.isPaused(),
|
|
231
232
|
enabled: !!client,
|
|
232
233
|
staleTime: 0
|
|
233
234
|
});
|
|
234
235
|
}
|
|
235
236
|
function useAirdropDeploymentBlockNumber(options) {
|
|
236
|
-
const { client, chainId } =
|
|
237
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
237
238
|
return reactQuery.useQuery({
|
|
238
|
-
queryKey:
|
|
239
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:deploymentBlockNumber", chainId, options.address),
|
|
239
240
|
queryFn: () => client.deploymentBlockNumber(),
|
|
240
241
|
enabled: !!client,
|
|
241
242
|
staleTime: 0
|
|
242
243
|
});
|
|
243
244
|
}
|
|
244
245
|
function useAirdropDomainSeparator(options) {
|
|
245
|
-
const { client, chainId } =
|
|
246
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
246
247
|
return reactQuery.useQuery({
|
|
247
|
-
queryKey:
|
|
248
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:DOMAIN_SEPARATOR", chainId, options.address),
|
|
248
249
|
queryFn: () => client.domainSeparator(),
|
|
249
250
|
enabled: !!client,
|
|
250
251
|
staleTime: 0
|
|
251
252
|
});
|
|
252
253
|
}
|
|
253
254
|
function useAirdropClaimTypehash(options) {
|
|
254
|
-
const { client, chainId } =
|
|
255
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
255
256
|
return reactQuery.useQuery({
|
|
256
|
-
queryKey:
|
|
257
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:CLAIM_TYPEHASH", chainId, options.address),
|
|
257
258
|
queryFn: () => client.claimTypehash(),
|
|
258
259
|
enabled: !!client,
|
|
259
260
|
staleTime: 0
|
|
260
261
|
});
|
|
261
262
|
}
|
|
262
263
|
function useAirdropIsClaimWindowActive(options) {
|
|
263
|
-
const { client, chainId } =
|
|
264
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
264
265
|
return reactQuery.useQuery({
|
|
265
|
-
queryKey:
|
|
266
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:isClaimWindowActive", chainId, options.address),
|
|
266
267
|
queryFn: () => client.isClaimWindowActive(),
|
|
267
268
|
enabled: !!client,
|
|
268
269
|
staleTime: 0
|
|
269
270
|
});
|
|
270
271
|
}
|
|
271
272
|
function useAirdropHasClaimStarted(options) {
|
|
272
|
-
const { client, chainId } =
|
|
273
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
273
274
|
return reactQuery.useQuery({
|
|
274
|
-
queryKey:
|
|
275
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:hasClaimStarted", chainId, options.address),
|
|
275
276
|
queryFn: () => client.hasClaimStarted(),
|
|
276
277
|
enabled: !!client,
|
|
277
278
|
staleTime: 0
|
|
278
279
|
});
|
|
279
280
|
}
|
|
280
281
|
function useAirdropHasClaimEnded(options) {
|
|
281
|
-
const { client, chainId } =
|
|
282
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
282
283
|
return reactQuery.useQuery({
|
|
283
|
-
queryKey:
|
|
284
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:hasClaimEnded", chainId, options.address),
|
|
284
285
|
queryFn: () => client.hasClaimEnded(),
|
|
285
286
|
enabled: !!client,
|
|
286
287
|
staleTime: 0
|
|
@@ -288,9 +289,9 @@ function useAirdropHasClaimEnded(options) {
|
|
|
288
289
|
}
|
|
289
290
|
function useAirdropClaimedSignatures(args) {
|
|
290
291
|
const { signatureHash, ...base } = args;
|
|
291
|
-
const { client, chainId } =
|
|
292
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(base);
|
|
292
293
|
return reactQuery.useQuery({
|
|
293
|
-
queryKey:
|
|
294
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:claimedSignatures", chainId, base.address, signatureHash),
|
|
294
295
|
queryFn: () => client.claimedSignatures(signatureHash),
|
|
295
296
|
enabled: !!client && !!signatureHash,
|
|
296
297
|
staleTime: 0
|
|
@@ -298,9 +299,9 @@ function useAirdropClaimedSignatures(args) {
|
|
|
298
299
|
}
|
|
299
300
|
function useAirdropIsSignatureClaimed(args) {
|
|
300
301
|
const { user, encryptedAmountHandle, ...base } = args;
|
|
301
|
-
const { client, chainId } =
|
|
302
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(base);
|
|
302
303
|
return reactQuery.useQuery({
|
|
303
|
-
queryKey:
|
|
304
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey(
|
|
304
305
|
"airdrop:isSignatureClaimed",
|
|
305
306
|
chainId,
|
|
306
307
|
base.address,
|
|
@@ -314,11 +315,11 @@ function useAirdropIsSignatureClaimed(args) {
|
|
|
314
315
|
}
|
|
315
316
|
function useAirdropIsSignatureValid(args) {
|
|
316
317
|
const { encryptedAmountHandle, signature, caller, ...base } = args;
|
|
317
|
-
const { client, chainId } =
|
|
318
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(base);
|
|
318
319
|
const { address: connectedAddress } = chunkZQUE2B3Q_cjs.useWagmiAccount();
|
|
319
320
|
const resolvedCaller = caller ?? connectedAddress;
|
|
320
321
|
return reactQuery.useQuery({
|
|
321
|
-
queryKey:
|
|
322
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey(
|
|
322
323
|
"airdrop:isSignatureValid",
|
|
323
324
|
chainId,
|
|
324
325
|
base.address,
|
|
@@ -337,100 +338,101 @@ function useAirdropIsSignatureValid(args) {
|
|
|
337
338
|
}
|
|
338
339
|
function useAirdropHasRole(args) {
|
|
339
340
|
const { role, account, ...base } = args;
|
|
340
|
-
const { client, chainId } =
|
|
341
|
+
const { client, chainId } = chunkWO72UBQD_cjs.useMemoAirdropClient(base);
|
|
341
342
|
return reactQuery.useQuery({
|
|
342
|
-
queryKey:
|
|
343
|
+
queryKey: chunkWO72UBQD_cjs.buildQueryKey("airdrop:hasRole", chainId, base.address, role, account),
|
|
343
344
|
queryFn: () => client.hasRole(role, account),
|
|
344
345
|
enabled: !!client && !!role && !!account,
|
|
345
346
|
staleTime: 0
|
|
346
347
|
});
|
|
347
348
|
}
|
|
348
349
|
function useClaim(options) {
|
|
349
|
-
const { client } =
|
|
350
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
350
351
|
return reactQuery.useMutation({
|
|
351
352
|
mutationFn: async (args) => {
|
|
352
|
-
if (!client) throw new
|
|
353
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useClaim", "airdrop");
|
|
353
354
|
return client.claim(args);
|
|
354
355
|
}
|
|
355
356
|
});
|
|
356
357
|
}
|
|
357
|
-
function
|
|
358
|
-
const { client } =
|
|
358
|
+
function useAccessClaimAmount(options) {
|
|
359
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
359
360
|
return reactQuery.useMutation({
|
|
360
361
|
mutationFn: async (args) => {
|
|
361
|
-
if (!client) throw new
|
|
362
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessClaimAmount", "airdrop");
|
|
362
363
|
return client.getClaimAmount(args);
|
|
363
364
|
}
|
|
364
365
|
});
|
|
365
366
|
}
|
|
367
|
+
var useGetClaimAmount = useAccessClaimAmount;
|
|
366
368
|
function useWithdraw(options) {
|
|
367
|
-
const { client } =
|
|
369
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
368
370
|
return reactQuery.useMutation({
|
|
369
371
|
mutationFn: async ({ recipient, account }) => {
|
|
370
|
-
if (!client) throw new
|
|
372
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdraw", "airdrop");
|
|
371
373
|
return client.withdraw(recipient, account);
|
|
372
374
|
}
|
|
373
375
|
});
|
|
374
376
|
}
|
|
375
377
|
function useSetPaused(options) {
|
|
376
|
-
const { client } =
|
|
378
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
377
379
|
return reactQuery.useMutation({
|
|
378
380
|
mutationFn: async ({ paused, account }) => {
|
|
379
|
-
if (!client) throw new
|
|
381
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useSetPaused", "airdrop");
|
|
380
382
|
return client.setPaused(paused, account);
|
|
381
383
|
}
|
|
382
384
|
});
|
|
383
385
|
}
|
|
384
386
|
function useExtendClaimWindow(options) {
|
|
385
|
-
const { client } =
|
|
387
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
386
388
|
return reactQuery.useMutation({
|
|
387
389
|
mutationFn: async ({ newEndTime, account }) => {
|
|
388
|
-
if (!client) throw new
|
|
390
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useExtendClaimWindow", "airdrop");
|
|
389
391
|
return client.extendClaimWindow(newEndTime, account);
|
|
390
392
|
}
|
|
391
393
|
});
|
|
392
394
|
}
|
|
393
395
|
function useWithdrawOtherToken(options) {
|
|
394
|
-
const { client } =
|
|
396
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
395
397
|
return reactQuery.useMutation({
|
|
396
398
|
mutationFn: async ({ tokenAddress, recipient, account }) => {
|
|
397
|
-
if (!client) throw new
|
|
399
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawOtherToken", "airdrop");
|
|
398
400
|
return client.withdrawOtherToken(tokenAddress, recipient, account);
|
|
399
401
|
}
|
|
400
402
|
});
|
|
401
403
|
}
|
|
402
404
|
function useWithdrawOtherConfidentialToken(options) {
|
|
403
|
-
const { client } =
|
|
405
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
404
406
|
return reactQuery.useMutation({
|
|
405
407
|
mutationFn: async ({ tokenAddress, recipient, account }) => {
|
|
406
|
-
if (!client) throw new
|
|
408
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawOtherConfidentialToken", "airdrop");
|
|
407
409
|
return client.withdrawOtherConfidentialToken(tokenAddress, recipient, account);
|
|
408
410
|
}
|
|
409
411
|
});
|
|
410
412
|
}
|
|
411
413
|
function useAirdropWithdrawGasFee(options) {
|
|
412
|
-
const { client } =
|
|
414
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
413
415
|
return reactQuery.useMutation({
|
|
414
416
|
mutationFn: async ({ recipient, amount, account }) => {
|
|
415
|
-
if (!client) throw new
|
|
417
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAirdropWithdrawGasFee", "airdrop");
|
|
416
418
|
return client.withdrawGasFee(recipient, amount, account);
|
|
417
419
|
}
|
|
418
420
|
});
|
|
419
421
|
}
|
|
420
422
|
function useAirdropGrantRole(options) {
|
|
421
|
-
const { client } =
|
|
423
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
422
424
|
return reactQuery.useMutation({
|
|
423
425
|
mutationFn: async ({ role, accountTarget, account }) => {
|
|
424
|
-
if (!client) throw new
|
|
426
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAirdropGrantRole", "airdrop");
|
|
425
427
|
return client.grantRole(role, accountTarget, account);
|
|
426
428
|
}
|
|
427
429
|
});
|
|
428
430
|
}
|
|
429
431
|
function useAirdropRevokeRole(options) {
|
|
430
|
-
const { client } =
|
|
432
|
+
const { client } = chunkWO72UBQD_cjs.useMemoAirdropClient(options);
|
|
431
433
|
return reactQuery.useMutation({
|
|
432
434
|
mutationFn: async ({ role, accountTarget, account }) => {
|
|
433
|
-
if (!client) throw new
|
|
435
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAirdropRevokeRole", "airdrop");
|
|
434
436
|
return client.revokeRole(role, accountTarget, account);
|
|
435
437
|
}
|
|
436
438
|
});
|
|
@@ -440,9 +442,9 @@ function useSignClaimAuthorization(options = {}) {
|
|
|
440
442
|
return reactQuery.useMutation({
|
|
441
443
|
mutationFn: async (args) => {
|
|
442
444
|
if (!walletClient) {
|
|
443
|
-
throw new
|
|
445
|
+
throw new chunk2RNW4MIJ_cjs.MissingWalletClientError("useSignClaimAuthorization");
|
|
444
446
|
}
|
|
445
|
-
return
|
|
447
|
+
return chunkLBWRFZR3_cjs.signClaimAuthorization({
|
|
446
448
|
walletClient,
|
|
447
449
|
airdropAddress: args.airdropAddress,
|
|
448
450
|
recipient: args.recipient,
|
|
@@ -454,176 +456,185 @@ function useSignClaimAuthorization(options = {}) {
|
|
|
454
456
|
|
|
455
457
|
Object.defineProperty(exports, "AlreadyClaimedError", {
|
|
456
458
|
enumerable: true,
|
|
457
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunkSPGSO5SO_cjs.AlreadyClaimedError; }
|
|
458
460
|
});
|
|
459
461
|
Object.defineProperty(exports, "ClaimNotStartedError", {
|
|
460
462
|
enumerable: true,
|
|
461
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunkSPGSO5SO_cjs.ClaimNotStartedError; }
|
|
462
464
|
});
|
|
463
465
|
Object.defineProperty(exports, "ClaimWindowClosedError", {
|
|
464
466
|
enumerable: true,
|
|
465
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunkSPGSO5SO_cjs.ClaimWindowClosedError; }
|
|
466
468
|
});
|
|
467
469
|
Object.defineProperty(exports, "encryptUint64", {
|
|
468
470
|
enumerable: true,
|
|
469
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunkLBWRFZR3_cjs.encryptUint64; }
|
|
470
472
|
});
|
|
471
473
|
Object.defineProperty(exports, "encryptUint64Batch", {
|
|
472
474
|
enumerable: true,
|
|
473
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunkLBWRFZR3_cjs.encryptUint64Batch; }
|
|
474
476
|
});
|
|
475
477
|
Object.defineProperty(exports, "resolveEncryptor", {
|
|
476
478
|
enumerable: true,
|
|
477
|
-
get: function () { return
|
|
479
|
+
get: function () { return chunkLBWRFZR3_cjs.resolveEncryptor; }
|
|
478
480
|
});
|
|
479
481
|
Object.defineProperty(exports, "signClaimAuthorization", {
|
|
480
482
|
enumerable: true,
|
|
481
|
-
get: function () { return
|
|
483
|
+
get: function () { return chunkLBWRFZR3_cjs.signClaimAuthorization; }
|
|
484
|
+
});
|
|
485
|
+
Object.defineProperty(exports, "useEnsureOperator", {
|
|
486
|
+
enumerable: true,
|
|
487
|
+
get: function () { return chunkWOEETTH7_cjs.useEnsureOperator; }
|
|
488
|
+
});
|
|
489
|
+
Object.defineProperty(exports, "useIsOperator", {
|
|
490
|
+
enumerable: true,
|
|
491
|
+
get: function () { return chunkWOEETTH7_cjs.useIsOperator; }
|
|
482
492
|
});
|
|
483
493
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
484
494
|
enumerable: true,
|
|
485
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunk2RNW4MIJ_cjs.AccessDeniedError; }
|
|
486
496
|
});
|
|
487
497
|
Object.defineProperty(exports, "AlreadyInitializedError", {
|
|
488
498
|
enumerable: true,
|
|
489
|
-
get: function () { return
|
|
499
|
+
get: function () { return chunk2RNW4MIJ_cjs.AlreadyInitializedError; }
|
|
490
500
|
});
|
|
491
501
|
Object.defineProperty(exports, "BatchTooLargeError", {
|
|
492
502
|
enumerable: true,
|
|
493
|
-
get: function () { return
|
|
503
|
+
get: function () { return chunk2RNW4MIJ_cjs.BatchTooLargeError; }
|
|
494
504
|
});
|
|
495
505
|
Object.defineProperty(exports, "ContractRevertError", {
|
|
496
506
|
enumerable: true,
|
|
497
|
-
get: function () { return
|
|
507
|
+
get: function () { return chunk2RNW4MIJ_cjs.ContractRevertError; }
|
|
498
508
|
});
|
|
499
509
|
Object.defineProperty(exports, "DecryptionFailedError", {
|
|
500
510
|
enumerable: true,
|
|
501
|
-
get: function () { return
|
|
511
|
+
get: function () { return chunk2RNW4MIJ_cjs.DecryptionFailedError; }
|
|
502
512
|
});
|
|
503
513
|
Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
|
|
504
514
|
enumerable: true,
|
|
505
|
-
get: function () { return
|
|
515
|
+
get: function () { return chunk2RNW4MIJ_cjs.DeploymentAddressUnavailableError; }
|
|
506
516
|
});
|
|
507
517
|
Object.defineProperty(exports, "EncryptionFailedError", {
|
|
508
518
|
enumerable: true,
|
|
509
|
-
get: function () { return
|
|
519
|
+
get: function () { return chunk2RNW4MIJ_cjs.EncryptionFailedError; }
|
|
510
520
|
});
|
|
511
521
|
Object.defineProperty(exports, "FeatureDisabledError", {
|
|
512
522
|
enumerable: true,
|
|
513
|
-
get: function () { return
|
|
523
|
+
get: function () { return chunk2RNW4MIJ_cjs.FeatureDisabledError; }
|
|
514
524
|
});
|
|
515
525
|
Object.defineProperty(exports, "FheHandleNotAllowedError", {
|
|
516
526
|
enumerable: true,
|
|
517
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunk2RNW4MIJ_cjs.FheHandleNotAllowedError; }
|
|
518
528
|
});
|
|
519
529
|
Object.defineProperty(exports, "InsufficientBalanceError", {
|
|
520
530
|
enumerable: true,
|
|
521
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunk2RNW4MIJ_cjs.InsufficientBalanceError; }
|
|
522
532
|
});
|
|
523
533
|
Object.defineProperty(exports, "InsufficientFeeError", {
|
|
524
534
|
enumerable: true,
|
|
525
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunk2RNW4MIJ_cjs.InsufficientFeeError; }
|
|
526
536
|
});
|
|
527
537
|
Object.defineProperty(exports, "InsufficientGasFundsError", {
|
|
528
538
|
enumerable: true,
|
|
529
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunk2RNW4MIJ_cjs.InsufficientGasFundsError; }
|
|
530
540
|
});
|
|
531
541
|
Object.defineProperty(exports, "InvalidArgumentError", {
|
|
532
542
|
enumerable: true,
|
|
533
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunk2RNW4MIJ_cjs.InvalidArgumentError; }
|
|
534
544
|
});
|
|
535
545
|
Object.defineProperty(exports, "InvalidSignatureError", {
|
|
536
546
|
enumerable: true,
|
|
537
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunk2RNW4MIJ_cjs.InvalidSignatureError; }
|
|
538
548
|
});
|
|
539
549
|
Object.defineProperty(exports, "MissingAccountError", {
|
|
540
550
|
enumerable: true,
|
|
541
|
-
get: function () { return
|
|
551
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingAccountError; }
|
|
542
552
|
});
|
|
543
553
|
Object.defineProperty(exports, "MissingClientError", {
|
|
544
554
|
enumerable: true,
|
|
545
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingClientError; }
|
|
546
556
|
});
|
|
547
557
|
Object.defineProperty(exports, "MissingEncryptorError", {
|
|
548
558
|
enumerable: true,
|
|
549
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingEncryptorError; }
|
|
550
560
|
});
|
|
551
561
|
Object.defineProperty(exports, "MissingPublicClientError", {
|
|
552
562
|
enumerable: true,
|
|
553
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingPublicClientError; }
|
|
554
564
|
});
|
|
555
565
|
Object.defineProperty(exports, "MissingWalletClientError", {
|
|
556
566
|
enumerable: true,
|
|
557
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingWalletClientError; }
|
|
558
568
|
});
|
|
559
569
|
Object.defineProperty(exports, "NetworkError", {
|
|
560
570
|
enumerable: true,
|
|
561
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunk2RNW4MIJ_cjs.NetworkError; }
|
|
562
572
|
});
|
|
563
573
|
Object.defineProperty(exports, "OperatorNotApprovedError", {
|
|
564
574
|
enumerable: true,
|
|
565
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunk2RNW4MIJ_cjs.OperatorNotApprovedError; }
|
|
566
576
|
});
|
|
567
577
|
Object.defineProperty(exports, "PausedError", {
|
|
568
578
|
enumerable: true,
|
|
569
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunk2RNW4MIJ_cjs.PausedError; }
|
|
570
580
|
});
|
|
571
581
|
Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
|
|
572
582
|
enumerable: true,
|
|
573
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventAmbiguousError; }
|
|
574
584
|
});
|
|
575
585
|
Object.defineProperty(exports, "ReceiptEventNotFoundError", {
|
|
576
586
|
enumerable: true,
|
|
577
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventNotFoundError; }
|
|
578
588
|
});
|
|
579
589
|
Object.defineProperty(exports, "ReentrancyError", {
|
|
580
590
|
enumerable: true,
|
|
581
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunk2RNW4MIJ_cjs.ReentrancyError; }
|
|
582
592
|
});
|
|
583
593
|
Object.defineProperty(exports, "RelayerUnreachableError", {
|
|
584
594
|
enumerable: true,
|
|
585
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunk2RNW4MIJ_cjs.RelayerUnreachableError; }
|
|
586
596
|
});
|
|
587
597
|
Object.defineProperty(exports, "SigningFailedError", {
|
|
588
598
|
enumerable: true,
|
|
589
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunk2RNW4MIJ_cjs.SigningFailedError; }
|
|
590
600
|
});
|
|
591
601
|
Object.defineProperty(exports, "TokenOpsSdkError", {
|
|
592
602
|
enumerable: true,
|
|
593
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunk2RNW4MIJ_cjs.TokenOpsSdkError; }
|
|
594
604
|
});
|
|
595
605
|
Object.defineProperty(exports, "TransferFailedError", {
|
|
596
606
|
enumerable: true,
|
|
597
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunk2RNW4MIJ_cjs.TransferFailedError; }
|
|
598
608
|
});
|
|
599
609
|
Object.defineProperty(exports, "UnknownWriteFailureError", {
|
|
600
610
|
enumerable: true,
|
|
601
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunk2RNW4MIJ_cjs.UnknownWriteFailureError; }
|
|
602
612
|
});
|
|
603
613
|
Object.defineProperty(exports, "UnsupportedChainError", {
|
|
604
614
|
enumerable: true,
|
|
605
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunk2RNW4MIJ_cjs.UnsupportedChainError; }
|
|
606
616
|
});
|
|
607
617
|
Object.defineProperty(exports, "UserDecryptNotAllowedError", {
|
|
608
618
|
enumerable: true,
|
|
609
|
-
get: function () { return
|
|
619
|
+
get: function () { return chunk2RNW4MIJ_cjs.UserDecryptNotAllowedError; }
|
|
610
620
|
});
|
|
611
621
|
Object.defineProperty(exports, "UserRejectedSignatureError", {
|
|
612
622
|
enumerable: true,
|
|
613
|
-
get: function () { return
|
|
623
|
+
get: function () { return chunk2RNW4MIJ_cjs.UserRejectedSignatureError; }
|
|
614
624
|
});
|
|
615
625
|
Object.defineProperty(exports, "WalletChainMismatchError", {
|
|
616
626
|
enumerable: true,
|
|
617
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunk2RNW4MIJ_cjs.WalletChainMismatchError; }
|
|
618
628
|
});
|
|
619
629
|
Object.defineProperty(exports, "WalletRejectedError", {
|
|
620
630
|
enumerable: true,
|
|
621
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunk2RNW4MIJ_cjs.WalletRejectedError; }
|
|
622
632
|
});
|
|
623
633
|
Object.defineProperty(exports, "isTokenOpsSdkError", {
|
|
624
634
|
enumerable: true,
|
|
625
|
-
get: function () { return
|
|
635
|
+
get: function () { return chunk2RNW4MIJ_cjs.isTokenOpsSdkError; }
|
|
626
636
|
});
|
|
637
|
+
exports.useAccessClaimAmount = useAccessClaimAmount;
|
|
627
638
|
exports.useAirdropCanExtendClaimWindow = useAirdropCanExtendClaimWindow;
|
|
628
639
|
exports.useAirdropClaimTypehash = useAirdropClaimTypehash;
|
|
629
640
|
exports.useAirdropClaimedSignatures = useAirdropClaimedSignatures;
|