2.0 RC docsView 1.x docs
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.
Vesting 2.0 · ABIs · 3

Raw Vesting 2.0 ABI exports.

Plain JSON arrays for viem, wagmi or any ABI tooling. Counts are read from the installed package. The clients add what the ABIs cannot: gas headroom, typed revert mapping and receipt parsing.

Available ABIs

  • confidentialVestingFactoryAbi@tokenops/sdk/fhe-vesting

    ConfidentialVestingFactory: createManager / createManagerWithOptions, address prediction, default and per-creator fees, and its AccessControl surface.

    28 fns10 events
  • confidentialVestingManagerAbi@tokenops/sdk/fhe-vesting

    The per-user manager clone, merged with its extension: the vesting lifecycle, encrypted views, disclosure, withdrawals, pause and RBAC.

    75 fns23 events
  • erc7984OperatorAbi@tokenops/sdk/fhe-vesting

    Minimal ERC-7984 isOperator / setOperator fragment, called on the distribution token. Backs setOperator / revokeOperator, which /fhe-vesting now exports.

    2 fns1 events

Direct viem usage

The SDK client classes are the recommended surface — they handle encryptor resolution, branded ids, retries, telemetry. But the ABIs themselves ship for one-off reads, indexing, or third-party tooling integration.

@tokenops/sdk/fhe-vesting
ts
import { getContract } from "viem";
import { confidentialVestingManagerAbi } from "@tokenops/sdk/fhe-vesting";

// Attach directly to viem if you'd rather skip the SDK client class —
// useful for one-off reads or for surfacing the contract in your own tooling.
const contract = getContract({
  address: contractAddress,
  abi: confidentialVestingManagerAbi,
  client: { public: publicClient, wallet: walletClient },
});

// Now you have a viem-typed contract — every method exists on contract.read /
// contract.write. The SDK client class wraps this with retries, encryptor resolution, branded ids —
// but the underlying ABI is the same.
For decoded event consumption, see Vesting 2.0 › Events — same ABI, indexer-friendly view.Browse recipes