Skip to content

Commit

Permalink
strategy adder
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Dec 12, 2024
1 parent 6431f97 commit 827bd02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script/VaultManagement.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contract SetupVaultManagement is Script {
address asset = vm.envAddress("ASSET_ADDRESS");
string memory name = vm.envString("VAULT_NAME");
string memory symbol = vm.envString("VAULT_SYMBOL");
uint256 profitMaxUnlockTime = vm.envUint("PROFIT_MAX_UNLOCK_TIME");
uint256 profitMaxUnlockTime = vm.envUint("PROFIT_MAX_UNLOC"K_TIME");
IVaultFactory vaultFactory = IVaultFactory(vaultFactoryAddress);
address vaultAddress = vaultFactory.deploy_new_vault(
Expand All @@ -59,7 +59,9 @@ contract SetupVaultManagement is Script {

function _configureVault() internal {
address keeper = vm.envAddress("KEEPER_ADDRESS");
address strategyAdder = vm.envAddress("STRATEGY_ADDER_ADDRESS");

address strategyAdder = vm.envAddress("STRATEGY_ADDER");

uint256 depositLimit = vm.envOr("DEPOSIT_LIMIT", uint256(0));

// Set deployer roles
Expand Down

0 comments on commit 827bd02

Please sign in to comment.