Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Jun 24, 2024
1 parent f44bdc3 commit 45e77e8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,32 @@ import {KtonTimelockController} from "../src/governance/KtonTimelockController.s
import {KtonDAOVault} from "../src/staking/KtonDAOVault.sol";

contract DeployScript is Script {
address gKTON = 0x01840055063E8d56C957b79C964D7fc50a825752;
address ktonDAO = 0x34D4519c574047c9D7F9E79b2bc718aef159129B;
address timelock = 0xCA435c493Ee55AB27e8C8b1b1a89706c5a2761b5;
address vault = 0x0DBFbb1Ab6e42F89661B4f98d5d0acdBE21d1ffC;

function setUp() public {}

function run() public {
vm.startBroadcast();

address gKTON = 0x01840055063E8d56C957b79C964D7fc50a825752;
address ktonDAO = 0x34D4519c574047c9D7F9E79b2bc718aef159129B;
address timelock = 0xCA435c493Ee55AB27e8C8b1b1a89706c5a2761b5;
address vault = 0x0DBFbb1Ab6e42F89661B4f98d5d0acdBE21d1ffC;

address gKTON_PROXY = Upgrades.deployTransparentProxy(
"GovernanceKton.sol:GovernanceKton", timelock, abi.encodeCall(GovernanceKton.initialize, (vault))
);
safeconsole.log("gKTON: ", gKTON_PROXY);
safeconsole.log("gKTON_Logic: ", Upgrades.getImplementationAddress(gKTON_PROXY));

address KtonDAO_PROXY = Upgrades.deployTransparentProxy(
address ktonDAO_PROXY = Upgrades.deployTransparentProxy(
"KtonDAO.sol:KtonDAO",
timelock,
abi.encodeCall(
KtonDAO.initialize,
(IVotes(gKTON), TimelockControllerUpgradeable(payable(timelock)), 1 days, 30 days, 200e18, "KtonDAO")
)
);
safeconsole.log("KtonDAO: ", KtonDAO_PROXY);
safeconsole.log("KtonDAO_Logic: ", Upgrades.getImplementationAddress(KtonDAO_PROXY));
safeconsole.log("KtonDAO: ", ktonDAO_PROXY);
safeconsole.log("KtonDAO_Logic: ", Upgrades.getImplementationAddress(ktonDAO_PROXY));

uint256 minDelay = 3 days;
address[] memory proposers = new address[](1);
Expand Down

0 comments on commit 45e77e8

Please sign in to comment.