Skip to main content

On-Chain System

Mantle Network's on-chain module contains a series of smart contracts that run on the blockchain to ensure decentralized and reliable execution. These contracts are responsible for handling the logic of various dApps interacting with the blockchain, as well as the interaction of the off-chain system with the on-chain system, including asset transfers, asset swaps, and so on.

Key L1 Smart Contracts

Introduction

Lib_AddressManager

This component is used to manage permissions and addresses for important L1 smart contracts.

L1CrossDomainMessenger

High-level interface for sending messages to and receiving messages from Mantle Network (from L1 to L2).

L1StandardBridge

Standardized system for transferring ERC20 tokens to/from Mantle Network

L2OutputOracle

Stores commitments to the state of Mantle Network, which can be used by contracts on L1 to access the L2 state

OptimismPortal

Low-level message-passing interface.