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

NFTOwnable contract #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

NFTOwnable contract #4

wants to merge 1 commit into from

Conversation

kyzia551
Copy link
Contributor

No description provided.

@eboadom
Copy link
Contributor

eboadom commented Jul 12, 2022

It is a bit difficult to understand the idea, I think mainly because of the names of the variables

@kyzia551
Copy link
Contributor Author

The idea is to have a base Ownable contract based not on the owner's address, but based on ownership of some NFT.

In the current solution which we use across our and Aave projects it's impossible to transfer ownership of many different contracts in batch, with the "NFT as an access control" approach it will not be a problem.

For example:

  • we can do operations related to the long and short executors in one tx
  • we don't need static executors at all, because we can just transfer NFT in advance to the contract which we want to use as executor and then check, that this contract returned NFT back after

Base automatically changed from feat/update-transparent-proxy to main August 2, 2022 03:15
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.

2 participants