forked from ethereum-optimism/optimism
-
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.
chore: move the mock to another file
- Loading branch information
1 parent
1c9e37e
commit b67fcba
Showing
2 changed files
with
21 additions
and
15 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
19 changes: 19 additions & 0 deletions
19
packages/contracts-bedrock/test/mocks/SuperchainERC20ImplementationMock.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,19 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.25; | ||
|
||
import { SuperchainERC20 } from "src/L2/SuperchainERC20.sol"; | ||
|
||
/// @notice Mock contract just to create tests over an implementation of the SuperchainERC20 abstract contract. | ||
contract SuperchainERC20ImplementationMock is SuperchainERC20 { | ||
/// @notice Semantic version. | ||
/// @custom:semver 1.0.0-beta | ||
string public constant override version = "1.0.0-beta"; | ||
|
||
function name() public pure override returns (string memory) { | ||
return "SuperchainERC20"; | ||
} | ||
|
||
function symbol() public pure override returns (string memory) { | ||
return "SCE"; | ||
} | ||
} |