ens-contracts icon indicating copy to clipboard operation
ens-contracts copied to clipboard

Adding contract for bulk subname operations

Open serenae-fansubs opened this issue 1 year ago • 0 comments

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.

serenae-fansubs avatar Aug 11 '23 17:08 serenae-fansubs