Vesting · Roles · 9@tokenops/sdk/fhe-vesting
Vesting role constants.
Roles segment the operator surface. Aria holds DEFAULT_ADMIN_ROLE on her manager clones; finer roles (VESTING_CREATOR, REVOKER, PAUSER, DISCLOSURE_ADMIN) let her delegate without giving away full control. FEE_MANAGER_ROLE is a factory role and never appears on a manager clone.
| Role | Permits | Granted by |
|---|---|---|
| DEFAULT_ADMIN_ROLE 0x0000000000000000…000000 | Grant + revoke the other manager roles (except FEE_COLLECTOR_ROLE, which is self-administered) and call setMaxBatchSize / setMaxRevokeBatchSize. Held by the manager owner at deploy. | DEFAULT_ADMIN_ROLE |
| VESTING_CREATOR_ROLE 0xf775c0bcd58c044b…313ee7 | Call createVesting + batchCreateVesting - open new schedules on the manager. | DEFAULT_ADMIN_ROLE |
| REVOKER_ROLE 0xce3f34913921da55…deee30 | Call revokeVesting + batchRevokeVesting on schedules created with isRevocable: true. | DEFAULT_ADMIN_ROLE |
| CLAIMER_ROLE 0x11a8cb5a02bd6c42…1d9c78 | Call adminClaim + adminPartialClaim - settle vested tokens to a recipient on their behalf (gas-sponsored claim flows). | DEFAULT_ADMIN_ROLE |
| WITHDRAWER_ROLE 0x10dac8c06a04bec0…1334e4 | Call withdrawAdmin, withdrawOtherToken, withdrawOtherConfidentialToken - pull unallocated or stray tokens out of the manager. | DEFAULT_ADMIN_ROLE |
| FEE_COLLECTOR_ROLE 0x2dca0f5ce7e75a4b…038821 | Call withdrawGasFee + withdrawTokenFee. Self-administered: the current collector hands it off via transferFeeCollectorRole; DEFAULT_ADMIN_ROLE cannot grant or revoke it. | FEE_COLLECTOR_ROLE (transferFeeCollectorRole) |
| PAUSER_ROLE 0x65d7a28e3265b37a…0d862a | Call pause() + unpause() on pausable clones. While paused: claim, partialClaim, splitVesting, and the transfer flow (initiate / accept / direct) revert. createVesting is NOT pause-gated. | DEFAULT_ADMIN_ROLE |
| DISCLOSURE_ADMIN_ROLE 0xcf8a7913f3d76add…feb0c8 | Call adminDiscloseToParty / adminBatchDiscloseToParty + the adminGet* encrypted-view reads. Bypasses recipient consent for compliance flows. | DEFAULT_ADMIN_ROLE |
| FEE_MANAGER_ROLE 0x6c0757dc3e6b28b2…04ff1c | FACTORY role - lives on ConfidentialVestingFactory, not the manager clone. Gates the factory fee config: setDefaultGasFee / setDefaultTokenFee / setDefaultFeeType / setCustomFee / disableCustomFee / setFeeCollector / resetGasFee / resetTokenFee. | Factory DEFAULT_ADMIN_ROLE |