Skip to content

Commit

Permalink
fix token name and assetCount for mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
danoctavian committed Aug 16, 2024
1 parent 88d1e1d commit 9eb0f96
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions script/DeployYnLSDe.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ contract DeployYnLSDe is BaseYnEigenScript {
ContractAddresses.ChainAddresses memory chainAddresses = contractAddresses.getChainAddresses(block.chainid);
eigenPodManager = IEigenPodManager(chainAddresses.eigenlayer.EIGENPOD_MANAGER_ADDRESS);
delegationManager = IDelegationManager(chainAddresses.eigenlayer.DELEGATION_MANAGER_ADDRESS);
delayedWithdrawalRouter = IDelayedWithdrawalRouter(chainAddresses.eigenlayer.DELAYED_WITHDRAWAL_ROUTER_ADDRESS); // Assuming DEPOSIT_2_ADDRESS is used for DelayedWithdrawalRouter
strategyManager = IStrategyManager(chainAddresses.eigenlayer.STRATEGY_MANAGER_ADDRESS);

// Deploy timelock
Expand All @@ -108,7 +107,7 @@ contract DeployYnLSDe is BaseYnEigenScript {
delay,
_proposers,
_executors,
actors.admin.PROXY_ADMIN_OWNER // admin
actors.wallets.YNSecurityCouncil // admin
);
}

Expand Down Expand Up @@ -137,7 +136,7 @@ contract DeployYnLSDe is BaseYnEigenScript {

if (block.chainid == 1) {

uint256 assetCount = 3;
uint256 assetCount = 4;
assets = new IERC20[](assetCount);
assets[0] = IERC20(chainAddresses.lsd.WSTETH_ADDRESS);
assets[1] = IERC20(chainAddresses.lsd.SFRXETH_ADDRESS);
Expand Down Expand Up @@ -191,7 +190,7 @@ contract DeployYnLSDe is BaseYnEigenScript {
address[] memory lsdPauseWhitelist = new address[](0);

ynEigen.Init memory ynlsdeInit = ynEigen.Init({
name: "Eigenlayer YieldNest LSD",
name: "YieldNest Restaked LSD - Eigenlayer",
symbol: "ynLSDe",
admin: actors.admin.ADMIN,
pauser: actors.ops.PAUSE_ADMIN,
Expand Down

0 comments on commit 9eb0f96

Please sign in to comment.