wip
This commit is contained in:
parent
854c26a623
commit
307f98840b
6 changed files with 42 additions and 31 deletions
|
|
@ -1,6 +1,7 @@
|
|||
pragma solidity ^0.8.4;
|
||||
|
||||
import "forge-std/Script.sol";
|
||||
import { TwabController } from "pt-v5-twab-controller/TwabController.sol";
|
||||
import "../src/Harb.sol";
|
||||
import "../src/Stake.sol";
|
||||
|
||||
|
|
@ -12,7 +13,8 @@ contract GoerliScript is Script {
|
|||
uint256 privateKey = vm.deriveKey(seedPhrase, 0);
|
||||
vm.startBroadcast(privateKey);
|
||||
|
||||
Harb harb = new Harb("Harberger Tax", "HARB");
|
||||
TwabController tc = new TwabController(60*60*24, uint32(block.timestamp));
|
||||
Harb harb = new Harb("Harberger Tax", "HARB", tc);
|
||||
Stake stake = new Stake(address(harb));
|
||||
harb.setStakingPool(address(stake));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue