File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: MIT
2+ pragma solidity ^ 0.8.23 ;
3+
4+ import "forge-std/Script.sol " ;
5+ import "../src/core/Factory.sol " ;
6+ import "../src/core/vaults/CVault.sol " ;
7+ import "../src/core/vaults/RVault.sol " ;
8+ import "../src/core/vaults/RMVault.sol " ;
9+ import "../src/strategies/YearnStrategy.sol " ;
10+
11+ contract PrepareUpgrade5Polygon is Script {
12+ function run () external {
13+ uint deployerPrivateKey = vm.envUint ("PRIVATE_KEY " );
14+ vm.startBroadcast (deployerPrivateKey);
15+
16+ // Factory 1.1.0: getDeploymentKey fix for not farming strategies, strategyAvailableInitParams
17+ new Factory ();
18+
19+ // CVault 1.3.0: VaultBase 1.3.0
20+ new CVault ();
21+
22+ // RVault 1.3.0: VaultBase 1.3.0
23+ new RVault ();
24+
25+ // RMVault 1.3.0: VaultBase 1.3.0
26+ new RMVault ();
27+
28+ // new strategy implementation
29+ new YearnStrategy ();
30+
31+ vm.stopBroadcast ();
32+ }
33+
34+ function testDeployPolygon () external {}
35+ }
You can’t perform that action at this time.
0 commit comments