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
973b2dd0
Unverified
Commit
973b2dd0
authored
Jan 13, 2025
by
Hex
Committed by
GitHub
Jan 13, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: add predeploy details comments (#13693)
parent
4f43bd96
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
semver-lock.json
packages/contracts-bedrock/snapshots/semver-lock.json
+2
-2
ETHLiquidity.sol
packages/contracts-bedrock/src/L2/ETHLiquidity.sol
+4
-2
No files found.
packages/contracts-bedrock/snapshots/semver-lock.json
View file @
973b2dd0
...
@@ -52,8 +52,8 @@
...
@@ -52,8 +52,8 @@
"sourceCodeHash"
:
"0x661d7659f09b7f909e8bd5e6c41e8c98f2091036ed2123b7e18a1a74120bd849"
"sourceCodeHash"
:
"0x661d7659f09b7f909e8bd5e6c41e8c98f2091036ed2123b7e18a1a74120bd849"
},
},
"src/L2/ETHLiquidity.sol"
:
{
"src/L2/ETHLiquidity.sol"
:
{
"initCodeHash"
:
"0x
bb16de6a3f678db7301694a000f315154f25f9660c8dcec4b0bef20bc7cfdebd
"
,
"initCodeHash"
:
"0x
dc7075deb7e7c407e6ec3be33ce352ee4a9ca0e82f4bffeb360c93b395a2452f
"
,
"sourceCodeHash"
:
"0x
0576b189811bd343c2cdafcb512ece2c2ea20077bef8754a3dc3e3c80210b225
"
"sourceCodeHash"
:
"0x
92bf6a7a13d1331cbfed35e22130b54b00576bd31de5feb309dfadef2a0b7dd9
"
},
},
"src/L2/GasPriceOracle.sol"
:
{
"src/L2/GasPriceOracle.sol"
:
{
"initCodeHash"
:
"0x83d50e3b34cd1b4de32f1cced28796b07aefc526cc17ceb1903ad55f4abc90b7"
,
"initCodeHash"
:
"0x83d50e3b34cd1b4de32f1cced28796b07aefc526cc17ceb1903ad55f4abc90b7"
,
...
...
packages/contracts-bedrock/src/L2/ETHLiquidity.sol
View file @
973b2dd0
...
@@ -12,6 +12,8 @@ import { Predeploys } from "src/libraries/Predeploys.sol";
...
@@ -12,6 +12,8 @@ import { Predeploys } from "src/libraries/Predeploys.sol";
import { ISemver } from "interfaces/universal/ISemver.sol";
import { ISemver } from "interfaces/universal/ISemver.sol";
import { IL1Block } from "interfaces/L2/IL1Block.sol";
import { IL1Block } from "interfaces/L2/IL1Block.sol";
/// @custom:proxied true
/// @custom:predeploy 0x4200000000000000000000000000000000000025
/// @title ETHLiquidity
/// @title ETHLiquidity
/// @notice The ETHLiquidity contract allows other contracts to access ETH liquidity without
/// @notice The ETHLiquidity contract allows other contracts to access ETH liquidity without
/// needing to modify the EVM to generate new ETH.
/// needing to modify the EVM to generate new ETH.
...
@@ -23,8 +25,8 @@ contract ETHLiquidity is ISemver {
...
@@ -23,8 +25,8 @@ contract ETHLiquidity is ISemver {
event LiquidityMinted(address indexed caller, uint256 value);
event LiquidityMinted(address indexed caller, uint256 value);
/// @notice Semantic version.
/// @notice Semantic version.
/// @custom:semver 1.0.0-beta.
4
/// @custom:semver 1.0.0-beta.
5
string public constant version = "1.0.0-beta.
4
";
string public constant version = "1.0.0-beta.
5
";
/// @notice Allows an address to lock ETH liquidity into this contract.
/// @notice Allows an address to lock ETH liquidity into this contract.
function burn() external payable {
function burn() external payable {
...
...
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