update deploy script
This commit is contained in:
parent
b93664431f
commit
e51f49c612
3 changed files with 9 additions and 4 deletions
|
|
@ -7,6 +7,7 @@ import "../src/Stake.sol";
|
|||
|
||||
address constant WETH = 0xb16F35c0Ae2912430DAc15764477E179D9B9EbEa; //Sepolia
|
||||
address constant V3_FACTORY = 0x0227628f3F023bb0B980b67D528571c95c6DaC1c; //Sepolia
|
||||
uint24 constant FEE = uint24(10_000);
|
||||
|
||||
contract SepoliaScript is Script {
|
||||
function setUp() public {}
|
||||
|
|
@ -20,7 +21,10 @@ contract SepoliaScript is Script {
|
|||
Harb harb = new Harb("Harberger Tax", "HARB", V3_FACTORY, WETH, tc);
|
||||
Stake stake = new Stake(address(harb));
|
||||
harb.setStakingPool(address(stake));
|
||||
|
||||
factory = IUniswapV3Factory(V3_FACTORY);
|
||||
IUniswapV3Pool(factory.createPool(WETH, address(harb), FEE));
|
||||
liquidityManager = new LiquidityManager(V3_FACTORY, WETH, address(harb));
|
||||
harb.setLiquidityManager(address(liquidityManager));
|
||||
vm.stopBroadcast();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue