-
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.
refactor(protocol): use immutables to avoid address resolving (#18913)
Co-authored-by: David <[email protected]>
- Loading branch information
1 parent
afb15b7
commit d5f9fe5
Showing
66 changed files
with
913 additions
and
874 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.