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

Create proposal for guardCM and CM setTargetSelectors on guardCM and revoke CM's canceller role #89

Merged
merged 9 commits into from
Sep 22, 2023

Conversation

mariapiamo
Copy link
Collaborator

@mariapiamo mariapiamo commented Sep 18, 2023

Create proposal

  • to revoke CM's canceller role; and
  • to enable the following selectors on guardCM:
    1. treasury.pause()
    2. treasury.drainServicesSlashedFunds()
    3. depository.close(productIds)
    4. serviceRegistryTokenUtility.drain()

@mariapiamo mariapiamo changed the title Create proposal for setTargetSelectors on guardCM and revoke CM's canceller role Create proposal for guardCM and CM setTargetSelectors on guardCM and revoke CM's canceller role Sep 18, 2023
const values = new Array(2).fill(0);
const callDatas = [
// CM is always able to schedule pause() and disableToken(token) function calls via the timelock
// When the new owner address are known, add the CM.swapOwner method
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this one. The CM itself can't perform actions on itself after setting a guard. The timelock is able to change / swap owners via the governance vote.

const callDatas = [
// CM is always able to schedule pause() and disableToken(token) function calls via the timelock
// When the new owner address are known, add the CM.swapOwner method
guardCM.interface.encodeFunctionData("setTargetSelectors", [[treasuryAddress, treasuryAddress],[0x3f4ba83a, 0x23e27a64], [true, true]]),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about ServiceManager pause function?

@mariapiamo mariapiamo merged commit 470bf37 into main Sep 22, 2023
@mariapiamo mariapiamo deleted the CM-gov branch September 22, 2023 11:04
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