diff --git a/scripts/issue/1277/mint_controller_admin_update.py b/scripts/issue/1277/mint_controller_admin_update.py new file mode 100644 index 00000000..3f2a505e --- /dev/null +++ b/scripts/issue/1277/mint_controller_admin_update.py @@ -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()