Overview
TokenENS is deployed once per chain. It wraps the ENS Registry and Public Resolver to register a subdomain (e.g. pepe.makx.eth) for every token launched through the factory. All token metadata — name, symbol, social links, contract addresses — is stored as ENS text records, queryable without a backend.
Deployment Addresses
| Network | Address |
|---|---|
| Ethereum | Coming soon |
| Base | Coming soon |
| BNB Chain | Coming soon |
| Sepolia | Coming soon |
Write Functions
registerToken (factory only)
registerToken (factory only)
updateRecord (owner)
updateRecord (owner)
updateRecords (owner)
updateRecords (owner)
transferSubdomain (owner)
transferSubdomain (owner)
setFactory (owner)
setFactory (owner)
Structs
ENS Text Records
Each token subdomain gets 11 text records set at registration:| Key | Source |
|---|---|
avatar | meta.avatar |
description | meta.description |
url | meta.url |
com.twitter | meta.comTwitter |
org.telegram | meta.comTelegram |
name | Token name |
io.makx.token.symbol | Token symbol |
io.makx.token.decimals | "18" |
io.makx.token.totalSupply | Total supply (as string) |
io.makx.token.address | Token contract address |
io.makx.launchpad.address | Bonding curve address |
Events
Errors
| Error | Condition |
|---|---|
NotOwner | Non-owner called onlyOwner function |
NotAuthorized | Non-owner and non-factory called onlyAuthorized |
TokenNotRegistered | Update on unregistered token |
LengthMismatch | Mismatched array lengths in updateRecords |
SubdomainTaken | Duplicate registration |