Contracts

L1/L2 System Contracts

System contracts on Layer1 and Layer2 are an important part of the OP ecosystem. We're using these system contracts to do the following tasks:

  • Sending messages between L1 and L2

  • Sending tokens between L1 and L2

  • Querying information about the current L1 data fee

  • And lots more

Matchain Utility Contracts

Matchain's utility contracts encompass essential components that facilitate seamless decentralized exchanges and token operations within the ecosystem.

  • MSwap (Uniswap V2 Fork): A decentralized exchange platform enabling efficient token swaps.

  • Token Contracts on Matchain Mainnet: Contracts governing native tokens, ensuring secure and reliable transactions.

Access here: https://rollup-info.altlayer.io/oram-primary-compromise/matchain_mainnet

Infrasctucture Contract Addresses Deployed on BSC

Name
Contract Address

OptimismMintableERC20Factory

OptimismMintableERC20FactoryProxy

Deploy Config

Name
Value

superchainConfigGuardian

0x19dDA1593Cd663941eEdE1E3d80f46d5Dd537B2b

l1StartingBlockTag

0x6eff1b5ef9a0e5c176b37a1a74d01c57a53bbe293b3fb3314f730e3327851150

l1ChainID

56

l2ChainID

698

l1BlockTime

3

l2BlockTime

1

maxSequencerDrift

1800

sequencerWindowSize

14400

channelTimeout

1200

p2pSequencerAddress

0x558BBcD1320e5007176d910B62Dbe82B800EDe94

batchInboxAddress

0xFF000000000000000000000000000000002ba2ba

batchSenderAddress

0x80c519e4Be85C1e5381DB4A79Dedd6E4959BC74b

l2OutputOracleSubmissionInterval

3600

l2OutputOracleStartingBlockNumber

0

l2OutputOracleStartingTimestamp

1721308788

l2OutputOracleProposer

0x038A3c6f91618C881C9636cE540c7A242Da3E2bd

l2OutputOracleChallenger

0x1643e4516Dd59326E45FEe22fEf14901B422E706

finalizationPeriodSeconds

604800

proxyAdminOwner

0x6E6d437694911A0C212Eed6C4DA63709A3e45f27

baseFeeVaultRecipient

0xC840ABb22F8e8558562aAF41CEDC263E8cb510e6

l1FeeVaultRecipient

0xC840ABb22F8e8558562aAF41CEDC263E8cb510e6

sequencerFeeVaultRecipient

0xC840ABb22F8e8558562aAF41CEDC263E8cb510e6

baseFeeVaultMinimumWithdrawalAmount

0x853a0d2313c0000

l1FeeVaultMinimumWithdrawalAmount

0x853a0d2313c0000

sequencerFeeVaultMinimumWithdrawalAmount

0x853a0d2313c0000

baseFeeVaultWithdrawalNetwork

0

l1FeeVaultWithdrawalNetwork

0

sequencerFeeVaultWithdrawalNetwork

0

gasPriceOracleOverhead

2100

gasPriceOracleScalar

1000000

enableGovernance

FALSE

governanceTokenSymbol

OP

governanceTokenName

Optimism

governanceTokenOwner

0x06eAb05e05b366431CCD81E006d5FCa197A1D9B0

l2GenesisBlockGasLimit

0x5f5e100

l2GenesisBlockBaseFeePerGas

0x5f5e100

l2GenesisRegolithTimeOffset

0x0

l2GenesisDeltaTimeOffset

0x0

l2GenesisCanyonTimeOffset

0x0

l2GenesisEcotoneTimeOffset

0x0

eip1559Denominator

8

eip1559DenominatorCanyon

8

eip1559Elasticity

2

systemConfigStartBlock

0

requiredProtocolVersion

0x0000000000000000000000000000000000000000000000000000000000000000

recommendedProtocolVersion

0x0000000000000000000000000000000000000000000000000000000000000000

fundDevAccounts

FALSE

useFaultProofs

FALSE

proofMaturityDelaySeconds

302400

disputeGameFinalityDelaySeconds

302400

respectedGameType

0

faultGameWithdrawalDelay

604800

faultGameAbsolutePrestate

0x03c7ae758795765c6664a5d39bf63841c71ff191e9189522bad8ebff5d4eca98

faultGameMaxDepth

50

faultGameMaxDuration

2400

faultGameGenesisBlock

0

faultGameGenesisOutputRoot

0x0000000000000000000000000000000000000000000000000000000000000000

faultGameSplitDepth

14

preimageOracleMinProposalSize

10000

preimageOracleChallengePeriod

120

usePlasma

FALSE

daChallengeWindow

3600

daResolveWindow

3600

daBondSize

103486250000000000

daResolverRefundPercentage

100

Infrasctucture Contract Addresses Deployed on Matchain

Key parameters

Name
Introduction

l1BlockTime

the rollup block interval

l2OutputOracleSubmissionInterval

The L2 block interval for submiting OutputRoot to L2OutputOracle (how many l2 block submit once)

channelTimeout

Maximum number of L1 blocks that a transaction channel frame can be considered valid

finalizationPeriodSeconds

Number of seconds that a proposal must be available to challenge before it is considered finalized by the OptimismPortal contract

proxyAdminOwner

The proxy owner for layer1 contract, the most important key for op

finalSystemOwner

The owner of the contract SystemConfig

baseFeeVaultRecipient / l1FeeVaultRecipient / sequencerFeeVaultRecipient

The fee that the rollup withdraw from rollup users

batchSenderAddress

Used in op-batcher to submit rollup block to layer1

l2OutputOracleProposer

Used in op-proposer to submit OutputRoot to layer1

gasPriceOracleOverhead

The initial value of the gas overhead in the GasPriceOracle predeploy

gasPriceOracleScalar

The initial value of the gas scalar in the GasPriceOracle predeploy

l2GenesisBlockGasLimit

Initial block gas limit

l2GenesisBlockBaseFeePerGas

Initial base fee

Matchain Mainnet Utility Contracts

MSwap (Uniswap V2 Fork)

Token Contracts on Matchain Mainnet

Last updated

Was this helpful?