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

feat(ownable): Add a ownable with transfer ownership in two step #3520

Open
0xtekgrinder opened this issue Jan 15, 2025 · 0 comments
Open

feat(ownable): Add a ownable with transfer ownership in two step #3520

0xtekgrinder opened this issue Jan 15, 2025 · 0 comments
Assignees

Comments

@0xtekgrinder
Copy link
Contributor

Description

Currently p/demo/ownable is a simple ownable realm with a transfer ownership that doesn't check if the receiver is the correct one.

The idea would be to create a new realm on top of it with a two step process to transfer ownership:

  • owner initiate transfer of ownership to a new address
  • new address accept the ownership of the contract and replace the old owner.
leohhhn added a commit that referenced this issue Jan 31, 2025
Addresses: #3520

Add a ownable variant realm to have a transfer of ownership with two
functions where the new owner needs to accept ownership to be sure no
mistake can be made.

---------

Co-authored-by: Leon Hudak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Status: Triage
Development

No branches or pull requests

1 participant