-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(protocol): make more addresses in protocol immutable (#18924)
Co-authored-by: Daniel Wang <[email protected]>
- Loading branch information
1 parent
78716e3
commit 6a47c5b
Showing
32 changed files
with
530 additions
and
395 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 |
---|---|---|
|
@@ -7,7 +7,14 @@ import "../based/TaikoInbox.sol"; | |
/// @dev Labeled in address resolver as "taiko" | ||
/// @custom:security-contact [email protected] | ||
contract DevnetInbox is TaikoInbox { | ||
constructor(address _resolver) TaikoInbox(_resolver) { } | ||
constructor( | ||
address _wrapper, | ||
address _verifier, | ||
address _bondToken, | ||
address _signalService | ||
) | ||
TaikoInbox(_wrapper, _verifier, _bondToken, _signalService) | ||
{ } | ||
|
||
/// @inheritdoc ITaikoInbox | ||
function pacayaConfig() public pure override returns (ITaikoInbox.Config memory) { | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,14 @@ import "../based/TaikoInbox.sol"; | |
/// @dev Labeled in address resolver as "taiko" | ||
/// @custom:security-contact [email protected] | ||
contract HeklaInbox is TaikoInbox { | ||
constructor(address _resolver) TaikoInbox(_resolver) { } | ||
constructor( | ||
address _wrapper, | ||
address _verifier, | ||
address _bondToken, | ||
address _signalService | ||
) | ||
TaikoInbox(_wrapper, _verifier, _bondToken, _signalService) | ||
{ } | ||
|
||
function pacayaConfig() public pure override returns (ITaikoInbox.Config memory) { | ||
return ITaikoInbox.Config({ | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,14 @@ import "./libs/LibFasterReentryLock.sol"; | |
/// @notice See the documentation in {TaikoL1}. | ||
/// @custom:security-contact [email protected] | ||
contract MainnetInbox is TaikoInbox { | ||
constructor(address _resolver) TaikoInbox(_resolver) { } | ||
constructor( | ||
address _wrapper, | ||
address _verifier, | ||
address _bondToken, | ||
address _signalService | ||
) | ||
TaikoInbox(_wrapper, _verifier, _bondToken, _signalService) | ||
{ } | ||
|
||
function pacayaConfig() public pure override returns (ITaikoInbox.Config memory) { | ||
// All hard-coded configurations: | ||
|
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
Oops, something went wrong.