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

Add an unentitled way to identify if an account be controlled by account caps #3312

Open
btspoony opened this issue May 3, 2024 · 2 comments

Comments

@btspoony
Copy link

btspoony commented May 3, 2024

Issue to be solved

The current exposed interface of the account cannot allow anyone to know whether the address has an Account Capability.
This will make it impossible to implement some logic that needs to determine the controllability of the address.

Discussion context: https://discord.com/channels/613813861610684416/1235590034837475378

Suggested Solution

Add a method that can be used by any unentitled account to determine the existence of an Account Capability.

@turbolent
Copy link
Member

Even when being able to determine there are no account capability controllers on an account, a contract deployed to the account may expose similar functionality (e.g. allows adding keys).

@btspoony
Copy link
Author

btspoony commented May 8, 2024

Even when being able to determine there are no account capability controllers on an account, a contract deployed to the account may expose similar functionality (e.g. allows adding keys).

Yes, but currently there is no way to determine the uncontrollability.

Once this is available, combined with the judgment of not deploying any contracts, it can be determined that the address is permanently uncontrollable.

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

No branches or pull requests

2 participants