@tokenops/sdk 2.0.0-alpha.1 → 2.0.0-alpha.2
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 +29 -0
- package/README.md +5 -5
- package/dist/{chunk-JZLGCTGK.cjs → chunk-3YHBO2DL.cjs} +2 -2
- package/dist/{chunk-H5POPGOZ.js → chunk-44YJPMQC.js} +1 -1
- package/dist/{chunk-DZHYSUGY.js → chunk-A4DCEE33.js} +11 -5
- package/dist/{chunk-M4IT6DNJ.cjs → chunk-AREQJHKA.cjs} +108 -3
- package/dist/chunk-EBLBPUPI.cjs +255 -0
- package/dist/chunk-EYDA6Q6C.js +245 -0
- package/dist/{chunk-XAYGD4E4.cjs → chunk-FEDX7B6T.cjs} +3 -3
- package/dist/{chunk-JQYC66TO.cjs → chunk-FHWSBGWE.cjs} +5 -5
- package/dist/{chunk-5576FRT3.cjs → chunk-FT5H2Q7Y.cjs} +11 -5
- package/dist/{chunk-456VDDA3.js → chunk-GADGBQJO.js} +78 -25
- package/dist/{chunk-6NAVMWZQ.js → chunk-IGO5XSPS.js} +2 -2
- package/dist/{chunk-CTED3MTR.cjs → chunk-IUKKNJ2R.cjs} +82 -29
- package/dist/{chunk-FGEB7RMY.cjs → chunk-MM5BV5CS.cjs} +4 -4
- package/dist/{chunk-335Z2W67.js → chunk-PYYSB5ZN.js} +1 -1
- package/dist/{chunk-PUX5VXDB.cjs → chunk-PZZK3O3S.cjs} +1040 -42
- package/dist/{chunk-74QFZ5MK.js → chunk-SPLNGUFF.js} +1 -1
- package/dist/{chunk-6PXXGACR.cjs → chunk-UHHMVBLU.cjs} +2 -2
- package/dist/{chunk-O5676ZWY.js → chunk-VW356KR3.js} +108 -5
- package/dist/{chunk-EAJ7SYHE.js → chunk-WJMEBBU7.js} +1 -1
- package/dist/{chunk-GKKDAW44.js → chunk-X7WBPCEU.js} +1026 -32
- package/dist/core/addresses.d.ts +4 -4
- package/dist/core/errors.d.ts +1 -1
- package/dist/fhe/types.d.ts +2 -2
- package/dist/fhe-airdrop/abis/merkle.d.ts +24 -12
- package/dist/fhe-airdrop/advanced/index.cjs +4 -4
- package/dist/fhe-airdrop/advanced/index.js +1 -1
- package/dist/fhe-airdrop/advanced/react/index.cjs +590 -9
- package/dist/fhe-airdrop/advanced/react/index.d.cts +34 -0
- package/dist/fhe-airdrop/advanced/react/index.d.ts +34 -0
- package/dist/fhe-airdrop/advanced/react/index.js +561 -7
- package/dist/fhe-airdrop/advanced/react/useClearCompliancePolicy.d.ts +28 -0
- package/dist/fhe-airdrop/advanced/react/useClearUpgradeabilityPolicy.d.ts +26 -0
- package/dist/fhe-airdrop/advanced/react/useDisableCustomFee.d.ts +25 -0
- package/dist/fhe-airdrop/advanced/react/useEcdsaInitCodeHash.d.ts +30 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryComplianceDelegate.d.ts +25 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryCompliancePolicy.d.ts +38 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryCustomFee.d.ts +24 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryGrantRole.d.ts +32 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryHasRole.d.ts +27 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryImplementations.d.ts +33 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryRenounceRole.d.ts +36 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryRevokeRole.d.ts +35 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryRoleConstants.d.ts +46 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryRoleMembers.d.ts +47 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryUpgradeabilityPolicy.d.ts +39 -0
- package/dist/fhe-airdrop/advanced/react/useMerkleInitCodeHash.d.ts +24 -0
- package/dist/fhe-airdrop/advanced/react/useSetComplianceDelegate.d.ts +33 -0
- package/dist/fhe-airdrop/advanced/react/useSetComplianceManagerImpl.d.ts +27 -0
- package/dist/fhe-airdrop/advanced/react/useSetCompliancePolicy.d.ts +28 -0
- package/dist/fhe-airdrop/advanced/react/useSetCustomFee.d.ts +28 -0
- package/dist/fhe-airdrop/advanced/react/useSetDefaultDelegateToCompliance.d.ts +31 -0
- package/dist/fhe-airdrop/advanced/react/useSetDefaultGasFee.d.ts +28 -0
- package/dist/fhe-airdrop/advanced/react/useSetDefaultUpgradeable.d.ts +27 -0
- package/dist/fhe-airdrop/advanced/react/useSetEcdsaImplementation.d.ts +34 -0
- package/dist/fhe-airdrop/advanced/react/useSetFeeCollector.d.ts +27 -0
- package/dist/fhe-airdrop/advanced/react/useSetMerkleImplementation.d.ts +30 -0
- package/dist/fhe-airdrop/advanced/react/useSetUpgradeabilityPolicy.d.ts +31 -0
- package/dist/fhe-airdrop/airdrop-base.d.ts +8 -0
- package/dist/fhe-airdrop/campaign.d.ts +61 -20
- package/dist/fhe-airdrop/constants.d.ts +1 -1
- package/dist/fhe-airdrop/errors.d.ts +28 -0
- package/dist/fhe-airdrop/guards.d.ts +46 -2
- package/dist/fhe-airdrop/index.cjs +74 -971
- package/dist/fhe-airdrop/index.d.cts +2 -2
- package/dist/fhe-airdrop/index.d.ts +2 -2
- package/dist/fhe-airdrop/index.js +8 -927
- package/dist/fhe-airdrop/merkle-tree.d.ts +32 -38
- package/dist/fhe-airdrop/merkle.d.ts +52 -31
- package/dist/fhe-airdrop/react/_shared.d.ts +13 -0
- package/dist/fhe-airdrop/react/index.cjs +934 -84
- package/dist/fhe-airdrop/react/index.d.cts +49 -3
- package/dist/fhe-airdrop/react/index.d.ts +49 -3
- package/dist/fhe-airdrop/react/index.js +825 -22
- package/dist/fhe-airdrop/react/keys.d.ts +90 -0
- package/dist/fhe-airdrop/react/useAccessEcdsaClaimAmount.d.ts +26 -0
- package/dist/fhe-airdrop/react/useAccessMerkleClaimAmount.d.ts +27 -0
- package/dist/fhe-airdrop/react/useAddComplianceDelegate.d.ts +37 -0
- package/dist/fhe-airdrop/react/useAdminBatchDiscloseBalanceToParties.d.ts +36 -0
- package/dist/fhe-airdrop/react/useAdminDiscloseBalanceToParty.d.ts +31 -0
- package/dist/fhe-airdrop/react/useAdminGetCurrentBalance.d.ts +27 -0
- package/dist/fhe-airdrop/react/useAirdropConfig.d.ts +49 -0
- package/dist/fhe-airdrop/react/useAirdropDeploymentMode.d.ts +28 -0
- package/dist/fhe-airdrop/react/useAirdropGrantRole.d.ts +35 -0
- package/dist/fhe-airdrop/react/useAirdropRenounceRole.d.ts +36 -0
- package/dist/fhe-airdrop/react/useAirdropRevokeRole.d.ts +33 -0
- package/dist/fhe-airdrop/react/useAirdropRoleAdmin.d.ts +28 -0
- package/dist/fhe-airdrop/react/useAirdropRoleConstants.d.ts +67 -0
- package/dist/fhe-airdrop/react/useAirdropRoleMembers.d.ts +49 -0
- package/dist/fhe-airdrop/react/useAirdropUpgradeToAndCall.d.ts +45 -0
- package/dist/fhe-airdrop/react/useBatchDiscloseHandlesToParty.d.ts +32 -0
- package/dist/fhe-airdrop/react/useBuildMerkleCampaign.d.ts +68 -0
- package/dist/fhe-airdrop/react/useComplianceGrantRole.d.ts +32 -0
- package/dist/fhe-airdrop/react/useComplianceHasRole.d.ts +37 -0
- package/dist/fhe-airdrop/react/useComplianceInfo.d.ts +50 -0
- package/dist/fhe-airdrop/react/useComplianceManagerOf.d.ts +32 -0
- package/dist/fhe-airdrop/react/useComplianceRenounceRole.d.ts +38 -0
- package/dist/fhe-airdrop/react/useComplianceRevokeRole.d.ts +36 -0
- package/dist/fhe-airdrop/react/useComplianceRoleConstants.d.ts +41 -0
- package/dist/fhe-airdrop/react/useComplianceRoleMembers.d.ts +45 -0
- package/dist/fhe-airdrop/react/useCreateAndFundEcdsaAirdrop.d.ts +55 -0
- package/dist/fhe-airdrop/react/useCreateAndFundMerkleAirdrop.d.ts +52 -0
- package/dist/fhe-airdrop/react/useDiscloseHandleToParty.d.ts +35 -0
- package/dist/fhe-airdrop/react/useEcdsaClaim.d.ts +4 -3
- package/dist/fhe-airdrop/react/useEcdsaClaimAndUnwrap.d.ts +27 -0
- package/dist/fhe-airdrop/react/useEcdsaDomain.d.ts +41 -0
- package/dist/fhe-airdrop/react/useEffectiveDelegateToCompliance.d.ts +26 -0
- package/dist/fhe-airdrop/react/useEncryptCampaignAmounts.d.ts +59 -0
- package/dist/fhe-airdrop/react/useIsActiveDelegate.d.ts +29 -0
- package/dist/fhe-airdrop/react/useIsMerkleRootMutable.d.ts +21 -0
- package/dist/fhe-airdrop/react/useIsSignatureValid.d.ts +46 -0
- package/dist/fhe-airdrop/react/useMerkleClaim.d.ts +7 -19
- package/dist/fhe-airdrop/react/useMerkleClaimAndUnwrap.d.ts +29 -0
- package/dist/fhe-airdrop/react/usePlanMerkleCampaign.d.ts +53 -0
- package/dist/fhe-airdrop/react/usePreflightClaim.d.ts +46 -0
- package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +67 -0
- package/dist/fhe-airdrop/react/useRescueERC20.d.ts +30 -0
- package/dist/fhe-airdrop/react/useRescueOtherConfidentialToken.d.ts +34 -0
- package/dist/fhe-airdrop/react/useRevokeComplianceDelegate.d.ts +37 -0
- package/dist/fhe-airdrop/react/useRotateMerkleRoot.d.ts +52 -0
- package/dist/fhe-airdrop/react/useSignClaimAuthorization.d.ts +42 -0
- package/dist/fhe-airdrop/react/useWithdrawGasFee.d.ts +37 -0
- package/dist/fhe-airdrop/types.d.ts +14 -1
- package/dist/fhe-disperse/index.cjs +21 -21
- package/dist/fhe-disperse/index.js +2 -2
- package/dist/fhe-disperse/react/index.cjs +22 -22
- package/dist/fhe-disperse/react/index.js +3 -3
- package/dist/fhe-vesting/advanced/index.cjs +5 -5
- package/dist/fhe-vesting/advanced/index.js +3 -3
- package/dist/fhe-vesting/advanced/react/index.cjs +7 -7
- package/dist/fhe-vesting/advanced/react/index.js +4 -4
- package/dist/fhe-vesting/index.cjs +8 -8
- package/dist/fhe-vesting/index.js +2 -2
- package/dist/fhe-vesting/react/index.cjs +114 -114
- package/dist/fhe-vesting/react/index.js +3 -3
- package/dist/index.cjs +18 -18
- package/dist/index.js +1 -1
- package/dist/testnet-faucet/index.cjs +14 -14
- package/dist/testnet-faucet/index.js +2 -2
- package/dist/testnet-faucet/react/index.cjs +8 -8
- package/dist/testnet-faucet/react/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-NCVX3K2N.cjs +0 -161
- package/dist/chunk-VP2B4WM2.js +0 -154
|
@@ -44,6 +44,23 @@ export { useComplianceManager, type UseComplianceManagerArgs } from "./useCompli
|
|
|
44
44
|
export { useFactoryFees, type FactoryFees, type UseFactoryFeesArgs } from "./useFactoryFees.js";
|
|
45
45
|
export { useFactoryRegistry, type FactoryRegistryPage, type UseFactoryRegistryArgs, } from "./useFactoryRegistry.js";
|
|
46
46
|
export { useEffectiveUpgradeable, type UseEffectiveUpgradeableArgs, } from "./useEffectiveUpgradeable.js";
|
|
47
|
+
export { useAirdropConfig, type AirdropConfig, type UseAirdropConfigArgs, } from "./useAirdropConfig.js";
|
|
48
|
+
export { useAirdropDeploymentMode, type UseAirdropDeploymentModeArgs, } from "./useAirdropDeploymentMode.js";
|
|
49
|
+
export { useAirdropRoleAdmin, type UseAirdropRoleAdminArgs } from "./useAirdropRoleAdmin.js";
|
|
50
|
+
export { useAirdropRoleConstants, type AirdropRoleConstants, type UseAirdropRoleConstantsArgs, } from "./useAirdropRoleConstants.js";
|
|
51
|
+
export { useAirdropRoleMembers, type AirdropRoleMembership, type UseAirdropRoleMembersArgs, } from "./useAirdropRoleMembers.js";
|
|
52
|
+
export { useComplianceHasRole, type UseComplianceHasRoleArgs } from "./useComplianceHasRole.js";
|
|
53
|
+
export { useComplianceInfo, type ComplianceInfo, type UseComplianceInfoArgs, } from "./useComplianceInfo.js";
|
|
54
|
+
export { useComplianceManagerOf, type UseComplianceManagerOfArgs, } from "./useComplianceManagerOf.js";
|
|
55
|
+
export { useComplianceRoleConstants, type ComplianceRoleConstants, type UseComplianceRoleConstantsArgs, } from "./useComplianceRoleConstants.js";
|
|
56
|
+
export { useComplianceRoleMembers, type ComplianceRoleMembership, type UseComplianceRoleMembersArgs, } from "./useComplianceRoleMembers.js";
|
|
57
|
+
export { useEcdsaDomain, type EcdsaDomain, type UseEcdsaDomainArgs } from "./useEcdsaDomain.js";
|
|
58
|
+
export { useEffectiveDelegateToCompliance, type UseEffectiveDelegateToComplianceArgs, } from "./useEffectiveDelegateToCompliance.js";
|
|
59
|
+
export { useIsActiveDelegate, type UseIsActiveDelegateArgs } from "./useIsActiveDelegate.js";
|
|
60
|
+
export { useIsMerkleRootMutable, type UseIsMerkleRootMutableArgs, } from "./useIsMerkleRootMutable.js";
|
|
61
|
+
export { useIsSignatureValid, type UseIsSignatureValidArgs } from "./useIsSignatureValid.js";
|
|
62
|
+
export { usePreflightClaim, type UsePreflightClaimArgs } from "./usePreflightClaim.js";
|
|
63
|
+
export { usePreflightCreateAirdrop, type PreflightCreateAirdropCommon, type UsePreflightCreateAirdropArgs, } from "./usePreflightCreateAirdrop.js";
|
|
47
64
|
export { useCreateEcdsaAirdrop } from "./useCreateEcdsaAirdrop.js";
|
|
48
65
|
export { useCreateMerkleAirdrop } from "./useCreateMerkleAirdrop.js";
|
|
49
66
|
export { useFundAirdrop } from "./useFundAirdrop.js";
|
|
@@ -54,19 +71,48 @@ export { useGrantInstanceRoles, type GrantInstanceRolesArgs } from "./useGrantIn
|
|
|
54
71
|
export { useAirdropPause, type AirdropPauseArgs } from "./useAirdropPause.js";
|
|
55
72
|
export { useExtendClaimWindow } from "./useExtendClaimWindow.js";
|
|
56
73
|
export { useWithdrawConfidential } from "./useWithdrawConfidential.js";
|
|
74
|
+
export { useAddComplianceDelegate, type AddComplianceDelegateArgs, } from "./useAddComplianceDelegate.js";
|
|
75
|
+
export { useAirdropGrantRole, type AirdropGrantRoleArgs } from "./useAirdropGrantRole.js";
|
|
76
|
+
export { useAirdropRenounceRole, type AirdropRenounceRoleArgs } from "./useAirdropRenounceRole.js";
|
|
77
|
+
export { useAirdropRevokeRole, type AirdropRevokeRoleArgs } from "./useAirdropRevokeRole.js";
|
|
78
|
+
export { useAirdropUpgradeToAndCall, type AirdropUpgradeToAndCallArgs, } from "./useAirdropUpgradeToAndCall.js";
|
|
79
|
+
export { useBatchDiscloseHandlesToParty, type UseBatchDiscloseHandlesToPartyArgs, } from "./useBatchDiscloseHandlesToParty.js";
|
|
80
|
+
export { useBuildMerkleCampaign, type UseBuildMerkleCampaignOptions, type UseBuildMerkleCampaignArgs, } from "./useBuildMerkleCampaign.js";
|
|
81
|
+
export { useComplianceGrantRole, type ComplianceGrantRoleArgs } from "./useComplianceGrantRole.js";
|
|
82
|
+
export { useComplianceRenounceRole, type ComplianceRenounceRoleArgs, } from "./useComplianceRenounceRole.js";
|
|
83
|
+
export { useComplianceRevokeRole, type ComplianceRevokeRoleArgs, } from "./useComplianceRevokeRole.js";
|
|
84
|
+
export { useCreateAndFundEcdsaAirdrop, type UseCreateAndFundEcdsaAirdropArgs, } from "./useCreateAndFundEcdsaAirdrop.js";
|
|
85
|
+
export { useCreateAndFundMerkleAirdrop, type UseCreateAndFundMerkleAirdropArgs, } from "./useCreateAndFundMerkleAirdrop.js";
|
|
86
|
+
export { useDiscloseHandleToParty, type UseDiscloseHandleToPartyArgs, } from "./useDiscloseHandleToParty.js";
|
|
87
|
+
export { useEcdsaClaimAndUnwrap } from "./useEcdsaClaimAndUnwrap.js";
|
|
88
|
+
export { useEncryptCampaignAmounts, type UseEncryptCampaignAmountsOptions, type UseEncryptCampaignAmountsArgs, } from "./useEncryptCampaignAmounts.js";
|
|
89
|
+
export { useMerkleClaimAndUnwrap } from "./useMerkleClaimAndUnwrap.js";
|
|
90
|
+
export { usePlanMerkleCampaign, type UsePlanMerkleCampaignArgs } from "./usePlanMerkleCampaign.js";
|
|
91
|
+
export { useRescueERC20, type RescueERC20Args } from "./useRescueERC20.js";
|
|
92
|
+
export { useRescueOtherConfidentialToken, type RescueOtherConfidentialTokenArgs, } from "./useRescueOtherConfidentialToken.js";
|
|
93
|
+
export { useRevokeComplianceDelegate, type RevokeComplianceDelegateArgs, } from "./useRevokeComplianceDelegate.js";
|
|
94
|
+
export { useRotateMerkleRoot, type UseRotateMerkleRootArgs } from "./useRotateMerkleRoot.js";
|
|
95
|
+
export { useSignClaimAuthorization, type SignClaimAuthorizationArgs, } from "./useSignClaimAuthorization.js";
|
|
96
|
+
export { useWithdrawGasFee, type WithdrawGasFeeArgs } from "./useWithdrawGasFee.js";
|
|
97
|
+
export { useAdminBatchDiscloseBalanceToParties, type UseAdminBatchDiscloseBalanceToPartiesArgs, } from "./useAdminBatchDiscloseBalanceToParties.js";
|
|
98
|
+
export { useAdminDiscloseBalanceToParty, type UseAdminDiscloseBalanceToPartyArgs, } from "./useAdminDiscloseBalanceToParty.js";
|
|
99
|
+
export { useAdminGetCurrentBalance } from "./useAdminGetCurrentBalance.js";
|
|
100
|
+
export { useAccessEcdsaClaimAmount } from "./useAccessEcdsaClaimAmount.js";
|
|
101
|
+
export { useAccessMerkleClaimAmount } from "./useAccessMerkleClaimAmount.js";
|
|
57
102
|
export { airdropQueryKey, airdropQueryKeyPrefix, type AirdropClientOptions, type AirdropHookOptions, type AirdropInstanceClientOptions, type AirdropInstanceHookOptions, type EcdsaAirdropInstanceClientOptions, type EcdsaAirdropInstanceHookOptions, } from "./_shared.js";
|
|
58
103
|
export { encryptUint64, encryptUint64Batch, resolveEncryptor, signClaimAuthorization, type Encryptor, type EncryptorSource, type EncryptUint64Args, type EncryptUint64BatchArgs, type FheValueInput, } from "../encryption.js";
|
|
59
104
|
export type { EncryptedInput, EncryptedInputs, EncryptedViewResult } from "../../fhe/types.js";
|
|
60
105
|
export type { CreateAirdropArgs, CreateAirdropResult, EcdsaAirdropParams, MerkleAirdropParams, CommonAirdropParams, BuiltCampaign, CampaignEntry, CampaignRecipient, } from "../types.js";
|
|
61
|
-
export type { EcdsaClaimArgs, GetClaimAmountArgs as EcdsaGetClaimAmountArgs } from "../ecdsa.js";
|
|
106
|
+
export type { EcdsaClaimArgs, Eip712Domain, GetClaimAmountArgs as EcdsaGetClaimAmountArgs, } from "../ecdsa.js";
|
|
107
|
+
export type { GetClaimAmountArgs as MerkleGetClaimAmountArgs } from "../merkle.js";
|
|
62
108
|
export type { MerkleClaimArgs } from "../merkle.js";
|
|
63
109
|
export { buildMerkleTree, leafOf, type BuildMerkleTreeArgs, type BuiltMerkleTree, type LeafOfArgs, type MerkleLeafInput, } from "../merkle-tree.js";
|
|
64
110
|
export type { FundInput } from "../factory.js";
|
|
65
111
|
export type { WriteAccountOverride } from "../airdrop-base.js";
|
|
66
|
-
export { buildMerkleCampaign, encryptCampaignAmounts, planMerkleCampaign, rotateMerkleRoot, validateCampaignRecipients, type BuildMerkleCampaignArgs, type EncryptCampaignAmountsArgs, type EncryptedCampaignLeaf, type PlanMerkleCampaignArgs, type PlannedCampaign, type RotatedCampaign, type RotateMerkleRootArgs, } from "../campaign.js";
|
|
112
|
+
export { buildMerkleCampaign, encryptCampaignAmounts, planMerkleCampaign, rotateMerkleRoot, validateCampaignRecipients, type BuildMerkleCampaignArgs, type CampaignSubmitterOption, type EncryptCampaignAmountsArgs, type EncryptedCampaignLeaf, type PlanMerkleCampaignArgs, type PlannedCampaign, type RotatedCampaign, type RotateMerkleRootArgs, } from "../campaign.js";
|
|
67
113
|
export { preflightClaim, preflightCreate, type ClaimPreflightTarget, type EcdsaClaimPreflightSignature, type PreflightClaimArgs, type PreflightCreateArgs, } from "../guards.js";
|
|
68
114
|
export type { PreflightResult } from "../../core/preflight.js";
|
|
69
115
|
export { grantInstanceRoles, planInstanceRoleSplit, type InstanceRoleAssignment, type RoleGrantOutcome, type RoleGrantStep, type RoleName, } from "../roles.js";
|
|
70
116
|
export { type DedupMode, type DeploymentMode } from "../constants.js";
|
|
71
117
|
export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ContractRevertError, PausedError, AccessDeniedError, OperatorNotApprovedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../../core/errors.js";
|
|
72
|
-
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UpgradeabilityNotAllowedError, type AirdropVariant, } from "../errors.js";
|
|
118
|
+
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UnauthorizedRedirectError, UpgradeabilityNotAllowedError, type AirdropVariant, } from "../errors.js";
|
|
@@ -44,6 +44,23 @@ export { useComplianceManager, type UseComplianceManagerArgs } from "./useCompli
|
|
|
44
44
|
export { useFactoryFees, type FactoryFees, type UseFactoryFeesArgs } from "./useFactoryFees.js";
|
|
45
45
|
export { useFactoryRegistry, type FactoryRegistryPage, type UseFactoryRegistryArgs, } from "./useFactoryRegistry.js";
|
|
46
46
|
export { useEffectiveUpgradeable, type UseEffectiveUpgradeableArgs, } from "./useEffectiveUpgradeable.js";
|
|
47
|
+
export { useAirdropConfig, type AirdropConfig, type UseAirdropConfigArgs, } from "./useAirdropConfig.js";
|
|
48
|
+
export { useAirdropDeploymentMode, type UseAirdropDeploymentModeArgs, } from "./useAirdropDeploymentMode.js";
|
|
49
|
+
export { useAirdropRoleAdmin, type UseAirdropRoleAdminArgs } from "./useAirdropRoleAdmin.js";
|
|
50
|
+
export { useAirdropRoleConstants, type AirdropRoleConstants, type UseAirdropRoleConstantsArgs, } from "./useAirdropRoleConstants.js";
|
|
51
|
+
export { useAirdropRoleMembers, type AirdropRoleMembership, type UseAirdropRoleMembersArgs, } from "./useAirdropRoleMembers.js";
|
|
52
|
+
export { useComplianceHasRole, type UseComplianceHasRoleArgs } from "./useComplianceHasRole.js";
|
|
53
|
+
export { useComplianceInfo, type ComplianceInfo, type UseComplianceInfoArgs, } from "./useComplianceInfo.js";
|
|
54
|
+
export { useComplianceManagerOf, type UseComplianceManagerOfArgs, } from "./useComplianceManagerOf.js";
|
|
55
|
+
export { useComplianceRoleConstants, type ComplianceRoleConstants, type UseComplianceRoleConstantsArgs, } from "./useComplianceRoleConstants.js";
|
|
56
|
+
export { useComplianceRoleMembers, type ComplianceRoleMembership, type UseComplianceRoleMembersArgs, } from "./useComplianceRoleMembers.js";
|
|
57
|
+
export { useEcdsaDomain, type EcdsaDomain, type UseEcdsaDomainArgs } from "./useEcdsaDomain.js";
|
|
58
|
+
export { useEffectiveDelegateToCompliance, type UseEffectiveDelegateToComplianceArgs, } from "./useEffectiveDelegateToCompliance.js";
|
|
59
|
+
export { useIsActiveDelegate, type UseIsActiveDelegateArgs } from "./useIsActiveDelegate.js";
|
|
60
|
+
export { useIsMerkleRootMutable, type UseIsMerkleRootMutableArgs, } from "./useIsMerkleRootMutable.js";
|
|
61
|
+
export { useIsSignatureValid, type UseIsSignatureValidArgs } from "./useIsSignatureValid.js";
|
|
62
|
+
export { usePreflightClaim, type UsePreflightClaimArgs } from "./usePreflightClaim.js";
|
|
63
|
+
export { usePreflightCreateAirdrop, type PreflightCreateAirdropCommon, type UsePreflightCreateAirdropArgs, } from "./usePreflightCreateAirdrop.js";
|
|
47
64
|
export { useCreateEcdsaAirdrop } from "./useCreateEcdsaAirdrop.js";
|
|
48
65
|
export { useCreateMerkleAirdrop } from "./useCreateMerkleAirdrop.js";
|
|
49
66
|
export { useFundAirdrop } from "./useFundAirdrop.js";
|
|
@@ -54,19 +71,48 @@ export { useGrantInstanceRoles, type GrantInstanceRolesArgs } from "./useGrantIn
|
|
|
54
71
|
export { useAirdropPause, type AirdropPauseArgs } from "./useAirdropPause.js";
|
|
55
72
|
export { useExtendClaimWindow } from "./useExtendClaimWindow.js";
|
|
56
73
|
export { useWithdrawConfidential } from "./useWithdrawConfidential.js";
|
|
74
|
+
export { useAddComplianceDelegate, type AddComplianceDelegateArgs, } from "./useAddComplianceDelegate.js";
|
|
75
|
+
export { useAirdropGrantRole, type AirdropGrantRoleArgs } from "./useAirdropGrantRole.js";
|
|
76
|
+
export { useAirdropRenounceRole, type AirdropRenounceRoleArgs } from "./useAirdropRenounceRole.js";
|
|
77
|
+
export { useAirdropRevokeRole, type AirdropRevokeRoleArgs } from "./useAirdropRevokeRole.js";
|
|
78
|
+
export { useAirdropUpgradeToAndCall, type AirdropUpgradeToAndCallArgs, } from "./useAirdropUpgradeToAndCall.js";
|
|
79
|
+
export { useBatchDiscloseHandlesToParty, type UseBatchDiscloseHandlesToPartyArgs, } from "./useBatchDiscloseHandlesToParty.js";
|
|
80
|
+
export { useBuildMerkleCampaign, type UseBuildMerkleCampaignOptions, type UseBuildMerkleCampaignArgs, } from "./useBuildMerkleCampaign.js";
|
|
81
|
+
export { useComplianceGrantRole, type ComplianceGrantRoleArgs } from "./useComplianceGrantRole.js";
|
|
82
|
+
export { useComplianceRenounceRole, type ComplianceRenounceRoleArgs, } from "./useComplianceRenounceRole.js";
|
|
83
|
+
export { useComplianceRevokeRole, type ComplianceRevokeRoleArgs, } from "./useComplianceRevokeRole.js";
|
|
84
|
+
export { useCreateAndFundEcdsaAirdrop, type UseCreateAndFundEcdsaAirdropArgs, } from "./useCreateAndFundEcdsaAirdrop.js";
|
|
85
|
+
export { useCreateAndFundMerkleAirdrop, type UseCreateAndFundMerkleAirdropArgs, } from "./useCreateAndFundMerkleAirdrop.js";
|
|
86
|
+
export { useDiscloseHandleToParty, type UseDiscloseHandleToPartyArgs, } from "./useDiscloseHandleToParty.js";
|
|
87
|
+
export { useEcdsaClaimAndUnwrap } from "./useEcdsaClaimAndUnwrap.js";
|
|
88
|
+
export { useEncryptCampaignAmounts, type UseEncryptCampaignAmountsOptions, type UseEncryptCampaignAmountsArgs, } from "./useEncryptCampaignAmounts.js";
|
|
89
|
+
export { useMerkleClaimAndUnwrap } from "./useMerkleClaimAndUnwrap.js";
|
|
90
|
+
export { usePlanMerkleCampaign, type UsePlanMerkleCampaignArgs } from "./usePlanMerkleCampaign.js";
|
|
91
|
+
export { useRescueERC20, type RescueERC20Args } from "./useRescueERC20.js";
|
|
92
|
+
export { useRescueOtherConfidentialToken, type RescueOtherConfidentialTokenArgs, } from "./useRescueOtherConfidentialToken.js";
|
|
93
|
+
export { useRevokeComplianceDelegate, type RevokeComplianceDelegateArgs, } from "./useRevokeComplianceDelegate.js";
|
|
94
|
+
export { useRotateMerkleRoot, type UseRotateMerkleRootArgs } from "./useRotateMerkleRoot.js";
|
|
95
|
+
export { useSignClaimAuthorization, type SignClaimAuthorizationArgs, } from "./useSignClaimAuthorization.js";
|
|
96
|
+
export { useWithdrawGasFee, type WithdrawGasFeeArgs } from "./useWithdrawGasFee.js";
|
|
97
|
+
export { useAdminBatchDiscloseBalanceToParties, type UseAdminBatchDiscloseBalanceToPartiesArgs, } from "./useAdminBatchDiscloseBalanceToParties.js";
|
|
98
|
+
export { useAdminDiscloseBalanceToParty, type UseAdminDiscloseBalanceToPartyArgs, } from "./useAdminDiscloseBalanceToParty.js";
|
|
99
|
+
export { useAdminGetCurrentBalance } from "./useAdminGetCurrentBalance.js";
|
|
100
|
+
export { useAccessEcdsaClaimAmount } from "./useAccessEcdsaClaimAmount.js";
|
|
101
|
+
export { useAccessMerkleClaimAmount } from "./useAccessMerkleClaimAmount.js";
|
|
57
102
|
export { airdropQueryKey, airdropQueryKeyPrefix, type AirdropClientOptions, type AirdropHookOptions, type AirdropInstanceClientOptions, type AirdropInstanceHookOptions, type EcdsaAirdropInstanceClientOptions, type EcdsaAirdropInstanceHookOptions, } from "./_shared.js";
|
|
58
103
|
export { encryptUint64, encryptUint64Batch, resolveEncryptor, signClaimAuthorization, type Encryptor, type EncryptorSource, type EncryptUint64Args, type EncryptUint64BatchArgs, type FheValueInput, } from "../encryption.js";
|
|
59
104
|
export type { EncryptedInput, EncryptedInputs, EncryptedViewResult } from "../../fhe/types.js";
|
|
60
105
|
export type { CreateAirdropArgs, CreateAirdropResult, EcdsaAirdropParams, MerkleAirdropParams, CommonAirdropParams, BuiltCampaign, CampaignEntry, CampaignRecipient, } from "../types.js";
|
|
61
|
-
export type { EcdsaClaimArgs, GetClaimAmountArgs as EcdsaGetClaimAmountArgs } from "../ecdsa.js";
|
|
106
|
+
export type { EcdsaClaimArgs, Eip712Domain, GetClaimAmountArgs as EcdsaGetClaimAmountArgs, } from "../ecdsa.js";
|
|
107
|
+
export type { GetClaimAmountArgs as MerkleGetClaimAmountArgs } from "../merkle.js";
|
|
62
108
|
export type { MerkleClaimArgs } from "../merkle.js";
|
|
63
109
|
export { buildMerkleTree, leafOf, type BuildMerkleTreeArgs, type BuiltMerkleTree, type LeafOfArgs, type MerkleLeafInput, } from "../merkle-tree.js";
|
|
64
110
|
export type { FundInput } from "../factory.js";
|
|
65
111
|
export type { WriteAccountOverride } from "../airdrop-base.js";
|
|
66
|
-
export { buildMerkleCampaign, encryptCampaignAmounts, planMerkleCampaign, rotateMerkleRoot, validateCampaignRecipients, type BuildMerkleCampaignArgs, type EncryptCampaignAmountsArgs, type EncryptedCampaignLeaf, type PlanMerkleCampaignArgs, type PlannedCampaign, type RotatedCampaign, type RotateMerkleRootArgs, } from "../campaign.js";
|
|
112
|
+
export { buildMerkleCampaign, encryptCampaignAmounts, planMerkleCampaign, rotateMerkleRoot, validateCampaignRecipients, type BuildMerkleCampaignArgs, type CampaignSubmitterOption, type EncryptCampaignAmountsArgs, type EncryptedCampaignLeaf, type PlanMerkleCampaignArgs, type PlannedCampaign, type RotatedCampaign, type RotateMerkleRootArgs, } from "../campaign.js";
|
|
67
113
|
export { preflightClaim, preflightCreate, type ClaimPreflightTarget, type EcdsaClaimPreflightSignature, type PreflightClaimArgs, type PreflightCreateArgs, } from "../guards.js";
|
|
68
114
|
export type { PreflightResult } from "../../core/preflight.js";
|
|
69
115
|
export { grantInstanceRoles, planInstanceRoleSplit, type InstanceRoleAssignment, type RoleGrantOutcome, type RoleGrantStep, type RoleName, } from "../roles.js";
|
|
70
116
|
export { type DedupMode, type DeploymentMode } from "../constants.js";
|
|
71
117
|
export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ContractRevertError, PausedError, AccessDeniedError, OperatorNotApprovedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../../core/errors.js";
|
|
72
|
-
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UpgradeabilityNotAllowedError, type AirdropVariant, } from "../errors.js";
|
|
118
|
+
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UnauthorizedRedirectError, UpgradeabilityNotAllowedError, type AirdropVariant, } from "../errors.js";
|