From 0926db7ac387b31a5fb778bf90400b757440d969 Mon Sep 17 00:00:00 2001 From: stubbsta Date: Wed, 13 Aug 2025 11:55:43 +0200 Subject: [PATCH] Transfer token proxy contract ownership to deployer --- script/DeployTokenWithProxy.s.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/DeployTokenWithProxy.s.sol b/script/DeployTokenWithProxy.s.sol index c5c94da..51d9848 100644 --- a/script/DeployTokenWithProxy.s.sol +++ b/script/DeployTokenWithProxy.s.sol @@ -20,6 +20,9 @@ contract DeployTokenWithProxy is BaseScript { // Deploy the proxy with empty initialization data proxy = address(new TransparentUpgradeableProxy(implementation, admin, "")); + // Transfer ownership to the broadcaster (deployer) + TestStableToken(proxy).transferOwnership(broadcaster); + return (proxy, implementation, admin); } }