API reference · 230 exports
Every public export, A–Z.
The escape hatch when you know the name. Filter by kind, search the description, click through to the detail page (hooks) or the concept (everything else). The full type signature ships in the published .d.ts; this page is the navigable index over it.
230
| Name | Kind | Subpath | Description |
|---|---|---|---|
| AccessDeniedError# | Error | @tokenops/sdk | Caller lacks the required RBAC role for the call. |
| AirdropId# | Type | @tokenops/sdk | Branded Hex for an airdrop clone. |
| AlreadyClaimedError# | Error | …/fhe-airdrop | EIP-712 signature already redeemed by this recipient. |
| BatchTooLargeError# | Error | @tokenops/sdk | Batch entries exceed the contract's on-chain cap. |
| ClaimArgs# | Type | …/fhe-vesting | Discriminated union by FeeType for useClaim. |
| ClaimLockedError# | Error | …/fhe-vesting | Cliff not reached or schedule paused. |
| ClaimNotStartedError# | Error | …/fhe-vesting | Schedule hasn't started — vesting.start is in the future. |
| ClaimWindowClosedError# | Error | …/fhe-airdrop | claim() outside [startTime, endTime]. |
| ContractRevertError# | Error | @tokenops/sdk | Wraps an on-chain revert the SDK couldn't decode further. |
| createConfidentialAirdropClient# | Client | …/fhe-airdrop | Per-airdrop client — fund, sign claim, claim, extend window. |
| createConfidentialAirdropFactoryAdvancedClient# | Client | …/fhe-airdrop/advanced | Predict airdrop clone addresses before deploying. |
| createConfidentialAirdropFactoryClient# | Client | …/fhe-airdrop | Factory client — deploy per-campaign airdrop clones. |
| createConfidentialDisperseClient# | Client | …/fhe-disperse | Singleton client — register, fund, disperse, preflight, recover. |
| createConfidentialVestingFactoryAdvancedClient# | Client | …/fhe-vesting/advanced | Predict manager clone addresses before deploying. |
| createConfidentialVestingFactoryClient# | Client | …/fhe-vesting | Factory client — deploy manager clones per user. |
| createConfidentialVestingManagerClient# | Client | …/fhe-vesting | Manager client — open vestings, claim, disclose, revoke. |
| createMockEncryptor# | Function | …/fhe | Local-only encryptor for Anvil + forge-fhevm tests. |
| createSepoliaEncryptor# | Function | …/fhe | Node-side encryptor wrapping the Zama relayer. |
| createSepoliaEncryptorWeb# | Function | …/fhe | Browser-side encryptor wrapping Zama RelayerWeb. |
| DecryptionFailedError# | Error | @tokenops/sdk | User-decrypt round-trip failed (relayer, KMS, ACL). |
| DEPLOYED_ADDRESSES# | Constant | @tokenops/sdk | Per-chain factory + singleton address registry. |
| DeploymentAddressUnavailableError# | Error | @tokenops/sdk | No DEPLOYED_ADDRESSES entry for (product, contract, chainId). |
| DisclosureType# | Type | …/fhe-vesting | Which view to disclose: vested / claimable / settled / total. |
| DisperseId# | Type | @tokenops/sdk | Branded Hex for a disperse subwallet. |
| DisperseSubwalletNotFoundError# | Error | …/fhe-disperse | useDisperse hit a recipient with no registered subwallet. |
| EncryptedHandle# | Type | @tokenops/sdk | Branded bytes32 for an FHE ciphertext handle. |
| EncryptedInput# | Type | …/fhe-vesting | Discriminated union of euint64 / euint128 client inputs. |
| EncryptedViewResult# | Type | …/fhe-vesting | { handle, hash } returned by encrypted-view mutations. |
| EncryptionFailedError# | Error | @tokenops/sdk | Encryptor refused or returned invalid ciphertext/proof. |
| Encryptor# | Type | …/fhe-vesting | Interface for the Zama relayer abstraction. |
| EncryptorSource# | Type | …/fhe-vesting | Eager Encryptor | () => Encryptor | undefined. |
| encryptUint64# | Function | …/fhe-vesting | Encrypt a single uint64 with the given encryptor source. |
| encryptUint64Batch# | Function | …/fhe-vesting | Encrypt N uint64 values in one batch input proof. |
| ERC7984_OPERATOR_MAX_DEADLINE# | Constant | …/fhe | Max far-future deadline for ERC-7984 operator approvals. |
| FeatureDisabledError# | Error | @tokenops/sdk | Feature disabled at clone-time (e.g. split on a non-split manager). |
| FeeType# | Type | …/fhe-vesting | Gas-side vs token-side fee discriminant. |
| FHE_SPLIT_DENOMINATOR# | Constant | …/fhe | 10^18 — bigint denominator for ratio scaling. |
| FheHandleNotAllowedError# | Error | @tokenops/sdk | Caller lacks ACL on the handle they tried to decrypt. |
| getFheAirdropFactoryAddress# | Function | @tokenops/sdk | DEPLOYED_ADDRESSES accessor for the airdrop factory. |
| getFheDisperseSingletonAddress# | Function | @tokenops/sdk | DEPLOYED_ADDRESSES accessor for the disperse singleton. |
| getFheVestingFactoryAddress# | Function | @tokenops/sdk | DEPLOYED_ADDRESSES accessor for the vesting factory. |
| InsufficientBalanceError# | Error | @tokenops/sdk | Encrypted source balance is below the requested amount. |
| InsufficientGasFundsError# | Error | @tokenops/sdk | Wallet ETH balance below estimated gas + buffer. |
| InvalidArgumentError# | Error | @tokenops/sdk | Argument shape rejected by an SDK validation boundary. |
| InvalidSignatureError# | Error | @tokenops/sdk | EIP-712 signature bytes are malformed (length, s-range). |
| mintMockERC7984# | Function | …/fhe | Test-only mint helper for the mock ERC-7984 token. |
| MissingEncryptorError# | Error | …/fhe | Hook requires an encryptor source but none was passed. |
| NetworkError# | Error | @tokenops/sdk | RPC/transport failure during read or write. |
| PausedError# | Error | @tokenops/sdk | Contract is paused; write-side calls revert until unpaused. |
| PreflightResult# | Type | …/fhe-disperse | { ok, gasEstimate } | { ok: false, reasons }. |
| resolveEncryptor# | Function | …/fhe-vesting | Eager-or-lazy encryptor resolution helper. |
| scaleRatio# | Function | …/fhe | Scale a fractional ratio to FHE_SPLIT_DENOMINATOR. |
| SdkTelemetry# | Type | …/telemetry | Adapter interface for the SDK's event surface. |
| setOperator# | Function | …/fhe | Approve an operator for an ERC-7984 confidential token. |
| share# | Function | …/fhe | Compute a numerator / denominator share for FHE splits. |
| signClaimAuthorization# | Function | …/fhe-airdrop | Admin signs EIP-712 Claim(recipient, encryptedAmountHandle). |
| TransferAlreadyPendingError# | Error | …/fhe-vesting | useInitiateVestingTransfer while a prior transfer is pending. |
| TransferExpiredError# | Error | …/fhe-vesting | useAcceptVestingTransfer after the offer expired. |
| UnsupportedChainError# | Error | …/fhe | Wallet chain does not match the SDK client's chain. |
| useAcceptVestingTransfer# | Hook | …/fhe-vesting/react | Accept an inbound vesting transfer (counterparty side). |
| useAccessEncryptedFeeReserve# | Hook | …/fhe-disperse/react | MUTATION — submits a transaction (costs gas). Mirrors the on-chain accessEncryptedFeeReserve(token) function: grants the caller persistent decrypt access to the encrypted token fee reserve as an euint64 handle. |
| useAdminBatchDiscloseToParty# | Hook | …/fhe-vesting/react | Admin variant of useBatchDiscloseToParty — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminClaim# | Hook | …/fhe-vesting/react | Admin variant of useClaim — caller must hold CLAIMER_ROLE. |
| useAdminDiscloseToParty# | Hook | …/fhe-vesting/react | Admin variant of useDiscloseToParty — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminGetClaimableAmount# | Hook | …/fhe-vesting/react | Admin variant of useGetClaimableAmount — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminGetSettledAmount# | Hook | …/fhe-vesting/react | Admin variant of useGetSettledAmount — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminGetTokenBalance# | Hook | …/fhe-vesting/react | Admin: read the manager clone's confidential ERC-7984 token balance as an euint64 handle. |
| useAdminGetTotalAllocation# | Hook | …/fhe-vesting/react | Admin variant of useGetTotalAllocation — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminGetVestedAmount# | Hook | …/fhe-vesting/react | Admin variant of useGetVestedAmount — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminPartialClaim# | Hook | …/fhe-vesting/react | Admin variant of usePartialClaim — caller must hold CLAIMER_ROLE. |
| useAirdropCanExtendClaimWindow# | Hook | …/fhe-airdrop/react | Read whether the admin can extend the claim window past endTime on this airdrop clone. |
| useAirdropClaimedSignatures# | Hook | …/fhe-airdrop/react | Check whether a pre-computed claim struct hash has been consumed on this airdrop clone. |
| useAirdropClaimTypehash# | Hook | …/fhe-airdrop/react | Read the EIP-712 type hash for Claim(address recipient, bytes32 encryptedAmount). |
| useAirdropDeploymentBlockNumber# | Hook | …/fhe-airdrop/react | Read the block number at which this airdrop clone was deployed. |
| useAirdropDomainSeparator# | Hook | …/fhe-airdrop/react | Read the EIP-712 domain separator for this airdrop clone. |
| useAirdropEndTime# | Hook | …/fhe-airdrop/react | Read the airdrop clone's endTime — the unix timestamp when claims close. |
| useAirdropGasFee# | Hook | …/fhe-airdrop/react | Read the airdrop clone's immutable per-claim gas fee (in wei). |
| useAirdropGrantRole# | Hook | …/fhe-airdrop/react | AccessControl: grant role to accountTarget on this airdrop clone. |
| useAirdropHasClaimEnded# | Hook | …/fhe-airdrop/react | Read whether the current chain timestamp is past endTime on this airdrop clone. |
| useAirdropHasClaimStarted# | Hook | …/fhe-airdrop/react | Read whether the current chain timestamp is past START_TIME on this airdrop clone. |
| useAirdropHasRole# | Hook | …/fhe-airdrop/react | Read AccessControl: is account a member of role on this airdrop clone? The role hashes are stable across deployments (DEFAULT_ADMIN_ROLE, FEE_COLLECTOR_ROLE, etc.). |
| useAirdropIsClaimWindowActive# | Hook | …/fhe-airdrop/react | Returns true between startTime and endTime per the on-chain config. |
| useAirdropIsPaused# | Hook | …/fhe-airdrop/react | Read whether claims are currently paused by the admin on this airdrop clone. |
| useAirdropIsSignatureClaimed# | Hook | …/fhe-airdrop/react | Has this admin signature already been redeemed? |
| useAirdropIsSignatureValid# | Hook | …/fhe-airdrop/react | Off-chain check of the signature shape before paying gas to submit it. |
| useAirdropRevokeRole# | Hook | …/fhe-airdrop/react | AccessControl: revoke role from accountTarget on this airdrop clone. |
| useAirdropStartTime# | Hook | …/fhe-airdrop/react | Read the airdrop clone's immutable START_TIME — the unix timestamp when claims become available. |
| useAirdropToken# | Hook | …/fhe-airdrop/react | Read the airdrop clone's immutable TOKEN. |
| useAirdropWithdrawGasFee# | Hook | …/fhe-airdrop/react | Fee collector: withdraw collected ETH gas fees from the airdrop clone. |
| useAllRecipients# | Hook | …/fhe-vesting/react | Every recipient currently registered on this manager. |
| useAllRecipientsLength# | Hook | …/fhe-vesting/react | Count of registered recipients (cheap pre-paging check). |
| useAllRecipientsSliced# | Hook | …/fhe-vesting/react | Read a [start, end) slice of the recipients set. |
| useApproveTokenOnWallets# | Hook | …/fhe-disperse/react | Approve the subwallets to transferFromConfidential for the listed tokens. |
| useBatchCreateVesting# | Hook | …/fhe-vesting/react | Batch variant of useCreateVesting — open N vestings in one tx with one batch input proof. |
| useBatchDiscloseHandlesToParty# | Hook | …/fhe-vesting/react | Batch ACL grant across many handles in one tx. |
| useBatchDiscloseHandlesToParty# | Hook | …/fhe-disperse/react | Batch ACL grant across many handles in one tx. |
| useBatchDiscloseToParty# | Hook | …/fhe-vesting/react | Batch variant of useDiscloseToParty. |
| useBatchRevokeVesting# | Hook | …/fhe-vesting/react | Batch variant of useRevokeVesting. |
| useCalculateFee# | Hook | …/fhe-disperse/react | Quote the on-chain fee config for a given disperse batch shape (count + mode). |
| useCancelVestingTransfer# | Hook | …/fhe-vesting/react | Cancel an outbound transfer before the counterparty accepts. |
| useClaim# | Hook | …/fhe-vesting/react | Recipient-side claim. For FeeType.Gas managers pass value (read it with useManagerFeeInfo); omit value for FeeType.DistributionToken. |
| useClaim# | Hook | …/fhe-airdrop/react | Claim tokens from an airdrop using an EIP-712 admin signature. |
| useConfidentialAirdropFactoryImplementation# | Hook | …/fhe-airdrop/react | Read the FHE-airdrop factory's current implementation() address — the LibClone target every new airdrop clone delegates to. |
| useConfidentialVestingFactoryImplementation# | Hook | …/fhe-vesting/react | Read the FHE-vesting factory's current implementation() address — the LibClone target every new manager clone delegates to. |
| useCreateAndFundConfidentialAirdrop# | Hook | …/fhe-airdrop/react | Single-flow helper: deploy + fund in one bundle. |
| useCreateAndFundConfidentialAirdropAndGetAddress# | Hook | …/fhe-airdrop/react | Same as useCreateAndFundConfidentialAirdrop but returns the clone address. |
| useCreateConfidentialAirdrop# | Hook | …/fhe-airdrop/react | Deploy an airdrop clone for a token + admin + claim window. |
| useCreateConfidentialAirdropAndGetAddress# | Hook | …/fhe-airdrop/react | Deploy an airdrop + wait for receipt + return the clone address. |
| useCreateManager# | Hook | …/fhe-vesting/react | Deploy a per-user vesting manager clone via the factory. |
| useCreateManagerAndGetAddress# | Hook | …/fhe-vesting/react | Deploy a manager and wait for the receipt — returns the deterministic clone address. |
| useCreateVesting# | Hook | …/fhe-vesting/react | Open a new vesting schedule on a manager — encrypts the amount client-side, submits the tx. |
| useDecryptedHandle# | Hook | …/fhe/react | Subscribe to a single encrypted handle and reactively decrypt via the connected wallet. |
| useDeploymentBlockNumber# | Hook | …/fhe-disperse/react | Read the block number at which the singleton was deployed — useful as the fromBlock argument to getLogs when subscribing to events. |
| useDirectVestingTransfer# | Hook | …/fhe-vesting/react | Admin-driven transfer — moves a vesting without the recipient's signature. |
| useDisableCustomFee# | Hook | …/fhe-vesting/react | Admin: disable the per-creator fee override for creator. |
| useDisableCustomFee# | Hook | …/fhe-airdrop/react | Admin: remove a per-creator fee override, reverting to defaultGasFee. |
| useDisableCustomFee# | Hook | …/fhe-disperse/react | Admin: remove a per-user fee override, falling back to the global defaults. |
| useDiscloseHandleToParty# | Hook | …/fhe-vesting/react | Grant ACL on a single ciphertext handle to a third party (e.g. an auditor). |
| useDiscloseHandleToParty# | Hook | …/fhe-disperse/react | Grant ACL on a single ciphertext handle to a third party (e.g. an auditor). |
| useDiscloseToParty# | Hook | …/fhe-vesting/react | Grant ACL on a full vesting (allocation + settled + claimable) to a third party. |
| useDisperse# | Hook | …/fhe-disperse/react | Multi-recipient confidential transfer in one tx — batch-encrypts amounts + per-recipient ACL. |
| useExtendClaimWindow# | Hook | …/fhe-airdrop/react | Admin extends the claim deadline. |
| useFactoryCustomFee# | Hook | …/fhe-vesting/react | Read the per-creator fee override set on the factory for creator. |
| useFactoryCustomFee# | Hook | …/fhe-airdrop/react | Read the per-creator fee override set on the factory for creator. |
| useFactoryDefaultFeeType# | Hook | …/fhe-vesting/react | Read the factory-wide default fee model (FeeType.Gas or FeeType.DistributionToken) applied to newly-created manager clones. |
| useFactoryDefaultGasFee# | Hook | …/fhe-vesting/react | Read the factory-wide default gas fee (in wei) — applied to new FeeType.Gas manager clones at deployment. |
| useFactoryDefaultGasFee# | Hook | …/fhe-airdrop/react | Read the factory-wide default per-claim gas fee (in wei) — applied to new airdrop clones at deployment when the creator has no custom override. |
| useFactoryDefaultTokenFee# | Hook | …/fhe-vesting/react | Read the factory-wide default token fee in basis points — applied to new FeeType.DistributionToken manager clones at deployment. |
| useFactoryFeeCollector# | Hook | …/fhe-vesting/react | Read the factory's current fee collector address. |
| useFactoryFeeCollector# | Hook | …/fhe-airdrop/react | Read the factory's current fee collector address — the account authorized to call withdrawGasFee on each deployed airdrop clone. |
| useFactoryInitCodeHash# | Hook | …/fhe-vesting/react | Read the init-code hash the factory would use to CREATE2 a manager clone with the given token + deployer (+ optional immutable flags). |
| useFactoryInitCodeHash# | Hook | …/fhe-airdrop/react | Read the init-code hash the factory would use to CREATE2 an airdrop clone with the given params + gasFee. |
| useFundConfidentialAirdrop# | Hook | …/fhe-airdrop/react | Encrypt the funding amount and transferFromConfidential into the clone. |
| useGetBatchLimits# | Hook | …/fhe-disperse/react | Read the maximum batch size for each of the three disperse modes ("wallet", "direct", "wallet-token-fee"). |
| useGetClaimableAmount# | Hook | …/fhe-vesting/react | Encrypted-view read: min(vested, balance) - settled. Pair with useDecryptedHandle. |
| useGetClaimAmount# | Hook | …/fhe-airdrop/react | Submits a transaction (costs gas) to grant the caller decrypt access to the claim amount as an euint64 handle. The handle is granted persistent ACL on-chain via FHE.allow(handle, msg.sender); the SDK extracts it from the receipt's ACL.Allowed event (NOT from simulation — that returns a divergent, ACL-less handle; see CLAUDE.md Pitfall #1). |
| useGetEncryptedFeeReserve# | Hook | …/fhe-disperse/react | MUTATION — submits a transaction (costs gas). Mirrors the on-chain accessEncryptedFeeReserve(token) function: grants the caller persistent decrypt access to the encrypted token fee reserve as an euint64 handle. |
| useGetFeeConfig# | Hook | …/fhe-disperse/react | Read the singleton's { gasFeeEnabled, tokenFeeEnabled, defaultGasFee, defaultTokenFee } fee config. |
| useGetFees# | Hook | …/fhe-disperse/react | Read consolidated fee information for user — combines per-user resolved fees (getFeeAmounts) with the global feeConfig toggles in one read. |
| useGetSettledAmount# | Hook | …/fhe-vesting/react | Encrypted-view read: running settled total. Pair with useDecryptedHandle. |
| useGetTotalAllocation# | Hook | …/fhe-vesting/react | Encrypted-view read: original allocation. Pair with useDecryptedHandle. |
| useGetVestedAmount# | Hook | …/fhe-vesting/react | Encrypted-view read: time-unlocked total. Pair with useDecryptedHandle. |
| useGetWallets# | Hook | …/fhe-disperse/react | Read the deployer's two registered subwallet addresses. |
| useGrantRole# | Hook | …/fhe-vesting/react | AccessControl: grant role to accountTarget. |
| useGrantRole# | Hook | …/fhe-disperse/react | AccessControl: grant role to accountTarget on the singleton. |
| useHasApprovedSubwallets# | Hook | …/fhe-disperse/react | Check whether a user's registered subwallets have approved the singleton as an ERC-7984 operator for token. |
| useHasRole# | Hook | …/fhe-vesting/react | Read AccessControl: is account a member of role on this manager? The role hashes are stable across deployments — see useRoleConstants if you need to look them up dynamically. |
| useHasRole# | Hook | …/fhe-disperse/react | Read AccessControl: is account a member of role on the singleton? All five role constants (DEFAULT_ADMIN_ROLE, FEE_MANAGER_ROLE, FEE_COLLECTOR_ROLE, PAUSER_ROLE, WITHDRAWER_ROLE) are exported from @tokenops/sdk/fhe-disperse/react. |
| useInitiateVestingTransfer# | Hook | …/fhe-vesting/react | Recipient initiates a two-step transfer of a vesting position to another recipient. |
| useIsPaused# | Hook | …/fhe-disperse/react | Read the singleton's paused flag. |
| useIsRecipient# | Hook | …/fhe-vesting/react | Read whether account is currently a recipient on this manager clone. |
| useIsRegistered# | Hook | …/fhe-disperse/react | Has this deployer already called register? |
| useManagerDeploymentBlockNumber# | Hook | …/fhe-vesting/react | Read the manager clone's immutable DEPLOYMENT_BLOCK_NUMBER — the block at which the factory deployed this clone via LibClone. |
| useManagerFee# | Hook | …/fhe-vesting/react | Read the manager clone's immutable FEE (in wei for FeeType.Gas, in basis points for FeeType.DistributionToken). |
| useManagerFeeInfo# | Hook | …/fhe-vesting/react | Resolves { feeType, fee } — caller passes the right branch to useClaim. |
| useManagerFeeType# | Hook | …/fhe-vesting/react | Read the manager clone's immutable FEE_TYPE (FeeType.Gas or FeeType.DistributionToken). |
| useManagerIsPausable# | Hook | …/fhe-vesting/react | Read whether the manager clone has pause/unpause enabled (immutable). |
| useManagerIsSplitEnabled# | Hook | …/fhe-vesting/react | Read whether the manager clone has split-vesting enabled (immutable). |
| useManagerMaxBatchSize# | Hook | …/fhe-vesting/react | Read the manager clone's maxBatchSize — upper bound for batchCreateVesting. |
| useManagerMaxRevokeBatchSize# | Hook | …/fhe-vesting/react | Read the manager clone's maxRevokeBatchSize — upper bound for batchRevokeVesting. |
| useManagerPaused# | Hook | …/fhe-vesting/react | Read whether the manager clone is currently paused. |
| useManagerToken# | Hook | …/fhe-vesting/react | The manager clone's immutable underlying token address. |
| usePartialClaim# | Hook | …/fhe-vesting/react | Claim less than the unlocked amount — leaves the remainder encrypted on the clone. |
| usePause# | Hook | …/fhe-vesting/react | Pauser: pause the manager clone — blocks claim, partialClaim, createVesting, etc. |
| usePause# | Hook | …/fhe-disperse/react | Admin: pause all disperse operations on the singleton. |
| usePendingVestingTransfer# | Hook | …/fhe-vesting/react | Read the pending transfer (if any) on a vesting — returns { newRecipient, initiatedAt, expiresAt }. |
| usePredictAirdropAddress# | Hook | …/fhe-airdrop/advanced/react | CREATE2 the airdrop clone address before deploying. |
| usePredictManagerAddress# | Hook | …/fhe-vesting/advanced/react | CREATE2 the manager clone address before deploying — pre-flight UI flows. |
| usePredictWallets# | Hook | …/fhe-disperse/react | Compute the deterministic subwallet addresses for a deployer without registering. |
| usePreflightDisperse# | Hook | …/fhe-disperse/react | Dry-run validator — checks operator + balance + paused state before broadcasting. |
| useRecipientVestings# | Hook | …/fhe-vesting/react | Read all vesting IDs owned by recipient. |
| useRecipientVestingsLength# | Hook | …/fhe-vesting/react | Read the number of vesting schedules owned by recipient. |
| useRecipientVestingsSliced# | Hook | …/fhe-vesting/react | Read a [start, end) slice of recipient's vesting IDs. |
| useRecoverERC20FromWallets# | Hook | …/fhe-disperse/react | Recover ERC-20 tokens accidentally sent to the caller's registered wallets. |
| useRecoverFromWallets# | Hook | …/fhe-disperse/react | Recover residual confidential ERC-7984 tokens from the caller's registered wallets to to. |
| useRegister# | Hook | …/fhe-disperse/react | First-time setup for a deployer — singleton creates the two ERC-1167 subwallets. |
| useRenounceRole# | Hook | …/fhe-vesting/react | AccessControl: renounce role from msg.sender. |
| useRescueConfidentialTokens# | Hook | …/fhe-disperse/react | Sweep stranded confidential tokens out of a subwallet (admin-only). |
| useRescueERC20# | Hook | …/fhe-disperse/react | Sweep stranded plain ERC-20 tokens (e.g. someone sent the wrong token). |
| useResetGasFee# | Hook | …/fhe-vesting/react | Admin: reset the factory's default gas fee to its bytecode-encoded baseline. |
| useResetTokenFee# | Hook | …/fhe-vesting/react | Admin: reset the factory's default token fee to its bytecode-encoded baseline. |
| useRevokeRole# | Hook | …/fhe-vesting/react | AccessControl: revoke role from accountTarget. |
| useRevokeRole# | Hook | …/fhe-disperse/react | AccessControl: revoke role from accountTarget on the singleton. |
| useRevokeTokenOnWallets# | Hook | …/fhe-disperse/react | Revoke operator approval on the subwallets (rollback). |
| useRevokeVesting# | Hook | …/fhe-vesting/react | Admin revocation — clears the schedule (revocable variants only) and returns funds. |
| useRoleConstants# | Hook | …/fhe-vesting/react | Read all eight AccessControl role hashes off the manager in one fan-out. |
| UserRejectedSignatureError# | Error | @tokenops/sdk | User rejected the wallet signature prompt. |
| useSetCustomFee# | Hook | …/fhe-vesting/react | Admin: install a per-creator fee override on the factory. |
| useSetCustomFee# | Hook | …/fhe-airdrop/react | Admin: install a per-creator gas-fee override on the factory. |
| useSetCustomFee# | Hook | …/fhe-disperse/react | Admin: install a per-user fee override (gas fee in wei, token fee in BPS). |
| useSetDefaultFeeType# | Hook | …/fhe-vesting/react | Admin: set the factory's default fee model (FeeType.Gas or FeeType.DistributionToken) for new manager clones. |
| useSetDefaultGasFee# | Hook | …/fhe-vesting/react | Admin: set the factory-wide default gas fee (in wei). |
| useSetDefaultGasFee# | Hook | …/fhe-airdrop/react | Admin: change the factory-wide default per-claim gas fee. |
| useSetDefaultTokenFee# | Hook | …/fhe-vesting/react | Admin: set the factory-wide default token fee (basis points). |
| useSetFeeCollector# | Hook | …/fhe-vesting/react | Admin: set the factory's fee collector address. |
| useSetFeeCollector# | Hook | …/fhe-airdrop/react | Admin: change the factory's fee collector address. |
| useSetFeeConfig# | Hook | …/fhe-disperse/react | Admin: update the global fee configuration — enable/disable gas and token fees, set the defaults. |
| useSetMaxBatchSize# | Hook | …/fhe-vesting/react | Admin: bump or lower maxBatchSize (cap for useBatchCreateVesting). |
| useSetMaxBatchSizeDirect# | Hook | …/fhe-disperse/react | Admin: set the maximum batch size for "direct" mode disperses. |
| useSetMaxBatchSizeHolding# | Hook | …/fhe-disperse/react | Admin: set the maximum batch size for "wallet" mode disperses. |
| useSetMaxBatchSizeTokenFee# | Hook | …/fhe-disperse/react | Admin: set the maximum batch size for "wallet-token-fee" mode disperses. |
| useSetMaxRevokeBatchSize# | Hook | …/fhe-vesting/react | Admin: bump or lower maxRevokeBatchSize (cap for useBatchRevokeVesting). |
| useSetPaused# | Hook | …/fhe-airdrop/react | Admin: pause or unpause claims on this airdrop clone. |
| useSignClaimAuthorization# | Hook | …/fhe-airdrop/react | Admin signs the off-chain EIP-712 Claim(recipient, encryptedAmountHandle) message. |
| useSplitVesting# | Hook | …/fhe-vesting/react | Split one vesting into two with custom proportions; both stay encrypted. |
| useTransferFeeCollectorRole# | Hook | …/fhe-vesting/react | Transfer the FEE_COLLECTOR_ROLE to newCollector. |
| useUnpause# | Hook | …/fhe-vesting/react | Pauser: unpause the manager clone. |
| useUnpause# | Hook | …/fhe-disperse/react | Admin: unpause the singleton. |
| useVestingInfo# | Hook | …/fhe-vesting/react | Plaintext schedule shape (start / end / cliff / interval) + encrypted-handle metadata. |
| useWalletImplementation# | Hook | …/fhe-disperse/react | Read the WALLET_IMPLEMENTATION address — the singleton clones this deterministically (Clones.cloneDeterministic) for each registered user to derive their wallet pair. |
| useWithdraw# | Hook | …/fhe-airdrop/react | Admin: withdraw all confidential tokens from the airdrop to recipient. |
| useWithdrawAdmin# | Hook | …/fhe-vesting/react | Admin: withdraw an encrypted amount of the manager's distribution token to msg.sender. |
| useWithdrawGasFee# | Hook | …/fhe-vesting/react | Fee collector: withdraw collected gas-fee ETH (FeeType.Gas managers). |
| useWithdrawGasFee# | Hook | …/fhe-disperse/react | Fee-collector: withdraw amount wei of accumulated ETH gas fees from the singleton to to. |
| useWithdrawOtherConfidentialToken# | Hook | …/fhe-vesting/react | Admin: rescue an ERC-7984 (confidential) token other than this manager's configured token. |
| useWithdrawOtherConfidentialToken# | Hook | …/fhe-airdrop/react | Admin: rescue accidentally sent ERC-7984 confidential tokens (other than this airdrop's configured TOKEN). |
| useWithdrawOtherToken# | Hook | …/fhe-vesting/react | Admin: rescue an ERC-20 (non-confidential) other than this manager's configured token. |
| useWithdrawOtherToken# | Hook | …/fhe-airdrop/react | Admin: rescue accidentally sent ERC-20 (non-confidential) tokens. |
| useWithdrawTokenFee# | Hook | …/fhe-vesting/react | Fee collector: withdraw collected distribution-token fees (FeeType.DistributionToken managers). |
| useWithdrawTokenFee# | Hook | …/fhe-disperse/react | Fee-collector: withdraw accumulated encrypted token fees. |
| VestingExpiredError# | Error | …/fhe-vesting | Schedule passed its end timestamp; nothing left to claim. |
| VestingId# | Type | @tokenops/sdk | Branded Hex for a vesting position. |
| VestingInfo# | Type | …/fhe-vesting | Plaintext schedule shape + encrypted-handle metadata. |
| VestingNotFoundError# | Error | …/fhe-vesting | vestingId not registered on the manager. |
| VestingNotRevocableError# | Error | …/fhe-vesting | useRevokeVesting on a vesting created with isRevocable=false. |
| VestingParams# | Type | …/fhe-vesting | Constructor args for createVesting. |
| VestingRevokedError# | Error | …/fhe-vesting | Operator revoked this vesting — claims return revoked state. |
| WalletChainMismatchError# | Error | @tokenops/sdk | Wallet chain differs from the SDK client's chain. |
| WalletRejectedError# | Error | @tokenops/sdk | User rejected the tx prompt at the wallet. |
| withTelemetry# | Function | …/telemetry | Wrap an SDK client with an SdkTelemetry adapter. |