-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script: upgrate controller and deploy rns commission mainnet
- Loading branch information
1 parent
4b9a596
commit 8ae0ed0
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...-deploy-rnscommission-mainnet/20240704_UpgradeControllerAndDeployRNSCommissionMainnet.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.19; | ||
|
||
import { RNSAuction, RNSAuctionDeploy } from "script/contracts/RNSAuctionDeploy.s.sol"; | ||
import { | ||
RONRegistrarController, RONRegistrarControllerDeploy | ||
} from "script/contracts/RONRegistrarControllerDeploy.s.sol"; | ||
import { Contract } from "script/utils/Contract.sol"; | ||
import { RNSCommission, RNSCommissionDeploy } from "script/contracts/RNSCommissionDeploy.s.sol"; | ||
import { Migration } from "script/Migration.s.sol"; | ||
|
||
contract Migration__20240407_UpgradeControllerAndDeployRNSCommissionMainnet is Migration { | ||
RONRegistrarController private _controller; | ||
RNSCommission private _rnsCommission; | ||
|
||
function run() public { | ||
_controller = RONRegistrarController(_upgradeProxy(Contract.RONRegistrarController.key())); | ||
_rnsCommission = new RNSCommissionDeploy().run(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters