ens:set-fuses
Burn NameWrapper fuses on a wrapped ENS name.
Syntax
Section titled “Syntax”ens:set-fuses <name> <fuse> [...moreFuses]Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name |
string |
Wrapped ENS name (e.g. vault.mydao.eth) |
fuse |
fuse |
Fuse name to burn (e.g. cannot-unwrap) |
[...moreFuses] |
fuse |
Additional fuse names to burn |
Options
Section titled “Options”| Name | Type | Description |
|---|---|---|
--expiry |
number |
New expiry timestamp (parent-controlled fuses only; defaults to the current expiry) |
Examples
Section titled “Examples”load ens
# Lock a name: it can never be unwrapped againens:set-fuses mydao.eth cannot-unwrap
# Burn several owner-controlled fuses at onceens:set-fuses mydao.eth cannot-unwrap cannot-transfer cannot-set-resolver
# Burn parent-controlled fuses on a subname you parentens:set-fuses vault.mydao.eth parent-cannot-control cannot-unwrap- Burning fuses is irreversible for the lifetime of the name — nothing is
burned implicitly; missing prerequisites (like
cannot-unwrap) produce an error telling you what to add. - Parent-controlled fuses are burned via
setChildFuses, so the executing account must own the parent name.
See Also
Section titled “See Also”- @ens.fuses.of — read burned fuses
- @ens.fuses — build a fuse bitmap