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
19f4554f
Unverified
Commit
19f4554f
authored
Oct 02, 2023
by
OptimismBot
Committed by
GitHub
Oct 02, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7435 from mdehoog/michael/base-sepolia
Add Base sepolia constants
parents
cf7b329a
f9ea62f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
2 deletions
+36
-2
presets.go
indexer/config/presets.go
+16
-0
types.ts
packages/sdk/src/interfaces/types.ts
+1
-0
chain-constants.ts
packages/sdk/src/utils/chain-constants.ts
+19
-2
No files found.
indexer/config/presets.go
View file @
19f4554f
...
...
@@ -89,6 +89,22 @@ var Presets = map[int]Preset{
L1StartingHeight
:
8410981
,
},
},
84532
:
{
Name
:
"Base Sepolia"
,
ChainConfig
:
ChainConfig
{
Preset
:
84532
,
L1Contracts
:
L1Contracts
{
AddressManager
:
common
.
HexToAddress
(
"0x709c2B8ef4A9feFc629A8a2C1AF424Dc5BD6ad1B"
),
SystemConfigProxy
:
common
.
HexToAddress
(
"0xf272670eb55e895584501d564AfEB048bEd26194"
),
OptimismPortalProxy
:
common
.
HexToAddress
(
"0x49f53e41452C74589E85cA1677426Ba426459e85"
),
L2OutputOracleProxy
:
common
.
HexToAddress
(
"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"
),
L1CrossDomainMessengerProxy
:
common
.
HexToAddress
(
"0xC34855F4De64F1840e5686e64278da901e261f20"
),
L1StandardBridgeProxy
:
common
.
HexToAddress
(
"0xfd0Bf71F60660E2f608ed56e1659C450eB113120"
),
L1ERC721BridgeProxy
:
common
.
HexToAddress
(
"0x21eFD066e581FA55Ef105170Cc04d74386a09190"
),
},
L1StartingHeight
:
4370868
,
},
},
7777777
:
{
Name
:
"Zora"
,
ChainConfig
:
ChainConfig
{
...
...
packages/sdk/src/interfaces/types.ts
View file @
19f4554f
...
...
@@ -31,6 +31,7 @@ export enum L2ChainID {
OPTIMISM_HARDHAT_DEVNET
=
17
,
OPTIMISM_BEDROCK_ALPHA_TESTNET
=
28528
,
BASE_GOERLI
=
84531
,
BASE_SEPOLIA
=
84532
,
BASE_MAINNET
=
8453
,
ZORA_GOERLI
=
999
,
ZORA_MAINNET
=
7777777
,
...
...
packages/sdk/src/utils/chain-constants.ts
View file @
19f4554f
...
...
@@ -83,8 +83,9 @@ export const DEPOSIT_CONFIRMATION_BLOCKS: {
[
L2ChainID
.
OPTIMISM_HARDHAT_LOCAL
]:
2
as
const
,
[
L2ChainID
.
OPTIMISM_HARDHAT_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
.
BASE_GOERLI
]:
25
as
const
,
[
L2ChainID
.
BASE_SEPOLIA
]:
25
as
const
,
[
L2ChainID
.
BASE_MAINNET
]:
10
as
const
,
[
L2ChainID
.
ZORA_GOERLI
]:
12
as
const
,
[
L2ChainID
.
ZORA_MAINNET
]:
50
as
const
,
}
...
...
@@ -220,6 +221,22 @@ export const CONTRACT_ADDRESSES: {
},
l2
:
DEFAULT_L2_CONTRACT_ADDRESSES
,
},
[
L2ChainID
.
BASE_SEPOLIA
]:
{
l1
:
{
AddressManager
:
'
0x709c2B8ef4A9feFc629A8a2C1AF424Dc5BD6ad1B
'
as
const
,
L1CrossDomainMessenger
:
'
0xC34855F4De64F1840e5686e64278da901e261f20
'
as
const
,
L1StandardBridge
:
'
0xfd0Bf71F60660E2f608ed56e1659C450eB113120
'
as
const
,
StateCommitmentChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
CanonicalTransactionChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
BondManager
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
OptimismPortal
:
'
0x49f53e41452C74589E85cA1677426Ba426459e85
'
as
const
,
L2OutputOracle
:
'
0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254
'
as
const
,
},
l2
:
DEFAULT_L2_CONTRACT_ADDRESSES
,
},
[
L2ChainID
.
BASE_MAINNET
]:
{
l1
:
{
AddressManager
:
'
0x8EfB6B5c4767B09Dc9AA6Af4eAA89F749522BaE2
'
as
const
,
...
...
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