@tokenops/sdk 1.5.1 → 2.0.0-alpha.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/CHANGELOG.md +198 -2
- package/CONTRIBUTING.md +4 -2
- package/README.md +146 -90
- package/SECURITY.md +7 -1
- package/SUPPORT.md +47 -0
- package/dist/{chunk-YQIBBEFJ.js → chunk-335Z2W67.js} +1 -1
- package/dist/{chunk-2NCLOQ56.cjs → chunk-3QHNYEQD.cjs} +77 -0
- package/dist/chunk-456VDDA3.js +370 -0
- package/dist/{chunk-SG65XWH7.js → chunk-4RAAATVY.js} +1 -3
- package/dist/{chunk-6BMP4ICG.js → chunk-4TSDNZQ3.js} +60 -2
- package/dist/{chunk-PUPKNW3R.cjs → chunk-5576FRT3.cjs} +30 -6
- package/dist/{chunk-AOP6HMPW.js → chunk-6GNR22OV.js} +75 -1
- package/dist/{chunk-NTZY6IB7.js → chunk-6NAVMWZQ.js} +4 -3
- package/dist/{chunk-C7BRZXJA.cjs → chunk-6PXXGACR.cjs} +8 -7
- package/dist/{chunk-IJFQ5L4I.js → chunk-74QFZ5MK.js} +4 -3
- package/dist/chunk-7AFPOE7N.cjs +59 -0
- package/dist/chunk-AXIPOR3C.js +56 -0
- package/dist/chunk-CTED3MTR.cjs +380 -0
- package/dist/{chunk-XGGTQQFH.js → chunk-DZHYSUGY.js} +28 -7
- package/dist/{chunk-OXTLPTO3.js → chunk-EAJ7SYHE.js} +4 -3
- package/dist/{chunk-V2PXZVBF.cjs → chunk-FGEB7RMY.cjs} +4 -4
- package/dist/chunk-GKKDAW44.js +8823 -0
- package/dist/{chunk-2PWNH3UE.js → chunk-H5POPGOZ.js} +63 -5
- package/dist/{chunk-W7IGCOVL.cjs → chunk-JQYC66TO.cjs} +9 -8
- package/dist/{chunk-PFXURMBZ.cjs → chunk-JZLGCTGK.cjs} +68 -8
- package/dist/{chunk-JYOTGRSO.cjs → chunk-KFRDLKMA.cjs} +61 -1
- package/dist/chunk-M4IT6DNJ.cjs +608 -0
- package/dist/{chunk-KLKI352M.cjs → chunk-MVDQMV25.cjs} +0 -3
- package/dist/chunk-NCVX3K2N.cjs +161 -0
- package/dist/chunk-NWFMBLSQ.js +4 -0
- package/dist/chunk-O5676ZWY.js +585 -0
- package/dist/chunk-PUX5VXDB.cjs +8845 -0
- package/dist/{chunk-IXLO7GO5.js → chunk-TWT3STIX.js} +46 -80
- package/dist/chunk-UG5RKLU2.cjs +6 -0
- package/dist/chunk-VP2B4WM2.js +154 -0
- package/dist/{chunk-5X5WL5CU.cjs → chunk-WJLECC22.cjs} +51 -88
- package/dist/{chunk-WENHUPZC.cjs → chunk-XAYGD4E4.cjs} +9 -8
- package/dist/core/addresses.d.ts +15 -3
- package/dist/core/brands.d.ts +8 -2
- package/dist/core/errors.d.ts +71 -10
- package/dist/core/preflight.d.ts +1 -0
- package/dist/fhe/erc7984-abi.d.ts +1 -0
- package/dist/fhe/index.cjs +34 -13
- package/dist/fhe/index.d.cts +1 -0
- package/dist/fhe/index.d.ts +1 -0
- package/dist/fhe/index.js +19 -6
- package/dist/fhe/mock-erc7984.d.ts +4 -4
- package/dist/fhe/operators.d.ts +160 -3
- package/dist/fhe/react/index.cjs +14 -0
- package/dist/fhe/react/index.d.cts +2 -0
- package/dist/fhe/react/index.d.ts +2 -0
- package/dist/fhe/react/index.js +6 -0
- package/dist/fhe/react/useEnsureOperator.d.ts +56 -0
- package/dist/fhe/react/useIsOperator.d.ts +54 -0
- package/dist/fhe/sepolia-encryptor-web.d.ts +18 -3
- package/dist/fhe/types.d.ts +6 -0
- package/dist/fhe-airdrop/abis/{cloneable.d.ts → airdrop-base.d.ts} +254 -396
- package/dist/fhe-airdrop/abis/compliance.d.ts +422 -0
- package/dist/fhe-airdrop/abis/ecdsa.d.ts +1316 -0
- package/dist/fhe-airdrop/abis/factory.d.ts +1319 -190
- package/dist/fhe-airdrop/abis/index.d.ts +5 -2
- package/dist/fhe-airdrop/abis/merkle.d.ts +1238 -0
- package/dist/fhe-airdrop/advanced/index.cjs +10 -12
- package/dist/fhe-airdrop/advanced/index.d.cts +34 -11
- package/dist/fhe-airdrop/advanced/index.d.ts +34 -11
- package/dist/fhe-airdrop/advanced/index.js +2 -8
- package/dist/fhe-airdrop/advanced/react/index.cjs +34 -48
- package/dist/fhe-airdrop/advanced/react/index.d.cts +9 -3
- package/dist/fhe-airdrop/advanced/react/index.d.ts +9 -3
- package/dist/fhe-airdrop/advanced/react/index.js +33 -48
- package/dist/fhe-airdrop/advanced/react/usePredictEcdsaAirdropAddress.d.ts +33 -0
- package/dist/fhe-airdrop/advanced/react/usePredictMerkleAirdropAddress.d.ts +27 -0
- package/dist/fhe-airdrop/airdrop-base.d.ts +600 -0
- package/dist/fhe-airdrop/campaign.d.ts +297 -0
- package/dist/fhe-airdrop/compliance.d.ts +302 -0
- package/dist/fhe-airdrop/constants.d.ts +33 -0
- package/dist/fhe-airdrop/ecdsa.d.ts +263 -0
- package/dist/fhe-airdrop/encryption.d.ts +92 -14
- package/dist/fhe-airdrop/errors.d.ts +245 -15
- package/dist/fhe-airdrop/factory.d.ts +533 -274
- package/dist/fhe-airdrop/guards.d.ts +273 -0
- package/dist/fhe-airdrop/index.cjs +1089 -33
- package/dist/fhe-airdrop/index.d.cts +46 -8
- package/dist/fhe-airdrop/index.d.ts +46 -8
- package/dist/fhe-airdrop/index.js +929 -7
- package/dist/fhe-airdrop/merkle-tree.d.ts +103 -0
- package/dist/fhe-airdrop/merkle.d.ts +180 -0
- package/dist/fhe-airdrop/react/_shared.d.ts +144 -71
- package/dist/fhe-airdrop/react/index.cjs +364 -413
- package/dist/fhe-airdrop/react/index.d.cts +53 -72
- package/dist/fhe-airdrop/react/index.d.ts +53 -72
- package/dist/fhe-airdrop/react/index.js +258 -369
- package/dist/fhe-airdrop/react/useAirdropGasFee.d.ts +10 -5
- package/dist/fhe-airdrop/react/useAirdropHasRole.d.ts +15 -6
- package/dist/fhe-airdrop/react/useAirdropPause.d.ts +30 -0
- package/dist/fhe-airdrop/react/useAirdropPaused.d.ts +17 -0
- package/dist/fhe-airdrop/react/useAirdropToken.d.ts +11 -4
- package/dist/fhe-airdrop/react/useAirdropWindow.d.ts +37 -0
- package/dist/fhe-airdrop/react/useClaimedAmount.d.ts +29 -0
- package/dist/fhe-airdrop/react/useComplianceManager.d.ts +16 -0
- package/dist/fhe-airdrop/react/useCreateEcdsaAirdrop.d.ts +28 -0
- package/dist/fhe-airdrop/react/useCreateMerkleAirdrop.d.ts +25 -0
- package/dist/fhe-airdrop/react/useEcdsaClaim.d.ts +23 -0
- package/dist/fhe-airdrop/react/useEffectiveUpgradeable.d.ts +20 -0
- package/dist/fhe-airdrop/react/useExtendClaimWindow.d.ts +17 -12
- package/dist/fhe-airdrop/react/useFactoryFees.d.ts +28 -0
- package/dist/fhe-airdrop/react/useFactoryRegistry.d.ts +35 -0
- package/dist/fhe-airdrop/react/useFundAirdrop.d.ts +35 -0
- package/dist/fhe-airdrop/react/useGrantInstanceRoles.d.ts +35 -0
- package/dist/fhe-airdrop/react/useMerkleClaim.d.ts +34 -0
- package/dist/fhe-airdrop/react/useMerkleRoot.d.ts +15 -0
- package/dist/fhe-airdrop/react/useSetMerkleRoot.d.ts +22 -0
- package/dist/fhe-airdrop/react/useWithdrawConfidential.d.ts +23 -0
- package/dist/fhe-airdrop/roles.d.ts +147 -0
- package/dist/fhe-airdrop/types.d.ts +68 -55
- package/dist/fhe-disperse/errors.d.ts +55 -0
- package/dist/fhe-disperse/index.cjs +34 -25
- package/dist/fhe-disperse/index.d.cts +1 -1
- package/dist/fhe-disperse/index.d.ts +1 -1
- package/dist/fhe-disperse/index.js +6 -5
- package/dist/fhe-disperse/react/index.cjs +42 -23
- package/dist/fhe-disperse/react/index.d.cts +3 -1
- package/dist/fhe-disperse/react/index.d.ts +3 -1
- package/dist/fhe-disperse/react/index.js +9 -6
- package/dist/fhe-vesting/advanced/index.cjs +8 -7
- package/dist/fhe-vesting/advanced/index.js +6 -5
- package/dist/fhe-vesting/advanced/react/index.cjs +12 -11
- package/dist/fhe-vesting/advanced/react/index.js +9 -8
- package/dist/fhe-vesting/index.cjs +35 -34
- package/dist/fhe-vesting/index.js +7 -6
- package/dist/fhe-vesting/manager.d.ts +19 -0
- package/dist/fhe-vesting/react/index.cjs +160 -140
- package/dist/fhe-vesting/react/index.d.cts +6 -4
- package/dist/fhe-vesting/react/index.d.ts +6 -4
- package/dist/fhe-vesting/react/index.js +24 -16
- package/dist/fhe-vesting/react/useAccessClaimableAmount.d.ts +11 -3
- package/dist/fhe-vesting/react/useAccessSettledAmount.d.ts +11 -3
- package/dist/fhe-vesting/react/useAccessTotalAllocation.d.ts +11 -3
- package/dist/fhe-vesting/react/useAccessVestedAmount.d.ts +11 -3
- package/dist/fhe-vesting/react/useAdminGetClaimableAmount.d.ts +1 -1
- package/dist/fhe-vesting/react/useAdminGetSettledAmount.d.ts +1 -1
- package/dist/fhe-vesting/react/useAdminGetTotalAllocation.d.ts +1 -1
- package/dist/fhe-vesting/react/useAdminGetVestedAmount.d.ts +1 -1
- package/dist/fhe-vesting/react/useAdminPartialClaim.d.ts +8 -0
- package/dist/fhe-vesting/react/useClaim.d.ts +1 -1
- package/dist/fhe-vesting/react/useDiscloseHandleToParty.d.ts +1 -1
- package/dist/fhe-vesting/react/useManagerDiscloseHandleToParty.d.ts +1 -1
- package/dist/fhe-vesting/react/usePartialClaim.d.ts +1 -1
- package/dist/fhe-vesting/react/useVestingInfo.d.ts +1 -1
- package/dist/fhe-vesting/types.d.ts +12 -1
- package/dist/index.cjs +27 -15
- package/dist/index.js +1 -1
- package/dist/testnet-faucet/index.cjs +17 -16
- package/dist/testnet-faucet/index.js +5 -4
- package/dist/testnet-faucet/react/index.cjs +11 -10
- package/dist/testnet-faucet/react/index.js +6 -5
- package/package.json +18 -9
- package/dist/chunk-4WPGQSNT.cjs +0 -44
- package/dist/chunk-6R4KNAPK.js +0 -1630
- package/dist/chunk-DUZIIRPF.js +0 -1655
- package/dist/chunk-MCRBVJGZ.cjs +0 -1637
- package/dist/chunk-ODLTEGHB.js +0 -41
- package/dist/chunk-ORFTDNFZ.js +0 -105
- package/dist/chunk-T46YXSBP.cjs +0 -109
- package/dist/chunk-TIUKIY5V.cjs +0 -1663
- package/dist/fhe-airdrop/advanced/factory-advanced.d.ts +0 -53
- package/dist/fhe-airdrop/advanced/react/usePredictAirdropAddress.d.ts +0 -49
- package/dist/fhe-airdrop/airdrop.d.ts +0 -310
- package/dist/fhe-airdrop/react/useAccessClaimAmount.d.ts +0 -31
- package/dist/fhe-airdrop/react/useAirdropCanExtendClaimWindow.d.ts +0 -7
- package/dist/fhe-airdrop/react/useAirdropClaim.d.ts +0 -27
- package/dist/fhe-airdrop/react/useAirdropClaimTypehash.d.ts +0 -10
- package/dist/fhe-airdrop/react/useAirdropClaimedSignatures.d.ts +0 -16
- package/dist/fhe-airdrop/react/useAirdropDeploymentBlockNumber.d.ts +0 -6
- package/dist/fhe-airdrop/react/useAirdropDomainSeparator.d.ts +0 -8
- package/dist/fhe-airdrop/react/useAirdropEndTime.d.ts +0 -10
- package/dist/fhe-airdrop/react/useAirdropFactoryCustomFee.d.ts +0 -17
- package/dist/fhe-airdrop/react/useAirdropFactoryDefaultGasFee.d.ts +0 -10
- package/dist/fhe-airdrop/react/useAirdropFactoryDisableCustomFee.d.ts +0 -15
- package/dist/fhe-airdrop/react/useAirdropFactoryFeeCollector.d.ts +0 -11
- package/dist/fhe-airdrop/react/useAirdropFactoryInitCodeHash.d.ts +0 -17
- package/dist/fhe-airdrop/react/useAirdropFactorySetCustomFee.d.ts +0 -17
- package/dist/fhe-airdrop/react/useAirdropFactorySetDefaultGasFee.d.ts +0 -16
- package/dist/fhe-airdrop/react/useAirdropFactorySetFeeCollector.d.ts +0 -15
- package/dist/fhe-airdrop/react/useAirdropGrantRole.d.ts +0 -16
- package/dist/fhe-airdrop/react/useAirdropHasClaimEnded.d.ts +0 -7
- package/dist/fhe-airdrop/react/useAirdropHasClaimStarted.d.ts +0 -7
- package/dist/fhe-airdrop/react/useAirdropIsClaimWindowActive.d.ts +0 -9
- package/dist/fhe-airdrop/react/useAirdropIsPaused.d.ts +0 -8
- package/dist/fhe-airdrop/react/useAirdropIsSignatureClaimed.d.ts +0 -22
- package/dist/fhe-airdrop/react/useAirdropIsSignatureValid.d.ts +0 -51
- package/dist/fhe-airdrop/react/useAirdropRevokeRole.d.ts +0 -15
- package/dist/fhe-airdrop/react/useAirdropStartTime.d.ts +0 -10
- package/dist/fhe-airdrop/react/useAirdropWithdrawGasFee.d.ts +0 -15
- package/dist/fhe-airdrop/react/useAirdropWithdrawOtherConfidentialToken.d.ts +0 -14
- package/dist/fhe-airdrop/react/useAirdropWithdrawOtherToken.d.ts +0 -14
- package/dist/fhe-airdrop/react/useClaim.d.ts +0 -31
- package/dist/fhe-airdrop/react/useConfidentialAirdropFactoryImplementation.d.ts +0 -11
- package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdrop.d.ts +0 -41
- package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdropAndGetAddress.d.ts +0 -48
- package/dist/fhe-airdrop/react/useCreateConfidentialAirdrop.d.ts +0 -29
- package/dist/fhe-airdrop/react/useCreateConfidentialAirdropAndGetAddress.d.ts +0 -31
- package/dist/fhe-airdrop/react/useDisableCustomFee.d.ts +0 -14
- package/dist/fhe-airdrop/react/useFactoryCustomFee.d.ts +0 -17
- package/dist/fhe-airdrop/react/useFactoryDefaultGasFee.d.ts +0 -10
- package/dist/fhe-airdrop/react/useFactoryFeeCollector.d.ts +0 -11
- package/dist/fhe-airdrop/react/useFactoryInitCodeHash.d.ts +0 -17
- package/dist/fhe-airdrop/react/useFundConfidentialAirdrop.d.ts +0 -33
- package/dist/fhe-airdrop/react/useGetClaimAmount.d.ts +0 -30
- package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +0 -51
- package/dist/fhe-airdrop/react/useSetCustomFee.d.ts +0 -16
- package/dist/fhe-airdrop/react/useSetDefaultGasFee.d.ts +0 -15
- package/dist/fhe-airdrop/react/useSetFeeCollector.d.ts +0 -14
- package/dist/fhe-airdrop/react/useSetPaused.d.ts +0 -14
- package/dist/fhe-airdrop/react/useSignClaimAuthorization.d.ts +0 -31
- package/dist/fhe-airdrop/react/useWithdraw.d.ts +0 -12
- package/dist/fhe-airdrop/react/useWithdrawOtherConfidentialToken.d.ts +0 -13
- package/dist/fhe-airdrop/react/useWithdrawOtherToken.d.ts +0 -13
- package/dist/fhe-vesting/react/useGetClaimableAmount.d.ts +0 -13
- package/dist/fhe-vesting/react/useGetSettledAmount.d.ts +0 -14
- package/dist/fhe-vesting/react/useGetTotalAllocation.d.ts +0 -13
- package/dist/fhe-vesting/react/useGetVestedAmount.d.ts +0 -25
|
@@ -1,60 +1,64 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
3
|
+
var chunk7AFPOE7N_cjs = require('../../chunk-7AFPOE7N.cjs');
|
|
4
|
+
require('../../chunk-ZQUE2B3Q.cjs');
|
|
5
|
+
require('../../chunk-KFRDLKMA.cjs');
|
|
6
|
+
var chunkJQYC66TO_cjs = require('../../chunk-JQYC66TO.cjs');
|
|
7
|
+
var chunkWJLECC22_cjs = require('../../chunk-WJLECC22.cjs');
|
|
5
8
|
require('../../chunk-TEBM66WA.cjs');
|
|
6
|
-
var
|
|
9
|
+
var chunk3QHNYEQD_cjs = require('../../chunk-3QHNYEQD.cjs');
|
|
7
10
|
require('../../chunk-FAXIIH5R.cjs');
|
|
8
11
|
require('../../chunk-FWHYQZ5E.cjs');
|
|
9
|
-
var
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
12
|
+
var chunk6PXXGACR_cjs = require('../../chunk-6PXXGACR.cjs');
|
|
13
|
+
require('../../chunk-UG5RKLU2.cjs');
|
|
14
|
+
require('../../chunk-MVDQMV25.cjs');
|
|
15
|
+
require('../../chunk-5576FRT3.cjs');
|
|
12
16
|
require('../../chunk-JK4XMMKM.cjs');
|
|
13
|
-
require('../../chunk-VJKZWYYJ.cjs');
|
|
14
17
|
require('../../chunk-66IHPTOK.cjs');
|
|
15
18
|
var chunk67OV5CX2_cjs = require('../../chunk-67OV5CX2.cjs');
|
|
19
|
+
require('../../chunk-VJKZWYYJ.cjs');
|
|
16
20
|
var reactQuery = require('@tanstack/react-query');
|
|
17
21
|
|
|
18
22
|
function useConfidentialVestingFactoryImplementation(options = {}) {
|
|
19
|
-
const { client, chainId, resolvedAddress } =
|
|
23
|
+
const { client, chainId, resolvedAddress } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
20
24
|
return reactQuery.useQuery({
|
|
21
|
-
queryKey:
|
|
25
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("factory:implementation", chainId, resolvedAddress),
|
|
22
26
|
queryFn: () => client.implementation(),
|
|
23
27
|
enabled: !!client,
|
|
24
28
|
staleTime: 0
|
|
25
29
|
});
|
|
26
30
|
}
|
|
27
31
|
function useFactoryDefaultGasFee(options = {}) {
|
|
28
|
-
const { client, chainId, resolvedAddress } =
|
|
32
|
+
const { client, chainId, resolvedAddress } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
29
33
|
return reactQuery.useQuery({
|
|
30
|
-
queryKey:
|
|
34
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("factory:defaultGasFee", chainId, resolvedAddress),
|
|
31
35
|
queryFn: () => client.defaultGasFee(),
|
|
32
36
|
enabled: !!client,
|
|
33
37
|
staleTime: 0
|
|
34
38
|
});
|
|
35
39
|
}
|
|
36
40
|
function useFactoryDefaultTokenFee(options = {}) {
|
|
37
|
-
const { client, chainId, resolvedAddress } =
|
|
41
|
+
const { client, chainId, resolvedAddress } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
38
42
|
return reactQuery.useQuery({
|
|
39
|
-
queryKey:
|
|
43
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("factory:defaultTokenFee", chainId, resolvedAddress),
|
|
40
44
|
queryFn: () => client.defaultTokenFee(),
|
|
41
45
|
enabled: !!client,
|
|
42
46
|
staleTime: 0
|
|
43
47
|
});
|
|
44
48
|
}
|
|
45
49
|
function useFactoryDefaultFeeType(options = {}) {
|
|
46
|
-
const { client, chainId, resolvedAddress } =
|
|
50
|
+
const { client, chainId, resolvedAddress } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
47
51
|
return reactQuery.useQuery({
|
|
48
|
-
queryKey:
|
|
52
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("factory:defaultFeeType", chainId, resolvedAddress),
|
|
49
53
|
queryFn: () => client.defaultFeeType(),
|
|
50
54
|
enabled: !!client,
|
|
51
55
|
staleTime: 0
|
|
52
56
|
});
|
|
53
57
|
}
|
|
54
58
|
function useFactoryFeeCollector(options = {}) {
|
|
55
|
-
const { client, chainId, resolvedAddress } =
|
|
59
|
+
const { client, chainId, resolvedAddress } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
56
60
|
return reactQuery.useQuery({
|
|
57
|
-
queryKey:
|
|
61
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("factory:feeCollector", chainId, resolvedAddress),
|
|
58
62
|
queryFn: () => client.feeCollector(),
|
|
59
63
|
enabled: !!client,
|
|
60
64
|
staleTime: 0
|
|
@@ -62,9 +66,9 @@ function useFactoryFeeCollector(options = {}) {
|
|
|
62
66
|
}
|
|
63
67
|
function useFactoryCustomFee(args = {}) {
|
|
64
68
|
const { creator, ...base } = args;
|
|
65
|
-
const { client, chainId, resolvedAddress } =
|
|
69
|
+
const { client, chainId, resolvedAddress } = chunkJQYC66TO_cjs.useMemoFactoryClient(base);
|
|
66
70
|
return reactQuery.useQuery({
|
|
67
|
-
queryKey:
|
|
71
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("factory:getCustomFee", chainId, resolvedAddress, creator),
|
|
68
72
|
queryFn: () => client.getCustomFee(creator),
|
|
69
73
|
enabled: !!client && !!creator,
|
|
70
74
|
staleTime: 0
|
|
@@ -72,9 +76,9 @@ function useFactoryCustomFee(args = {}) {
|
|
|
72
76
|
}
|
|
73
77
|
function useFactoryInitCodeHash(args = {}) {
|
|
74
78
|
const { token, deployer, splitEnabled, pausableEnabled, ...base } = args;
|
|
75
|
-
const { client, chainId, resolvedAddress } =
|
|
79
|
+
const { client, chainId, resolvedAddress } = chunkJQYC66TO_cjs.useMemoFactoryClient(base);
|
|
76
80
|
return reactQuery.useQuery({
|
|
77
|
-
queryKey:
|
|
81
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey(
|
|
78
82
|
"factory:getInitCodeHash",
|
|
79
83
|
chainId,
|
|
80
84
|
resolvedAddress,
|
|
@@ -94,7 +98,7 @@ function useFactoryInitCodeHash(args = {}) {
|
|
|
94
98
|
});
|
|
95
99
|
}
|
|
96
100
|
function useCreateManagerAndGetAddress(options = {}) {
|
|
97
|
-
const { client, resolutionError } =
|
|
101
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
98
102
|
return reactQuery.useMutation({
|
|
99
103
|
mutationFn: async (args) => {
|
|
100
104
|
if (!client) {
|
|
@@ -105,7 +109,7 @@ function useCreateManagerAndGetAddress(options = {}) {
|
|
|
105
109
|
});
|
|
106
110
|
}
|
|
107
111
|
function useCreateManager(options = {}) {
|
|
108
|
-
const { client, resolutionError } =
|
|
112
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
109
113
|
return reactQuery.useMutation({
|
|
110
114
|
mutationFn: async (args) => {
|
|
111
115
|
if (!client) {
|
|
@@ -116,7 +120,7 @@ function useCreateManager(options = {}) {
|
|
|
116
120
|
});
|
|
117
121
|
}
|
|
118
122
|
function useSetDefaultGasFee(options = {}) {
|
|
119
|
-
const { client, resolutionError } =
|
|
123
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
120
124
|
return reactQuery.useMutation({
|
|
121
125
|
mutationFn: async ({ fee, account }) => {
|
|
122
126
|
if (!client)
|
|
@@ -126,7 +130,7 @@ function useSetDefaultGasFee(options = {}) {
|
|
|
126
130
|
});
|
|
127
131
|
}
|
|
128
132
|
function useSetDefaultTokenFee(options = {}) {
|
|
129
|
-
const { client, resolutionError } =
|
|
133
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
130
134
|
return reactQuery.useMutation({
|
|
131
135
|
mutationFn: async ({ feeBps, account }) => {
|
|
132
136
|
if (!client)
|
|
@@ -136,7 +140,7 @@ function useSetDefaultTokenFee(options = {}) {
|
|
|
136
140
|
});
|
|
137
141
|
}
|
|
138
142
|
function useSetDefaultFeeType(options = {}) {
|
|
139
|
-
const { client, resolutionError } =
|
|
143
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
140
144
|
return reactQuery.useMutation({
|
|
141
145
|
mutationFn: async ({ feeType, account }) => {
|
|
142
146
|
if (!client)
|
|
@@ -146,7 +150,7 @@ function useSetDefaultFeeType(options = {}) {
|
|
|
146
150
|
});
|
|
147
151
|
}
|
|
148
152
|
function useResetGasFee(options = {}) {
|
|
149
|
-
const { client, resolutionError } =
|
|
153
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
150
154
|
return reactQuery.useMutation({
|
|
151
155
|
mutationFn: async (args) => {
|
|
152
156
|
if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useResetGasFee", "factory");
|
|
@@ -155,7 +159,7 @@ function useResetGasFee(options = {}) {
|
|
|
155
159
|
});
|
|
156
160
|
}
|
|
157
161
|
function useResetTokenFee(options = {}) {
|
|
158
|
-
const { client, resolutionError } =
|
|
162
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
159
163
|
return reactQuery.useMutation({
|
|
160
164
|
mutationFn: async (args) => {
|
|
161
165
|
if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useResetTokenFee", "factory");
|
|
@@ -164,7 +168,7 @@ function useResetTokenFee(options = {}) {
|
|
|
164
168
|
});
|
|
165
169
|
}
|
|
166
170
|
function useSetCustomFee(options = {}) {
|
|
167
|
-
const { client, resolutionError } =
|
|
171
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
168
172
|
return reactQuery.useMutation({
|
|
169
173
|
mutationFn: async ({ creator, feeType, gasFee, tokenFee, account }) => {
|
|
170
174
|
if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetCustomFee", "factory");
|
|
@@ -173,7 +177,7 @@ function useSetCustomFee(options = {}) {
|
|
|
173
177
|
});
|
|
174
178
|
}
|
|
175
179
|
function useDisableCustomFee(options = {}) {
|
|
176
|
-
const { client, resolutionError } =
|
|
180
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
177
181
|
return reactQuery.useMutation({
|
|
178
182
|
mutationFn: async ({ creator, account }) => {
|
|
179
183
|
if (!client)
|
|
@@ -183,7 +187,7 @@ function useDisableCustomFee(options = {}) {
|
|
|
183
187
|
});
|
|
184
188
|
}
|
|
185
189
|
function useSetFeeCollector(options = {}) {
|
|
186
|
-
const { client, resolutionError } =
|
|
190
|
+
const { client, resolutionError } = chunkJQYC66TO_cjs.useMemoFactoryClient(options);
|
|
187
191
|
return reactQuery.useMutation({
|
|
188
192
|
mutationFn: async ({ newCollector, account }) => {
|
|
189
193
|
if (!client) throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useSetFeeCollector", "factory");
|
|
@@ -192,90 +196,90 @@ function useSetFeeCollector(options = {}) {
|
|
|
192
196
|
});
|
|
193
197
|
}
|
|
194
198
|
function useManagerToken(options) {
|
|
195
|
-
const { client, chainId } =
|
|
199
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
196
200
|
return reactQuery.useQuery({
|
|
197
|
-
queryKey:
|
|
201
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:TOKEN_ADDRESS", chainId, options.address),
|
|
198
202
|
queryFn: () => client.token(),
|
|
199
203
|
enabled: !!client,
|
|
200
204
|
staleTime: 0
|
|
201
205
|
});
|
|
202
206
|
}
|
|
203
207
|
function useManagerFeeType(options) {
|
|
204
|
-
const { client, chainId } =
|
|
208
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
205
209
|
return reactQuery.useQuery({
|
|
206
|
-
queryKey:
|
|
210
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:FEE_TYPE", chainId, options.address),
|
|
207
211
|
queryFn: () => client.feeType(),
|
|
208
212
|
enabled: !!client,
|
|
209
213
|
staleTime: 0
|
|
210
214
|
});
|
|
211
215
|
}
|
|
212
216
|
function useManagerFee(options) {
|
|
213
|
-
const { client, chainId } =
|
|
217
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
214
218
|
return reactQuery.useQuery({
|
|
215
|
-
queryKey:
|
|
219
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:FEE", chainId, options.address),
|
|
216
220
|
queryFn: () => client.fee(),
|
|
217
221
|
enabled: !!client,
|
|
218
222
|
staleTime: 0
|
|
219
223
|
});
|
|
220
224
|
}
|
|
221
225
|
function useManagerFeeInfo(options) {
|
|
222
|
-
const { client, chainId } =
|
|
226
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
223
227
|
return reactQuery.useQuery({
|
|
224
|
-
queryKey:
|
|
228
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:getFeeInfo", chainId, options.address),
|
|
225
229
|
queryFn: () => client.getFeeInfo(),
|
|
226
230
|
enabled: !!client,
|
|
227
231
|
staleTime: 0
|
|
228
232
|
});
|
|
229
233
|
}
|
|
230
234
|
function useManagerDeploymentBlockNumber(options) {
|
|
231
|
-
const { client, chainId } =
|
|
235
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
232
236
|
return reactQuery.useQuery({
|
|
233
|
-
queryKey:
|
|
237
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:DEPLOYMENT_BLOCK_NUMBER", chainId, options.address),
|
|
234
238
|
queryFn: () => client.deploymentBlockNumber(),
|
|
235
239
|
enabled: !!client,
|
|
236
240
|
staleTime: 0
|
|
237
241
|
});
|
|
238
242
|
}
|
|
239
243
|
function useManagerIsSplitEnabled(options) {
|
|
240
|
-
const { client, chainId } =
|
|
244
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
241
245
|
return reactQuery.useQuery({
|
|
242
|
-
queryKey:
|
|
246
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:isSplitEnabled", chainId, options.address),
|
|
243
247
|
queryFn: () => client.isSplitEnabled(),
|
|
244
248
|
enabled: !!client,
|
|
245
249
|
staleTime: 0
|
|
246
250
|
});
|
|
247
251
|
}
|
|
248
252
|
function useManagerIsPausable(options) {
|
|
249
|
-
const { client, chainId } =
|
|
253
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
250
254
|
return reactQuery.useQuery({
|
|
251
|
-
queryKey:
|
|
255
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:isPausable", chainId, options.address),
|
|
252
256
|
queryFn: () => client.isPausable(),
|
|
253
257
|
enabled: !!client,
|
|
254
258
|
staleTime: 0
|
|
255
259
|
});
|
|
256
260
|
}
|
|
257
261
|
function useManagerPaused(options) {
|
|
258
|
-
const { client, chainId } =
|
|
262
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
259
263
|
return reactQuery.useQuery({
|
|
260
|
-
queryKey:
|
|
264
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:paused", chainId, options.address),
|
|
261
265
|
queryFn: () => client.paused(),
|
|
262
266
|
enabled: !!client,
|
|
263
267
|
staleTime: 0
|
|
264
268
|
});
|
|
265
269
|
}
|
|
266
270
|
function useManagerMaxBatchSize(options) {
|
|
267
|
-
const { client, chainId } =
|
|
271
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
268
272
|
return reactQuery.useQuery({
|
|
269
|
-
queryKey:
|
|
273
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:maxBatchSize", chainId, options.address),
|
|
270
274
|
queryFn: () => client.maxBatchSize(),
|
|
271
275
|
enabled: !!client,
|
|
272
276
|
staleTime: 0
|
|
273
277
|
});
|
|
274
278
|
}
|
|
275
279
|
function useManagerMaxRevokeBatchSize(options) {
|
|
276
|
-
const { client, chainId } =
|
|
280
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
277
281
|
return reactQuery.useQuery({
|
|
278
|
-
queryKey:
|
|
282
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:maxRevokeBatchSize", chainId, options.address),
|
|
279
283
|
queryFn: () => client.maxRevokeBatchSize(),
|
|
280
284
|
enabled: !!client,
|
|
281
285
|
staleTime: 0
|
|
@@ -283,27 +287,27 @@ function useManagerMaxRevokeBatchSize(options) {
|
|
|
283
287
|
}
|
|
284
288
|
function useVestingInfo(args) {
|
|
285
289
|
const { vestingId, ...base } = args;
|
|
286
|
-
const { client, chainId } =
|
|
290
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
287
291
|
return reactQuery.useQuery({
|
|
288
|
-
queryKey:
|
|
292
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:getVestingInfo", chainId, base.address, vestingId),
|
|
289
293
|
queryFn: () => client.getVestingInfo(vestingId),
|
|
290
294
|
enabled: !!client && !!vestingId,
|
|
291
295
|
staleTime: 0
|
|
292
296
|
});
|
|
293
297
|
}
|
|
294
298
|
function useAllRecipients(options) {
|
|
295
|
-
const { client, chainId } =
|
|
299
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
296
300
|
return reactQuery.useQuery({
|
|
297
|
-
queryKey:
|
|
301
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:getAllRecipients", chainId, options.address),
|
|
298
302
|
queryFn: () => client.getAllRecipients(),
|
|
299
303
|
enabled: !!client,
|
|
300
304
|
staleTime: 0
|
|
301
305
|
});
|
|
302
306
|
}
|
|
303
307
|
function useAllRecipientsLength(options) {
|
|
304
|
-
const { client, chainId } =
|
|
308
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
305
309
|
return reactQuery.useQuery({
|
|
306
|
-
queryKey:
|
|
310
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:getAllRecipientsLength", chainId, options.address),
|
|
307
311
|
queryFn: () => client.getAllRecipientsLength(),
|
|
308
312
|
enabled: !!client,
|
|
309
313
|
staleTime: 0
|
|
@@ -311,9 +315,9 @@ function useAllRecipientsLength(options) {
|
|
|
311
315
|
}
|
|
312
316
|
function useAllRecipientsSliced(args) {
|
|
313
317
|
const { start, end, ...base } = args;
|
|
314
|
-
const { client, chainId } =
|
|
318
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
315
319
|
return reactQuery.useQuery({
|
|
316
|
-
queryKey:
|
|
320
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:getAllRecipientsSliced", chainId, base.address, start, end),
|
|
317
321
|
queryFn: () => client.getAllRecipientsSliced(start, end),
|
|
318
322
|
enabled: !!client && start !== void 0 && end !== void 0,
|
|
319
323
|
staleTime: 0
|
|
@@ -321,9 +325,9 @@ function useAllRecipientsSliced(args) {
|
|
|
321
325
|
}
|
|
322
326
|
function useIsRecipient(args) {
|
|
323
327
|
const { account, ...base } = args;
|
|
324
|
-
const { client, chainId } =
|
|
328
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
325
329
|
return reactQuery.useQuery({
|
|
326
|
-
queryKey:
|
|
330
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:isRecipient", chainId, base.address, account),
|
|
327
331
|
queryFn: () => client.isRecipient(account),
|
|
328
332
|
enabled: !!client && !!account,
|
|
329
333
|
staleTime: 0
|
|
@@ -331,9 +335,9 @@ function useIsRecipient(args) {
|
|
|
331
335
|
}
|
|
332
336
|
function usePreflightCreateVesting(args) {
|
|
333
337
|
const { params, creator, ...base } = args;
|
|
334
|
-
const { client, chainId } =
|
|
338
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
335
339
|
return reactQuery.useQuery({
|
|
336
|
-
queryKey:
|
|
340
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey(
|
|
337
341
|
"manager:preflightCreateVesting",
|
|
338
342
|
chainId,
|
|
339
343
|
base.address,
|
|
@@ -347,9 +351,9 @@ function usePreflightCreateVesting(args) {
|
|
|
347
351
|
}
|
|
348
352
|
function useRecipientVestings(args) {
|
|
349
353
|
const { recipient, ...base } = args;
|
|
350
|
-
const { client, chainId } =
|
|
354
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
351
355
|
return reactQuery.useQuery({
|
|
352
|
-
queryKey:
|
|
356
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:getAllRecipientVestings", chainId, base.address, recipient),
|
|
353
357
|
queryFn: () => client.getAllRecipientVestings(recipient),
|
|
354
358
|
enabled: !!client && !!recipient,
|
|
355
359
|
staleTime: 0
|
|
@@ -357,9 +361,9 @@ function useRecipientVestings(args) {
|
|
|
357
361
|
}
|
|
358
362
|
function useRecipientVestingsLength(args) {
|
|
359
363
|
const { recipient, ...base } = args;
|
|
360
|
-
const { client, chainId } =
|
|
364
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
361
365
|
return reactQuery.useQuery({
|
|
362
|
-
queryKey:
|
|
366
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey(
|
|
363
367
|
"manager:getAllRecipientVestingsLength",
|
|
364
368
|
chainId,
|
|
365
369
|
base.address,
|
|
@@ -372,9 +376,9 @@ function useRecipientVestingsLength(args) {
|
|
|
372
376
|
}
|
|
373
377
|
function useRecipientVestingsSliced(args) {
|
|
374
378
|
const { recipient, start, end, ...base } = args;
|
|
375
|
-
const { client, chainId } =
|
|
379
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
376
380
|
return reactQuery.useQuery({
|
|
377
|
-
queryKey:
|
|
381
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey(
|
|
378
382
|
"manager:getAllRecipientVestingsSliced",
|
|
379
383
|
chainId,
|
|
380
384
|
base.address,
|
|
@@ -389,9 +393,9 @@ function useRecipientVestingsSliced(args) {
|
|
|
389
393
|
}
|
|
390
394
|
function usePendingVestingTransfer(args) {
|
|
391
395
|
const { vestingId, ...base } = args;
|
|
392
|
-
const { client, chainId } =
|
|
396
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
393
397
|
return reactQuery.useQuery({
|
|
394
|
-
queryKey:
|
|
398
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:getPendingVestingTransfer", chainId, base.address, vestingId),
|
|
395
399
|
queryFn: () => client.getPendingVestingTransfer(vestingId),
|
|
396
400
|
enabled: !!client && !!vestingId,
|
|
397
401
|
staleTime: 0
|
|
@@ -399,61 +403,65 @@ function usePendingVestingTransfer(args) {
|
|
|
399
403
|
}
|
|
400
404
|
function useHasRole(args) {
|
|
401
405
|
const { role, account, ...base } = args;
|
|
402
|
-
const { client, chainId } =
|
|
406
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(base);
|
|
403
407
|
return reactQuery.useQuery({
|
|
404
|
-
queryKey:
|
|
408
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:hasRole", chainId, base.address, role, account),
|
|
405
409
|
queryFn: () => client.hasRole(role, account),
|
|
406
410
|
enabled: !!client && !!role && !!account,
|
|
407
411
|
staleTime: 0
|
|
408
412
|
});
|
|
409
413
|
}
|
|
410
414
|
function useRoleConstants(options) {
|
|
411
|
-
const { client, chainId } =
|
|
415
|
+
const { client, chainId } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
412
416
|
return reactQuery.useQuery({
|
|
413
|
-
queryKey:
|
|
417
|
+
queryKey: chunkJQYC66TO_cjs.buildQueryKey("manager:roleConstants", chainId, options.address),
|
|
414
418
|
queryFn: () => client.roleConstants(),
|
|
415
419
|
enabled: !!client,
|
|
416
420
|
staleTime: 0
|
|
417
421
|
});
|
|
418
422
|
}
|
|
419
|
-
function
|
|
420
|
-
const { client } =
|
|
423
|
+
function useAccessVestedAmount(options) {
|
|
424
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
421
425
|
return reactQuery.useMutation({
|
|
422
426
|
mutationFn: async (args) => {
|
|
423
|
-
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("
|
|
427
|
+
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAccessVestedAmount", "manager");
|
|
424
428
|
return client.getVestedAmount(args);
|
|
425
429
|
}
|
|
426
430
|
});
|
|
427
431
|
}
|
|
428
|
-
|
|
429
|
-
|
|
432
|
+
var useGetVestedAmount = useAccessVestedAmount;
|
|
433
|
+
function useAccessClaimableAmount(options) {
|
|
434
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
430
435
|
return reactQuery.useMutation({
|
|
431
436
|
mutationFn: async (args) => {
|
|
432
|
-
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("
|
|
437
|
+
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAccessClaimableAmount", "manager");
|
|
433
438
|
return client.getClaimableAmount(args);
|
|
434
439
|
}
|
|
435
440
|
});
|
|
436
441
|
}
|
|
437
|
-
|
|
438
|
-
|
|
442
|
+
var useGetClaimableAmount = useAccessClaimableAmount;
|
|
443
|
+
function useAccessTotalAllocation(options) {
|
|
444
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
439
445
|
return reactQuery.useMutation({
|
|
440
446
|
mutationFn: async (args) => {
|
|
441
|
-
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("
|
|
447
|
+
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAccessTotalAllocation", "manager");
|
|
442
448
|
return client.getTotalAllocation(args);
|
|
443
449
|
}
|
|
444
450
|
});
|
|
445
451
|
}
|
|
446
|
-
|
|
447
|
-
|
|
452
|
+
var useGetTotalAllocation = useAccessTotalAllocation;
|
|
453
|
+
function useAccessSettledAmount(options) {
|
|
454
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
448
455
|
return reactQuery.useMutation({
|
|
449
456
|
mutationFn: async (args) => {
|
|
450
|
-
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("
|
|
457
|
+
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAccessSettledAmount", "manager");
|
|
451
458
|
return client.getSettledAmount(args);
|
|
452
459
|
}
|
|
453
460
|
});
|
|
454
461
|
}
|
|
462
|
+
var useGetSettledAmount = useAccessSettledAmount;
|
|
455
463
|
function useAdminGetVestedAmount(options) {
|
|
456
|
-
const { client } =
|
|
464
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
457
465
|
return reactQuery.useMutation({
|
|
458
466
|
mutationFn: async (args) => {
|
|
459
467
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminGetVestedAmount", "manager");
|
|
@@ -462,7 +470,7 @@ function useAdminGetVestedAmount(options) {
|
|
|
462
470
|
});
|
|
463
471
|
}
|
|
464
472
|
function useAdminGetClaimableAmount(options) {
|
|
465
|
-
const { client } =
|
|
473
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
466
474
|
return reactQuery.useMutation({
|
|
467
475
|
mutationFn: async (args) => {
|
|
468
476
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminGetClaimableAmount", "manager");
|
|
@@ -471,7 +479,7 @@ function useAdminGetClaimableAmount(options) {
|
|
|
471
479
|
});
|
|
472
480
|
}
|
|
473
481
|
function useAdminGetTotalAllocation(options) {
|
|
474
|
-
const { client } =
|
|
482
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
475
483
|
return reactQuery.useMutation({
|
|
476
484
|
mutationFn: async (args) => {
|
|
477
485
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminGetTotalAllocation", "manager");
|
|
@@ -480,7 +488,7 @@ function useAdminGetTotalAllocation(options) {
|
|
|
480
488
|
});
|
|
481
489
|
}
|
|
482
490
|
function useAdminGetSettledAmount(options) {
|
|
483
|
-
const { client } =
|
|
491
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
484
492
|
return reactQuery.useMutation({
|
|
485
493
|
mutationFn: async (args) => {
|
|
486
494
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminGetSettledAmount", "manager");
|
|
@@ -489,7 +497,7 @@ function useAdminGetSettledAmount(options) {
|
|
|
489
497
|
});
|
|
490
498
|
}
|
|
491
499
|
function useAdminGetTokenBalance(options) {
|
|
492
|
-
const { client } =
|
|
500
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
493
501
|
return reactQuery.useMutation({
|
|
494
502
|
mutationFn: async (args) => {
|
|
495
503
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminGetTokenBalance", "manager");
|
|
@@ -498,7 +506,7 @@ function useAdminGetTokenBalance(options) {
|
|
|
498
506
|
});
|
|
499
507
|
}
|
|
500
508
|
function useCreateVesting(options) {
|
|
501
|
-
const { client } =
|
|
509
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
502
510
|
return reactQuery.useMutation({
|
|
503
511
|
mutationFn: async (args) => {
|
|
504
512
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useCreateVesting", "manager");
|
|
@@ -507,7 +515,7 @@ function useCreateVesting(options) {
|
|
|
507
515
|
});
|
|
508
516
|
}
|
|
509
517
|
function useBatchCreateVesting(options) {
|
|
510
|
-
const { client } =
|
|
518
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
511
519
|
return reactQuery.useMutation({
|
|
512
520
|
mutationFn: async (args) => {
|
|
513
521
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useBatchCreateVesting", "manager");
|
|
@@ -516,7 +524,7 @@ function useBatchCreateVesting(options) {
|
|
|
516
524
|
});
|
|
517
525
|
}
|
|
518
526
|
function useClaim(options) {
|
|
519
|
-
const { client } =
|
|
527
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
520
528
|
return reactQuery.useMutation({
|
|
521
529
|
mutationFn: async (args) => {
|
|
522
530
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useClaim", "manager");
|
|
@@ -525,7 +533,7 @@ function useClaim(options) {
|
|
|
525
533
|
});
|
|
526
534
|
}
|
|
527
535
|
function useAdminClaim(options) {
|
|
528
|
-
const { client } =
|
|
536
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
529
537
|
return reactQuery.useMutation({
|
|
530
538
|
mutationFn: async (args) => {
|
|
531
539
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminClaim", "manager");
|
|
@@ -534,7 +542,7 @@ function useAdminClaim(options) {
|
|
|
534
542
|
});
|
|
535
543
|
}
|
|
536
544
|
function usePartialClaim(options) {
|
|
537
|
-
const { client } =
|
|
545
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
538
546
|
return reactQuery.useMutation({
|
|
539
547
|
mutationFn: async (args) => {
|
|
540
548
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("usePartialClaim", "manager");
|
|
@@ -543,7 +551,7 @@ function usePartialClaim(options) {
|
|
|
543
551
|
});
|
|
544
552
|
}
|
|
545
553
|
function useAdminPartialClaim(options) {
|
|
546
|
-
const { client } =
|
|
554
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
547
555
|
return reactQuery.useMutation({
|
|
548
556
|
mutationFn: async (args) => {
|
|
549
557
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminPartialClaim", "manager");
|
|
@@ -552,7 +560,7 @@ function useAdminPartialClaim(options) {
|
|
|
552
560
|
});
|
|
553
561
|
}
|
|
554
562
|
function useRevokeVesting(options) {
|
|
555
|
-
const { client } =
|
|
563
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
556
564
|
return reactQuery.useMutation({
|
|
557
565
|
mutationFn: async ({ vestingId, account }) => {
|
|
558
566
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useRevokeVesting", "manager");
|
|
@@ -561,7 +569,7 @@ function useRevokeVesting(options) {
|
|
|
561
569
|
});
|
|
562
570
|
}
|
|
563
571
|
function useBatchRevokeVesting(options) {
|
|
564
|
-
const { client } =
|
|
572
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
565
573
|
return reactQuery.useMutation({
|
|
566
574
|
mutationFn: async ({ vestingIds, account }) => {
|
|
567
575
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useBatchRevokeVesting", "manager");
|
|
@@ -570,7 +578,7 @@ function useBatchRevokeVesting(options) {
|
|
|
570
578
|
});
|
|
571
579
|
}
|
|
572
580
|
function useSplitVesting(options) {
|
|
573
|
-
const { client } =
|
|
581
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
574
582
|
return reactQuery.useMutation({
|
|
575
583
|
mutationFn: async (args) => {
|
|
576
584
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useSplitVesting", "manager");
|
|
@@ -579,7 +587,7 @@ function useSplitVesting(options) {
|
|
|
579
587
|
});
|
|
580
588
|
}
|
|
581
589
|
function useInitiateVestingTransfer(options) {
|
|
582
|
-
const { client } =
|
|
590
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
583
591
|
return reactQuery.useMutation({
|
|
584
592
|
mutationFn: async (args) => {
|
|
585
593
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useInitiateVestingTransfer", "manager");
|
|
@@ -588,7 +596,7 @@ function useInitiateVestingTransfer(options) {
|
|
|
588
596
|
});
|
|
589
597
|
}
|
|
590
598
|
function useAcceptVestingTransfer(options) {
|
|
591
|
-
const { client } =
|
|
599
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
592
600
|
return reactQuery.useMutation({
|
|
593
601
|
mutationFn: async ({ vestingId, account }) => {
|
|
594
602
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAcceptVestingTransfer", "manager");
|
|
@@ -597,7 +605,7 @@ function useAcceptVestingTransfer(options) {
|
|
|
597
605
|
});
|
|
598
606
|
}
|
|
599
607
|
function useCancelVestingTransfer(options) {
|
|
600
|
-
const { client } =
|
|
608
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
601
609
|
return reactQuery.useMutation({
|
|
602
610
|
mutationFn: async ({ vestingId, account }) => {
|
|
603
611
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useCancelVestingTransfer", "manager");
|
|
@@ -606,7 +614,7 @@ function useCancelVestingTransfer(options) {
|
|
|
606
614
|
});
|
|
607
615
|
}
|
|
608
616
|
function useDirectVestingTransfer(options) {
|
|
609
|
-
const { client } =
|
|
617
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
610
618
|
return reactQuery.useMutation({
|
|
611
619
|
mutationFn: async ({ vestingId, newOwner, account }) => {
|
|
612
620
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useDirectVestingTransfer", "manager");
|
|
@@ -615,7 +623,7 @@ function useDirectVestingTransfer(options) {
|
|
|
615
623
|
});
|
|
616
624
|
}
|
|
617
625
|
function useDiscloseToParty(options) {
|
|
618
|
-
const { client } =
|
|
626
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
619
627
|
return reactQuery.useMutation({
|
|
620
628
|
mutationFn: async (args) => {
|
|
621
629
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useDiscloseToParty", "manager");
|
|
@@ -624,7 +632,7 @@ function useDiscloseToParty(options) {
|
|
|
624
632
|
});
|
|
625
633
|
}
|
|
626
634
|
function useBatchDiscloseToParty(options) {
|
|
627
|
-
const { client } =
|
|
635
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
628
636
|
return reactQuery.useMutation({
|
|
629
637
|
mutationFn: async (args) => {
|
|
630
638
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useBatchDiscloseToParty", "manager");
|
|
@@ -633,7 +641,7 @@ function useBatchDiscloseToParty(options) {
|
|
|
633
641
|
});
|
|
634
642
|
}
|
|
635
643
|
function useAdminDiscloseToParty(options) {
|
|
636
|
-
const { client } =
|
|
644
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
637
645
|
return reactQuery.useMutation({
|
|
638
646
|
mutationFn: async (args) => {
|
|
639
647
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminDiscloseToParty", "manager");
|
|
@@ -642,7 +650,7 @@ function useAdminDiscloseToParty(options) {
|
|
|
642
650
|
});
|
|
643
651
|
}
|
|
644
652
|
function useAdminBatchDiscloseToParty(options) {
|
|
645
|
-
const { client } =
|
|
653
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
646
654
|
return reactQuery.useMutation({
|
|
647
655
|
mutationFn: async (args) => {
|
|
648
656
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useAdminBatchDiscloseToParty", "manager");
|
|
@@ -651,7 +659,7 @@ function useAdminBatchDiscloseToParty(options) {
|
|
|
651
659
|
});
|
|
652
660
|
}
|
|
653
661
|
function useDiscloseHandleToParty(options) {
|
|
654
|
-
const { client } =
|
|
662
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
655
663
|
return reactQuery.useMutation({
|
|
656
664
|
mutationFn: async ({ handle, party, account }) => {
|
|
657
665
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useDiscloseHandleToParty", "manager");
|
|
@@ -660,7 +668,7 @@ function useDiscloseHandleToParty(options) {
|
|
|
660
668
|
});
|
|
661
669
|
}
|
|
662
670
|
function useBatchDiscloseHandlesToParty(options) {
|
|
663
|
-
const { client } =
|
|
671
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
664
672
|
return reactQuery.useMutation({
|
|
665
673
|
mutationFn: async ({ handles, party, account }) => {
|
|
666
674
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useBatchDiscloseHandlesToParty", "manager");
|
|
@@ -669,7 +677,7 @@ function useBatchDiscloseHandlesToParty(options) {
|
|
|
669
677
|
});
|
|
670
678
|
}
|
|
671
679
|
function useWithdrawAdmin(options) {
|
|
672
|
-
const { client } =
|
|
680
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
673
681
|
return reactQuery.useMutation({
|
|
674
682
|
mutationFn: async (args) => {
|
|
675
683
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useWithdrawAdmin", "manager");
|
|
@@ -678,7 +686,7 @@ function useWithdrawAdmin(options) {
|
|
|
678
686
|
});
|
|
679
687
|
}
|
|
680
688
|
function useWithdrawOtherToken(options) {
|
|
681
|
-
const { client } =
|
|
689
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
682
690
|
return reactQuery.useMutation({
|
|
683
691
|
mutationFn: async ({ token, to, account }) => {
|
|
684
692
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useWithdrawOtherToken", "manager");
|
|
@@ -687,7 +695,7 @@ function useWithdrawOtherToken(options) {
|
|
|
687
695
|
});
|
|
688
696
|
}
|
|
689
697
|
function useWithdrawOtherConfidentialToken(options) {
|
|
690
|
-
const { client } =
|
|
698
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
691
699
|
return reactQuery.useMutation({
|
|
692
700
|
mutationFn: async ({ token, to, account }) => {
|
|
693
701
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useWithdrawOtherConfidentialToken", "manager");
|
|
@@ -696,7 +704,7 @@ function useWithdrawOtherConfidentialToken(options) {
|
|
|
696
704
|
});
|
|
697
705
|
}
|
|
698
706
|
function useWithdrawGasFee(options) {
|
|
699
|
-
const { client } =
|
|
707
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
700
708
|
return reactQuery.useMutation({
|
|
701
709
|
mutationFn: async ({ to, amount, account }) => {
|
|
702
710
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useWithdrawGasFee", "manager");
|
|
@@ -705,7 +713,7 @@ function useWithdrawGasFee(options) {
|
|
|
705
713
|
});
|
|
706
714
|
}
|
|
707
715
|
function useWithdrawTokenFee(options) {
|
|
708
|
-
const { client } =
|
|
716
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
709
717
|
return reactQuery.useMutation({
|
|
710
718
|
mutationFn: async (args) => {
|
|
711
719
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useWithdrawTokenFee", "manager");
|
|
@@ -714,7 +722,7 @@ function useWithdrawTokenFee(options) {
|
|
|
714
722
|
});
|
|
715
723
|
}
|
|
716
724
|
function useSetMaxBatchSize(options) {
|
|
717
|
-
const { client } =
|
|
725
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
718
726
|
return reactQuery.useMutation({
|
|
719
727
|
mutationFn: async ({ newMax, account }) => {
|
|
720
728
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useSetMaxBatchSize", "manager");
|
|
@@ -723,7 +731,7 @@ function useSetMaxBatchSize(options) {
|
|
|
723
731
|
});
|
|
724
732
|
}
|
|
725
733
|
function useSetMaxRevokeBatchSize(options) {
|
|
726
|
-
const { client } =
|
|
734
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
727
735
|
return reactQuery.useMutation({
|
|
728
736
|
mutationFn: async ({ newMax, account }) => {
|
|
729
737
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useSetMaxRevokeBatchSize", "manager");
|
|
@@ -732,7 +740,7 @@ function useSetMaxRevokeBatchSize(options) {
|
|
|
732
740
|
});
|
|
733
741
|
}
|
|
734
742
|
function useTransferFeeCollectorRole(options) {
|
|
735
|
-
const { client } =
|
|
743
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
736
744
|
return reactQuery.useMutation({
|
|
737
745
|
mutationFn: async ({ newCollector, account }) => {
|
|
738
746
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useTransferFeeCollectorRole", "manager");
|
|
@@ -741,7 +749,7 @@ function useTransferFeeCollectorRole(options) {
|
|
|
741
749
|
});
|
|
742
750
|
}
|
|
743
751
|
function usePause(options) {
|
|
744
|
-
const { client } =
|
|
752
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
745
753
|
return reactQuery.useMutation({
|
|
746
754
|
mutationFn: async (args) => {
|
|
747
755
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("usePause", "manager");
|
|
@@ -750,7 +758,7 @@ function usePause(options) {
|
|
|
750
758
|
});
|
|
751
759
|
}
|
|
752
760
|
function useUnpause(options) {
|
|
753
|
-
const { client } =
|
|
761
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
754
762
|
return reactQuery.useMutation({
|
|
755
763
|
mutationFn: async (args) => {
|
|
756
764
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useUnpause", "manager");
|
|
@@ -759,7 +767,7 @@ function useUnpause(options) {
|
|
|
759
767
|
});
|
|
760
768
|
}
|
|
761
769
|
function useGrantRole(options) {
|
|
762
|
-
const { client } =
|
|
770
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
763
771
|
return reactQuery.useMutation({
|
|
764
772
|
mutationFn: async ({ role, accountTarget, account }) => {
|
|
765
773
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useGrantRole", "manager");
|
|
@@ -768,7 +776,7 @@ function useGrantRole(options) {
|
|
|
768
776
|
});
|
|
769
777
|
}
|
|
770
778
|
function useRevokeRole(options) {
|
|
771
|
-
const { client } =
|
|
779
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
772
780
|
return reactQuery.useMutation({
|
|
773
781
|
mutationFn: async ({ role, accountTarget, account }) => {
|
|
774
782
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useRevokeRole", "manager");
|
|
@@ -777,7 +785,7 @@ function useRevokeRole(options) {
|
|
|
777
785
|
});
|
|
778
786
|
}
|
|
779
787
|
function useRenounceRole(options) {
|
|
780
|
-
const { client } =
|
|
788
|
+
const { client } = chunkJQYC66TO_cjs.useMemoManagerClient(options);
|
|
781
789
|
return reactQuery.useMutation({
|
|
782
790
|
mutationFn: async ({ role, callerConfirm, account }) => {
|
|
783
791
|
if (!client) throw new chunk67OV5CX2_cjs.MissingClientError("useRenounceRole", "manager");
|
|
@@ -786,69 +794,77 @@ function useRenounceRole(options) {
|
|
|
786
794
|
});
|
|
787
795
|
}
|
|
788
796
|
|
|
797
|
+
Object.defineProperty(exports, "useEnsureOperator", {
|
|
798
|
+
enumerable: true,
|
|
799
|
+
get: function () { return chunk7AFPOE7N_cjs.useEnsureOperator; }
|
|
800
|
+
});
|
|
801
|
+
Object.defineProperty(exports, "useIsOperator", {
|
|
802
|
+
enumerable: true,
|
|
803
|
+
get: function () { return chunk7AFPOE7N_cjs.useIsOperator; }
|
|
804
|
+
});
|
|
789
805
|
Object.defineProperty(exports, "ClaimLockedError", {
|
|
790
806
|
enumerable: true,
|
|
791
|
-
get: function () { return
|
|
807
|
+
get: function () { return chunkWJLECC22_cjs.ClaimLockedError; }
|
|
792
808
|
});
|
|
793
809
|
Object.defineProperty(exports, "NoPendingTransferError", {
|
|
794
810
|
enumerable: true,
|
|
795
|
-
get: function () { return
|
|
811
|
+
get: function () { return chunkWJLECC22_cjs.NoPendingTransferError; }
|
|
796
812
|
});
|
|
797
813
|
Object.defineProperty(exports, "NotPendingRecipientError", {
|
|
798
814
|
enumerable: true,
|
|
799
|
-
get: function () { return
|
|
815
|
+
get: function () { return chunkWJLECC22_cjs.NotPendingRecipientError; }
|
|
800
816
|
});
|
|
801
817
|
Object.defineProperty(exports, "NotVestingRecipientError", {
|
|
802
818
|
enumerable: true,
|
|
803
|
-
get: function () { return
|
|
819
|
+
get: function () { return chunkWJLECC22_cjs.NotVestingRecipientError; }
|
|
804
820
|
});
|
|
805
821
|
Object.defineProperty(exports, "TransferAlreadyPendingError", {
|
|
806
822
|
enumerable: true,
|
|
807
|
-
get: function () { return
|
|
823
|
+
get: function () { return chunkWJLECC22_cjs.TransferAlreadyPendingError; }
|
|
808
824
|
});
|
|
809
825
|
Object.defineProperty(exports, "TransferExpiredError", {
|
|
810
826
|
enumerable: true,
|
|
811
|
-
get: function () { return
|
|
827
|
+
get: function () { return chunkWJLECC22_cjs.TransferExpiredError; }
|
|
812
828
|
});
|
|
813
829
|
Object.defineProperty(exports, "VestingExpiredError", {
|
|
814
830
|
enumerable: true,
|
|
815
|
-
get: function () { return
|
|
831
|
+
get: function () { return chunkWJLECC22_cjs.VestingExpiredError; }
|
|
816
832
|
});
|
|
817
833
|
Object.defineProperty(exports, "VestingNotFoundError", {
|
|
818
834
|
enumerable: true,
|
|
819
|
-
get: function () { return
|
|
835
|
+
get: function () { return chunkWJLECC22_cjs.VestingNotFoundError; }
|
|
820
836
|
});
|
|
821
837
|
Object.defineProperty(exports, "VestingNotRevocableError", {
|
|
822
838
|
enumerable: true,
|
|
823
|
-
get: function () { return
|
|
839
|
+
get: function () { return chunkWJLECC22_cjs.VestingNotRevocableError; }
|
|
824
840
|
});
|
|
825
841
|
Object.defineProperty(exports, "VestingRevokedError", {
|
|
826
842
|
enumerable: true,
|
|
827
|
-
get: function () { return
|
|
843
|
+
get: function () { return chunkWJLECC22_cjs.VestingRevokedError; }
|
|
828
844
|
});
|
|
829
845
|
Object.defineProperty(exports, "encryptUint64", {
|
|
830
846
|
enumerable: true,
|
|
831
|
-
get: function () { return
|
|
847
|
+
get: function () { return chunk3QHNYEQD_cjs.encryptUint64; }
|
|
832
848
|
});
|
|
833
849
|
Object.defineProperty(exports, "encryptUint64Batch", {
|
|
834
850
|
enumerable: true,
|
|
835
|
-
get: function () { return
|
|
851
|
+
get: function () { return chunk3QHNYEQD_cjs.encryptUint64Batch; }
|
|
836
852
|
});
|
|
837
853
|
Object.defineProperty(exports, "resolveEncryptor", {
|
|
838
854
|
enumerable: true,
|
|
839
|
-
get: function () { return
|
|
855
|
+
get: function () { return chunk3QHNYEQD_cjs.resolveEncryptor; }
|
|
840
856
|
});
|
|
841
857
|
Object.defineProperty(exports, "scaleRatio", {
|
|
842
858
|
enumerable: true,
|
|
843
|
-
get: function () { return
|
|
859
|
+
get: function () { return chunk3QHNYEQD_cjs.scaleRatio; }
|
|
844
860
|
});
|
|
845
861
|
Object.defineProperty(exports, "DisclosureType", {
|
|
846
862
|
enumerable: true,
|
|
847
|
-
get: function () { return
|
|
863
|
+
get: function () { return chunk6PXXGACR_cjs.DisclosureType; }
|
|
848
864
|
});
|
|
849
865
|
Object.defineProperty(exports, "FeeType", {
|
|
850
866
|
enumerable: true,
|
|
851
|
-
get: function () { return
|
|
867
|
+
get: function () { return chunk6PXXGACR_cjs.FeeType; }
|
|
852
868
|
});
|
|
853
869
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
854
870
|
enumerable: true,
|
|
@@ -995,6 +1011,10 @@ Object.defineProperty(exports, "isTokenOpsSdkError", {
|
|
|
995
1011
|
get: function () { return chunk67OV5CX2_cjs.isTokenOpsSdkError; }
|
|
996
1012
|
});
|
|
997
1013
|
exports.useAcceptVestingTransfer = useAcceptVestingTransfer;
|
|
1014
|
+
exports.useAccessClaimableAmount = useAccessClaimableAmount;
|
|
1015
|
+
exports.useAccessSettledAmount = useAccessSettledAmount;
|
|
1016
|
+
exports.useAccessTotalAllocation = useAccessTotalAllocation;
|
|
1017
|
+
exports.useAccessVestedAmount = useAccessVestedAmount;
|
|
998
1018
|
exports.useAdminBatchDiscloseToParty = useAdminBatchDiscloseToParty;
|
|
999
1019
|
exports.useAdminClaim = useAdminClaim;
|
|
1000
1020
|
exports.useAdminDiscloseToParty = useAdminDiscloseToParty;
|