Airdrop · Hooks · 43

Every airdrop method, as a hook.

Filter by lifecycle (where in the flow), TanStack shape (how to wire it), or encryptor dependency. Import path is @tokenops/sdk/fhe-airdrop/react.

Lifecycle
Return shape
Encryptor
43 hooks
Group:

Setup · deploy · 4

Deploy a factory clone or register with the singleton — the one-time entrypoint.

Configure · 5

Set fees, batch limits, claim windows. Caller is usually the factory or clone owner.

Write · 2

Headline writes — submit a tx through the connected wallet.

Encrypted read · 2

Returns a ciphertext handle. Some are useQuery; some are useMutation (FHE.allow grants ACL inside a tx). Pair with useDecryptedHandle.

Read · 14

Plaintext on-chain reads. TanStack Query envelope, cached + refetched.

Roles · RBAC · 3

RBAC — grant, revoke, renounce. Read role constants + membership.

Recovery · 6

Pause / unpause / withdraw / rescue — recover the system or its funds.

Signature helper · 1

Off-chain EIP-712 signing helper — no chain interaction.

Introspection · 6

Deterministic CREATE2 inputs, role bytes, immutable deployment metadata.