diff --git a/packages/sdk/src/interfaces/types.ts b/packages/sdk/src/interfaces/types.ts index 04913906f818..ce6851e956ac 100644 --- a/packages/sdk/src/interfaces/types.ts +++ b/packages/sdk/src/interfaces/types.ts @@ -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, } diff --git a/packages/sdk/src/utils/chain-constants.ts b/packages/sdk/src/utils/chain-constants.ts index 9555c46169cc..c8853c051da2 100644 --- a/packages/sdk/src/utils/chain-constants.ts +++ b/packages/sdk/src/utils/chain-constants.ts @@ -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: {