@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,60 +1,62 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
var
|
|
7
|
-
require('../../chunk-
|
|
3
|
+
var chunkWOEETTH7_cjs = require('../../chunk-WOEETTH7.cjs');
|
|
4
|
+
require('../../chunk-ZQUE2B3Q.cjs');
|
|
5
|
+
require('../../chunk-4ZCXK4VI.cjs');
|
|
6
|
+
var chunkCBRL2PJA_cjs = require('../../chunk-CBRL2PJA.cjs');
|
|
7
|
+
var chunkBK7YIVLK_cjs = require('../../chunk-BK7YIVLK.cjs');
|
|
8
|
+
require('../../chunk-UJS4N2XM.cjs');
|
|
9
|
+
var chunkBD4LZBVF_cjs = require('../../chunk-BD4LZBVF.cjs');
|
|
10
|
+
require('../../chunk-SYHNZSZZ.cjs');
|
|
8
11
|
require('../../chunk-FWHYQZ5E.cjs');
|
|
9
|
-
var
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
12
|
+
var chunkEUKPOXWR_cjs = require('../../chunk-EUKPOXWR.cjs');
|
|
13
|
+
require('../../chunk-43RFBQ73.cjs');
|
|
14
|
+
require('../../chunk-WUXUWTFW.cjs');
|
|
15
|
+
require('../../chunk-VR3FREBX.cjs');
|
|
16
|
+
var chunk2RNW4MIJ_cjs = require('../../chunk-2RNW4MIJ.cjs');
|
|
13
17
|
require('../../chunk-VJKZWYYJ.cjs');
|
|
14
|
-
require('../../chunk-66IHPTOK.cjs');
|
|
15
|
-
var chunk67OV5CX2_cjs = require('../../chunk-67OV5CX2.cjs');
|
|
16
18
|
var reactQuery = require('@tanstack/react-query');
|
|
17
19
|
|
|
18
20
|
function useConfidentialVestingFactoryImplementation(options = {}) {
|
|
19
|
-
const { client, chainId, resolvedAddress } =
|
|
21
|
+
const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
20
22
|
return reactQuery.useQuery({
|
|
21
|
-
queryKey:
|
|
23
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
|
|
22
24
|
queryFn: () => client.implementation(),
|
|
23
25
|
enabled: !!client,
|
|
24
26
|
staleTime: 0
|
|
25
27
|
});
|
|
26
28
|
}
|
|
27
29
|
function useFactoryDefaultGasFee(options = {}) {
|
|
28
|
-
const { client, chainId, resolvedAddress } =
|
|
30
|
+
const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
29
31
|
return reactQuery.useQuery({
|
|
30
|
-
queryKey:
|
|
32
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
|
|
31
33
|
queryFn: () => client.defaultGasFee(),
|
|
32
34
|
enabled: !!client,
|
|
33
35
|
staleTime: 0
|
|
34
36
|
});
|
|
35
37
|
}
|
|
36
38
|
function useFactoryDefaultTokenFee(options = {}) {
|
|
37
|
-
const { client, chainId, resolvedAddress } =
|
|
39
|
+
const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
38
40
|
return reactQuery.useQuery({
|
|
39
|
-
queryKey:
|
|
41
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:defaultTokenFee", chainId, resolvedAddress),
|
|
40
42
|
queryFn: () => client.defaultTokenFee(),
|
|
41
43
|
enabled: !!client,
|
|
42
44
|
staleTime: 0
|
|
43
45
|
});
|
|
44
46
|
}
|
|
45
47
|
function useFactoryDefaultFeeType(options = {}) {
|
|
46
|
-
const { client, chainId, resolvedAddress } =
|
|
48
|
+
const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
47
49
|
return reactQuery.useQuery({
|
|
48
|
-
queryKey:
|
|
50
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:defaultFeeType", chainId, resolvedAddress),
|
|
49
51
|
queryFn: () => client.defaultFeeType(),
|
|
50
52
|
enabled: !!client,
|
|
51
53
|
staleTime: 0
|
|
52
54
|
});
|
|
53
55
|
}
|
|
54
56
|
function useFactoryFeeCollector(options = {}) {
|
|
55
|
-
const { client, chainId, resolvedAddress } =
|
|
57
|
+
const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
56
58
|
return reactQuery.useQuery({
|
|
57
|
-
queryKey:
|
|
59
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
|
|
58
60
|
queryFn: () => client.feeCollector(),
|
|
59
61
|
enabled: !!client,
|
|
60
62
|
staleTime: 0
|
|
@@ -62,9 +64,9 @@ function useFactoryFeeCollector(options = {}) {
|
|
|
62
64
|
}
|
|
63
65
|
function useFactoryCustomFee(args = {}) {
|
|
64
66
|
const { creator, ...base } = args;
|
|
65
|
-
const { client, chainId, resolvedAddress } =
|
|
67
|
+
const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(base);
|
|
66
68
|
return reactQuery.useQuery({
|
|
67
|
-
queryKey:
|
|
69
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
|
|
68
70
|
queryFn: () => client.getCustomFee(creator),
|
|
69
71
|
enabled: !!client && !!creator,
|
|
70
72
|
staleTime: 0
|
|
@@ -72,9 +74,9 @@ function useFactoryCustomFee(args = {}) {
|
|
|
72
74
|
}
|
|
73
75
|
function useFactoryInitCodeHash(args = {}) {
|
|
74
76
|
const { token, deployer, splitEnabled, pausableEnabled, ...base } = args;
|
|
75
|
-
const { client, chainId, resolvedAddress } =
|
|
77
|
+
const { client, chainId, resolvedAddress } = chunkCBRL2PJA_cjs.useMemoFactoryClient(base);
|
|
76
78
|
return reactQuery.useQuery({
|
|
77
|
-
queryKey:
|
|
79
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
|
|
78
80
|
"factory:getInitCodeHash",
|
|
79
81
|
chainId,
|
|
80
82
|
resolvedAddress,
|
|
@@ -94,188 +96,188 @@ function useFactoryInitCodeHash(args = {}) {
|
|
|
94
96
|
});
|
|
95
97
|
}
|
|
96
98
|
function useCreateManagerAndGetAddress(options = {}) {
|
|
97
|
-
const { client, resolutionError } =
|
|
99
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
98
100
|
return reactQuery.useMutation({
|
|
99
101
|
mutationFn: async (args) => {
|
|
100
102
|
if (!client) {
|
|
101
|
-
throw resolutionError ?? new
|
|
103
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useCreateManagerAndGetAddress", "factory");
|
|
102
104
|
}
|
|
103
105
|
return client.createManagerAndGetAddress(args);
|
|
104
106
|
}
|
|
105
107
|
});
|
|
106
108
|
}
|
|
107
109
|
function useCreateManager(options = {}) {
|
|
108
|
-
const { client, resolutionError } =
|
|
110
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
109
111
|
return reactQuery.useMutation({
|
|
110
112
|
mutationFn: async (args) => {
|
|
111
113
|
if (!client) {
|
|
112
|
-
throw resolutionError ?? new
|
|
114
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useCreateManager", "factory");
|
|
113
115
|
}
|
|
114
116
|
return client.createManager(args);
|
|
115
117
|
}
|
|
116
118
|
});
|
|
117
119
|
}
|
|
118
120
|
function useSetDefaultGasFee(options = {}) {
|
|
119
|
-
const { client, resolutionError } =
|
|
121
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
120
122
|
return reactQuery.useMutation({
|
|
121
123
|
mutationFn: async ({ fee, account }) => {
|
|
122
124
|
if (!client)
|
|
123
|
-
throw resolutionError ?? new
|
|
125
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetDefaultGasFee", "factory");
|
|
124
126
|
return client.setDefaultGasFee(fee, account);
|
|
125
127
|
}
|
|
126
128
|
});
|
|
127
129
|
}
|
|
128
130
|
function useSetDefaultTokenFee(options = {}) {
|
|
129
|
-
const { client, resolutionError } =
|
|
131
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
130
132
|
return reactQuery.useMutation({
|
|
131
133
|
mutationFn: async ({ feeBps, account }) => {
|
|
132
134
|
if (!client)
|
|
133
|
-
throw resolutionError ?? new
|
|
135
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetDefaultTokenFee", "factory");
|
|
134
136
|
return client.setDefaultTokenFee(feeBps, account);
|
|
135
137
|
}
|
|
136
138
|
});
|
|
137
139
|
}
|
|
138
140
|
function useSetDefaultFeeType(options = {}) {
|
|
139
|
-
const { client, resolutionError } =
|
|
141
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
140
142
|
return reactQuery.useMutation({
|
|
141
143
|
mutationFn: async ({ feeType, account }) => {
|
|
142
144
|
if (!client)
|
|
143
|
-
throw resolutionError ?? new
|
|
145
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetDefaultFeeType", "factory");
|
|
144
146
|
return client.setDefaultFeeType(feeType, account);
|
|
145
147
|
}
|
|
146
148
|
});
|
|
147
149
|
}
|
|
148
150
|
function useResetGasFee(options = {}) {
|
|
149
|
-
const { client, resolutionError } =
|
|
151
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
150
152
|
return reactQuery.useMutation({
|
|
151
153
|
mutationFn: async (args) => {
|
|
152
|
-
if (!client) throw resolutionError ?? new
|
|
154
|
+
if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useResetGasFee", "factory");
|
|
153
155
|
return client.resetGasFee(args?.account);
|
|
154
156
|
}
|
|
155
157
|
});
|
|
156
158
|
}
|
|
157
159
|
function useResetTokenFee(options = {}) {
|
|
158
|
-
const { client, resolutionError } =
|
|
160
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
159
161
|
return reactQuery.useMutation({
|
|
160
162
|
mutationFn: async (args) => {
|
|
161
|
-
if (!client) throw resolutionError ?? new
|
|
163
|
+
if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useResetTokenFee", "factory");
|
|
162
164
|
return client.resetTokenFee(args?.account);
|
|
163
165
|
}
|
|
164
166
|
});
|
|
165
167
|
}
|
|
166
168
|
function useSetCustomFee(options = {}) {
|
|
167
|
-
const { client, resolutionError } =
|
|
169
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
168
170
|
return reactQuery.useMutation({
|
|
169
171
|
mutationFn: async ({ creator, feeType, gasFee, tokenFee, account }) => {
|
|
170
|
-
if (!client) throw resolutionError ?? new
|
|
172
|
+
if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetCustomFee", "factory");
|
|
171
173
|
return client.setCustomFee({ creator, feeType, gasFee, tokenFee }, account);
|
|
172
174
|
}
|
|
173
175
|
});
|
|
174
176
|
}
|
|
175
177
|
function useDisableCustomFee(options = {}) {
|
|
176
|
-
const { client, resolutionError } =
|
|
178
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
177
179
|
return reactQuery.useMutation({
|
|
178
180
|
mutationFn: async ({ creator, account }) => {
|
|
179
181
|
if (!client)
|
|
180
|
-
throw resolutionError ?? new
|
|
182
|
+
throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useDisableCustomFee", "factory");
|
|
181
183
|
return client.disableCustomFee(creator, account);
|
|
182
184
|
}
|
|
183
185
|
});
|
|
184
186
|
}
|
|
185
187
|
function useSetFeeCollector(options = {}) {
|
|
186
|
-
const { client, resolutionError } =
|
|
188
|
+
const { client, resolutionError } = chunkCBRL2PJA_cjs.useMemoFactoryClient(options);
|
|
187
189
|
return reactQuery.useMutation({
|
|
188
190
|
mutationFn: async ({ newCollector, account }) => {
|
|
189
|
-
if (!client) throw resolutionError ?? new
|
|
191
|
+
if (!client) throw resolutionError ?? new chunk2RNW4MIJ_cjs.MissingClientError("useSetFeeCollector", "factory");
|
|
190
192
|
return client.setFeeCollector(newCollector, account);
|
|
191
193
|
}
|
|
192
194
|
});
|
|
193
195
|
}
|
|
194
196
|
function useManagerToken(options) {
|
|
195
|
-
const { client, chainId } =
|
|
197
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
196
198
|
return reactQuery.useQuery({
|
|
197
|
-
queryKey:
|
|
199
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:TOKEN_ADDRESS", chainId, options.address),
|
|
198
200
|
queryFn: () => client.token(),
|
|
199
201
|
enabled: !!client,
|
|
200
202
|
staleTime: 0
|
|
201
203
|
});
|
|
202
204
|
}
|
|
203
205
|
function useManagerFeeType(options) {
|
|
204
|
-
const { client, chainId } =
|
|
206
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
205
207
|
return reactQuery.useQuery({
|
|
206
|
-
queryKey:
|
|
208
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:FEE_TYPE", chainId, options.address),
|
|
207
209
|
queryFn: () => client.feeType(),
|
|
208
210
|
enabled: !!client,
|
|
209
211
|
staleTime: 0
|
|
210
212
|
});
|
|
211
213
|
}
|
|
212
214
|
function useManagerFee(options) {
|
|
213
|
-
const { client, chainId } =
|
|
215
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
214
216
|
return reactQuery.useQuery({
|
|
215
|
-
queryKey:
|
|
217
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:FEE", chainId, options.address),
|
|
216
218
|
queryFn: () => client.fee(),
|
|
217
219
|
enabled: !!client,
|
|
218
220
|
staleTime: 0
|
|
219
221
|
});
|
|
220
222
|
}
|
|
221
223
|
function useManagerFeeInfo(options) {
|
|
222
|
-
const { client, chainId } =
|
|
224
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
223
225
|
return reactQuery.useQuery({
|
|
224
|
-
queryKey:
|
|
226
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getFeeInfo", chainId, options.address),
|
|
225
227
|
queryFn: () => client.getFeeInfo(),
|
|
226
228
|
enabled: !!client,
|
|
227
229
|
staleTime: 0
|
|
228
230
|
});
|
|
229
231
|
}
|
|
230
232
|
function useManagerDeploymentBlockNumber(options) {
|
|
231
|
-
const { client, chainId } =
|
|
233
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
232
234
|
return reactQuery.useQuery({
|
|
233
|
-
queryKey:
|
|
235
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:DEPLOYMENT_BLOCK_NUMBER", chainId, options.address),
|
|
234
236
|
queryFn: () => client.deploymentBlockNumber(),
|
|
235
237
|
enabled: !!client,
|
|
236
238
|
staleTime: 0
|
|
237
239
|
});
|
|
238
240
|
}
|
|
239
241
|
function useManagerIsSplitEnabled(options) {
|
|
240
|
-
const { client, chainId } =
|
|
242
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
241
243
|
return reactQuery.useQuery({
|
|
242
|
-
queryKey:
|
|
244
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:isSplitEnabled", chainId, options.address),
|
|
243
245
|
queryFn: () => client.isSplitEnabled(),
|
|
244
246
|
enabled: !!client,
|
|
245
247
|
staleTime: 0
|
|
246
248
|
});
|
|
247
249
|
}
|
|
248
250
|
function useManagerIsPausable(options) {
|
|
249
|
-
const { client, chainId } =
|
|
251
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
250
252
|
return reactQuery.useQuery({
|
|
251
|
-
queryKey:
|
|
253
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:isPausable", chainId, options.address),
|
|
252
254
|
queryFn: () => client.isPausable(),
|
|
253
255
|
enabled: !!client,
|
|
254
256
|
staleTime: 0
|
|
255
257
|
});
|
|
256
258
|
}
|
|
257
259
|
function useManagerPaused(options) {
|
|
258
|
-
const { client, chainId } =
|
|
260
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
259
261
|
return reactQuery.useQuery({
|
|
260
|
-
queryKey:
|
|
262
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:paused", chainId, options.address),
|
|
261
263
|
queryFn: () => client.paused(),
|
|
262
264
|
enabled: !!client,
|
|
263
265
|
staleTime: 0
|
|
264
266
|
});
|
|
265
267
|
}
|
|
266
268
|
function useManagerMaxBatchSize(options) {
|
|
267
|
-
const { client, chainId } =
|
|
269
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
268
270
|
return reactQuery.useQuery({
|
|
269
|
-
queryKey:
|
|
271
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:maxBatchSize", chainId, options.address),
|
|
270
272
|
queryFn: () => client.maxBatchSize(),
|
|
271
273
|
enabled: !!client,
|
|
272
274
|
staleTime: 0
|
|
273
275
|
});
|
|
274
276
|
}
|
|
275
277
|
function useManagerMaxRevokeBatchSize(options) {
|
|
276
|
-
const { client, chainId } =
|
|
278
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
277
279
|
return reactQuery.useQuery({
|
|
278
|
-
queryKey:
|
|
280
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:maxRevokeBatchSize", chainId, options.address),
|
|
279
281
|
queryFn: () => client.maxRevokeBatchSize(),
|
|
280
282
|
enabled: !!client,
|
|
281
283
|
staleTime: 0
|
|
@@ -283,27 +285,27 @@ function useManagerMaxRevokeBatchSize(options) {
|
|
|
283
285
|
}
|
|
284
286
|
function useVestingInfo(args) {
|
|
285
287
|
const { vestingId, ...base } = args;
|
|
286
|
-
const { client, chainId } =
|
|
288
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
287
289
|
return reactQuery.useQuery({
|
|
288
|
-
queryKey:
|
|
290
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getVestingInfo", chainId, base.address, vestingId),
|
|
289
291
|
queryFn: () => client.getVestingInfo(vestingId),
|
|
290
292
|
enabled: !!client && !!vestingId,
|
|
291
293
|
staleTime: 0
|
|
292
294
|
});
|
|
293
295
|
}
|
|
294
296
|
function useAllRecipients(options) {
|
|
295
|
-
const { client, chainId } =
|
|
297
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
296
298
|
return reactQuery.useQuery({
|
|
297
|
-
queryKey:
|
|
299
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getAllRecipients", chainId, options.address),
|
|
298
300
|
queryFn: () => client.getAllRecipients(),
|
|
299
301
|
enabled: !!client,
|
|
300
302
|
staleTime: 0
|
|
301
303
|
});
|
|
302
304
|
}
|
|
303
305
|
function useAllRecipientsLength(options) {
|
|
304
|
-
const { client, chainId } =
|
|
306
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
305
307
|
return reactQuery.useQuery({
|
|
306
|
-
queryKey:
|
|
308
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getAllRecipientsLength", chainId, options.address),
|
|
307
309
|
queryFn: () => client.getAllRecipientsLength(),
|
|
308
310
|
enabled: !!client,
|
|
309
311
|
staleTime: 0
|
|
@@ -311,9 +313,9 @@ function useAllRecipientsLength(options) {
|
|
|
311
313
|
}
|
|
312
314
|
function useAllRecipientsSliced(args) {
|
|
313
315
|
const { start, end, ...base } = args;
|
|
314
|
-
const { client, chainId } =
|
|
316
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
315
317
|
return reactQuery.useQuery({
|
|
316
|
-
queryKey:
|
|
318
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getAllRecipientsSliced", chainId, base.address, start, end),
|
|
317
319
|
queryFn: () => client.getAllRecipientsSliced(start, end),
|
|
318
320
|
enabled: !!client && start !== void 0 && end !== void 0,
|
|
319
321
|
staleTime: 0
|
|
@@ -321,9 +323,9 @@ function useAllRecipientsSliced(args) {
|
|
|
321
323
|
}
|
|
322
324
|
function useIsRecipient(args) {
|
|
323
325
|
const { account, ...base } = args;
|
|
324
|
-
const { client, chainId } =
|
|
326
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
325
327
|
return reactQuery.useQuery({
|
|
326
|
-
queryKey:
|
|
328
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:isRecipient", chainId, base.address, account),
|
|
327
329
|
queryFn: () => client.isRecipient(account),
|
|
328
330
|
enabled: !!client && !!account,
|
|
329
331
|
staleTime: 0
|
|
@@ -331,9 +333,9 @@ function useIsRecipient(args) {
|
|
|
331
333
|
}
|
|
332
334
|
function usePreflightCreateVesting(args) {
|
|
333
335
|
const { params, creator, ...base } = args;
|
|
334
|
-
const { client, chainId } =
|
|
336
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
335
337
|
return reactQuery.useQuery({
|
|
336
|
-
queryKey:
|
|
338
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
|
|
337
339
|
"manager:preflightCreateVesting",
|
|
338
340
|
chainId,
|
|
339
341
|
base.address,
|
|
@@ -347,9 +349,9 @@ function usePreflightCreateVesting(args) {
|
|
|
347
349
|
}
|
|
348
350
|
function useRecipientVestings(args) {
|
|
349
351
|
const { recipient, ...base } = args;
|
|
350
|
-
const { client, chainId } =
|
|
352
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
351
353
|
return reactQuery.useQuery({
|
|
352
|
-
queryKey:
|
|
354
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getAllRecipientVestings", chainId, base.address, recipient),
|
|
353
355
|
queryFn: () => client.getAllRecipientVestings(recipient),
|
|
354
356
|
enabled: !!client && !!recipient,
|
|
355
357
|
staleTime: 0
|
|
@@ -357,9 +359,9 @@ function useRecipientVestings(args) {
|
|
|
357
359
|
}
|
|
358
360
|
function useRecipientVestingsLength(args) {
|
|
359
361
|
const { recipient, ...base } = args;
|
|
360
|
-
const { client, chainId } =
|
|
362
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
361
363
|
return reactQuery.useQuery({
|
|
362
|
-
queryKey:
|
|
364
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
|
|
363
365
|
"manager:getAllRecipientVestingsLength",
|
|
364
366
|
chainId,
|
|
365
367
|
base.address,
|
|
@@ -372,9 +374,9 @@ function useRecipientVestingsLength(args) {
|
|
|
372
374
|
}
|
|
373
375
|
function useRecipientVestingsSliced(args) {
|
|
374
376
|
const { recipient, start, end, ...base } = args;
|
|
375
|
-
const { client, chainId } =
|
|
377
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
376
378
|
return reactQuery.useQuery({
|
|
377
|
-
queryKey:
|
|
379
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey(
|
|
378
380
|
"manager:getAllRecipientVestingsSliced",
|
|
379
381
|
chainId,
|
|
380
382
|
base.address,
|
|
@@ -389,9 +391,9 @@ function useRecipientVestingsSliced(args) {
|
|
|
389
391
|
}
|
|
390
392
|
function usePendingVestingTransfer(args) {
|
|
391
393
|
const { vestingId, ...base } = args;
|
|
392
|
-
const { client, chainId } =
|
|
394
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
393
395
|
return reactQuery.useQuery({
|
|
394
|
-
queryKey:
|
|
396
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:getPendingVestingTransfer", chainId, base.address, vestingId),
|
|
395
397
|
queryFn: () => client.getPendingVestingTransfer(vestingId),
|
|
396
398
|
enabled: !!client && !!vestingId,
|
|
397
399
|
staleTime: 0
|
|
@@ -399,602 +401,618 @@ function usePendingVestingTransfer(args) {
|
|
|
399
401
|
}
|
|
400
402
|
function useHasRole(args) {
|
|
401
403
|
const { role, account, ...base } = args;
|
|
402
|
-
const { client, chainId } =
|
|
404
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(base);
|
|
403
405
|
return reactQuery.useQuery({
|
|
404
|
-
queryKey:
|
|
406
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:hasRole", chainId, base.address, role, account),
|
|
405
407
|
queryFn: () => client.hasRole(role, account),
|
|
406
408
|
enabled: !!client && !!role && !!account,
|
|
407
409
|
staleTime: 0
|
|
408
410
|
});
|
|
409
411
|
}
|
|
410
412
|
function useRoleConstants(options) {
|
|
411
|
-
const { client, chainId } =
|
|
413
|
+
const { client, chainId } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
412
414
|
return reactQuery.useQuery({
|
|
413
|
-
queryKey:
|
|
415
|
+
queryKey: chunkCBRL2PJA_cjs.buildQueryKey("manager:roleConstants", chainId, options.address),
|
|
414
416
|
queryFn: () => client.roleConstants(),
|
|
415
417
|
enabled: !!client,
|
|
416
418
|
staleTime: 0
|
|
417
419
|
});
|
|
418
420
|
}
|
|
419
|
-
function
|
|
420
|
-
const { client } =
|
|
421
|
+
function useAccessVestedAmount(options) {
|
|
422
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
421
423
|
return reactQuery.useMutation({
|
|
422
424
|
mutationFn: async (args) => {
|
|
423
|
-
if (!client) throw new
|
|
425
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessVestedAmount", "manager");
|
|
424
426
|
return client.getVestedAmount(args);
|
|
425
427
|
}
|
|
426
428
|
});
|
|
427
429
|
}
|
|
428
|
-
|
|
429
|
-
|
|
430
|
+
var useGetVestedAmount = useAccessVestedAmount;
|
|
431
|
+
function useAccessClaimableAmount(options) {
|
|
432
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
430
433
|
return reactQuery.useMutation({
|
|
431
434
|
mutationFn: async (args) => {
|
|
432
|
-
if (!client) throw new
|
|
435
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessClaimableAmount", "manager");
|
|
433
436
|
return client.getClaimableAmount(args);
|
|
434
437
|
}
|
|
435
438
|
});
|
|
436
439
|
}
|
|
437
|
-
|
|
438
|
-
|
|
440
|
+
var useGetClaimableAmount = useAccessClaimableAmount;
|
|
441
|
+
function useAccessTotalAllocation(options) {
|
|
442
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
439
443
|
return reactQuery.useMutation({
|
|
440
444
|
mutationFn: async (args) => {
|
|
441
|
-
if (!client) throw new
|
|
445
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessTotalAllocation", "manager");
|
|
442
446
|
return client.getTotalAllocation(args);
|
|
443
447
|
}
|
|
444
448
|
});
|
|
445
449
|
}
|
|
446
|
-
|
|
447
|
-
|
|
450
|
+
var useGetTotalAllocation = useAccessTotalAllocation;
|
|
451
|
+
function useAccessSettledAmount(options) {
|
|
452
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
448
453
|
return reactQuery.useMutation({
|
|
449
454
|
mutationFn: async (args) => {
|
|
450
|
-
if (!client) throw new
|
|
455
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAccessSettledAmount", "manager");
|
|
451
456
|
return client.getSettledAmount(args);
|
|
452
457
|
}
|
|
453
458
|
});
|
|
454
459
|
}
|
|
460
|
+
var useGetSettledAmount = useAccessSettledAmount;
|
|
455
461
|
function useAdminGetVestedAmount(options) {
|
|
456
|
-
const { client } =
|
|
462
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
457
463
|
return reactQuery.useMutation({
|
|
458
464
|
mutationFn: async (args) => {
|
|
459
|
-
if (!client) throw new
|
|
465
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetVestedAmount", "manager");
|
|
460
466
|
return client.adminGetVestedAmount(args);
|
|
461
467
|
}
|
|
462
468
|
});
|
|
463
469
|
}
|
|
464
470
|
function useAdminGetClaimableAmount(options) {
|
|
465
|
-
const { client } =
|
|
471
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
466
472
|
return reactQuery.useMutation({
|
|
467
473
|
mutationFn: async (args) => {
|
|
468
|
-
if (!client) throw new
|
|
474
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetClaimableAmount", "manager");
|
|
469
475
|
return client.adminGetClaimableAmount(args);
|
|
470
476
|
}
|
|
471
477
|
});
|
|
472
478
|
}
|
|
473
479
|
function useAdminGetTotalAllocation(options) {
|
|
474
|
-
const { client } =
|
|
480
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
475
481
|
return reactQuery.useMutation({
|
|
476
482
|
mutationFn: async (args) => {
|
|
477
|
-
if (!client) throw new
|
|
483
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetTotalAllocation", "manager");
|
|
478
484
|
return client.adminGetTotalAllocation(args);
|
|
479
485
|
}
|
|
480
486
|
});
|
|
481
487
|
}
|
|
482
488
|
function useAdminGetSettledAmount(options) {
|
|
483
|
-
const { client } =
|
|
489
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
484
490
|
return reactQuery.useMutation({
|
|
485
491
|
mutationFn: async (args) => {
|
|
486
|
-
if (!client) throw new
|
|
492
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetSettledAmount", "manager");
|
|
487
493
|
return client.adminGetSettledAmount(args);
|
|
488
494
|
}
|
|
489
495
|
});
|
|
490
496
|
}
|
|
491
497
|
function useAdminGetTokenBalance(options) {
|
|
492
|
-
const { client } =
|
|
498
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
493
499
|
return reactQuery.useMutation({
|
|
494
500
|
mutationFn: async (args) => {
|
|
495
|
-
if (!client) throw new
|
|
501
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminGetTokenBalance", "manager");
|
|
496
502
|
return client.adminGetTokenBalance(args);
|
|
497
503
|
}
|
|
498
504
|
});
|
|
499
505
|
}
|
|
500
506
|
function useCreateVesting(options) {
|
|
501
|
-
const { client } =
|
|
507
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
502
508
|
return reactQuery.useMutation({
|
|
503
509
|
mutationFn: async (args) => {
|
|
504
|
-
if (!client) throw new
|
|
510
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useCreateVesting", "manager");
|
|
505
511
|
return client.createVesting(args);
|
|
506
512
|
}
|
|
507
513
|
});
|
|
508
514
|
}
|
|
509
515
|
function useBatchCreateVesting(options) {
|
|
510
|
-
const { client } =
|
|
516
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
511
517
|
return reactQuery.useMutation({
|
|
512
518
|
mutationFn: async (args) => {
|
|
513
|
-
if (!client) throw new
|
|
519
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useBatchCreateVesting", "manager");
|
|
514
520
|
return client.batchCreateVesting(args);
|
|
515
521
|
}
|
|
516
522
|
});
|
|
517
523
|
}
|
|
518
524
|
function useClaim(options) {
|
|
519
|
-
const { client } =
|
|
525
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
520
526
|
return reactQuery.useMutation({
|
|
521
527
|
mutationFn: async (args) => {
|
|
522
|
-
if (!client) throw new
|
|
528
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useClaim", "manager");
|
|
523
529
|
return client.claim(args);
|
|
524
530
|
}
|
|
525
531
|
});
|
|
526
532
|
}
|
|
527
533
|
function useAdminClaim(options) {
|
|
528
|
-
const { client } =
|
|
534
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
529
535
|
return reactQuery.useMutation({
|
|
530
536
|
mutationFn: async (args) => {
|
|
531
|
-
if (!client) throw new
|
|
537
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminClaim", "manager");
|
|
532
538
|
return client.adminClaim(args);
|
|
533
539
|
}
|
|
534
540
|
});
|
|
535
541
|
}
|
|
536
542
|
function usePartialClaim(options) {
|
|
537
|
-
const { client } =
|
|
543
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
538
544
|
return reactQuery.useMutation({
|
|
539
545
|
mutationFn: async (args) => {
|
|
540
|
-
if (!client) throw new
|
|
546
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("usePartialClaim", "manager");
|
|
541
547
|
return client.partialClaim(args);
|
|
542
548
|
}
|
|
543
549
|
});
|
|
544
550
|
}
|
|
545
551
|
function useAdminPartialClaim(options) {
|
|
546
|
-
const { client } =
|
|
552
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
547
553
|
return reactQuery.useMutation({
|
|
548
554
|
mutationFn: async (args) => {
|
|
549
|
-
if (!client) throw new
|
|
555
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminPartialClaim", "manager");
|
|
550
556
|
return client.adminPartialClaim(args);
|
|
551
557
|
}
|
|
552
558
|
});
|
|
553
559
|
}
|
|
554
560
|
function useRevokeVesting(options) {
|
|
555
|
-
const { client } =
|
|
561
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
556
562
|
return reactQuery.useMutation({
|
|
557
563
|
mutationFn: async ({ vestingId, account }) => {
|
|
558
|
-
if (!client) throw new
|
|
564
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useRevokeVesting", "manager");
|
|
559
565
|
return client.revokeVesting(vestingId, account);
|
|
560
566
|
}
|
|
561
567
|
});
|
|
562
568
|
}
|
|
563
569
|
function useBatchRevokeVesting(options) {
|
|
564
|
-
const { client } =
|
|
570
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
565
571
|
return reactQuery.useMutation({
|
|
566
572
|
mutationFn: async ({ vestingIds, account }) => {
|
|
567
|
-
if (!client) throw new
|
|
573
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useBatchRevokeVesting", "manager");
|
|
568
574
|
return client.batchRevokeVesting(vestingIds, account);
|
|
569
575
|
}
|
|
570
576
|
});
|
|
571
577
|
}
|
|
572
578
|
function useSplitVesting(options) {
|
|
573
|
-
const { client } =
|
|
579
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
574
580
|
return reactQuery.useMutation({
|
|
575
581
|
mutationFn: async (args) => {
|
|
576
|
-
if (!client) throw new
|
|
582
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useSplitVesting", "manager");
|
|
577
583
|
return client.splitVesting(args);
|
|
578
584
|
}
|
|
579
585
|
});
|
|
580
586
|
}
|
|
581
587
|
function useInitiateVestingTransfer(options) {
|
|
582
|
-
const { client } =
|
|
588
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
583
589
|
return reactQuery.useMutation({
|
|
584
590
|
mutationFn: async (args) => {
|
|
585
|
-
if (!client) throw new
|
|
591
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useInitiateVestingTransfer", "manager");
|
|
586
592
|
return client.initiateVestingTransfer(args);
|
|
587
593
|
}
|
|
588
594
|
});
|
|
589
595
|
}
|
|
590
596
|
function useAcceptVestingTransfer(options) {
|
|
591
|
-
const { client } =
|
|
597
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
592
598
|
return reactQuery.useMutation({
|
|
593
599
|
mutationFn: async ({ vestingId, account }) => {
|
|
594
|
-
if (!client) throw new
|
|
600
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAcceptVestingTransfer", "manager");
|
|
595
601
|
return client.acceptVestingTransfer(vestingId, account);
|
|
596
602
|
}
|
|
597
603
|
});
|
|
598
604
|
}
|
|
599
605
|
function useCancelVestingTransfer(options) {
|
|
600
|
-
const { client } =
|
|
606
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
601
607
|
return reactQuery.useMutation({
|
|
602
608
|
mutationFn: async ({ vestingId, account }) => {
|
|
603
|
-
if (!client) throw new
|
|
609
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useCancelVestingTransfer", "manager");
|
|
604
610
|
return client.cancelVestingTransfer(vestingId, account);
|
|
605
611
|
}
|
|
606
612
|
});
|
|
607
613
|
}
|
|
608
614
|
function useDirectVestingTransfer(options) {
|
|
609
|
-
const { client } =
|
|
615
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
610
616
|
return reactQuery.useMutation({
|
|
611
617
|
mutationFn: async ({ vestingId, newOwner, account }) => {
|
|
612
|
-
if (!client) throw new
|
|
618
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useDirectVestingTransfer", "manager");
|
|
613
619
|
return client.directVestingTransfer(vestingId, newOwner, account);
|
|
614
620
|
}
|
|
615
621
|
});
|
|
616
622
|
}
|
|
617
623
|
function useDiscloseToParty(options) {
|
|
618
|
-
const { client } =
|
|
624
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
619
625
|
return reactQuery.useMutation({
|
|
620
626
|
mutationFn: async (args) => {
|
|
621
|
-
if (!client) throw new
|
|
627
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useDiscloseToParty", "manager");
|
|
622
628
|
return client.discloseToParty(args);
|
|
623
629
|
}
|
|
624
630
|
});
|
|
625
631
|
}
|
|
626
632
|
function useBatchDiscloseToParty(options) {
|
|
627
|
-
const { client } =
|
|
633
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
628
634
|
return reactQuery.useMutation({
|
|
629
635
|
mutationFn: async (args) => {
|
|
630
|
-
if (!client) throw new
|
|
636
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useBatchDiscloseToParty", "manager");
|
|
631
637
|
return client.batchDiscloseToParty(args);
|
|
632
638
|
}
|
|
633
639
|
});
|
|
634
640
|
}
|
|
635
641
|
function useAdminDiscloseToParty(options) {
|
|
636
|
-
const { client } =
|
|
642
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
637
643
|
return reactQuery.useMutation({
|
|
638
644
|
mutationFn: async (args) => {
|
|
639
|
-
if (!client) throw new
|
|
645
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminDiscloseToParty", "manager");
|
|
640
646
|
return client.adminDiscloseToParty(args);
|
|
641
647
|
}
|
|
642
648
|
});
|
|
643
649
|
}
|
|
644
650
|
function useAdminBatchDiscloseToParty(options) {
|
|
645
|
-
const { client } =
|
|
651
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
646
652
|
return reactQuery.useMutation({
|
|
647
653
|
mutationFn: async (args) => {
|
|
648
|
-
if (!client) throw new
|
|
654
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useAdminBatchDiscloseToParty", "manager");
|
|
649
655
|
return client.adminBatchDiscloseToParty(args);
|
|
650
656
|
}
|
|
651
657
|
});
|
|
652
658
|
}
|
|
653
659
|
function useDiscloseHandleToParty(options) {
|
|
654
|
-
const { client } =
|
|
660
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
655
661
|
return reactQuery.useMutation({
|
|
656
662
|
mutationFn: async ({ handle, party, account }) => {
|
|
657
|
-
if (!client) throw new
|
|
663
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useDiscloseHandleToParty", "manager");
|
|
658
664
|
return client.discloseHandleToParty(handle, party, account);
|
|
659
665
|
}
|
|
660
666
|
});
|
|
661
667
|
}
|
|
662
668
|
function useBatchDiscloseHandlesToParty(options) {
|
|
663
|
-
const { client } =
|
|
669
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
664
670
|
return reactQuery.useMutation({
|
|
665
671
|
mutationFn: async ({ handles, party, account }) => {
|
|
666
|
-
if (!client) throw new
|
|
672
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useBatchDiscloseHandlesToParty", "manager");
|
|
667
673
|
return client.batchDiscloseHandlesToParty(handles, party, account);
|
|
668
674
|
}
|
|
669
675
|
});
|
|
670
676
|
}
|
|
671
677
|
function useWithdrawAdmin(options) {
|
|
672
|
-
const { client } =
|
|
678
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
673
679
|
return reactQuery.useMutation({
|
|
674
680
|
mutationFn: async (args) => {
|
|
675
|
-
if (!client) throw new
|
|
681
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawAdmin", "manager");
|
|
676
682
|
return client.withdrawAdmin(args);
|
|
677
683
|
}
|
|
678
684
|
});
|
|
679
685
|
}
|
|
680
686
|
function useWithdrawOtherToken(options) {
|
|
681
|
-
const { client } =
|
|
687
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
682
688
|
return reactQuery.useMutation({
|
|
683
689
|
mutationFn: async ({ token, to, account }) => {
|
|
684
|
-
if (!client) throw new
|
|
690
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawOtherToken", "manager");
|
|
685
691
|
return client.withdrawOtherToken(token, to, account);
|
|
686
692
|
}
|
|
687
693
|
});
|
|
688
694
|
}
|
|
689
695
|
function useWithdrawOtherConfidentialToken(options) {
|
|
690
|
-
const { client } =
|
|
696
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
691
697
|
return reactQuery.useMutation({
|
|
692
698
|
mutationFn: async ({ token, to, account }) => {
|
|
693
|
-
if (!client) throw new
|
|
699
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawOtherConfidentialToken", "manager");
|
|
694
700
|
return client.withdrawOtherConfidentialToken(token, to, account);
|
|
695
701
|
}
|
|
696
702
|
});
|
|
697
703
|
}
|
|
698
704
|
function useWithdrawGasFee(options) {
|
|
699
|
-
const { client } =
|
|
705
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
700
706
|
return reactQuery.useMutation({
|
|
701
707
|
mutationFn: async ({ to, amount, account }) => {
|
|
702
|
-
if (!client) throw new
|
|
708
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawGasFee", "manager");
|
|
703
709
|
return client.withdrawGasFee(to, amount, account);
|
|
704
710
|
}
|
|
705
711
|
});
|
|
706
712
|
}
|
|
707
713
|
function useWithdrawTokenFee(options) {
|
|
708
|
-
const { client } =
|
|
714
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
709
715
|
return reactQuery.useMutation({
|
|
710
716
|
mutationFn: async (args) => {
|
|
711
|
-
if (!client) throw new
|
|
717
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useWithdrawTokenFee", "manager");
|
|
712
718
|
return client.withdrawTokenFee(args);
|
|
713
719
|
}
|
|
714
720
|
});
|
|
715
721
|
}
|
|
716
722
|
function useSetMaxBatchSize(options) {
|
|
717
|
-
const { client } =
|
|
723
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
718
724
|
return reactQuery.useMutation({
|
|
719
725
|
mutationFn: async ({ newMax, account }) => {
|
|
720
|
-
if (!client) throw new
|
|
726
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useSetMaxBatchSize", "manager");
|
|
721
727
|
return client.setMaxBatchSize(newMax, account);
|
|
722
728
|
}
|
|
723
729
|
});
|
|
724
730
|
}
|
|
725
731
|
function useSetMaxRevokeBatchSize(options) {
|
|
726
|
-
const { client } =
|
|
732
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
727
733
|
return reactQuery.useMutation({
|
|
728
734
|
mutationFn: async ({ newMax, account }) => {
|
|
729
|
-
if (!client) throw new
|
|
735
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useSetMaxRevokeBatchSize", "manager");
|
|
730
736
|
return client.setMaxRevokeBatchSize(newMax, account);
|
|
731
737
|
}
|
|
732
738
|
});
|
|
733
739
|
}
|
|
734
740
|
function useTransferFeeCollectorRole(options) {
|
|
735
|
-
const { client } =
|
|
741
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
736
742
|
return reactQuery.useMutation({
|
|
737
743
|
mutationFn: async ({ newCollector, account }) => {
|
|
738
|
-
if (!client) throw new
|
|
744
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useTransferFeeCollectorRole", "manager");
|
|
739
745
|
return client.transferFeeCollectorRole(newCollector, account);
|
|
740
746
|
}
|
|
741
747
|
});
|
|
742
748
|
}
|
|
743
749
|
function usePause(options) {
|
|
744
|
-
const { client } =
|
|
750
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
745
751
|
return reactQuery.useMutation({
|
|
746
752
|
mutationFn: async (args) => {
|
|
747
|
-
if (!client) throw new
|
|
753
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("usePause", "manager");
|
|
748
754
|
return client.pause(args?.account);
|
|
749
755
|
}
|
|
750
756
|
});
|
|
751
757
|
}
|
|
752
758
|
function useUnpause(options) {
|
|
753
|
-
const { client } =
|
|
759
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
754
760
|
return reactQuery.useMutation({
|
|
755
761
|
mutationFn: async (args) => {
|
|
756
|
-
if (!client) throw new
|
|
762
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useUnpause", "manager");
|
|
757
763
|
return client.unpause(args?.account);
|
|
758
764
|
}
|
|
759
765
|
});
|
|
760
766
|
}
|
|
761
767
|
function useGrantRole(options) {
|
|
762
|
-
const { client } =
|
|
768
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
763
769
|
return reactQuery.useMutation({
|
|
764
770
|
mutationFn: async ({ role, accountTarget, account }) => {
|
|
765
|
-
if (!client) throw new
|
|
771
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useGrantRole", "manager");
|
|
766
772
|
return client.grantRole(role, accountTarget, account);
|
|
767
773
|
}
|
|
768
774
|
});
|
|
769
775
|
}
|
|
770
776
|
function useRevokeRole(options) {
|
|
771
|
-
const { client } =
|
|
777
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
772
778
|
return reactQuery.useMutation({
|
|
773
779
|
mutationFn: async ({ role, accountTarget, account }) => {
|
|
774
|
-
if (!client) throw new
|
|
780
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useRevokeRole", "manager");
|
|
775
781
|
return client.revokeRole(role, accountTarget, account);
|
|
776
782
|
}
|
|
777
783
|
});
|
|
778
784
|
}
|
|
779
785
|
function useRenounceRole(options) {
|
|
780
|
-
const { client } =
|
|
786
|
+
const { client } = chunkCBRL2PJA_cjs.useMemoManagerClient(options);
|
|
781
787
|
return reactQuery.useMutation({
|
|
782
788
|
mutationFn: async ({ role, callerConfirm, account }) => {
|
|
783
|
-
if (!client) throw new
|
|
789
|
+
if (!client) throw new chunk2RNW4MIJ_cjs.MissingClientError("useRenounceRole", "manager");
|
|
784
790
|
return client.renounceRole(role, callerConfirm, account);
|
|
785
791
|
}
|
|
786
792
|
});
|
|
787
793
|
}
|
|
788
794
|
|
|
795
|
+
Object.defineProperty(exports, "useEnsureOperator", {
|
|
796
|
+
enumerable: true,
|
|
797
|
+
get: function () { return chunkWOEETTH7_cjs.useEnsureOperator; }
|
|
798
|
+
});
|
|
799
|
+
Object.defineProperty(exports, "useIsOperator", {
|
|
800
|
+
enumerable: true,
|
|
801
|
+
get: function () { return chunkWOEETTH7_cjs.useIsOperator; }
|
|
802
|
+
});
|
|
789
803
|
Object.defineProperty(exports, "ClaimLockedError", {
|
|
790
804
|
enumerable: true,
|
|
791
|
-
get: function () { return
|
|
805
|
+
get: function () { return chunkBK7YIVLK_cjs.ClaimLockedError; }
|
|
792
806
|
});
|
|
793
807
|
Object.defineProperty(exports, "NoPendingTransferError", {
|
|
794
808
|
enumerable: true,
|
|
795
|
-
get: function () { return
|
|
809
|
+
get: function () { return chunkBK7YIVLK_cjs.NoPendingTransferError; }
|
|
796
810
|
});
|
|
797
811
|
Object.defineProperty(exports, "NotPendingRecipientError", {
|
|
798
812
|
enumerable: true,
|
|
799
|
-
get: function () { return
|
|
813
|
+
get: function () { return chunkBK7YIVLK_cjs.NotPendingRecipientError; }
|
|
800
814
|
});
|
|
801
815
|
Object.defineProperty(exports, "NotVestingRecipientError", {
|
|
802
816
|
enumerable: true,
|
|
803
|
-
get: function () { return
|
|
817
|
+
get: function () { return chunkBK7YIVLK_cjs.NotVestingRecipientError; }
|
|
804
818
|
});
|
|
805
819
|
Object.defineProperty(exports, "TransferAlreadyPendingError", {
|
|
806
820
|
enumerable: true,
|
|
807
|
-
get: function () { return
|
|
821
|
+
get: function () { return chunkBK7YIVLK_cjs.TransferAlreadyPendingError; }
|
|
808
822
|
});
|
|
809
823
|
Object.defineProperty(exports, "TransferExpiredError", {
|
|
810
824
|
enumerable: true,
|
|
811
|
-
get: function () { return
|
|
825
|
+
get: function () { return chunkBK7YIVLK_cjs.TransferExpiredError; }
|
|
812
826
|
});
|
|
813
827
|
Object.defineProperty(exports, "VestingExpiredError", {
|
|
814
828
|
enumerable: true,
|
|
815
|
-
get: function () { return
|
|
829
|
+
get: function () { return chunkBK7YIVLK_cjs.VestingExpiredError; }
|
|
816
830
|
});
|
|
817
831
|
Object.defineProperty(exports, "VestingNotFoundError", {
|
|
818
832
|
enumerable: true,
|
|
819
|
-
get: function () { return
|
|
833
|
+
get: function () { return chunkBK7YIVLK_cjs.VestingNotFoundError; }
|
|
820
834
|
});
|
|
821
835
|
Object.defineProperty(exports, "VestingNotRevocableError", {
|
|
822
836
|
enumerable: true,
|
|
823
|
-
get: function () { return
|
|
837
|
+
get: function () { return chunkBK7YIVLK_cjs.VestingNotRevocableError; }
|
|
824
838
|
});
|
|
825
839
|
Object.defineProperty(exports, "VestingRevokedError", {
|
|
826
840
|
enumerable: true,
|
|
827
|
-
get: function () { return
|
|
841
|
+
get: function () { return chunkBK7YIVLK_cjs.VestingRevokedError; }
|
|
828
842
|
});
|
|
829
843
|
Object.defineProperty(exports, "encryptUint64", {
|
|
830
844
|
enumerable: true,
|
|
831
|
-
get: function () { return
|
|
845
|
+
get: function () { return chunkBD4LZBVF_cjs.encryptUint64; }
|
|
832
846
|
});
|
|
833
847
|
Object.defineProperty(exports, "encryptUint64Batch", {
|
|
834
848
|
enumerable: true,
|
|
835
|
-
get: function () { return
|
|
849
|
+
get: function () { return chunkBD4LZBVF_cjs.encryptUint64Batch; }
|
|
836
850
|
});
|
|
837
851
|
Object.defineProperty(exports, "resolveEncryptor", {
|
|
838
852
|
enumerable: true,
|
|
839
|
-
get: function () { return
|
|
853
|
+
get: function () { return chunkBD4LZBVF_cjs.resolveEncryptor; }
|
|
840
854
|
});
|
|
841
855
|
Object.defineProperty(exports, "scaleRatio", {
|
|
842
856
|
enumerable: true,
|
|
843
|
-
get: function () { return
|
|
857
|
+
get: function () { return chunkBD4LZBVF_cjs.scaleRatio; }
|
|
844
858
|
});
|
|
845
859
|
Object.defineProperty(exports, "DisclosureType", {
|
|
846
860
|
enumerable: true,
|
|
847
|
-
get: function () { return
|
|
861
|
+
get: function () { return chunkEUKPOXWR_cjs.DisclosureType; }
|
|
848
862
|
});
|
|
849
863
|
Object.defineProperty(exports, "FeeType", {
|
|
850
864
|
enumerable: true,
|
|
851
|
-
get: function () { return
|
|
865
|
+
get: function () { return chunkEUKPOXWR_cjs.FeeType; }
|
|
852
866
|
});
|
|
853
867
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
854
868
|
enumerable: true,
|
|
855
|
-
get: function () { return
|
|
869
|
+
get: function () { return chunk2RNW4MIJ_cjs.AccessDeniedError; }
|
|
856
870
|
});
|
|
857
871
|
Object.defineProperty(exports, "AlreadyInitializedError", {
|
|
858
872
|
enumerable: true,
|
|
859
|
-
get: function () { return
|
|
873
|
+
get: function () { return chunk2RNW4MIJ_cjs.AlreadyInitializedError; }
|
|
860
874
|
});
|
|
861
875
|
Object.defineProperty(exports, "BatchTooLargeError", {
|
|
862
876
|
enumerable: true,
|
|
863
|
-
get: function () { return
|
|
877
|
+
get: function () { return chunk2RNW4MIJ_cjs.BatchTooLargeError; }
|
|
864
878
|
});
|
|
865
879
|
Object.defineProperty(exports, "ContractRevertError", {
|
|
866
880
|
enumerable: true,
|
|
867
|
-
get: function () { return
|
|
881
|
+
get: function () { return chunk2RNW4MIJ_cjs.ContractRevertError; }
|
|
868
882
|
});
|
|
869
883
|
Object.defineProperty(exports, "DecryptionFailedError", {
|
|
870
884
|
enumerable: true,
|
|
871
|
-
get: function () { return
|
|
885
|
+
get: function () { return chunk2RNW4MIJ_cjs.DecryptionFailedError; }
|
|
872
886
|
});
|
|
873
887
|
Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
|
|
874
888
|
enumerable: true,
|
|
875
|
-
get: function () { return
|
|
889
|
+
get: function () { return chunk2RNW4MIJ_cjs.DeploymentAddressUnavailableError; }
|
|
876
890
|
});
|
|
877
891
|
Object.defineProperty(exports, "EncryptionFailedError", {
|
|
878
892
|
enumerable: true,
|
|
879
|
-
get: function () { return
|
|
893
|
+
get: function () { return chunk2RNW4MIJ_cjs.EncryptionFailedError; }
|
|
880
894
|
});
|
|
881
895
|
Object.defineProperty(exports, "FeatureDisabledError", {
|
|
882
896
|
enumerable: true,
|
|
883
|
-
get: function () { return
|
|
897
|
+
get: function () { return chunk2RNW4MIJ_cjs.FeatureDisabledError; }
|
|
884
898
|
});
|
|
885
899
|
Object.defineProperty(exports, "FheHandleNotAllowedError", {
|
|
886
900
|
enumerable: true,
|
|
887
|
-
get: function () { return
|
|
901
|
+
get: function () { return chunk2RNW4MIJ_cjs.FheHandleNotAllowedError; }
|
|
888
902
|
});
|
|
889
903
|
Object.defineProperty(exports, "InsufficientBalanceError", {
|
|
890
904
|
enumerable: true,
|
|
891
|
-
get: function () { return
|
|
905
|
+
get: function () { return chunk2RNW4MIJ_cjs.InsufficientBalanceError; }
|
|
892
906
|
});
|
|
893
907
|
Object.defineProperty(exports, "InsufficientFeeError", {
|
|
894
908
|
enumerable: true,
|
|
895
|
-
get: function () { return
|
|
909
|
+
get: function () { return chunk2RNW4MIJ_cjs.InsufficientFeeError; }
|
|
896
910
|
});
|
|
897
911
|
Object.defineProperty(exports, "InsufficientGasFundsError", {
|
|
898
912
|
enumerable: true,
|
|
899
|
-
get: function () { return
|
|
913
|
+
get: function () { return chunk2RNW4MIJ_cjs.InsufficientGasFundsError; }
|
|
900
914
|
});
|
|
901
915
|
Object.defineProperty(exports, "InvalidArgumentError", {
|
|
902
916
|
enumerable: true,
|
|
903
|
-
get: function () { return
|
|
917
|
+
get: function () { return chunk2RNW4MIJ_cjs.InvalidArgumentError; }
|
|
904
918
|
});
|
|
905
919
|
Object.defineProperty(exports, "InvalidSignatureError", {
|
|
906
920
|
enumerable: true,
|
|
907
|
-
get: function () { return
|
|
921
|
+
get: function () { return chunk2RNW4MIJ_cjs.InvalidSignatureError; }
|
|
908
922
|
});
|
|
909
923
|
Object.defineProperty(exports, "MissingAccountError", {
|
|
910
924
|
enumerable: true,
|
|
911
|
-
get: function () { return
|
|
925
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingAccountError; }
|
|
912
926
|
});
|
|
913
927
|
Object.defineProperty(exports, "MissingClientError", {
|
|
914
928
|
enumerable: true,
|
|
915
|
-
get: function () { return
|
|
929
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingClientError; }
|
|
916
930
|
});
|
|
917
931
|
Object.defineProperty(exports, "MissingEncryptorError", {
|
|
918
932
|
enumerable: true,
|
|
919
|
-
get: function () { return
|
|
933
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingEncryptorError; }
|
|
920
934
|
});
|
|
921
935
|
Object.defineProperty(exports, "MissingPublicClientError", {
|
|
922
936
|
enumerable: true,
|
|
923
|
-
get: function () { return
|
|
937
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingPublicClientError; }
|
|
924
938
|
});
|
|
925
939
|
Object.defineProperty(exports, "MissingWalletClientError", {
|
|
926
940
|
enumerable: true,
|
|
927
|
-
get: function () { return
|
|
941
|
+
get: function () { return chunk2RNW4MIJ_cjs.MissingWalletClientError; }
|
|
928
942
|
});
|
|
929
943
|
Object.defineProperty(exports, "NetworkError", {
|
|
930
944
|
enumerable: true,
|
|
931
|
-
get: function () { return
|
|
945
|
+
get: function () { return chunk2RNW4MIJ_cjs.NetworkError; }
|
|
932
946
|
});
|
|
933
947
|
Object.defineProperty(exports, "OperatorNotApprovedError", {
|
|
934
948
|
enumerable: true,
|
|
935
|
-
get: function () { return
|
|
949
|
+
get: function () { return chunk2RNW4MIJ_cjs.OperatorNotApprovedError; }
|
|
936
950
|
});
|
|
937
951
|
Object.defineProperty(exports, "PausedError", {
|
|
938
952
|
enumerable: true,
|
|
939
|
-
get: function () { return
|
|
953
|
+
get: function () { return chunk2RNW4MIJ_cjs.PausedError; }
|
|
940
954
|
});
|
|
941
955
|
Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
|
|
942
956
|
enumerable: true,
|
|
943
|
-
get: function () { return
|
|
957
|
+
get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventAmbiguousError; }
|
|
944
958
|
});
|
|
945
959
|
Object.defineProperty(exports, "ReceiptEventNotFoundError", {
|
|
946
960
|
enumerable: true,
|
|
947
|
-
get: function () { return
|
|
961
|
+
get: function () { return chunk2RNW4MIJ_cjs.ReceiptEventNotFoundError; }
|
|
948
962
|
});
|
|
949
963
|
Object.defineProperty(exports, "ReentrancyError", {
|
|
950
964
|
enumerable: true,
|
|
951
|
-
get: function () { return
|
|
965
|
+
get: function () { return chunk2RNW4MIJ_cjs.ReentrancyError; }
|
|
952
966
|
});
|
|
953
967
|
Object.defineProperty(exports, "RelayerUnreachableError", {
|
|
954
968
|
enumerable: true,
|
|
955
|
-
get: function () { return
|
|
969
|
+
get: function () { return chunk2RNW4MIJ_cjs.RelayerUnreachableError; }
|
|
956
970
|
});
|
|
957
971
|
Object.defineProperty(exports, "SigningFailedError", {
|
|
958
972
|
enumerable: true,
|
|
959
|
-
get: function () { return
|
|
973
|
+
get: function () { return chunk2RNW4MIJ_cjs.SigningFailedError; }
|
|
960
974
|
});
|
|
961
975
|
Object.defineProperty(exports, "TokenOpsSdkError", {
|
|
962
976
|
enumerable: true,
|
|
963
|
-
get: function () { return
|
|
977
|
+
get: function () { return chunk2RNW4MIJ_cjs.TokenOpsSdkError; }
|
|
964
978
|
});
|
|
965
979
|
Object.defineProperty(exports, "TransferFailedError", {
|
|
966
980
|
enumerable: true,
|
|
967
|
-
get: function () { return
|
|
981
|
+
get: function () { return chunk2RNW4MIJ_cjs.TransferFailedError; }
|
|
968
982
|
});
|
|
969
983
|
Object.defineProperty(exports, "UnknownWriteFailureError", {
|
|
970
984
|
enumerable: true,
|
|
971
|
-
get: function () { return
|
|
985
|
+
get: function () { return chunk2RNW4MIJ_cjs.UnknownWriteFailureError; }
|
|
972
986
|
});
|
|
973
987
|
Object.defineProperty(exports, "UnsupportedChainError", {
|
|
974
988
|
enumerable: true,
|
|
975
|
-
get: function () { return
|
|
989
|
+
get: function () { return chunk2RNW4MIJ_cjs.UnsupportedChainError; }
|
|
976
990
|
});
|
|
977
991
|
Object.defineProperty(exports, "UserDecryptNotAllowedError", {
|
|
978
992
|
enumerable: true,
|
|
979
|
-
get: function () { return
|
|
993
|
+
get: function () { return chunk2RNW4MIJ_cjs.UserDecryptNotAllowedError; }
|
|
980
994
|
});
|
|
981
995
|
Object.defineProperty(exports, "UserRejectedSignatureError", {
|
|
982
996
|
enumerable: true,
|
|
983
|
-
get: function () { return
|
|
997
|
+
get: function () { return chunk2RNW4MIJ_cjs.UserRejectedSignatureError; }
|
|
984
998
|
});
|
|
985
999
|
Object.defineProperty(exports, "WalletChainMismatchError", {
|
|
986
1000
|
enumerable: true,
|
|
987
|
-
get: function () { return
|
|
1001
|
+
get: function () { return chunk2RNW4MIJ_cjs.WalletChainMismatchError; }
|
|
988
1002
|
});
|
|
989
1003
|
Object.defineProperty(exports, "WalletRejectedError", {
|
|
990
1004
|
enumerable: true,
|
|
991
|
-
get: function () { return
|
|
1005
|
+
get: function () { return chunk2RNW4MIJ_cjs.WalletRejectedError; }
|
|
992
1006
|
});
|
|
993
1007
|
Object.defineProperty(exports, "isTokenOpsSdkError", {
|
|
994
1008
|
enumerable: true,
|
|
995
|
-
get: function () { return
|
|
1009
|
+
get: function () { return chunk2RNW4MIJ_cjs.isTokenOpsSdkError; }
|
|
996
1010
|
});
|
|
997
1011
|
exports.useAcceptVestingTransfer = useAcceptVestingTransfer;
|
|
1012
|
+
exports.useAccessClaimableAmount = useAccessClaimableAmount;
|
|
1013
|
+
exports.useAccessSettledAmount = useAccessSettledAmount;
|
|
1014
|
+
exports.useAccessTotalAllocation = useAccessTotalAllocation;
|
|
1015
|
+
exports.useAccessVestedAmount = useAccessVestedAmount;
|
|
998
1016
|
exports.useAdminBatchDiscloseToParty = useAdminBatchDiscloseToParty;
|
|
999
1017
|
exports.useAdminClaim = useAdminClaim;
|
|
1000
1018
|
exports.useAdminDiscloseToParty = useAdminDiscloseToParty;
|