Skip to content

Commit

Permalink
Merge pull request #1295 from Badger-Finance/feat/issue#1277
Browse files Browse the repository at this point in the history
feat: upgrade ownership of mint/burn controller to timelock
  • Loading branch information
petrovska-petro authored Jun 12, 2023
2 parents c118c12 + d7332a7 commit 8735738
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/issue/1277/mint_controller_admin_update.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from great_ape_safe import GreatApeSafe
from helpers.addresses import r


def main():
safe = GreatApeSafe(r.badger_wallets.dev_multisig)

# contracts
controller = safe.contract(r.GatedMiniMeController)
timelock_gov = safe.contract(r.governance_timelock)

controller.transferOwnership(timelock_gov)

# guardian setup
timelock_gov.setGuardian(r.badger_wallets.techops_multisig)

safe.post_safe_tx()

0 comments on commit 8735738

Please sign in to comment.