staking test cleanup

This commit is contained in:
JulesCrown 2024-06-19 10:33:28 +02:00
parent 2b817c9331
commit 36833cab7f
10 changed files with 175 additions and 404 deletions

View file

@ -22,11 +22,12 @@ contract SepoliaScript is Script {
TwabController tc = TwabController(TWABC);
//TwabController tc = new TwabController(60 * 60, uint32(block.timestamp));
Harb harb = new Harb("Harberger Tax", "HARB", V3_FACTORY, WETH, tc);
Harb harb = new Harb("Harberger Tax", "HARB", tc);
Stake stake = new Stake(address(harb));
harb.setStakingPool(address(stake));
IUniswapV3Factory factory = IUniswapV3Factory(V3_FACTORY);
factory.createPool(WETH, address(harb), FEE);
address liquidityPool = factory.createPool(WETH, address(harb), FEE);
harb.setLiquidityPool(liquidityPool);
BaseLineLP liquidityManager = new BaseLineLP(V3_FACTORY, WETH, address(harb));
harb.setLiquidityManager(address(liquidityManager));
vm.stopBroadcast();