-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds mainnet relayer to rollout script
fixes formatting Signed-off-by: Stefan Adolf <[email protected]>
- Loading branch information
1 parent
97f00d2
commit f629d21
Showing
2 changed files
with
30 additions
and
32 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,26 +1,26 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.18; | ||
|
||
import 'forge-std/Script.sol'; | ||
import 'forge-std/console.sol'; | ||
import { ERC1967Proxy } from '@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol'; | ||
import { IPNFT } from '../../src/IPNFT.sol'; | ||
import { IPermissioner, TermsAcceptedPermissioner } from '../../src/Permissioner.sol'; | ||
import { Synthesizer } from '../../src/Synthesizer.sol'; | ||
import { StakedLockingCrowdSale } from '../../src/crowdsale/StakedLockingCrowdSale.sol'; | ||
import { SignedMintAuthorizer } from '../../src/SignedMintAuthorizer.sol'; | ||
import "forge-std/Script.sol"; | ||
import "forge-std/console.sol"; | ||
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; | ||
import { IPNFT } from "../../src/IPNFT.sol"; | ||
import { IPermissioner, TermsAcceptedPermissioner } from "../../src/Permissioner.sol"; | ||
import { Synthesizer } from "../../src/Synthesizer.sol"; | ||
import { StakedLockingCrowdSale } from "../../src/crowdsale/StakedLockingCrowdSale.sol"; | ||
import { SignedMintAuthorizer } from "../../src/SignedMintAuthorizer.sol"; | ||
|
||
contract RolloutV24 is Script { | ||
function run() public { | ||
vm.startBroadcast(); | ||
// IPNFT ipnftImpl = new IPNFT(); | ||
address goerliDefenderRelayer = 0xbCeb6b875513629eFEDeF2A2D0b2f2a8fd2D4Ea4; | ||
SignedMintAuthorizer authorizer = new SignedMintAuthorizer( | ||
goerliDefenderRelayer | ||
); | ||
function run() public { | ||
vm.startBroadcast(); | ||
IPNFT ipnftImpl = new IPNFT(); | ||
|
||
vm.stopBroadcast(); | ||
console.log('Authorizer implementation: %s', address(authorizer)); | ||
// console.log("ipnft implementation: %s", address(ipnftImpl)); | ||
} | ||
//address goerliDefenderRelayer = 0xbCeb6b875513629eFEDeF2A2D0b2f2a8fd2D4Ea4; | ||
address mainnetDefenderRelayer = 0x3D30452c48F2448764d5819a9A2b684Ae2CC5AcF; | ||
SignedMintAuthorizer authorizer = new SignedMintAuthorizer(mainnetDefenderRelayer); | ||
|
||
vm.stopBroadcast(); | ||
console.log("ipnft implementation: %s", address(ipnftImpl)); | ||
console.log("Authorizer: %s", address(authorizer)); | ||
} | ||
} |