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
ea1162e1
Unverified
Commit
ea1162e1
authored
Jul 17, 2023
by
Will Cory
Committed by
GitHub
Jul 17, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6315 from wilsoncusack/wilson/add-base-mainnet
Add Base Mainnet chain ID and contracts
parents
f0693443
78ddf845
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
types.ts
packages/sdk/src/interfaces/types.ts
+1
-0
chain-constants.ts
packages/sdk/src/utils/chain-constants.ts
+17
-0
No files found.
packages/sdk/src/interfaces/types.ts
View file @
ea1162e1
...
...
@@ -30,6 +30,7 @@ export enum L2ChainID {
OPTIMISM_BEDROCK_LOCAL_DEVNET
=
901
,
OPTIMISM_BEDROCK_ALPHA_TESTNET
=
28528
,
BASE_GOERLI
=
84531
,
BASE_MAINNET
=
8453
,
ZORA_GOERLI
=
999
,
ZORA_MAINNET
=
7777777
,
}
...
...
packages/sdk/src/utils/chain-constants.ts
View file @
ea1162e1
...
...
@@ -72,6 +72,7 @@ export const DEPOSIT_CONFIRMATION_BLOCKS: {
[
L2ChainID
.
OPTIMISM_BEDROCK_LOCAL_DEVNET
]:
2
as
const
,
[
L2ChainID
.
OPTIMISM_BEDROCK_ALPHA_TESTNET
]:
12
as
const
,
[
L2ChainID
.
BASE_GOERLI
]:
12
as
const
,
[
L2ChainID
.
BASE_MAINNET
]:
50
as
const
,
[
L2ChainID
.
ZORA_GOERLI
]:
12
as
const
,
[
L2ChainID
.
ZORA_MAINNET
]:
50
as
const
,
}
...
...
@@ -218,6 +219,22 @@ export const CONTRACT_ADDRESSES: {
},
l2
:
DEFAULT_L2_CONTRACT_ADDRESSES
,
},
[
L2ChainID
.
BASE_MAINNET
]:
{
l1
:
{
AddressManager
:
'
0x8EfB6B5c4767B09Dc9AA6Af4eAA89F749522BaE2
'
as
const
,
L1CrossDomainMessenger
:
'
0x866E82a600A1414e583f7F13623F1aC5d58b0Afa
'
as
const
,
L1StandardBridge
:
'
0x3154Cf16ccdb4C6d922629664174b904d80F2C35
'
as
const
,
StateCommitmentChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
CanonicalTransactionChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
BondManager
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
OptimismPortal
:
'
0x49048044D57e1C92A77f79988d21Fa8fAF74E97e
'
as
const
,
L2OutputOracle
:
'
0x56315b90c40730925ec5485cf004d835058518A0
'
as
const
,
},
l2
:
DEFAULT_L2_CONTRACT_ADDRESSES
,
},
// Zora Goerli
[
L2ChainID
.
ZORA_GOERLI
]:
{
l1
:
{
...
...
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