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