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
d29e1929
Commit
d29e1929
authored
Jul 15, 2023
by
lbeder
Committed by
Mark Tyneway
Jul 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add predeploys
parent
6afe7bd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
Predeploys.sol
...ages/contracts-bedrock/contracts/libraries/Predeploys.sol
+6
-0
predeploys.md
specs/predeploys.md
+17
-0
No files found.
packages/contracts-bedrock/contracts/libraries/Predeploys.sol
View file @
d29e1929
...
...
@@ -71,4 +71,10 @@ library Predeploys {
/// @notice Address of the GovernanceToken predeploy.
address internal constant GOVERNANCE_TOKEN = 0x4200000000000000000000000000000000000042;
/// @notice Address of the SchemaRegistry predeploy.
address internal constant SCHEMA_REGISTRY = 0x4200000000000000000000000000000000000020;
/// @notice Address of the EAS predeploy.
address internal constant EAS = 0x4200000000000000000000000000000000000021;
}
specs/predeploys.md
View file @
d29e1929
...
...
@@ -311,3 +311,20 @@ Address: `0x420000000000000000000000000000000000001a`
The
`L1FeeVault`
predeploy receives the L1 portion of the transaction fees.
Once the contract has received a certain amount of fees, the ETH can be
withdrawn to an immutable address on L1.
## SchemaRegistry
[
Implementation
](
https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/contracts/EAS/SchemaRegistry.sol
)
Address:
`0x4200000000000000000000000000000000000020`
The
`SchemaRegistry`
predeploy implements the global attestation schemas for the
`Ethereum Attestation Service`
protocol.
## EAS
[
Implementation
](
https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/contracts/EAS/EAS.sol
)
Address:
`0x4200000000000000000000000000000000000021`
The
`EAS`
predeploy implements the
`Ethereum Attestation Service`
protocol.
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