v2.0.0-rc.1 release candidate
The API is frozen and later candidates carry fixes only, except the receipt-free and Safe create surface of /fhe-airdrop, which is @beta. Published on the next dist-tag; latest stays on 1.6.0 until 2.0.0.API reference · v2.0.0-rc.1 · 547 exports
Every public export, A-Z.
The escape hatch when you know the name, across every 2.0 subpath. Filter by kind, search the description, click through to the hook detail page - every other kind renders unlinked. The full type signature ships in the published .d.ts; this page is the navigable index over it.
547
| Name | Kind | Subpath | Description |
|---|---|---|---|
| AccessDeniedError# | Error | @tokenops/sdk/. | OpenZeppelin AccessControl rejected the caller. |
| AclNotPropagatedError# | Error | @tokenops/sdk/. | The relayer refused a decryption because the gateway has not yet observed an ACL change that is already effective on-chain: a delegation added with addDelegate, or an FHE.allow grant mined moments ago. |
| AIRDROP_CONTRACTS_COMMIT# | Constant | @tokenops/sdk/fhe-airdrop | Contract commit every vendored ABI in this module resolves against. |
| AirdropBaseClient# | Client | @tokenops/sdk/fhe-airdrop | The surface every airdrop v2 instance shares, regardless of how it authorises a claim. |
| AirdropBaseClientConfig# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| airdropFactoryAbi# | Constant | @tokenops/sdk/fhe-airdrop | Constant export from @tokenops/sdk/fhe-airdrop. |
| AirdropRegistry# | Type | @tokenops/sdk/fhe-airdrop | The slice of ConfidentialAirdropFactoryClient the genuineness check reads. |
| AirdropVariant# | Type | @tokenops/sdk/fhe-airdrop | The two campaign variants, as used to label a prediction guard's context. |
| AirdropVariantParams# | Type | @tokenops/sdk/fhe-airdrop | A variant tag paired with that variant's params, so the two cannot be mismatched. |
| AlreadyClaimedError# | Error | @tokenops/sdk/fhe-airdrop | A claim was already settled for this replay-protection dimension. |
| AlreadyInitializedError# | Error | @tokenops/sdk/. | Contract has already been initialized — initialize() may only run once. |
| AlreadyRegisteredError# | Error | @tokenops/sdk/fhe-disperse | The user has already registered — register(token) is single-use per user. |
| assertPredictionFresh# | Function | @tokenops/sdk/fhe-airdrop/advanced | Judge the two init-code-hash observations a prediction-consuming flow takes on either side of its work. |
| AssertPredictionFreshArgs# | Type | @tokenops/sdk/fhe-airdrop/advanced | Inputs for assertPredictionFresh. |
| assertSaltAvailable# | Function | @tokenops/sdk/fhe-airdrop/advanced | Refuse a create whose predicted address is already occupied. |
| AssertSaltAvailableArgs# | Type | @tokenops/sdk/fhe-airdrop/advanced | Inputs for assertSaltAvailable. |
| assertTestnetFaucetChain# | Function | @tokenops/sdk/testnet-faucet | Hard testnet-only guard. |
| BatchCreateVestingArgs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| BatchDiscloseHandlesArgs# | Type | @tokenops/sdk/fhe-disperse | Arguments for batchDiscloseHandlesToParty(). |
| BatchDiscloseToPartyResult# | Type | @tokenops/sdk/fhe-vesting | Result of ConfidentialVestingManagerClient.batchDiscloseToParty / ConfidentialVestingManagerClient.adminBatchDiscloseToParty. |
| BatchLimits# | Type | @tokenops/sdk/fhe-disperse | Batch size limits. |
| BatchTooLargeError# | Error | @tokenops/sdk/. | Batch size exceeds the contract's configured maximum. |
| buildMerkleCampaign# | Function | @tokenops/sdk/fhe-airdrop | Encrypt every recipient's cumulative total, then build the tree those ciphertexts belong to. |
| BuildMerkleCampaignArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for buildMerkleCampaign. |
| buildMerkleTree# | Function | @tokenops/sdk/fhe-airdrop | Build the Merkle tree a MerkleConfidentialAirdrop verifies against, from handles produced anywhere. |
| BuildMerkleTreeArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for buildMerkleTree. |
| BuiltCampaign# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| BuiltMerkleTree# | Type | @tokenops/sdk/fhe-airdrop | A built tree: the root to publish, and every input leaf with its proof attached. |
| CalculatedFee# | Type | @tokenops/sdk/fhe-disperse | Calculated fee for a specific disperse call. |
| CalculateFeeArgs# | Type | @tokenops/sdk/fhe-disperse | Arguments for calculateFee(). |
| CampaignEntry# | Type | @tokenops/sdk/fhe-airdrop | One recipient's encrypted, proof-bearing claim input - everything merkle.claim needs. |
| CampaignRecipient# | Type | @tokenops/sdk/fhe-airdrop | One recipient's committed allocation, keyed for CampaignEntry.merkleProof construction. |
| CLAIM_TYPEHASH# | Constant | @tokenops/sdk/fhe-airdrop | CLAIM_TYPEHASH, computed client-side from CLAIM_TYPES exactly as Solidity computes its bytes32 public constant CLAIM_TYPEHASH. |
| CLAIM_TYPES# | Constant | @tokenops/sdk/fhe-airdrop | The Claim struct's EIP-712 type declaration, field-for-field in the contract's declared order. |
| ClaimArgs# | Type | @tokenops/sdk/fhe-vesting | Arguments for ConfidentialVestingManagerClient.claim and ConfidentialVestingManagerClient.adminClaim, discriminated by feeType (read via getFeeInfo()). |
| ClaimLockedError# | Error | @tokenops/sdk/fhe-vesting | Vesting has a timelock and the current block timestamp has not yet reached it. |
| ClaimNotStartedError# | Error | @tokenops/sdk/fhe-airdrop | Claim reverted with ClaimNotStarted: block.timestamp is still before the instance's startTime. |
| ClaimPreflightTarget# | Type | @tokenops/sdk/fhe-airdrop | The subset of an instance client preflightClaim reads. |
| ClaimWindowClosedError# | Error | @tokenops/sdk/fhe-airdrop | Claim reverted with ClaimWindowFinished: block.timestamp is past the instance's endTime (end is inclusive on-chain). |
| ClawbackRequiresPauseError# | Error | @tokenops/sdk/fhe-airdrop | withdrawConfidential reverted with ClawbackRequiresPause: the campaign is unpaused and still inside its claim window, so the clawback is refused. |
| CommonAirdropParams# | Type | @tokenops/sdk/fhe-airdrop | Create-time fields shared by both variants. |
| ComplianceManagerClient# | Client | @tokenops/sdk/fhe-airdrop | Client for one ComplianceRoleManager clone — the per-airdrop-instance contract that holds account-level user-decryption delegations, so a compliance team or platform operator can decrypt an airdrop's handles without the airdrop contract ... |
| ComplianceManagerClientConfig# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| CompliancePolicy# | Type | @tokenops/sdk/fhe-airdrop | The on-chain CompliancePolicy struct returned by getCompliancePolicy. |
| complianceRoleManagerAbi# | Constant | @tokenops/sdk/fhe-airdrop | Constant export from @tokenops/sdk/fhe-airdrop. |
| computeSubtotals# | Function | @tokenops/sdk/fhe-disperse | Function export from @tokenops/sdk/fhe-disperse. |
| confidentialAirdropBaseAbi# | Constant | @tokenops/sdk/fhe-airdrop | Constant export from @tokenops/sdk/fhe-airdrop. |
| ConfidentialAirdropFactoryClient# | Client | @tokenops/sdk/fhe-airdrop | Typed wrapper around the deployed airdrop v2 AirdropFactory. |
| ConfidentialAirdropFactoryClientConfig# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| ConfidentialDisperseClient# | Client | @tokenops/sdk/fhe-disperse | Typed SDK wrapper for the deployed DisperseConfidential singleton. |
| ConfidentialDisperseClientConfig# | Type | @tokenops/sdk/fhe-disperse | Type export from @tokenops/sdk/fhe-disperse. |
| confidentialTokenopsTestTokenAbi# | Constant | @tokenops/sdk/testnet-faucet | Constant export from @tokenops/sdk/testnet-faucet. |
| confidentialVestingFactoryAbi# | Constant | @tokenops/sdk/fhe-vesting | Constant export from @tokenops/sdk/fhe-vesting. |
| ConfidentialVestingFactoryAdvancedClient# | Client | @tokenops/sdk/fhe-vesting/advanced | Advanced extension of ConfidentialVestingFactoryClient that re-exposes the CREATE2 address prediction read. |
| ConfidentialVestingFactoryClient# | Client | @tokenops/sdk/fhe-vesting | Typed wrapper around the deployed ConfidentialVestingFactory. |
| ConfidentialVestingFactoryClientConfig# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| confidentialVestingManagerAbi# | Constant | @tokenops/sdk/fhe-vesting | Constant export from @tokenops/sdk/fhe-vesting. |
| ConfidentialVestingManagerClient# | Client | @tokenops/sdk/fhe-vesting | Typed wrapper around a deployed ConfidentialVestingManager clone. |
| ConfidentialVestingManagerClientConfig# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| ConsoleTelemetry# | Constant | @tokenops/sdk/telemetry | Console-backed SdkTelemetry adapter. |
| ContractRevertError# | Error | @tokenops/sdk/. | Generic wrapper for any on-chain revert the SDK decodes but does not have a more specific typed subclass for. |
| CreateAirdropArgs# | Type | @tokenops/sdk/fhe-airdrop | Arguments shared by both factory.createEcdsaAirdrop / createMerkleAirdrop entrypoints. |
| createAirdropBaseClient# | Client | @tokenops/sdk/fhe-airdrop | Create an AirdropBaseClient. |
| CreateAirdropResult# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| CreateCommitmentMismatchError# | Error | @tokenops/sdk/fhe-airdrop | A create reverted because one of its CreateCommitments no longer matches what the factory would deploy: the airdrop implementation, the compliance-manager implementation or the creator's resolved platform delegate moved between quote and... |
| CreateCommitments# | Type | @tokenops/sdk/fhe-airdrop | The three values a create commits to. |
| createComplianceManagerClient# | Client | @tokenops/sdk/fhe-airdrop | Create a ComplianceManagerClient. |
| createConfidentialAirdropFactoryClient# | Client | @tokenops/sdk/fhe-airdrop | Create a ConfidentialAirdropFactoryClient. |
| createConfidentialDisperseClient# | Client | @tokenops/sdk/fhe-disperse | Create a ConfidentialDisperseClient. |
| createConfidentialVestingFactoryAdvancedClient# | Client | @tokenops/sdk/fhe-vesting/advanced | Create a ConfidentialVestingFactoryAdvancedClient. |
| createConfidentialVestingFactoryClient# | Client | @tokenops/sdk/fhe-vesting | Create a ConfidentialVestingFactoryClient. |
| createConfidentialVestingManagerClient# | Client | @tokenops/sdk/fhe-vesting | Create a ConfidentialVestingManagerClient. |
| createEcdsaAirdropClient# | Client | @tokenops/sdk/fhe-airdrop | Create an EcdsaAirdropClient. |
| CreateManagerArgs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| CreateManagerResult# | Type | @tokenops/sdk/fhe-vesting | Rich-return shape from ConfidentialVestingFactoryClient.createManager. |
| CreateMerkleAirdropArgs# | Type | @tokenops/sdk/fhe-airdrop | Create arguments for the Merkle variant: the shared shape plus the plan a create may realise. |
| createMerkleAirdropClient# | Client | @tokenops/sdk/fhe-airdrop | Create a MerkleAirdropClient. |
| createSepoliaEncryptorWeb# | Function | @tokenops/sdk/fhe/web | Construct an SDK-shaped Encryptor backed by a ZamaSDK with the web() relayer transport against the public Sepolia (or mainnet) relayer. |
| CreateSepoliaEncryptorWebOpts# | Type | @tokenops/sdk/fhe/web | Configuration for createSepoliaEncryptorWeb. |
| createTestnetFaucetClient# | Client | @tokenops/sdk/testnet-faucet | Create a TestnetFaucetClient. |
| CreateVestingArgs# | Type | @tokenops/sdk/fhe-vesting | Discriminated union: provide EITHER an encryptor (the SDK encrypts the plaintext amount) OR a pre-built encryptedInput. |
| CreateVestingPreflightReport# | Type | @tokenops/sdk/fhe-vesting | Report returned by ConfidentialVestingManagerClient.preflightCreateVesting. |
| CustomFee# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| DecryptionFailedError# | Error | @tokenops/sdk/. | Decryption flow (user-decrypt, public-decrypt) failed. |
| DEDUP_MODE# | Constant | @tokenops/sdk/fhe-airdrop | Replay-protection policy for ECDSA campaigns. |
| DedupIdConsumedError# | Error | @tokenops/sdk/fhe-airdrop | ECDSA claim reverted with DedupIdAlreadyClaimed: this dedupId's slot was already consumed under PerDedupId/Both. |
| DedupMode# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| DEFAULT_GAS_HEADROOM_PERCENT# | Constant | @tokenops/sdk/fhe | Default headroom, in percent, added on top of eth_estimateGas for every SDK write. |
| DEPLOYMENT_MODE# | Constant | @tokenops/sdk/fhe-airdrop | Deployment shell selected at create time. |
| DeploymentAddressUnavailableError# | Error | @tokenops/sdk/. | Thrown when the SDK cannot resolve a deployed contract address for the caller's chain. |
| DeploymentAddressUnavailableReason# | Type | @tokenops/sdk/. | Type export from @tokenops/sdk/.. |
| DeploymentMode# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| DiscloseArgs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| DiscloseHandleArgs# | Type | @tokenops/sdk/fhe-disperse | Arguments for discloseHandleToParty(). |
| DiscloseToPartyResult# | Type | @tokenops/sdk/fhe-vesting | Result of ConfidentialVestingManagerClient.discloseToParty / ConfidentialVestingManagerClient.adminDiscloseToParty. |
| DisclosureResult# | Type | @tokenops/sdk/fhe-disperse | Result of discloseHandleToParty() / batchDiscloseHandlesToParty(). |
| DisclosureType# | Constant | @tokenops/sdk/fhe-vesting | Selector for discloseToParty / adminDiscloseToParty. |
| DisperseArgs# | Type | @tokenops/sdk/fhe-disperse | Arguments for disperse(). |
| disperseConfidentialAbi# | Constant | @tokenops/sdk/fhe-disperse | Constant export from @tokenops/sdk/fhe-disperse. |
| DisperseDistribution# | Type | @tokenops/sdk/fhe-disperse | Per-wallet (wallet modes) or single (direct mode) distribution row, parsed from a WalletDistribution / DirectDistribution event in the disperse receipt. |
| DisperseEncryptedReserveNotGrantedError# | Error | @tokenops/sdk/fhe-disperse | Thrown by getEncryptedFeeReserve() when no ACL Allowed event granting the caller access to the fee reserve handle is found in the receipt. |
| DisperseMode# | Type | @tokenops/sdk/fhe-disperse | Disperse mode. |
| DisperseResult# | Type | @tokenops/sdk/fhe-disperse | Result of disperse(). |
| DisperseSubwalletNotFoundError# | Error | @tokenops/sdk/fhe-disperse | Thrown by register() when no UserRegistered event matching the singleton address is found in the transaction receipt. |
| disperseWalletAbi# | Constant | @tokenops/sdk/fhe-disperse | Constant export from @tokenops/sdk/fhe-disperse. |
| EcdsaAirdropClient# | Client | @tokenops/sdk/fhe-airdrop | Client for one ECDSAConfidentialAirdrop instance — the variant whose claims are authorised by an off-chain EIP-712 signature from a SIGNER_ROLE holder, rather than a Merkle proof. |
| EcdsaAirdropClientConfig# | Type | @tokenops/sdk/fhe-airdrop | The instance's replay policy is not configured here; read it from the chain with EcdsaAirdropClient.readDedupMode. |
| EcdsaAirdropParams# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| EcdsaClaimArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs shared by EcdsaAirdropClient.claim and EcdsaAirdropClient.claimAndUnwrap. |
| EcdsaClaimPreflightSignature# | Type | @tokenops/sdk/fhe-airdrop | The signature material preflightClaim needs to check an ECDSA claim. |
| ecdsaConfidentialAirdropAbi# | Constant | @tokenops/sdk/fhe-airdrop | Constant export from @tokenops/sdk/fhe-airdrop. |
| EcdsaGetClaimAmountArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for EcdsaAirdropClient.getClaimAmount. |
| EIP712_DOMAIN_NAME# | Constant | @tokenops/sdk/fhe-airdrop | EIP-712 domain name every ECDSAConfidentialAirdrop instance shares. |
| EIP712_DOMAIN_VERSION# | Constant | @tokenops/sdk/fhe-airdrop | EIP-712 domain version every ECDSAConfidentialAirdrop instance shares. |
| Eip712Domain# | Type | @tokenops/sdk/fhe-airdrop | The ERC-5267 eip712Domain() tuple, as named fields. |
| encodeInstanceRoleSplit# | Function | @tokenops/sdk/fhe-airdrop | Encode a planInstanceRoleSplit plan as the ordered calls a Safe executes in one MultiSend batch - the multisig counterpart of grantInstanceRoles. |
| encryptCampaignAmounts# | Function | @tokenops/sdk/fhe-airdrop | Encrypt a plaintext roster into per-recipient handles, without building a tree. |
| EncryptCampaignAmountsArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for encryptCampaignAmounts. |
| EncryptedCampaignLeaf# | Type | @tokenops/sdk/fhe-airdrop | One recipient's encrypted allocation, ready to be fed to buildMerkleTree. |
| EncryptedInput# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| EncryptedInputs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| EncryptedViewResult# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| EncryptionFailedError# | Error | @tokenops/sdk/. | Encryption flow (input proof generation) failed. |
| Encryptor# | Type | @tokenops/sdk/fhe | The encryption contract the SDK depends on. |
| EncryptorInitPhase# | Type | @tokenops/sdk/fhe/web | Lifecycle phase reported by the onPhase callback of createSepoliaEncryptor / createSepoliaEncryptorWeb (@tokenops/sdk/fhe/web). |
| EncryptorSource# | Type | @tokenops/sdk/fhe | Eager or lazy Encryptor reference. |
| encryptUint64# | Function | @tokenops/sdk/fhe-vesting | Encrypt a single uint64 value into an externalEuint64 handle + KMS input proof. |
| EncryptUint64Args# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| encryptUint64Batch# | Function | @tokenops/sdk/fhe-vesting | Encrypt N uint64 values into N handles bound by a single input proof. |
| EncryptUint64BatchArgs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| EncryptWorkerErrorEvent# | Type | @tokenops/sdk/fhe/web | The error event fields @zama-fhe/sdk reads from the encrypt worker. |
| EncryptWorkerLike# | Type | @tokenops/sdk/fhe/web | The part of a DOM Worker the offloadWorker factory must return: every member @zama-fhe/sdk 3.6 calls on it. |
| EncryptWorkerMessageEvent# | Type | @tokenops/sdk/fhe/web | The message event fields @zama-fhe/sdk reads from the encrypt worker. |
| ERC7984_OPERATOR_MAX_DEADLINE# | Constant | @tokenops/sdk/fhe-vesting | Far-future uint48 deadline. |
| erc7984OperatorAbi# | Constant | @tokenops/sdk/fhe | Constant export from @tokenops/sdk/fhe. |
| FACTORY_ROLE_CONCENTRATION_NOTE# | Constant | @tokenops/sdk/fhe-airdrop | States the role-concentration fact per chain: this management surface wraps every fee, implementation, compliance and upgradeability admin entry point the factory exposes. |
| FaucetMetadata# | Type | @tokenops/sdk/testnet-faucet | Consolidated faucet metadata — both tokens, the wrapper rate, and the maxTotalSupply ceiling. |
| FaucetSupplyExhaustedError# | Error | @tokenops/sdk/testnet-faucet | The confidential faucet's backing is saturated — inferredTotalSupply has reached maxTotalSupply (type(uint64).max), so mint / wrap revert with ERC7984TotalSupplyOverflow until existing CTTT is unwrapped to free capacity. |
| FaucetTokenMetadata# | Type | @tokenops/sdk/testnet-faucet | Static metadata for one side of the faucet token pair. |
| FeatureDisabledError# | Error | @tokenops/sdk/. | A feature toggle baked into the contract clone is off. |
| FeeCollectorSelfAdministeredError# | Error | @tokenops/sdk/fhe-airdrop | planInstanceRoleSplit (roles.ts) refuses to plan a FEE_COLLECTOR_ROLE grant: the role is its own role-admin (not DEFAULT_ADMIN_ROLE), so a grant issued from the caller's admin role would simply fail on-chain with AccessControlUnauthorize... |
| FeeConfig# | Type | @tokenops/sdk/fhe-disperse | Global fee configuration (on-chain feeConfig struct). |
| FeeType# | Constant | @tokenops/sdk/fhe-vesting | Factory fee model. |
| feeTypeName# | Function | @tokenops/sdk/fhe-vesting | Stringify a FeeType for human-readable / JSON-output contexts. |
| FHE_SPLIT_DENOMINATOR# | Constant | @tokenops/sdk/fhe-vesting | Fixed plaintext denominator used by every confidential split call. |
| FheHandleNotAllowedError# | Error | @tokenops/sdk/. | Caller does not hold an FHEVM ACL grant on the encrypted handle they're trying to use (e.g. |
| FheValueInput# | Type | @tokenops/sdk/fhe | FHE input values, discriminated by ciphertext type. |
| FundInput# | Type | @tokenops/sdk/fhe-airdrop | The encrypted pool amount for a fund-style write, as exactly one of a plaintext the SDK encrypts or a ciphertext the caller already built. |
| GasFeeNotAcceptedError# | Error | @tokenops/sdk/fhe-airdrop | create* refused the fee the factory resolved for this creator: it landed above their CommonAirdropParams.maxAcceptedGasFee. |
| GasHeadroomOption# | Type | @tokenops/sdk/fhe | Client-level gas option, accepted by every SDK client and React hook. |
| GasOverride# | Type | @tokenops/sdk/fhe | Per-call gas override, accepted by every write that takes an argument object. |
| getConfidentialTestTokenAddress# | Function | @tokenops/sdk/testnet-faucet | Address of the ConfidentialTokenopsTestToken (CTTT) UUPS proxy — the 6-decimal ERC-7984 confidential wrapper with an open backed faucet mint. |
| GetEncryptedFeeReserveArgs# | Type | @tokenops/sdk/fhe-disperse | Arguments for getEncryptedFeeReserve(). |
| getTestTokenAddress# | Function | @tokenops/sdk/testnet-faucet | Address of the standard TokenopsTestToken (TTT) — the 18-decimal ERC-20 with an open mint that backs the confidential faucet. |
| grantInstanceRoles# | Function | @tokenops/sdk/fhe-airdrop | Execute an InstanceRoleAssignment against a live instance: planInstanceRoleSplit the steps, then submit them one at a time, **waiting for each step's receipt before submitting the next.** That confirmation is not optional bookkeeping — i... |
| InitCodeHashArgs# | Type | @tokenops/sdk/fhe-airdrop/advanced | Inputs for the init-code-hash reads. |
| InitiateTransferArgs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| InstanceRoleAssignment# | Type | @tokenops/sdk/fhe-airdrop | The roles a campaign creator may hand off after createEcdsaAirdrop / createMerkleAirdrop. |
| InstanceRoleCall# | Type | @tokenops/sdk/fhe-airdrop | One call of a Safe MultiSend batch: a zero-value grantRole / revokeRole on the instance. |
| InstanceRoleConstants# | Type | @tokenops/sdk/fhe-airdrop | The bytes32 constants encodeInstanceRoleSplit encodes, keyed by RoleName. |
| InsufficientBalanceError# | Error | @tokenops/sdk/. | Balance is too low to cover the requested operation. |
| InsufficientFeeError# | Error | @tokenops/sdk/. | Native ETH (gas) fee or token fee did not match what the contract requires. |
| InsufficientGasFundsError# | Error | @tokenops/sdk/. | Wallet account does not hold enough native balance to cover the transaction's gas estimate. |
| InvalidArgumentError# | Error | @tokenops/sdk/. | Thrown when an argument fails an SDK-side precondition (non-empty array, uint range, matching lengths, valid address, etc.). |
| InvalidSignatureError# | Error | @tokenops/sdk/. | EIP-712 signature was malformed or did not recover to an authorized signer. |
| isAclPropagationError# | Error | @tokenops/sdk/fhe-airdrop | Error export from @tokenops/sdk/fhe-airdrop. |
| IsSignatureValidArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for EcdsaAirdropClient.isSignatureValid. |
| isTestnetFaucetChainId# | Function | @tokenops/sdk/testnet-faucet | true when chainId is a chain the faucet is permitted to run on. |
| isTokenOpsSdkError# | Error | @tokenops/sdk/. | Brand-based predicate. |
| leafOf# | Function | @tokenops/sdk/fhe-airdrop | Compute a Merkle leaf byte-for-byte identical to the contract's _leafOf — see the module comment for the verified derivation. |
| LeafOfArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for leafOf. |
| MAINNET_CHAIN_ID# | Constant | @tokenops/sdk/fhe/web | Mainnet chain id (1). |
| MAX_EUINT64_PER_INPUT_PROOF# | Constant | @tokenops/sdk/fhe | Most euint64 values one input proof can carry. |
| MERKLE_BATCH_LIMIT# | Constant | @tokenops/sdk/fhe-airdrop | Recipients per relayer request: an input ciphertext packs at most 2048 bits, so 2048 / 64 euint64 values share one proof (MAX_EUINT64_PER_INPUT_PROOF from @tokenops/sdk/fhe). |
| MerkleAirdropClient# | Client | @tokenops/sdk/fhe-airdrop | Client for one MerkleConfidentialAirdrop instance — the variant whose claims are authorised by inclusion in a published Merkle tree rather than an off-chain signature. |
| MerkleAirdropParams# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| MerkleClaimArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs shared by MerkleAirdropClient.claim and MerkleAirdropClient.claimAndUnwrap. |
| merkleConfidentialAirdropAbi# | Constant | @tokenops/sdk/fhe-airdrop | Constant export from @tokenops/sdk/fhe-airdrop. |
| MerkleGetClaimAmountArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for MerkleAirdropClient.getClaimAmount. |
| MerkleLeafInput# | Type | @tokenops/sdk/fhe-airdrop | The minimum a leaf must carry. |
| MerkleUupsUnsupportedError# | Error | @tokenops/sdk/fhe-airdrop | A Merkle campaign's per-account claim state (claimedAmount) sits at an ERC-7201 namespaced slot that a previous revision of the contract typed differently. |
| MinedWrite# | Type | @tokenops/sdk/fhe-vesting | The mined counterpart of PendingWrite: the receipt was read and every receipt-derived field is set. |
| MintConfidentialArgs# | Type | @tokenops/sdk/testnet-faucet | Arguments for TestnetFaucetClient.mintConfidential — the open, fully-backed faucet mint on ConfidentialTokenopsTestToken (CTTT). |
| MintConfidentialResult# | Type | @tokenops/sdk/testnet-faucet | Result of TestnetFaucetClient.mintConfidential, decoded from the ConfidentialMint event in the transaction receipt. |
| MintUnderlyingArgs# | Type | @tokenops/sdk/testnet-faucet | Arguments for TestnetFaucetClient.mintUnderlying — the open mint on the standard ERC-20 TokenopsTestToken (TTT). |
| MintUnderlyingResult# | Type | @tokenops/sdk/testnet-faucet | Result of TestnetFaucetClient.mintUnderlying. |
| MissingAccountError# | Error | @tokenops/sdk/. | Error export from @tokenops/sdk/.. |
| MissingClientError# | Error | @tokenops/sdk/. | Thrown by React hooks when their headless client (factory / manager / airdrop / disperse) could not be constructed — usually because the wagmi publicClient isn't ready yet or the chain id has no resolvable address. |
| MissingEncryptorError# | Error | @tokenops/sdk/. | Error export from @tokenops/sdk/.. |
| MissingPeerDependencyError# | Error | @tokenops/sdk/. | An optional peer dependency the called helper loads at runtime (such as @zama-fhe/sdk for the encryptor factories) is not installed or did not resolve to the expected module. |
| MissingPublicClientError# | Error | @tokenops/sdk/. | Error export from @tokenops/sdk/.. |
| MissingWalletClientError# | Error | @tokenops/sdk/. | Error export from @tokenops/sdk/.. |
| NativeRescueRequiresZeroFeeError# | Error | @tokenops/sdk/fhe-airdrop | rescueNativeToken reverted with NativeRescueRequiresZeroFee: the instance charges a gas fee, so its ETH is fee revenue and belongs to withdrawGasFee. |
| NetworkError# | Error | @tokenops/sdk/. | Network-level failure reaching the RPC endpoint (HTTP non-2xx, timeout, DNS, socket close). |
| NonStockWrapperError# | Error | @tokenops/sdk/fhe-airdrop | claimAndUnwrap routes the claim straight into the wrapper's unwrap, which burns from the airdrop instance's own pooled ERC7984ERC20Wrapper balance rather than from any per-claimant sub-balance — the instance holds one aggregate confident... |
| NoopTelemetry# | Constant | @tokenops/sdk/telemetry | Constant export from @tokenops/sdk/telemetry. |
| NoPendingTransferError# | Error | @tokenops/sdk/fhe-vesting | No pending transfer exists — cancel/accept fails until one is initiated. |
| NotPendingRecipientError# | Error | @tokenops/sdk/fhe-vesting | Caller is not the pending recipient of this transfer. |
| NotRegisteredError# | Error | @tokenops/sdk/fhe-disperse | The user has not yet called register(token). |
| NotVestingRecipientError# | Error | @tokenops/sdk/fhe-vesting | Caller is not the recipient of this vesting schedule. |
| OperatorNotApprovedError# | Error | @tokenops/sdk/. | The ERC-7984 token rejected the product contract as a spender — ERC7984UnauthorizedSpender(address holder, address spender) (selector 0x79f2cb38). |
| PartialClaimArgs# | Type | @tokenops/sdk/fhe-vesting | Arguments for ConfidentialVestingManagerClient.partialClaim and ConfidentialVestingManagerClient.adminPartialClaim. |
| PausedError# | Error | @tokenops/sdk/. | Contract is paused. |
| PendingCreateAirdropResult# | Type | @tokenops/sdk/fhe-airdrop | What a create returns with waitForReceipt: false (ReceiptMode): the same fields as CreateAirdropResult, taken from the CreateCommitments the create was sent with rather than from a receipt. |
| PendingCreateManagerResult# | Type | @tokenops/sdk/fhe-vesting | What ConfidentialVestingFactoryClient.createManager returns with waitForReceipt: false (ReceiptMode): the submission hash only. |
| PendingDisclosureResult# | Type | @tokenops/sdk/fhe-disperse | What discloseHandleToParty() / batchDiscloseHandlesToParty() return with waitForReceipt: false: the submission hash only. |
| PendingDisperseResult# | Type | @tokenops/sdk/fhe-disperse | What disperse() returns with waitForReceipt: false: the submission hash only. |
| PendingRegisterResult# | Type | @tokenops/sdk/fhe-disperse | What register() returns with waitForReceipt: false: the submission hash only. |
| PendingSplitVestingResult# | Type | @tokenops/sdk/fhe-vesting | What ConfidentialVestingManagerClient.splitVesting returns with waitForReceipt: false (ReceiptMode): the submission hash only. |
| PendingTransfer# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| PendingWithdrawTokenFeeResult# | Type | @tokenops/sdk/fhe-disperse | What withdrawTokenFee() returns with waitForReceipt: false: the submission hash only. |
| PendingWrite# | Type | @tokenops/sdk/fhe-vesting | Marks a write result returned before its transaction was observed executing, because the write was sent with waitForReceipt: false (a Safe / multisig signer whose submission is a safeTxHash that never mines until threshold owners co-sign). |
| planInstanceRoleSplit# | Function | @tokenops/sdk/fhe-airdrop | Turn an InstanceRoleAssignment into an ordered list of grantRole/revokeRole steps — a pure function, precisely so its ordering guarantees are testable without a chain. |
| planMerkleCampaign# | Function | @tokenops/sdk/fhe-airdrop | Build a campaign for an instance that does not exist yet, so its root can be baked in at create time. |
| PlanMerkleCampaignArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for planMerkleCampaign. |
| PlannedCampaign# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| PredictArgs# | Type | @tokenops/sdk/fhe-airdrop/advanced | Inputs for the address-prediction oracles. |
| predictComplianceManagerClone# | Function | @tokenops/sdk/fhe-airdrop/advanced | Predict the compliance-manager clone the factory deploys for an instance. |
| PredictionDriftError# | Error | @tokenops/sdk/fhe-airdrop | The factory's init-code hash for a variant changed between the moment an address was predicted and the moment the prediction was about to be used. |
| PredictManagerArgs# | Type | @tokenops/sdk/fhe-vesting/advanced | Type export from @tokenops/sdk/fhe-vesting/advanced. |
| preflightClaim# | Function | @tokenops/sdk/fhe-airdrop | Report what would stop claim / claimAndUnwrap right now, without sending anything. |
| PreflightClaimArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for preflightClaim. |
| preflightCreate# | Function | @tokenops/sdk/fhe-airdrop | Run every create-time guardrail read-only and report what would block the transaction, instead of throwing on the first problem. |
| PreflightCreateArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for preflightCreate. |
| PreflightCreateResult# | Type | @tokenops/sdk/fhe-airdrop | Type export from @tokenops/sdk/fhe-airdrop. |
| PreflightDisperseArgs# | Type | @tokenops/sdk/fhe-disperse | Arguments for preflightDisperse(). |
| PreflightReport# | Type | @tokenops/sdk/fhe-disperse | Comprehensive pre-flight report returned by ConfidentialDisperseClient.preflightDisperse. |
| PreflightResult# | Type | @tokenops/sdk/. | Result of a read-only preflight on a write operation. |
| ReceiptEventAmbiguousError# | Error | @tokenops/sdk/. | Thrown when receipt-event extraction finds more than one matching event from the target contract. |
| ReceiptEventNotFoundError# | Error | @tokenops/sdk/. | Thrown when extracting an event from a transaction receipt finds zero matching entries — typically a silent revert, a misrouted log, or (most commonly for FHE flows) an ACL Allowed grant that didn't fire because the contract entrypoint t... |
| ReceiptMode# | Type | @tokenops/sdk/fhe-vesting | The waitForReceipt option of every receipt-free write. |
| RecipientCheck# | Type | @tokenops/sdk/fhe-disperse | Per-recipient validation result inside a PreflightReport. |
| ReentrancyError# | Error | @tokenops/sdk/. | OpenZeppelin ReentrancyGuardTransient blocked a nested call. |
| RegisterArgs# | Type | @tokenops/sdk/fhe-disperse | Arguments for register(). |
| RegisterResult# | Type | @tokenops/sdk/fhe-disperse | Result of register(). |
| RelayerAuth# | Type | @tokenops/sdk/fhe/web | Relayer authentication, forwarded as the chain's auth. |
| RelayerUnreachableError# | Error | @tokenops/sdk/. | Network call to the Zama relayer failed (HTTP non-2xx, timeout, DNS, etc.). |
| requireConfidentialTestTokenAddress# | Function | @tokenops/sdk/testnet-faucet | Function export from @tokenops/sdk/testnet-faucet. |
| requireTestTokenAddress# | Function | @tokenops/sdk/testnet-faucet | Function export from @tokenops/sdk/testnet-faucet. |
| resolveEncryptor# | Function | @tokenops/sdk/fhe | Normalize an EncryptorSource to the underlying Encryptor, invoking the factory if lazy. |
| revokeOperator# | Function | @tokenops/sdk/fhe-vesting | Revoke a previously granted ERC-7984 operator authorization. |
| RevokeOperatorArgs# | Type | @tokenops/sdk/fhe-vesting | Arguments for revokeOperator. |
| RoleGrantOutcome# | Type | @tokenops/sdk/fhe-airdrop | The outcome of one step from grantInstanceRoles. |
| RoleGrantStep# | Type | @tokenops/sdk/fhe-airdrop | One grantRole/revokeRole transaction grantInstanceRoles will submit, in order. |
| RoleName# | Type | @tokenops/sdk/fhe-airdrop | The on-chain role names this module knows how to grant or revoke. |
| RotatedCampaign# | Type | @tokenops/sdk/fhe-airdrop | A rebuilt campaign together with the transaction that published its root. |
| rotateMerkleRoot# | Function | @tokenops/sdk/fhe-airdrop | Republish a campaign with updated cumulative totals: rebuild every entry against the live instance, then set the new root. |
| RotateMerkleRootArgs# | Type | @tokenops/sdk/fhe-airdrop | Inputs for rotateMerkleRoot. |
| SaltCollisionError# | Error | @tokenops/sdk/fhe-airdrop | A create* was about to be sent for a (variant, mode, deployer, userSalt) tuple whose predicted address already holds code. |
| ScaledRatio# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| scaleRatio# | Function | @tokenops/sdk/fhe-vesting | Scale a plaintext ratio so the output denominator equals the privacy-preserving split constant (FHE_SPLIT_DENOMINATOR, default 90_090_000) while keeping both values within uint128. |
| ScaleRatioArgs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| ScaleRatioWidth# | Type | @tokenops/sdk/fhe-vesting | Bit-width to validate the scaled numerator/denominator against. |
| SDK_VERSION# | Constant | @tokenops/sdk/. | SDK version baked at build time. |
| SdkTelemetry# | Type | @tokenops/sdk/telemetry | Type export from @tokenops/sdk/telemetry. |
| SdkTelemetryTags# | Type | @tokenops/sdk/telemetry | Tag values accepted by SdkTelemetry.scope. |
| SEPOLIA_CHAIN_ID# | Constant | @tokenops/sdk/fhe/web | Sepolia testnet chain id (11155111). |
| SepoliaEncryptorLogger# | Type | @tokenops/sdk/fhe/web | Logger accepted by the Sepolia encryptor helpers. |
| SepoliaEncryptorWeb# | Type | @tokenops/sdk/fhe/web | Returned by createSepoliaEncryptorWeb. |
| setOperator# | Function | @tokenops/sdk/fhe-vesting | Authorize spender to pull ERC-7984 tokens from account until deadline. |
| SetOperatorArgs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| share# | Function | @tokenops/sdk/fhe-vesting | Guided builders for the two split shapes the SDK supports as exact-integer numerators over FHE_SPLIT_DENOMINATOR (90_090_000 = LCM(1..16, 10_000)). |
| SignatureExpiredError# | Error | @tokenops/sdk/fhe-airdrop | ECDSA claim reverted with SignatureExpired: block.timestamp is past the signature's deadline. |
| signClaimAuthorization# | Function | @tokenops/sdk/fhe-airdrop | Build the v2 EIP-712 signature over a Claim(address recipient, bytes32 encryptedAmount, bytes32 dedupId, uint256 deadline) struct — the four-field digest ECDSAConfidentialAirdrop verifies. |
| SigningFailedError# | Error | @tokenops/sdk/. | Wallet signature failed for a reason other than the user explicitly rejecting it (timeout, wallet crash, malformed request, etc.). |
| SingletonNotApprovedError# | Error | @tokenops/sdk/fhe-disperse | The sender has not approved the singleton as an ERC-7984 operator on the token. |
| SplitVestingArgs# | Type | @tokenops/sdk/fhe-vesting | Type export from @tokenops/sdk/fhe-vesting. |
| SplitVestingResult# | Type | @tokenops/sdk/fhe-vesting | Result of ConfidentialVestingManagerClient.splitVesting. |
| SubwalletApprovalState# | Type | @tokenops/sdk/fhe-disperse | Approval state of a user's subwallet pair for a specific token. |
| SubwalletsNotApprovedError# | Error | @tokenops/sdk/fhe-disperse | Wallet-mode disperse: the user's registered sub-wallet pair has not (fully) approved the singleton as an ERC-7984 operator on the token, so the singleton cannot move funds held by the sub-wallets. |
| TESTNET_FAUCET_SUPPORTED_CHAIN_IDS# | Constant | @tokenops/sdk/testnet-faucet | Chain ids on which the testnet faucet is allowed to operate. |
| TestnetFaucetClient# | Client | @tokenops/sdk/testnet-faucet | Typed SDK client for the **testnet-only** TokenOps faucet token pair. |
| TestnetFaucetClientConfig# | Type | @tokenops/sdk/testnet-faucet | Type export from @tokenops/sdk/testnet-faucet. |
| TokenOpsContractError# | Error | @tokenops/sdk/fhe | Generic contract-interaction error with a free-form context object. |
| TokenOpsSdkError# | Error | @tokenops/sdk/. | Base class for every error the SDK throws. |
| TokenOpsSdkErrorCode# | Type | @tokenops/sdk/. | Stable, string-literal error codes. |
| TokenOpsTelemetry# | Constant | @tokenops/sdk/telemetry | Constant export from @tokenops/sdk/telemetry. |
| TokenOpsTelemetryOptions# | Type | @tokenops/sdk/telemetry | Type export from @tokenops/sdk/telemetry. |
| tokenopsTestTokenAbi# | Constant | @tokenops/sdk/testnet-faucet | Constant export from @tokenops/sdk/testnet-faucet. |
| TokenOpsValidationError# | Error | @tokenops/sdk/fhe | Free-form validation error thrown by SDK helpers that don't have a more specific typed subclass yet (e.g. |
| TransferAlreadyPendingError# | Error | @tokenops/sdk/fhe-vesting | A vesting transfer is already pending — initiate fails until accepted/cancelled/expired. |
| TransferExpiredError# | Error | @tokenops/sdk/fhe-vesting | Pending transfer has expired and can no longer be accepted. |
| TransferFailedError# | Error | @tokenops/sdk/. | Native ETH or ERC-20 transfer failed at the contract layer (e.g. |
| UINT96_MAX# | Constant | @tokenops/sdk/fhe-airdrop | The largest value CommonAirdropParams.maxAcceptedGasFee can carry - the uint96 ceiling. |
| UnauthorizedRedirectError# | Error | @tokenops/sdk/fhe-airdrop | A third party tried to redirect someone else's Merkle payout. |
| UnknownWriteFailureError# | Error | @tokenops/sdk/. | Fallback for write failures the SDK could not classify against either an on-chain revert frame or a known viem non-revert error class. |
| UnrecognisedAirdropError# | Error | @tokenops/sdk/fhe-airdrop | The canonical factory's registry does not contain this address, so it is not an airdrop this SDK deployed. |
| UnsupportedChainError# | Error | @tokenops/sdk/. | The chain is not one the called surface runs on. |
| UnwrapRequest# | Type | @tokenops/sdk/fhe-airdrop | The unwrap a claimAndUnwrap started, decoded from the instance's ClaimedAndUnwrapInitiated event. |
| UnwrapRequestSource# | Type | @tokenops/sdk/fhe-airdrop | What AirdropBaseClient.parseUnwrapRequest reads: a viem receipt, or its logs. |
| UpgradeabilityNotAllowedError# | Error | @tokenops/sdk/fhe-airdrop | Factory create* reverted with UpgradeabilityNotAllowed: the creator's effective upgradeability policy is off. |
| UpgradeabilityPolicy# | Type | @tokenops/sdk/fhe-airdrop | The on-chain UpgradeabilityPolicy struct returned by getUpgradeabilityPolicy. |
| useAcceptVestingTransfer# | Hook | @tokenops/sdk/fhe-vesting/react | Accept an inbound vesting transfer (counterparty side). |
| useAccessClaimableAmount# | Hook | @tokenops/sdk/fhe-vesting/react | Submits a transaction to read the currently-claimable amount as an euint128 handle. |
| useAccessEcdsaClaimAmount# | Hook | @tokenops/sdk/fhe-airdrop/react | Submits a transaction. Previews a signed encrypted allocation as an encrypted handle. |
| useAccessEncryptedFeeReserve# | Hook | @tokenops/sdk/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. |
| useAccessMerkleClaimAmount# | Hook | @tokenops/sdk/fhe-airdrop/react | Submits a transaction. Previews the outstanding amount for a proof-bearing Merkle entry as an encrypted handle. |
| useAccessSettledAmount# | Hook | @tokenops/sdk/fhe-vesting/react | Submits a transaction to read the already-claimed (settled) amount of a vesting as an euint128 handle. |
| useAccessTotalAllocation# | Hook | @tokenops/sdk/fhe-vesting/react | Submits a transaction to read the total allocation of a vesting as an euint128 handle. |
| useAccessVestedAmount# | Hook | @tokenops/sdk/fhe-vesting/react | Submits a transaction to read the vested amount at a given timestamp as an euint128 handle. |
| useAddComplianceDelegate# | Hook | @tokenops/sdk/fhe-airdrop/react | Grant delegate permanent user-decryption delegation over this compliance clone's airdrop. |
| useAdminBatchDiscloseBalanceToParties# | Hook | @tokenops/sdk/fhe-airdrop/react | Submits a transaction. Discloses the instance's confidential pool balance to several parties at once. |
| useAdminBatchDiscloseToParty# | Hook | @tokenops/sdk/fhe-vesting/react | Admin variant of useBatchDiscloseToParty — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminClaim# | Hook | @tokenops/sdk/fhe-vesting/react | Admin variant of useClaim — caller must hold CLAIMER_ROLE. |
| useAdminDiscloseBalanceToParty# | Hook | @tokenops/sdk/fhe-airdrop/react | Submits a transaction. Discloses the instance's confidential pool balance to party. |
| useAdminDiscloseToParty# | Hook | @tokenops/sdk/fhe-vesting/react | Admin variant of useDiscloseToParty — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminGetClaimableAmount# | Hook | @tokenops/sdk/fhe-vesting/react | Admin variant of useAccessClaimableAmount — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminGetCurrentBalance# | Hook | @tokenops/sdk/fhe-airdrop/react | Submits a transaction. Reads the instance's remaining confidential pool balance as an euint64 handle the caller may decrypt - pass data.handle to the Zama relayer's userDecrypt. |
| useAdminGetSettledAmount# | Hook | @tokenops/sdk/fhe-vesting/react | Admin variant of useAccessSettledAmount — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminGetTokenBalance# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: read the manager clone's confidential ERC-7984 token balance as an euint64 handle. |
| useAdminGetTotalAllocation# | Hook | @tokenops/sdk/fhe-vesting/react | Admin variant of useAccessTotalAllocation — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminGetVestedAmount# | Hook | @tokenops/sdk/fhe-vesting/react | Admin variant of useAccessVestedAmount — caller must hold DISCLOSURE_ADMIN_ROLE. |
| useAdminPartialClaim# | Hook | @tokenops/sdk/fhe-vesting/react | Admin variant of usePartialClaim — caller must hold CLAIMER_ROLE. |
| useAirdropConfig# | Hook | @tokenops/sdk/fhe-airdrop/react | Read an airdrop instance's immutable configuration in one round trip. |
| useAirdropDeploymentMode# | Hook | @tokenops/sdk/fhe-airdrop/react | Read which deployment shell an airdrop instance is: a minimal-proxy "clone", or a "uups" ERC-1967 proxy that useAirdropUpgradeToAndCall can actually move. |
| useAirdropGasFee# | Hook | @tokenops/sdk/fhe-airdrop/react | Read the per-claim ETH fee (wei) an instance charges; 0n on a fee-free campaign. |
| useAirdropGrantRole# | Hook | @tokenops/sdk/fhe-airdrop/react | Grant one role on one airdrop instance. |
| useAirdropHasRole# | Hook | @tokenops/sdk/fhe-airdrop/react | Whether holder holds role on an airdrop instance. |
| useAirdropPause# | Hook | @tokenops/sdk/fhe-airdrop/react | Set an airdrop instance's pause flag. |
| useAirdropPaused# | Hook | @tokenops/sdk/fhe-airdrop/react | Whether claiming is currently halted (PausableUpgradeable.paused()). |
| useAirdropRenounceRole# | Hook | @tokenops/sdk/fhe-airdrop/react | Give up a role on an airdrop instance yourself. |
| useAirdropRevokeRole# | Hook | @tokenops/sdk/fhe-airdrop/react | Revoke one role from one holder on one airdrop instance. |
| useAirdropRoleAdmin# | Hook | @tokenops/sdk/fhe-airdrop/react | Which role's holders may grant and revoke role on an airdrop instance. |
| useAirdropRoleConstants# | Hook | @tokenops/sdk/fhe-airdrop/react | Read an airdrop instance's role identifiers in one fan-out. |
| useAirdropRoleMembers# | Hook | @tokenops/sdk/fhe-airdrop/react | List who holds role on an airdrop instance, with the member count. |
| useAirdropToken# | Hook | @tokenops/sdk/fhe-airdrop/react | Read the ERC-7984 token an airdrop instance distributes. |
| useAirdropUpgradeToAndCall# | Hook | @tokenops/sdk/fhe-airdrop/react | Point an airdrop instance's ERC-1967 proxy at a new implementation, optionally calling into it in the same transaction. |
| useAirdropWindow# | Hook | @tokenops/sdk/fhe-airdrop/react | Read an airdrop instance's claim-window snapshot in one round trip. |
| useAllRecipients# | Hook | @tokenops/sdk/fhe-vesting/react | Every recipient currently registered on this manager. |
| useAllRecipientsLength# | Hook | @tokenops/sdk/fhe-vesting/react | Count of registered recipients (cheap pre-paging check). |
| useAllRecipientsSliced# | Hook | @tokenops/sdk/fhe-vesting/react | Read a [start, end) slice of the recipients set. |
| useApproveTokenOnWallets# | Hook | @tokenops/sdk/fhe-disperse/react | Approve the singleton as an ERC-7984 operator over the caller's registered subwallets for a single token. |
| useBatchCreateVesting# | Hook | @tokenops/sdk/fhe-vesting/react | Batch variant of useCreateVesting — open N vestings in one tx with one batch input proof. |
| useBatchDiscloseHandlesToParty# | Hook | @tokenops/sdk/fhe-vesting/react | Batch ACL grant across many handles in one tx. |
| useBatchDiscloseHandlesToParty# | Hook | @tokenops/sdk/fhe-airdrop/react | Batch ACL grant across many handles in one tx. |
| useBatchDiscloseHandlesToParty# | Hook | @tokenops/sdk/fhe-disperse/react | Batch ACL grant across many handles in one tx. |
| useBatchDiscloseToParty# | Hook | @tokenops/sdk/fhe-vesting/react | Batch variant of useDiscloseToParty. |
| useBatchRevokeVesting# | Hook | @tokenops/sdk/fhe-vesting/react | Batch variant of useRevokeVesting. |
| useBuildMerkleCampaign# | Hook | @tokenops/sdk/fhe-airdrop/react | Encrypt a roster and build the Merkle tree those ciphertexts belong to, for an instance that already exists — the mutable-root path. |
| useCalculateFee# | Hook | @tokenops/sdk/fhe-disperse/react | Quote the on-chain fee config for a given disperse batch shape (count + mode). |
| useCancelVestingTransfer# | Hook | @tokenops/sdk/fhe-vesting/react | Cancel an outbound transfer before the counterparty accepts. |
| useClaim# | Hook | @tokenops/sdk/fhe-vesting/react | Recipient-side claim. For FeeType.Gas managers pass value (read it with useManagerFeeInfo); omit value for FeeType.DistributionToken. |
| useClaimedAmount# | Hook | @tokenops/sdk/fhe-airdrop/react | Read account's cumulative delivered total on a MerkleConfidentialAirdrop instance, as an encrypted handle — pass it to the Zama relayer's userDecrypt to see the plaintext. |
| useClearCompliancePolicy# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Drop a creator's useSetCompliancePolicy override, reverting them to the factory default. |
| useClearUpgradeabilityPolicy# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Drop a creator's useSetUpgradeabilityPolicy override, reverting them to the factory default. |
| useComplianceGrantRole# | Hook | @tokenops/sdk/fhe-airdrop/react | Grant one role on a compliance-manager clone. |
| useComplianceHasRole# | Hook | @tokenops/sdk/fhe-airdrop/react | Whether holder holds role on a compliance-manager clone. |
| useComplianceInfo# | Hook | @tokenops/sdk/fhe-airdrop/react | Read a compliance-manager clone's whole wiring in one round trip - the airdrop it serves, its platform delegate, and its client-delegate set. |
| useComplianceManager# | Hook | @tokenops/sdk/fhe-airdrop/react | Read an airdrop instance's own compliance-manager clone — the only contract the instance itself grants persistent ACL on its pool and claim handles. |
| useComplianceManagerOf# | Hook | @tokenops/sdk/fhe-airdrop/react | Resolve the ComplianceRoleManager clone bound to an airdrop instance, by asking the factory. |
| useComplianceRenounceRole# | Hook | @tokenops/sdk/fhe-airdrop/react | Give up a role on a compliance-manager clone yourself. |
| useComplianceRevokeRole# | Hook | @tokenops/sdk/fhe-airdrop/react | Revoke one role from one holder on a compliance-manager clone. |
| useComplianceRoleConstants# | Hook | @tokenops/sdk/fhe-airdrop/react | Read a compliance-manager clone's role identifiers. |
| useComplianceRoleMembers# | Hook | @tokenops/sdk/fhe-airdrop/react | List who holds role on a compliance-manager clone, with the member count. |
| useConfidentialBalance# | Hook | @tokenops/sdk/testnet-faucet/react | Read the encrypted confidential balance handle (euint64 ciphertext) for account — defaults to the connected wallet. |
| useConfidentialVestingFactoryImplementation# | Hook | @tokenops/sdk/fhe-vesting/react | Read the FHE-vesting factory's current implementation() address — the LibClone target every new manager clone delegates to. |
| useCreateAndFundEcdsaAirdrop# | Hook | @tokenops/sdk/fhe-airdrop/react | Deploy an ECDSA-authorised airdrop instance and seed its pool in one transaction. |
| useCreateAndFundMerkleAirdrop# | Hook | @tokenops/sdk/fhe-airdrop/react | Deploy a Merkle-proof airdrop instance and seed its pool in one transaction. |
| useCreateEcdsaAirdrop# | Hook | @tokenops/sdk/fhe-airdrop/react | Deploy an ECDSA-authorised airdrop instance via the factory. |
| useCreateManager# | Hook | @tokenops/sdk/fhe-vesting/react | Deploy a per-user vesting manager clone via the factory. |
| useCreateManagerAndGetAddress# | Hook | @tokenops/sdk/fhe-vesting/react | Deploy a manager and wait for the receipt — returns the deterministic clone address. |
| useCreateMerkleAirdrop# | Hook | @tokenops/sdk/fhe-airdrop/react | Deploy a Merkle-proof airdrop instance via the factory. |
| useCreateVesting# | Hook | @tokenops/sdk/fhe-vesting/react | Open a new vesting schedule on a manager — encrypts the amount client-side, submits the tx. |
| useDecryptedHandle# | Hook | @tokenops/sdk/fhe/react | Subscribe to a single encrypted handle and reactively decrypt via the connected wallet. |
| useDedupMode# | Hook | @tokenops/sdk/fhe-airdrop/react | Read an ECDSA airdrop instance's replay-protection policy from the chain. |
| useDeploymentBlockNumber# | Hook | @tokenops/sdk/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 | @tokenops/sdk/fhe-vesting/react | Recipient-driven one-step transfer — moves a vesting to a new owner without waiting for counterparty acceptance. |
| useDisableCustomFee# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: disable the per-creator fee override for creator. |
| useDisableCustomFee# | Hook | @tokenops/sdk/fhe-disperse/react | Admin: remove a per-user fee override, falling back to the global defaults. |
| useDisableCustomFee# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Drop a creator's per-creator fee override, reverting them to the factory's defaultGasFee. |
| useDiscloseHandleToParty# | Hook | @tokenops/sdk/fhe-vesting/react | Grant ACL on a single ciphertext handle to a third party (e.g. an auditor). |
| useDiscloseHandleToParty# | Hook | @tokenops/sdk/fhe-airdrop/react | Grant ACL on a single ciphertext handle to a third party (e.g. an auditor). |
| useDiscloseHandleToParty# | Hook | @tokenops/sdk/fhe-disperse/react | Grant ACL on a single ciphertext handle to a third party (e.g. an auditor). |
| useDiscloseToParty# | Hook | @tokenops/sdk/fhe-vesting/react | Grant ACL on a single encrypted field of a vesting (total allocation, settled, vested, or claimable) to a third party. |
| useDisperse# | Hook | @tokenops/sdk/fhe-disperse/react | Multi-recipient confidential transfer in one tx — batch-encrypts amounts + per-recipient ACL. |
| useEcdsaClaim# | Hook | @tokenops/sdk/fhe-airdrop/react | Claim a signed encrypted allocation on an ECDSAConfidentialAirdrop instance. |
| useEcdsaClaimAndUnwrap# | Hook | @tokenops/sdk/fhe-airdrop/react | Claim a signed encrypted allocation and route it straight into the wrapper's unwrap, making to the underlying ERC-20 beneficiary. |
| useEcdsaDomain# | Hook | @tokenops/sdk/fhe-airdrop/react | Read an ECDSA instance's CLAIM_TYPEHASH, domain separator and ERC-5267 domain in one round trip - the three deployment-verification reads nobody wants one at a time (same call as useAirdropWindow). |
| useEcdsaInitCodeHash# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Init-code hash of the ECDSA proxy the factory would deploy for mode. |
| useEffectiveDelegateToCompliance# | Hook | @tokenops/sdk/fhe-airdrop/react | Whether creator's NEXT create* will wire the platform compliance delegate into the instance's compliance-manager clone - their setCompliancePolicy override when they have one, else the factory default. |
| useEffectiveUpgradeable# | Hook | @tokenops/sdk/fhe-airdrop/react | Whether creator's NEXT create* may deploy mode: "uups" — the factory default, overridden per-creator via setUpgradeabilityPolicy. |
| useEncryptCampaignAmounts# | Hook | @tokenops/sdk/fhe-airdrop/react | Encrypt a plaintext roster into per-recipient handles, without building a tree. |
| useEnsureOperator# | Hook | @tokenops/sdk/fhe-vesting/react | Ensure spender is an ERC-7984 operator for the connected account on token, sending a setOperator transaction only when the grant is missing. |
| useEnsureOperator# | Hook | @tokenops/sdk/fhe-disperse/react | Ensure spender is an ERC-7984 operator for the connected account on token, sending a setOperator transaction only when the grant is missing. |
| useEnsureOperator# | Hook | @tokenops/sdk/fhe/react | Ensure spender is an ERC-7984 operator for the connected account on token, sending a setOperator transaction only when the grant is missing. |
| useExtendClaimWindow# | Hook | @tokenops/sdk/fhe-airdrop/react | Admin extends the claim deadline. |
| useFactoryComplianceDelegate# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | The platform-designated compliance delegate the FACTORY wires into every new compliance-manager clone. |
| useFactoryCompliancePolicy# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | The admin's per-creator compliance view: the stored override AND the value the factory resolves for that creator. |
| useFactoryCustomFee# | Hook | @tokenops/sdk/fhe-vesting/react | Read the per-creator fee override set on the factory for creator. |
| useFactoryCustomFee# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Read one creator's per-claim fee override. |
| useFactoryDefaultFeeType# | Hook | @tokenops/sdk/fhe-vesting/react | Read the factory-wide default fee model (FeeType.Gas or FeeType.DistributionToken) applied to newly-created manager clones. |
| useFactoryDefaultGasFee# | Hook | @tokenops/sdk/fhe-vesting/react | Read the factory-wide default gas fee (in wei) — applied to new FeeType.Gas manager clones at deployment. |
| useFactoryDefaultTokenFee# | Hook | @tokenops/sdk/fhe-vesting/react | Read the factory-wide default token fee in basis points — applied to new FeeType.DistributionToken manager clones at deployment. |
| useFactoryFeeCollector# | Hook | @tokenops/sdk/fhe-vesting/react | Read the factory's current fee collector address. |
| useFactoryFees# | Hook | @tokenops/sdk/fhe-airdrop/react | Read the airdrop factory's chain-wide fee configuration: feeCollector, defaultGasFee and maxGasFee in one round trip. |
| useFactoryGrantRole# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Grant one factory role. |
| useFactoryHasRole# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Whether holder holds role on the factory. |
| useFactoryImplementations# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Read all three of the factory's implementation pointers in one round trip - the row an admin panel shows together, so they are bundled rather than shipped as three one-line hooks over three parallel eth_calls. |
| useFactoryInitCodeHash# | Hook | @tokenops/sdk/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). |
| useFactoryRegistry# | Hook | @tokenops/sdk/fhe-airdrop/react | Page through every instance the factory has deployed, plus the total count — the two reads a "list my campaigns" admin view needs together. |
| useFactoryRenounceRole# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Give up a factory role yourself. |
| useFactoryRevokeRole# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Revoke one factory role from one holder. |
| useFactoryRoleConstants# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Read the factory's role identifiers in one fan-out. |
| useFactoryRoleMembers# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | List who holds role on the factory, with the member count. |
| useFactoryUpgradeabilityPolicy# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | The admin panel's full upgradeability answer for one creator, in one round trip: the factory default, the per-creator override, and the resolved value. |
| useFaucetDecimals# | Hook | @tokenops/sdk/testnet-faucet/react | Read the decimals of the confidential token (CTTT) — 6. |
| useFaucetMetadata# | Hook | @tokenops/sdk/testnet-faucet/react | Read consolidated faucet metadata in a single hook — both tokens' name/symbol/decimals/address, the conversion rate, and the maxTotalSupply ceiling. |
| useFaucetRate# | Hook | @tokenops/sdk/testnet-faucet/react | Read the decimal-conversion rate between underlying and confidential units: 1 CTTT 6-decimal unit is backed by rate TTT 18-decimal base units (10^(18-6) = 10^12). |
| useFundAirdrop# | Hook | @tokenops/sdk/fhe-airdrop/react | Top up an already-deployed instance's pool through the factory. |
| useGetBatchLimits# | Hook | @tokenops/sdk/fhe-disperse/react | Read the maximum batch size for each of the three disperse modes ("wallet", "direct", "wallet-token-fee"). |
| useGetFeeConfig# | Hook | @tokenops/sdk/fhe-disperse/react | Read the singleton's { gasFeeEnabled, tokenFeeEnabled, defaultGasFee, defaultTokenFee } fee config. |
| useGetFees# | Hook | @tokenops/sdk/fhe-disperse/react | Read consolidated fee information for user — combines per-user resolved fees (getFeeAmounts) with the global feeConfig toggles in one read. |
| useGetWallets# | Hook | @tokenops/sdk/fhe-disperse/react | Read the deployer's two registered subwallet addresses. |
| useGrantInstanceRoles# | Hook | @tokenops/sdk/fhe-airdrop/react | Split an airdrop instance's roles after create — one grantRole / revokeRole transaction per requested assignment, submitted in the order planInstanceRoleSplit computes. |
| useGrantRole# | Hook | @tokenops/sdk/fhe-vesting/react | AccessControl: grant role to holder. |
| useGrantRole# | Hook | @tokenops/sdk/fhe-disperse/react | AccessControl: grant role to holder on the singleton. |
| useHasApprovedSubwallets# | Hook | @tokenops/sdk/fhe-disperse/react | Check whether a user's registered subwallets have approved the singleton as an ERC-7984 operator for token. |
| useHasRole# | Hook | @tokenops/sdk/fhe-vesting/react | Read AccessControl: is holder 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 | @tokenops/sdk/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. |
| useInferredTotalSupply# | Hook | @tokenops/sdk/testnet-faucet/react | Read the wrapper's inferred total supply: underlying held in custody divided by rate, an upper bound on the confidential total supply, in CTTT 6-decimal units. |
| useInitiateVestingTransfer# | Hook | @tokenops/sdk/fhe-vesting/react | Recipient initiates a two-step transfer of a vesting position to another recipient. |
| useIsActiveDelegate# | Hook | @tokenops/sdk/fhe-airdrop/react | Whether delegate currently holds user-decryption delegation over this compliance-manager clone's airdrop. |
| useIsAirdrop# | Hook | @tokenops/sdk/fhe-airdrop/react | Ask the canonical factory whether it created candidate - the genuineness check. |
| useIsMerkleRootMutable# | Hook | @tokenops/sdk/fhe-airdrop/react | Whether this MerkleConfidentialAirdrop instance permits root rotation at all. |
| useIsOperator# | Hook | @tokenops/sdk/fhe-vesting/react | Read spender's ERC-7984 operator status for holder on token. |
| useIsOperator# | Hook | @tokenops/sdk/fhe-disperse/react | Read spender's ERC-7984 operator status for holder on token. |
| useIsOperator# | Hook | @tokenops/sdk/fhe/react | Read spender's ERC-7984 operator status for holder on token. |
| useIsPaused# | Hook | @tokenops/sdk/fhe-disperse/react | Read the singleton's paused flag. |
| useIsRecipient# | Hook | @tokenops/sdk/fhe-vesting/react | Read whether account is currently a recipient on this manager clone. |
| useIsRegistered# | Hook | @tokenops/sdk/fhe-disperse/react | Has this deployer already called register? |
| useIsSignatureValid# | Hook | @tokenops/sdk/fhe-airdrop/react | Whether an ECDSA claim authorization would be accepted right now for recipient, without spending an FHE op or a transaction. |
| useManagerDeploymentBlockNumber# | Hook | @tokenops/sdk/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 | @tokenops/sdk/fhe-vesting/react | Read the manager clone's immutable FEE (in wei for FeeType.Gas, in basis points for FeeType.DistributionToken). |
| useManagerFeeInfo# | Hook | @tokenops/sdk/fhe-vesting/react | Resolves { feeType, fee } — caller passes the right branch to useClaim. |
| useManagerFeeType# | Hook | @tokenops/sdk/fhe-vesting/react | Read the manager clone's immutable FEE_TYPE (FeeType.Gas or FeeType.DistributionToken). |
| useManagerIsPausable# | Hook | @tokenops/sdk/fhe-vesting/react | Read whether the manager clone has pause/unpause enabled (immutable). |
| useManagerIsSplitEnabled# | Hook | @tokenops/sdk/fhe-vesting/react | Read whether the manager clone has split-vesting enabled (immutable). |
| useManagerMaxBatchSize# | Hook | @tokenops/sdk/fhe-vesting/react | Read the manager clone's maxBatchSize — upper bound for batchCreateVesting. |
| useManagerMaxRevokeBatchSize# | Hook | @tokenops/sdk/fhe-vesting/react | Read the manager clone's maxRevokeBatchSize — upper bound for batchRevokeVesting. |
| useManagerPaused# | Hook | @tokenops/sdk/fhe-vesting/react | Read whether the manager clone is currently paused. |
| useManagerToken# | Hook | @tokenops/sdk/fhe-vesting/react | The manager clone's immutable underlying token address. |
| useMaxTotalSupply# | Hook | @tokenops/sdk/testnet-faucet/react | Read the max confidential total supply the wrapper supports (type(uint64).max). |
| useMerkleClaim# | Hook | @tokenops/sdk/fhe-airdrop/react | Claim the outstanding amount for a proof-bearing entry on a MerkleConfidentialAirdrop instance. |
| useMerkleClaimAndUnwrap# | Hook | @tokenops/sdk/fhe-airdrop/react | Claim a proof-bearing Merkle entry and route the allocation straight into the wrapper's unwrap, making to the underlying ERC-20 beneficiary. |
| useMerkleInitCodeHash# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Init-code hash of the Merkle proxy the factory would deploy for mode - the Merkle counterpart of useEcdsaInitCodeHash, with the same before/after bracketing job and the same /advanced/react home. |
| useMerkleRoot# | Hook | @tokenops/sdk/fhe-airdrop/react | Read a MerkleConfidentialAirdrop instance's currently published root. |
| useMintConfidential# | Hook | @tokenops/sdk/testnet-faucet/react | Mint backed confidential test tokens (CTTT) to a recipient. |
| useMintUnderlying# | Hook | @tokenops/sdk/testnet-faucet/react | Mint standard (non-confidential) ERC-20 test tokens (TTT) to a recipient. |
| usePartialClaim# | Hook | @tokenops/sdk/fhe-vesting/react | Claim less than the unlocked amount — leaves the remainder encrypted on the clone. |
| usePause# | Hook | @tokenops/sdk/fhe-vesting/react | Pauser: pause the manager clone — blocks claim, partialClaim, splitVesting, initiateVestingTransfer, acceptVestingTransfer, and directVestingTransfer. |
| usePause# | Hook | @tokenops/sdk/fhe-disperse/react | Admin: pause all disperse operations on the singleton. |
| usePendingVestingTransfer# | Hook | @tokenops/sdk/fhe-vesting/react | Read the pending transfer (if any) on a vesting — returns { newRecipient, initiatedAt, expiresAt }. |
| usePlanMerkleCampaign# | Hook | @tokenops/sdk/fhe-airdrop/react | Build a campaign for a Merkle instance that does not exist yet, so its root can be baked in at create time — the immutable-root path. |
| usePredictEcdsaAirdropAddress# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Where an ECDSA create* from deployer with this (mode, userSalt) pair would land. |
| usePredictManagerAddress# | Hook | @tokenops/sdk/fhe-vesting/advanced/react | CREATE2 the manager clone address before deploying — pre-flight UI flows. |
| usePredictMerkleAirdropAddress# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Where a Merkle create* from deployer with this (mode, userSalt) pair would land. |
| usePredictWallets# | Hook | @tokenops/sdk/fhe-disperse/react | Compute the deterministic subwallet addresses for a deployer without registering. |
| usePreflightClaim# | Hook | @tokenops/sdk/fhe-airdrop/react | Report what would stop a claim right now - chain support, the pause flag, both ends of the claim window, whether claimant can cover the exact-equality gas fee, the Merkle argument-relation rules when account/entrypoint are given, and for an ECDSA campaign given signature, whether the authorisation is valid and unconsumed. |
| usePreflightCreateAirdrop# | Hook | @tokenops/sdk/fhe-airdrop/react | Read-only preflight for useCreateEcdsaAirdrop / useCreateMerkleAirdrop. |
| usePreflightCreateVesting# | Hook | @tokenops/sdk/fhe-vesting/react | Read-only preflight for useCreateVesting / useBatchCreateVesting — wraps ConfidentialVestingManagerClient.preflightCreateVesting as a TanStack query. |
| usePreflightDisperse# | Hook | @tokenops/sdk/fhe-disperse/react | Dry-run validator — checks operator + balance + paused state before broadcasting. |
| UserDecryptNotAllowedError# | Error | @tokenops/sdk/. | Zama ACL refused to grant decryption for the caller on the requested handle. |
| useRecipientVestings# | Hook | @tokenops/sdk/fhe-vesting/react | Read all vesting IDs owned by recipient. |
| useRecipientVestingsLength# | Hook | @tokenops/sdk/fhe-vesting/react | Read the number of vesting schedules owned by recipient. |
| useRecipientVestingsSliced# | Hook | @tokenops/sdk/fhe-vesting/react | Read a [start, end) slice of recipient's vesting IDs. |
| useRecoverERC20FromWallets# | Hook | @tokenops/sdk/fhe-disperse/react | Recover ERC-20 tokens accidentally sent to the caller's registered wallets. |
| useRecoverFromWallets# | Hook | @tokenops/sdk/fhe-disperse/react | Recover residual confidential ERC-7984 tokens from the caller's registered wallets to to. |
| useRefreshComplianceBalance# | Hook | @tokenops/sdk/fhe-airdrop/react | Submits a transaction. Re-grants the compliance-manager clone on the instance's current pool balance and returns the handle it was granted on. |
| useRegister# | Hook | @tokenops/sdk/fhe-disperse/react | First-time setup for a deployer — singleton creates the two ERC-1167 subwallets. |
| useRenounceRole# | Hook | @tokenops/sdk/fhe-vesting/react | AccessControl: renounce role from msg.sender. |
| useRescueConfidentialTokens# | Hook | @tokenops/sdk/fhe-disperse/react | Sweep stranded confidential tokens out of the singleton contract (admin-only). |
| useRescueERC20# | Hook | @tokenops/sdk/fhe-airdrop/react | Sweep stranded plain ERC-20 tokens (e.g. someone sent the wrong token). |
| useRescueERC20# | Hook | @tokenops/sdk/fhe-disperse/react | Sweep stranded plain ERC-20 tokens (e.g. someone sent the wrong token). |
| useRescueNativeToken# | Hook | @tokenops/sdk/fhe-airdrop/react | Sweep ETH stranded on a zero-fee airdrop instance (a forced send, or a transfer to the predicted address before deploy) to recipient. |
| useRescueOtherConfidentialToken# | Hook | @tokenops/sdk/fhe-airdrop/react | Sweep a different ERC-7984 token that was sent to an airdrop instance by mistake. |
| useResetGasFee# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: reset the factory's default gas fee to zero. |
| useResetTokenFee# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: reset the factory's default token fee to zero. |
| useResolveGasFee# | Hook | @tokenops/sdk/fhe-airdrop/react | The per-claim fee a create* from creator would freeze into the new instance right now: their setCustomFee override when enabled, else the factory default. |
| useRevokeComplianceDelegate# | Hook | @tokenops/sdk/fhe-airdrop/react | Revoke a client delegate's user-decryption delegation. |
| useRevokeRole# | Hook | @tokenops/sdk/fhe-vesting/react | AccessControl: revoke role from holder. |
| useRevokeRole# | Hook | @tokenops/sdk/fhe-disperse/react | AccessControl: revoke role from holder on the singleton. |
| useRevokeTokenOnWallets# | Hook | @tokenops/sdk/fhe-disperse/react | Revoke operator approval on the subwallets (rollback). |
| useRevokeVesting# | Hook | @tokenops/sdk/fhe-vesting/react | Admin revocation — clears the schedule (revocable variants only) and returns funds. |
| UserFees# | Type | @tokenops/sdk/fhe-disperse | Resolved fee configuration for a given user. |
| useRoleConstants# | Hook | @tokenops/sdk/fhe-vesting/react | Read all eight AccessControl role hashes off the manager in one fan-out. |
| useRotateMerkleRoot# | Hook | @tokenops/sdk/fhe-airdrop/react | Rebuild a campaign against updated totals and publish the new root in one call. |
| UserRejectedSignatureError# | Error | @tokenops/sdk/. | User cancelled the wallet signature prompt. |
| useSetComplianceDelegate# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Set the platform-designated compliance delegate that every new compliance-manager clone wires in. |
| useSetComplianceManagerImpl# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Point future compliance-manager clones at a new implementation. |
| useSetCompliancePolicy# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Override the factory's default delegate-to-compliance policy for one creator. |
| useSetCustomFee# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: install a per-creator fee override on the factory. |
| useSetCustomFee# | Hook | @tokenops/sdk/fhe-disperse/react | Admin: install a per-user fee override (gas fee in wei, token fee in BPS). |
| useSetCustomFee# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Override the factory's default per-claim gas fee for one creator. |
| useSetDefaultDelegateToCompliance# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Set the factory-wide default for whether new instances delegate compliance disclosure to the platform delegate. |
| useSetDefaultFeeType# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: set the factory's default fee model (FeeType.Gas or FeeType.DistributionToken) for new manager clones. |
| useSetDefaultGasFee# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: set the factory-wide default gas fee (in wei). |
| useSetDefaultGasFee# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Set the per-claim gas fee that new instances default to when their creator has no setCustomFee override. |
| useSetDefaultTokenFee# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: set the factory-wide default token fee (basis points). |
| useSetDefaultUpgradeable# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Set the factory-wide default for whether a create* may deploy mode: "uups". |
| useSetEcdsaImplementation# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Point future createEcdsaAirdrop* calls at a new ECDSA implementation. |
| useSetFeeCollector# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: set the factory's fee collector address. |
| useSetFeeCollector# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Set the account seeded with FEE_COLLECTOR_ROLE on instances the factory creates after this call. |
| useSetFeeConfig# | Hook | @tokenops/sdk/fhe-disperse/react | Admin: update the global fee configuration — enable/disable gas and token fees, set the defaults. |
| useSetMaxBatchSize# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: bump or lower maxBatchSize (cap for useBatchCreateVesting). |
| useSetMaxBatchSizeDirect# | Hook | @tokenops/sdk/fhe-disperse/react | Admin: set the maximum batch size for "direct" mode disperses. |
| useSetMaxBatchSizeHolding# | Hook | @tokenops/sdk/fhe-disperse/react | Admin: set the maximum batch size for "wallet" mode disperses. |
| useSetMaxBatchSizeTokenFee# | Hook | @tokenops/sdk/fhe-disperse/react | Admin: set the maximum batch size for "wallet-token-fee" mode disperses. |
| useSetMaxGasFee# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Set the factory's ceiling on every fee setDefaultGasFee / setCustomFee may configure, and on the fee resolved at create. |
| useSetMaxRevokeBatchSize# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: bump or lower maxRevokeBatchSize (cap for useBatchRevokeVesting). |
| useSetMerkleImplementation# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Point future createMerkleAirdrop* calls at a new Merkle implementation. |
| useSetMerkleRoot# | Hook | @tokenops/sdk/fhe-airdrop/react | Rotate the published root on a MerkleConfidentialAirdrop instance. |
| useSetUpgradeabilityPolicy# | Hook | @tokenops/sdk/fhe-airdrop/advanced/react | Override the factory's default upgradeability policy for one creator. |
| useSignClaimAuthorization# | Hook | @tokenops/sdk/fhe-airdrop/react | Admin signs the off-chain EIP-712 Claim(address recipient,bytes32 encryptedAmount) message. |
| useSplitVesting# | Hook | @tokenops/sdk/fhe-vesting/react | Split one vesting into two with custom proportions; both stay encrypted. |
| useTokenOf# | Hook | @tokenops/sdk/fhe-airdrop/react | Resolve the token the factory recorded for an airdrop instance at create - what fundAirdrop pulls, regardless of what the instance reports today. |
| useTransferFeeCollectorRole# | Hook | @tokenops/sdk/fhe-vesting/react | Transfer the FEE_COLLECTOR_ROLE to newCollector. |
| useUnderlyingBalance# | Hook | @tokenops/sdk/testnet-faucet/react | Read the plaintext underlying TokenopsTestToken (TTT) balance for account (defaults to the connected wallet), in TTT 18-decimal base units. |
| useUnderlyingDecimals# | Hook | @tokenops/sdk/testnet-faucet/react | Read the decimals of the underlying token (TTT) — 18. |
| useUnderlyingTokenAddress# | Hook | @tokenops/sdk/testnet-faucet/react | Read the underlying TokenopsTestToken (TTT) address backing the CTTT wrapper. |
| useUnpause# | Hook | @tokenops/sdk/fhe-vesting/react | Pauser: unpause the manager clone. |
| useUnpause# | Hook | @tokenops/sdk/fhe-disperse/react | Admin: unpause the singleton. |
| useUnwrapRequest# | Hook | @tokenops/sdk/fhe-airdrop/react | The unwrap request a claimAndUnwrap started: waits for hash to be mined and decodes the instance's ClaimedAndUnwrapInitiated event. |
| useVestingInfo# | Hook | @tokenops/sdk/fhe-vesting/react | Plaintext schedule shape (start / end / cliff / interval) + encrypted-handle metadata. |
| useWalletImplementation# | Hook | @tokenops/sdk/fhe-disperse/react | Read the WALLET_IMPLEMENTATION address — the singleton clones this deterministically (Clones.cloneDeterministic) for each registered user to derive their wallet pair. |
| useWithdrawAdmin# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: withdraw an encrypted amount of the manager's distribution token to msg.sender. |
| useWithdrawConfidential# | Hook | @tokenops/sdk/fhe-airdrop/react | Sweep an airdrop instance's entire remaining confidential balance to recipient. |
| useWithdrawGasFee# | Hook | @tokenops/sdk/fhe-vesting/react | Fee collector: withdraw collected gas-fee ETH (FeeType.Gas managers). |
| useWithdrawGasFee# | Hook | @tokenops/sdk/fhe-airdrop/react | Withdraw an airdrop instance's accrued per-claim fee ETH to recipient. |
| useWithdrawGasFee# | Hook | @tokenops/sdk/fhe-disperse/react | Fee-collector: withdraw amount wei of accumulated ETH gas fees from the singleton to to. |
| useWithdrawOtherConfidentialToken# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: rescue an ERC-7984 (confidential) token other than this manager's configured token. |
| useWithdrawOtherToken# | Hook | @tokenops/sdk/fhe-vesting/react | Admin: rescue an ERC-20 (non-confidential) other than this manager's configured token. |
| useWithdrawTokenFee# | Hook | @tokenops/sdk/fhe-vesting/react | Fee collector: withdraw collected distribution-token fees (FeeType.DistributionToken managers). |
| useWithdrawTokenFee# | Hook | @tokenops/sdk/fhe-disperse/react | Fee-collector: withdraw accumulated encrypted token fees. |
| validateCampaignRecipients# | Function | @tokenops/sdk/fhe-airdrop | Reject the campaign shapes that produce an unusable or misleading tree, before any encryption work is done. |
| VestingExpiredError# | Error | @tokenops/sdk/fhe-vesting | Vesting has ended (block.timestamp > endTimestamp); admin actions like revoke are no longer valid. |
| VestingInfo# | Type | @tokenops/sdk/fhe-vesting | Read-only snapshot returned by getVestingInfo. |
| VestingNotFoundError# | Error | @tokenops/sdk/fhe-vesting | Vesting schedule with this ID does not exist. |
| VestingNotRevocableError# | Error | @tokenops/sdk/fhe-vesting | Vesting was created with isRevocable: false and cannot be revoked. |
| VestingParams# | Type | @tokenops/sdk/fhe-vesting | Plaintext mirror of IConfidentialVestingManagerTypes.VestingParams. |
| VestingRevokedError# | Error | @tokenops/sdk/fhe-vesting | Vesting has already been revoked. |
| WalletChainMismatchError# | Error | @tokenops/sdk/. | The connected wallet is on a different chain than the contract we tried to call. |
| WalletRejectedError# | Error | @tokenops/sdk/. | Wallet UI cancelled the request — e.g. |
| WithdrawAdminArgs# | Type | @tokenops/sdk/fhe-vesting | Arguments for withdrawAdmin. |
| WithdrawTokenFeeArgs# | Type | @tokenops/sdk/fhe-vesting | Arguments for withdrawTokenFee. |
| WithdrawTokenFeeResult# | Type | @tokenops/sdk/fhe-disperse | Result of withdrawTokenFee(). |
| withTelemetry# | Function | @tokenops/sdk/telemetry | Helper used inside SDK clients: span + error forwarding. |
| WriteAccountOverride# | Type | @tokenops/sdk/fhe-airdrop | Who sends the transaction, when it should not be the wallet client's own account, and the gas limit to send it with, when the SDK's padded estimate should not decide it. |