22pragma solidity ^ 0.8.19 ;
33
44// import "../src/TestToken.sol";
5- import "../src/AlignedTokenV2 .sol " ;
5+ import "../src/ExampleAlignedTokenV2 .sol " ;
66import "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol " ;
77import "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol " ;
88import {ERC1967Utils } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol " ;
@@ -13,7 +13,7 @@ import {Utils} from "./Utils.sol";
1313/// @notice This script upgrades the ClaimableAirdrop contract to ClaimableAirdropV2.
1414/// @dev The `ProxyAdmin` owner must be the runner of this script since it is the
1515/// one that will call the upgradeAndCall function of the `ProxyAdmin`.
16- contract UpgradeToClaimableAirdropV2 is Script {
16+ contract UpgradeToAlignedTokenV2 is Script {
1717 function run (string memory config ) public {
1818 string memory root = vm.projectRoot ();
1919 string memory path = string .concat (
@@ -30,14 +30,14 @@ contract UpgradeToClaimableAirdropV2 is Script {
3030 );
3131
3232 vm.startBroadcast ();
33- AlignedTokenV2 _newToken = new AlignedTokenV2 ();
33+ ExampleAlignedTokenV2 _newToken = new ExampleAlignedTokenV2 ();
3434
3535 address _adminAddress = getAdminAddress (_currentTokenProxy);
3636
3737 ProxyAdmin (_adminAddress).upgradeAndCall (
3838 ITransparentUpgradeableProxy (_currentTokenProxy),
3939 address (_newToken),
40- abi.encodeCall (AlignedTokenV2 .reinitialize, ())
40+ abi.encodeCall (ExampleAlignedTokenV2 .reinitialize, ())
4141 );
4242
4343 vm.stopBroadcast ();
0 commit comments