yieldprotocol / governance-v2

Governance proposals for Yield v2
1 stars 3 forks source link

Give developer role to 0xC7aE076086623ecEA2450e364C838916a043F9a8 #1

Closed alcueca closed 3 years ago

alcueca commented 3 years ago

Proposal Give developer role to 0xC7aE076086623ecEA2450e364C838916a043F9a8, controlled by @alcueca

Background There aren't any accounts with a developer role, which allows for a safer operation of the protocol. Developers can propose and execute governance proposals, but not approve them. Developers can also execute emergency plans, but not register them or restore permissions.

Details

  const newDeveloper = '0xC7aE076086623ecEA2450e364C838916a043F9a8'
  const proposal: Array<{ target: string; data: string }> = []
  proposal.push({
    target: timelock.address,
    data: timelock.interface.encodeFunctionData('grantRoles', [
      [
        '0xca02753a', // propose,
        '0x013a652d', // proposeRepeated
        '0xbaae8abf', // execute
        '0xf9a28e8b', // executeRepeated
      ],
      newDeveloper,
    ]),
  })
  proposal.push({
    target: cloak.address,
    data: cloak.interface.encodeFunctionData('grantRoles', [
      [
        id(cloak.interface, 'execute(bytes32)')
      ],
      newDeveloper,
    ]),
  })
alcueca commented 3 years ago

This proposal has been submitted to the Timelock with hash 0xc65eaef94ceb935272146ea664bc2a2fd058f5ea15d1693124e24ce631addc0b

alcueca commented 3 years ago

This proposal has been approved.

alcueca commented 3 years ago

This proposal has been executed.