got UBI to work
This commit is contained in:
parent
06581a0b8d
commit
b93664431f
7 changed files with 154 additions and 28 deletions
|
|
@ -5,6 +5,9 @@ import {TwabController} from "pt-v5-twab-controller/TwabController.sol";
|
|||
import "../src/Harb.sol";
|
||||
import "../src/Stake.sol";
|
||||
|
||||
address constant WETH = 0xb16F35c0Ae2912430DAc15764477E179D9B9EbEa; //Sepolia
|
||||
address constant V3_FACTORY = 0x0227628f3F023bb0B980b67D528571c95c6DaC1c; //Sepolia
|
||||
|
||||
contract SepoliaScript is Script {
|
||||
function setUp() public {}
|
||||
|
||||
|
|
@ -14,7 +17,7 @@ contract SepoliaScript is Script {
|
|||
vm.startBroadcast(privateKey);
|
||||
|
||||
TwabController tc = new TwabController(60 * 60 * 24, uint32(block.timestamp));
|
||||
Harb harb = new Harb("Harberger Tax", "HARB", tc);
|
||||
Harb harb = new Harb("Harberger Tax", "HARB", V3_FACTORY, WETH, tc);
|
||||
Stake stake = new Stake(address(harb));
|
||||
harb.setStakingPool(address(stake));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue