Transfer token proxy contract ownership to deployer

This commit is contained in:
stubbsta 2025-08-13 11:55:43 +02:00
parent fe71bed76e
commit 0926db7ac3
No known key found for this signature in database

View File

@ -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);
}
}