Headless clients for vesting
Clients read and write managers; the versioned engine previews their audited plaintext rules without network access.
Deploy per-user manager clones (receipt-free for Safe signers) and administer the factory's default and per-creator fees. ConfidentialVestingFactoryAdvancedClient on /fhe-vesting/advanced adds predictManagerAddress.
One client per clone: open, claim, partial-claim, split, transfer, disclose, revoke and withdraw, with preflights for create and claim.
The clients are not the only headless surface. createVestingEngine('v1') validates drafts and reproduces vesting, claim-state, token-fee, split and revoke math from explicit inputs. It does not replace reads, encryption or writes; adapt client VestingInfo into its neutral Schedule shape.
Both configs take publicClient, an optional walletClient, telemetry, and gasHeadroomPercent (default DEFAULT_GAS_HEADROOM_PERCENT, 25). The factory resolves its address from the chain id; the manager needs the clone address and an encryptor for any write that submits an encrypted amount.
Every write refuses a wallet on a different chain than the public client with WalletChainMismatchError, before estimating gas, and throws the typed revert from a failing estimate instead of handing the call back to the wallet.