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

Let users set claimer for themselves #9

Open
LHerskind opened this issue Nov 16, 2021 · 0 comments
Open

Let users set claimer for themselves #9

LHerskind opened this issue Nov 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@LHerskind
Copy link

The issue was first discussed in #6 (comment)

The setClaimer functionality is currently only available to the emission manager, but giving a user the ability to set the claimer for himself could be a useful feature that allows better separation of access control for holders that want to have their Aave funds in cold storage but still claim using a hot wallet.

Suggestion:
Add a separate setClaimer() function that allow any user to set a claimer for themselves.

function setClaimer(address caller) external override {
  _authorizedClaimers[msg.sender] = caller;
  emit ClaimerSet(msg.sender, caller);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant