Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding contract for bulk subname operations #269

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

serenae-fansubs
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant