added overflow checks
This commit is contained in:
parent
dbc23802d2
commit
b243874f02
7 changed files with 493 additions and 327 deletions
|
|
@ -4,7 +4,7 @@ import "forge-std/Script.sol";
|
|||
import {TwabController} from "pt-v5-twab-controller/TwabController.sol";
|
||||
import "@uniswap-v3-core/interfaces/IUniswapV3Factory.sol";
|
||||
import "@uniswap-v3-core/interfaces/IUniswapV3Pool.sol";
|
||||
import "../src/Harb.sol";
|
||||
import "../src/Harberg.sol";
|
||||
import "../src/Stake.sol";
|
||||
import {LiquidityManager} from "../src/LiquidityManager.sol";
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ contract SepoliaScript is Script {
|
|||
TwabController tc = TwabController(TWABC);
|
||||
// in case you want to deploy an new TwabController
|
||||
//TwabController tc = new TwabController(60 * 60, uint32(block.timestamp));
|
||||
Harb harb = new Harb("Harberger Tax", "HARB", tc);
|
||||
Harberg harb = new Harberg("Harbergerger Tax", "HARB", tc);
|
||||
token0isWeth = address(WETH) < address(harb);
|
||||
Stake stake = new Stake(address(harb));
|
||||
harb.setStakingPool(address(stake));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue