@@ -56,9 +56,9 @@ export const ROLES = {
5656 ADMIN ,
5757} as const ;
5858
59- /** Role bitmaps for static deployment per README Static Deployment Permissions. */
59+ // Role bitmaps for static deployment per README Static Deployment Permissions.
6060export const DEPLOYMENT_ROLES = {
61- /** RootRegistry root: REGISTRAR✓✓, REGISTER_RESERVED✓✓, SET_PARENT✓✓, RENEW✓✓ */
61+ // RootRegistry root: REGISTRAR✓✓, REGISTER_RESERVED✓✓, SET_PARENT✓✓, RENEW✓✓
6262 ROOT_REGISTRY_ROOT :
6363 ROLES . REGISTRY . REGISTRAR |
6464 ROLES . ADMIN . REGISTRY . REGISTRAR |
@@ -68,24 +68,25 @@ export const DEPLOYMENT_ROLES = {
6868 ROLES . ADMIN . REGISTRY . SET_PARENT |
6969 ROLES . REGISTRY . RENEW |
7070 ROLES . ADMIN . REGISTRY . RENEW ,
71- /** .eth token: SET_SUBREGISTRY AR, SET_RESOLVER AR */
71+ // .eth token: SET_SUBREGISTRY AR, SET_RESOLVER AR
7272 ETH_TOKEN :
7373 ROLES . REGISTRY . SET_SUBREGISTRY |
7474 ROLES . ADMIN . REGISTRY . SET_SUBREGISTRY |
7575 ROLES . REGISTRY . SET_RESOLVER |
7676 ROLES . ADMIN . REGISTRY . SET_RESOLVER ,
77- /**
78- * Full registry role bitmap for ReverseRegistry root, .reverse token, and .addr token.
79- * Granting all roles is harmless; some (e.g. REGISTRAR) are root-only and don't apply to tokens.
80- */
77+ // Full registry role bitmap for ReverseRegistry root, .reverse token, and .addr token.
78+ // Granting all roles is harmless; some (e.g. REGISTRAR) are root-only and don't apply to tokens.
8179 REVERSE_AND_ADDR : FLAGS . ALL ,
82- /** ETHRegistry root deployer: REGISTRAR✓, REGISTER_RESERVED✓, SET_PARENT✓✓, RENEW✓ */
80+ // ETHRegistry root deployer: REGISTRAR✓, REGISTER_RESERVED✓, SET_PARENT✓✓, RENEW✓
8381 ETH_REGISTRY_ROOT :
8482 ROLES . ADMIN . REGISTRY . REGISTRAR |
8583 ROLES . ADMIN . REGISTRY . REGISTER_RESERVED |
8684 ROLES . REGISTRY . SET_PARENT |
8785 ROLES . ADMIN . REGISTRY . SET_PARENT |
8886 ROLES . ADMIN . REGISTRY . RENEW ,
87+ // UnlockedMigrationController and LockedMigrationController
88+ // only need to register() pre-migrated reservations on ETHRegistry (see: "ENSv2 Migration Case Study")
89+ MIGRATION_CONTROLLER_ROOT : ROLES . REGISTRY . REGISTER_RESERVED ,
8990} as const ;
9091
9192// see: IPermissionedRegistry.sol
0 commit comments