ecosystem

@eth-optimism/viemDocs


@eth-optimism/viem / contracts

contracts

const contracts: object

OP Stack Predeploy Addresses

Type declaration

crossL2Inbox

readonly crossL2Inbox: object

crossL2Inbox.address

readonly address: "0x4200000000000000000000000000000000000022" = '0x4200000000000000000000000000000000000022'

gasPriceOracle

readonly gasPriceOracle: object

gasPriceOracle.address

readonly address: "0x420000000000000000000000000000000000000F"

l1Block

readonly l1Block: object

l1Block.address

readonly address: "0x4200000000000000000000000000000000000015"

l2CrossDomainMessenger

readonly l2CrossDomainMessenger: object

l2CrossDomainMessenger.address

readonly address: "0x4200000000000000000000000000000000000007"

l2Erc721Bridge

readonly l2Erc721Bridge: object

l2Erc721Bridge.address

readonly address: "0x4200000000000000000000000000000000000014"

l2StandardBridge

readonly l2StandardBridge: object

l2StandardBridge.address

readonly address: "0x4200000000000000000000000000000000000010"

l2ToL1MessagePasser

readonly l2ToL1MessagePasser: object

l2ToL1MessagePasser.address

readonly address: "0x4200000000000000000000000000000000000016"

l2ToL2CrossDomainMessenger

readonly l2ToL2CrossDomainMessenger: object

l2ToL2CrossDomainMessenger.address

readonly address: "0x4200000000000000000000000000000000000023" = '0x4200000000000000000000000000000000000023'

superchainTokenBridge

readonly superchainTokenBridge: object

superchainTokenBridge.address

readonly address: "0x4200000000000000000000000000000000000028" = '0x4200000000000000000000000000000000000028'

superchainWETH

readonly superchainWETH: object

superchainWETH.address

readonly address: "0x4200000000000000000000000000000000000024" = '0x4200000000000000000000000000000000000024'

Defined in

packages/viem/src/contracts.ts:8