-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from stabilitydao/fixing
23.12.1-alpha
- Loading branch information
Showing
15 changed files
with
309 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.23; | ||
|
||
import {console} from "forge-std/Test.sol"; | ||
import "forge-std/Script.sol"; | ||
import "../chains/PolygonLib.sol"; | ||
import "../src/core/Factory.sol"; | ||
import "../src/core/Zap.sol"; | ||
import "../src/core/vaults/CVault.sol"; | ||
import "../src/core/vaults/RVault.sol"; | ||
import "../src/core/vaults/RMVault.sol"; | ||
|
||
contract PrepareUpgrade1Polygon is Script { | ||
function run() external { | ||
uint deployerPrivateKey = vm.envUint("PRIVATE_KEY"); | ||
vm.startBroadcast(deployerPrivateKey); | ||
address newImpl; | ||
|
||
newImpl = address(new Factory()); | ||
console.log("Factory 1.0.1", newImpl); | ||
newImpl = address(new Zap()); | ||
console.log("Zap 1.0.1", newImpl); | ||
|
||
newImpl = address(new CVault()); | ||
console.log("CVault 1.0.1", newImpl); | ||
newImpl = address(new RVault()); | ||
console.log("RVault 1.0.1", newImpl); | ||
newImpl = address(new RMVault()); | ||
console.log("RMVault 1.0.1", newImpl); | ||
|
||
vm.stopBroadcast(); | ||
} | ||
|
||
function testDeployPolygon() external {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.