Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
74b0fafd
Commit
74b0fafd
authored
Aug 09, 2023
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
semver: more bumps
Co-authored-by:
refcell.eth
<
abigger87@gmail.com
>
parent
bcdddee8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
OptimismMintableERC20.sol
...contracts-bedrock/src/universal/OptimismMintableERC20.sol
+2
-2
OptimismMintableERC20Factory.sol
...ts-bedrock/src/universal/OptimismMintableERC20Factory.sol
+2
-2
OptimismMintableERC721.sol
...ontracts-bedrock/src/universal/OptimismMintableERC721.sol
+2
-2
OptimismMintableERC721Factory.sol
...s-bedrock/src/universal/OptimismMintableERC721Factory.sol
+2
-2
No files found.
packages/contracts-bedrock/src/universal/OptimismMintableERC20.sol
View file @
74b0fafd
...
...
@@ -35,7 +35,7 @@ contract OptimismMintableERC20 is IOptimismMintableERC20, ILegacyMintableERC20,
_;
}
/// @custom:semver 1.0.
2
/// @custom:semver 1.0.
3
/// @param _bridge Address of the L2 standard bridge.
/// @param _remoteToken Address of the corresponding L1 token.
/// @param _name ERC20 name.
...
...
@@ -47,7 +47,7 @@ contract OptimismMintableERC20 is IOptimismMintableERC20, ILegacyMintableERC20,
string memory _symbol
)
ERC20(_name, _symbol)
Semver(1, 0,
2
)
Semver(1, 0,
3
)
{
REMOTE_TOKEN = _remoteToken;
BRIDGE = _bridge;
...
...
packages/contracts-bedrock/src/universal/OptimismMintableERC20Factory.sol
View file @
74b0fafd
...
...
@@ -28,12 +28,12 @@ contract OptimismMintableERC20Factory is Semver {
/// @param deployer Address of the account that deployed the token.
event OptimismMintableERC20Created(address indexed localToken, address indexed remoteToken, address deployer);
/// @custom:semver 1.1.
2
/// @custom:semver 1.1.
3
/// @notice The semver MUST be bumped any time that there is a change in
/// the OptimismMintableERC20 token contract since this contract
/// is responsible for deploying OptimismMintableERC20 contracts.
/// @param _bridge Address of the StandardBridge on this chain.
constructor(address _bridge) Semver(1, 1,
2
) {
constructor(address _bridge) Semver(1, 1,
3
) {
BRIDGE = _bridge;
}
...
...
packages/contracts-bedrock/src/universal/OptimismMintableERC721.sol
View file @
74b0fafd
...
...
@@ -31,7 +31,7 @@ contract OptimismMintableERC721 is ERC721Enumerable, IOptimismMintableERC721, Se
_;
}
/// @custom:semver 1.1.
2
/// @custom:semver 1.1.
3
/// @param _bridge Address of the bridge on this network.
/// @param _remoteChainId Chain ID where the remote token is deployed.
/// @param _remoteToken Address of the corresponding token on the other network.
...
...
@@ -45,7 +45,7 @@ contract OptimismMintableERC721 is ERC721Enumerable, IOptimismMintableERC721, Se
string memory _symbol
)
ERC721(_name, _symbol)
Semver(1, 1,
2
)
Semver(1, 1,
3
)
{
require(_bridge != address(0), "OptimismMintableERC721: bridge cannot be address(0)");
require(_remoteChainId != 0, "OptimismMintableERC721: remote chain id cannot be zero");
...
...
packages/contracts-bedrock/src/universal/OptimismMintableERC721Factory.sol
View file @
74b0fafd
...
...
@@ -22,13 +22,13 @@ contract OptimismMintableERC721Factory is Semver {
/// @param deployer Address of the initiator of the deployment
event OptimismMintableERC721Created(address indexed localToken, address indexed remoteToken, address deployer);
/// @custom:semver 1.2.
2
/// @custom:semver 1.2.
3
/// @notice The semver MUST be bumped any time that there is a change in
/// the OptimismMintableERC721 token contract since this contract
/// is responsible for deploying OptimismMintableERC721 contracts.
/// @param _bridge Address of the ERC721 bridge on this network.
/// @param _remoteChainId Chain ID for the remote network.
constructor(address _bridge, uint256 _remoteChainId) Semver(1, 2,
2
) {
constructor(address _bridge, uint256 _remoteChainId) Semver(1, 2,
3
) {
BRIDGE = _bridge;
REMOTE_CHAIN_ID = _remoteChainId;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment