ens-contracts
ens-contracts copied to clipboard
Adding contract for bulk subname operations
Convenience contract for bulk subname operations:
- Bulk create/replace unwrapped subnames
- Bulk create/replace wrapped subnames (also can be used to bulk wrap unwrapped subnames)
- Bulk unwrap wrapped subnames
- Bulk set fuses/expiry for wrapped subnames
- Bulk extend expiry for wrapped subnames
For unwrapped subname operations, first approve the contract as an operator in the core registry. For wrapped subname operations, first approve the contract as an operator in the name wrapper.
All functions require the caller to be the owner/operator of the parent name. The extend expiry function also allows an approved Subname Renewal Manager to call.