memoscan
← all memos

Memo 0xcd984cb9…2120f2 on Ethereum

# Delegating ENS Control to New Lil Nouns Mapper This proposal follows proposal [#312](https://lilnouns.camp/proposals/312) to deliver and delegate a new ENS Mapper contract. By passing this, the new smart contract will be recognized as ENS manager and will generate subnames linked directly to tokens. A note on Name Wrapper: in proposal #312 I mentioned using ENS’s modern Name Wrapper approach. Unfortunately, since our treasury doesn’t support safe transfer of NFTs (a requirement for Name Wrapper), we can’t use that method right now. This doesn’t affect functionality. The contract is upgradeable, so if the treasury ever migrates to a version that supports safe transfers, we can extend it in the future. ## Contract Overview The new [ENS Mapper](https://github.com/lilnouns/lilnouns-ens/blob/master/packages/contracts/src/LilNounsEnsMapperV2.sol) is an upgradeable smart contract that provides ENS subname mapping for Lil Nouns NFTs. It lets NFT owners claim and manage a human-readable ENS name (e.g., \`mynoun.lilnouns.eth\`) that stays programmatically linked to their token. The contract serves as both ENS controller (managing subnames) and resolver (providing data tied to those names). ## Core Features - **Subname Claiming** \`claimSubname()\` lets an NFT owner register a unique subname for their tokenId. Ownership is verified and no duplicate labels are allowed. - **ENS Resolution** - **IAddrResolver**: \`addr()\` resolves the ENS name to the current NFT owner, updating automatically on transfers. - **ITextResolver**: Supports text records, including a built-in “avatar” record pointing to the NFT’s EIP-155 URI. - **INameResolver**: Returns the full ENS name tied to a given node. - **Upgradeability** Uses UUPS upgradeable proxy. Logic can be upgraded without breaking existing names or requiring re-registration. - **Legacy Migration** Includes functions to migrate or release names from the V1 system. - **Ownership and Control** Controlled by \`OwnableUpgradeable\`. DAO retains administrative rights; NFT owners retain subname-level control. --- If passed, the DAO will officially delegate ENS manager rights to the new contract, enabling subname generation for Lil Nouns NFTs. This builds on the foundation from proposal #312 and provides the community with a functional, upgradeable ENS mapping system.delegating-ens-control-to-new-lil-nouns-mapperDecided in the last review it’s safer and cleaner to stick with single-step ownership; two-step didn’t seem needed here. Now it’s just one transaction, delegating the ENS manager role straight to the ENS Mapper contract.