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