Skip to content

Commit

Permalink
update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
eyqs committed Sep 13, 2024
1 parent c047f5b commit eee016b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nest/script/DeployNestContracts.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

import { AggregateToken } from "../src/AggregateToken.sol";
import { FakeComponentToken } from "../src/FakeComponentToken.sol";
import { NestStaking } from "../src/NestStaking.sol";
import { AggregateTokenProxy } from "../src/proxies/AggregateTokenProxy.sol";
import { FakeComponentTokenProxy } from "../src/proxies/FakeComponentTokenProxy.sol";
import { NestStakingProxy } from "../src/proxies/NestStakingProxy.sol";

contract DeployNestContracts is Script {

Expand Down Expand Up @@ -46,6 +48,11 @@ contract DeployNestContracts is Script {
);
console.log("AggregateTokenProxy deployed to:", address(aggregateTokenProxy));

NestStaking nestStaking = new NestStaking();
NestStakingProxy nestStakingProxy =
new NestStakingProxy(address(nestStaking), abi.encodeCall(NestStaking.initialize, (ARC_ADMIN_ADDRESS)));
console.log("NestStakingProxy deployed to:", address(nestStakingProxy));

vm.stopBroadcast();
}

Expand Down

0 comments on commit eee016b

Please sign in to comment.