Skip to content

Commit 3dad785

Browse files
committed
Fix documentation
1 parent 136ec03 commit 3dad785

File tree

1 file changed

+4
-32
lines changed

1 file changed

+4
-32
lines changed

script/staking/UpgradeToWIMXV2.t.sol

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -33,40 +33,12 @@ interface IDeployer {
3333
returns (address deployedAddress_);
3434
}
3535

36-
// Args needed for compex deployment using CREATE3 and a TimelockController
37-
struct ComplexDeploymentArgs {
38-
address signer;
39-
address factory;
40-
string salt;
41-
}
42-
struct ComplexStakeHolderContractArgs {
43-
address distributeAdmin;
44-
address token;
45-
}
46-
struct ComplexTimelockContractArgs {
47-
uint256 timeDelayInSeconds;
48-
address proposerAdmin;
49-
address executorAdmin;
50-
}
51-
52-
53-
// Args needed for simple deployment
54-
struct SimpleDeploymentArgs {
55-
address deployer;
56-
}
57-
struct SimpleStakeHolderContractArgs {
58-
address roleAdmin;
59-
address upgradeAdmin;
60-
address distributeAdmin;
61-
address token;
62-
}
63-
64-
65-
6636
/**
6737
* @notice Deployment script and test code for the deployment script.
68-
* @dev testDeploy is the test.
69-
* @dev deploy() is the function the script should call.
38+
* @dev testRemainderOfUpgradeProcessToV2 Tests the upgrade
39+
* @dev deployV2() to deploy the V2 contract.
40+
* @dev proposeUpgradeToV2() to propose the upgrade.
41+
* @dev executeUpgradeToV2deploy() to execute the upgrade.
7042
* For more details on deployment see ../../contracts/staking/README.md
7143
*/
7244
contract UpgradeToWIMXV2 is Test {

0 commit comments

Comments
 (0)