Disperse · Roles · 5@tokenops/sdk/fhe-disperse
Disperse role constants.
The singleton holds the contract-level roles. Per-operator state (registered subwallets, batches) lives off-role, gated by msg.sender — anyone who's registered can disperse their own funds.
| Role | Permits | Granted by |
|---|---|---|
| DEFAULT_ADMIN_ROLE 0x0000000000000000…000000 | Grant + revoke every other role on the singleton, plus setMaxBatchSizeHolding / setMaxBatchSizeDirect / setMaxBatchSizeTokenFee. Held by the singleton owner. | DEFAULT_ADMIN_ROLE |
| PAUSER_ROLE 0x65d7a28e3265b37a…0d862a | Pause + unpause global disperse traffic. Outstanding subwallets remain decryptable; new disperses revert. | DEFAULT_ADMIN_ROLE |
| WITHDRAWER_ROLE 0x10dac8c06a04bec0…1334e4 | Call rescueConfidentialTokens + rescueERC20 to sweep tokens accidentally sent to the singleton. | DEFAULT_ADMIN_ROLE |
| FEE_MANAGER_ROLE 0x6c0757dc3e6b28b2…04ff1c | Update the fee posture on the singleton: setFeeConfig, setCustomFee, disableCustomFee. | DEFAULT_ADMIN_ROLE |
| FEE_COLLECTOR_ROLE 0x2dca0f5ce7e75a4b…038821 | Withdraw accrued fees: withdrawGasFee, withdrawTokenFee, getEncryptedFeeReserve (the encrypted view is also open to DEFAULT_ADMIN_ROLE). | DEFAULT_ADMIN_ROLE |