staking test cleanup
This commit is contained in:
parent
2b817c9331
commit
36833cab7f
10 changed files with 175 additions and 404 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue