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

Oku (Uniswap V3 Fork)

  • Oku Open Source Github

  • Uniswap V3 SDK

Contract

Address

v3CoreFactoryAddress

0xcb2436774C3e191c85056d248EF4260ce5f27A9D

multicall2Address

0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435

proxyAdminAddress

0x0d922Fb1Bc191F64970ac40376643808b4B74Df9

tickLensAddress

0xB3309C48F8407651D918ca3Da4C45DE40109E641

nftDescriptorLibraryAddressV1_3_0

0xE3dbcD53f4Ce1b06Ab200f4912BD35672e68f1FA

nonfungibleTokenPositionDescriptorAddressV1_3_0

0x454050C4c9190390981Ac4b8d5AFcd7aC65eEffa

descriptorProxyAddress

0x38EB9e62ABe4d3F70C0e161971F29593b8aE29FF

nonfungibleTokenPositionManagerAddress

0x743E03cceB4af2efA3CC76838f6E8B50B63F184c

v3MigratorAddress

0x8B3c541c30f9b29560f56B9E44b59718916B69EF

v3StakerAddress

0x5911cB3633e764939edc2d92b7e1ad375Bb57649

quoterV2Address

0xaa52bB8110fE38D0d2d2AF0B85C3A3eE622CA455

swapRouter02

0x807F4E281B7A3B324825C64ca53c69F0b418dE40

UniversalRouter

0x9db70E29712Cc8Af10c2B597BaDA6784544FF407

Permit2

0xB952578f3520EE8Ea45b7914994dcf4702cEe578

Last updated

Was this helpful?