ensdomains / ens-contracts

The core contracts of the ENS protocol
https://ens.domains/
MIT License
586 stars 400 forks source link

Adding contract for bulk subname operations #269

Open serenae-fansubs opened 1 year ago

serenae-fansubs commented 1 year ago

Convenience contract for bulk subname operations:

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.