Airdrop · Roles · 3@tokenops/sdk/fhe-airdrop
Airdrop role constants.
The clone has exactly two roles: DEFAULT_ADMIN_ROLE (signs EIP-712 Claim(address recipient,bytes32 encryptedAmount) authorizations and runs every admin op) and FEE_COLLECTOR_ROLE (sweeps collected ETH gas fees, and is its own role admin). FEE_MANAGER_ROLE exists only on the factory.
| Role | Permits | Granted by |
|---|---|---|
| DEFAULT_ADMIN_ROLE 0x0000000000000000…000000 | Sign claim authorizations (the clone verifies the EIP-712 signer holds this role), setPaused, extendClaimWindow, withdraw the pool, and rescue stray tokens (withdrawOtherToken / withdrawOtherConfidentialToken). Granted to the admin passed at initialize. | DEFAULT_ADMIN_ROLE |
| FEE_COLLECTOR_ROLE 0x2dca0f5ce7e75a4b…038821 | withdrawGasFee on the clone: sweep the ETH claim fees recipients attach. This role is its own role admin (the clone calls _setRoleAdmin(FEE_COLLECTOR_ROLE, FEE_COLLECTOR_ROLE)), so only a current fee collector can grant or revoke it. Not even DEFAULT_ADMIN can. | FEE_COLLECTOR_ROLE |
| FEE_MANAGER_ROLE 0x6c0757dc3e6b28b2…04ff1c | Factory-side only; this role does not exist on clones. Gates setFeeCollector, setDefaultGasFee, setCustomFee, and disableCustomFee on the factory. | DEFAULT_ADMIN_ROLE (factory) |