-
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.
- Loading branch information
Showing
11 changed files
with
30 additions
and
17 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
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
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,18 +1,15 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity =0.8.25; | ||
|
||
import {DEPLOYER} from "./DeployerAddress.sol"; | ||
import {Deployer} from "./Deployer.sol"; | ||
import {BLAST, BlastYieldMode, BlastGasMode} from "../chains/Blast/IBlast.sol"; | ||
|
||
/// @custom:security-contact [email protected] | ||
contract BlastDeployer is Deployer { | ||
constructor(uint256 version) Deployer(version) { | ||
assert(block.chainid == 81457); | ||
BLAST.configure( | ||
BlastYieldMode.AUTOMATIC, | ||
BlastGasMode.CLAIMABLE, | ||
BlastDeployer(0x00000000000004533Fe15556B1E086BB1A72cEae).owner() | ||
); | ||
BLAST.configure(BlastYieldMode.AUTOMATIC, BlastGasMode.CLAIMABLE, BlastDeployer(DEPLOYER).owner()); | ||
} | ||
|
||
function initialize(address initialOwner) public override { | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.25; | ||
|
||
address constant DEPLOYER = 0x00000000000004533Fe15556B1E086BB1A72cEae; |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
pragma solidity =0.8.25; | ||
|
||
import {Deployer} from "./Deployer.sol"; | ||
import {DEPLOYER} from "./DeployerAddress.sol"; | ||
import {MODE_SFS} from "../chains/Mode/IModeSFS.sol"; | ||
|
||
/// @custom:security-contact [email protected] | ||
|
@@ -10,11 +11,11 @@ contract ModeDeployer is Deployer { | |
|
||
constructor(uint256 version) Deployer(version) { | ||
assert(block.chainid == 34443); | ||
if (0x00000000000004533Fe15556B1E086BB1A72cEae.code.length == 0) { | ||
if (DEPLOYER.code.length == 0) { | ||
assert(_implVersion == 1); | ||
sfsTokenId = MODE_SFS.register(0xf36b9f50E59870A24F42F9Ba43b2aD0A4b8f2F51); | ||
} else { | ||
MODE_SFS.assign(sfsTokenId = MODE_SFS.getTokenId(0x00000000000004533Fe15556B1E086BB1A72cEae)); | ||
MODE_SFS.assign(sfsTokenId = MODE_SFS.getTokenId(DEPLOYER)); | ||
} | ||
} | ||
|
||
|
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