-
Notifications
You must be signed in to change notification settings - Fork 1
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 #181 from credbull/deploy/v1.3/plume-liquidstone-u…
…ser-assets Upgrade LiquidStone contract to add totalAssets(address owner)
- Loading branch information
Showing
10 changed files
with
21,679 additions
and
8,614 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
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
27 changes: 27 additions & 0 deletions
27
packages/contracts/script/DeployLiquidMultiTokenVaultImplForUpgrade.s.sol
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,27 @@ | ||
//SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.20; | ||
|
||
import { LiquidContinuousMultiTokenVault } from "@credbull/yield/LiquidContinuousMultiTokenVault.sol"; | ||
|
||
import { Script } from "forge-std/Script.sol"; | ||
import { console2 } from "forge-std/console2.sol"; | ||
|
||
contract DeployLiquidMultiTokenVaultImplForUpgrade is Script { | ||
function run() public virtual returns (LiquidContinuousMultiTokenVault vaultImpl_) { | ||
vm.startBroadcast(); | ||
|
||
LiquidContinuousMultiTokenVault liquidVaultImpl = new LiquidContinuousMultiTokenVault(); | ||
console2.log( | ||
string.concat( | ||
"!!!!! Deploying LiquidContinuousMultiTokenVault Implementation [", | ||
vm.toString(address(liquidVaultImpl)), | ||
"] !!!!!" | ||
) | ||
); | ||
|
||
vm.stopBroadcast(); | ||
|
||
return liquidVaultImpl; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -20,4 +20,5 @@ node_modules | |
.idea | ||
|
||
# cli | ||
dist | ||
dist | ||
.vercel |
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 |
---|---|---|
|
@@ -29,14 +29,15 @@ | |
"precommit": "lint-staged", | ||
"start": "yarn workspace @se-2/nextjs dev", | ||
"test": "yarn foundry:test", | ||
"vercel": "yarn workspace @se-2/nextjs vercel", | ||
"vercel": "vercel", | ||
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo", | ||
"verify": "yarn workspace @se-2/foundry verify" | ||
}, | ||
"devDependencies": { | ||
"@types/dotenv": "^8.2.3", | ||
"husky": "^9.1.4", | ||
"lint-staged": "^15.2.9" | ||
"lint-staged": "^15.2.9", | ||
"vercel": "^39.2.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
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.