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