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
8c5046fd
Unverified
Commit
8c5046fd
authored
Sep 22, 2021
by
Kelvin Fichter
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add weth9 at old ovm eth address
parent
64869020
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
767 additions
and
1 deletion
+767
-1
WETH9.sol
packages/contracts/contracts/L2/predeploys/WETH9.sol
+756
-0
hardhat.config.ts
packages/contracts/hardhat.config.ts
+8
-1
predeploys.ts
packages/contracts/src/predeploys.ts
+3
-0
No files found.
packages/contracts/contracts/L2/predeploys/WETH9.sol
0 → 100644
View file @
8c5046fd
This diff is collapsed.
Click to expand it.
packages/contracts/hardhat.config.ts
View file @
8c5046fd
...
...
@@ -57,7 +57,14 @@ const config: HardhatUserConfig = {
timeout
:
50000
,
},
solidity
:
{
version
:
'
0.7.6
'
,
compilers
:
[
{
version
:
'
0.7.6
'
,
},
{
version
:
'
0.5.17
'
,
// Required for WETH9
},
],
settings
:
{
optimizer
:
{
enabled
:
true
,
runs
:
200
},
metadata
:
{
...
...
packages/contracts/src/predeploys.ts
View file @
8c5046fd
...
...
@@ -21,4 +21,7 @@ export const predeploys = {
// We're temporarily disabling OVM_ETH because the jury is still out on whether or not ETH as an
// ERC20 is desirable.
OVM_ETH
:
'
0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000
'
,
// We're also putting WETH9 at the old OVM_ETH address.
WETH9
:
'
0x4200000000000000000000000000000000000006
'
,
}
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