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

Ensure cellar is owned by gravity contract before submitting cork #102

Open
cbrit opened this issue Apr 7, 2022 · 0 comments
Open

Ensure cellar is owned by gravity contract before submitting cork #102

cbrit opened this issue Apr 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@cbrit
Copy link
Member

cbrit commented Apr 7, 2022

It is required of cellar deployers to transfer ownership to the gravity contract via transferOwnership(address) before gravity will be able to execute functions that have the onlyOwner modifier (which should be all functions that Strategy Providers use). Since there currently is no automatic way to transfer ownership to gravity upon governance approval of a new cellar, Steward should check and then cache whether or not a target cellar address is indeed owned by gravity before submitting a cork. The owner() contract function will return the owner address.

@cbrit cbrit added the enhancement New feature or request label Apr 7, 2022
@cbrit cbrit removed their assignment Apr 18, 2022
@cbrit cbrit removed their assignment Jul 18, 2022
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