Search

Search for projects by name

Metal logoMetal

Badges

About

Metal L2 is a general-purpose OP stack rollup by Metallicus focused on banking and compliance.


Value secured
$808.15 K20.3%
Canonically Bridged
$808.15 K
Externally Bridged
$0.00
Natively Minted
$0.00

  • Tokens
  • Past day UOPS
    0.010.00%
  • 30D ops count
    19.04 K

  • Stage
  • Type
    Optimistic Rollup
  • Purpose
    Universal
  • Sequencer failureState validationData availabilityExit windowProposer failure

    Badges

    About

    Metal L2 is a general-purpose OP stack rollup by Metallicus focused on banking and compliance.

    Recategorisation

    117d
    08h
    22m
    51s

    The project will be classified as "Other" due to its specific risks that set it apart from the standard classifications.

    The project will move to Others because:

    The proof system isn't fully functional

    Consequence: projects without a proper proof system fully rely on single entities to safely update the state. A malicious proposer can finalize an invalid state, which can cause loss of funds.

    Learn more about the recategorisation
    Value Secured

    2024 Mar 28 — 2025 Feb 21

    Activity

    2024 Mar 27 — 2025 Feb 20

    Onchain costs

    The section shows the operating costs that L2s pay to Ethereum.


    2024 Feb 21 — 2025 Feb 20


    Risk summary
    Risk analysis
    Sequencer failureState validationData availabilityExit windowProposer failure

    Sequencer failure

    Self sequence

    In the event of a sequencer failure, users can force transactions to be included in the project’s chain by sending them to L1. There can be up to a 12h delay on this operation.

    State validation

    None

    Currently the system permits invalid state roots. More details in project overview.

    Data availability

    Onchain

    All of the data needed for proof construction is published on Ethereum L1.

    Exit window

    None

    There is no window for users to exit in case of an unwanted regular upgrade since contracts are instantly upgradable.

    Proposer failure

    Cannot withdraw

    Only the whitelisted proposers can publish state roots on L1, so in the event of failure the withdrawals are frozen.

    Rollup stageMetalMetal is a
    Stage 0
    Optimistic Rollup.
    The requirement for available node software is under review

    Learn more about Rollup stages
    Please keep in mind that these stages do not reflect rollup security, this is an opinionated assessment of rollup maturity based on subjective criteria, created with a goal of incentivizing projects to push toward better decentralization. Each team may have taken different paths to achieve this goal.
    Technology

    Fraud proofs are not enabled

    OP Stack projects can use the OP fault proof system, already being deployed on some. This project though is not using fault proofs yet and is relying on the honesty of the permissioned Proposer and Challengers to ensure state correctness. The smart contract system permits invalid state roots.

    • Funds can be stolen if an invalid state root is submitted to the system (CRITICAL).

    1. L2OutputOracle.sol - source code, deleteL2Outputs function

    All data required for proofs is published on chain

    All the data that is used to construct the system state is published on chain in the form of cheap blobs or calldata. This ensures that it will be available for enough time.

    1. Derivation: Batch submission - OP Mainnet specs
    2. BatchInbox - address
    3. OptimismPortal.sol - source code, depositTransaction function
    Learn more about the DA layer here: Ethereum logoEthereum
    Operator

    The system has a centralized operator

    The operator is the only entity that can propose blocks. A live and trustworthy operator is vital to the health of the system.

    • MEV can be extracted if the operator exploits their centralized position and frontruns user transactions.

    1. L2OutputOracle.sol - source code, CHALLENGER address
    2. L2OutputOracle.sol - source code, PROPOSER address

    Users can force any transaction

    Because the state of the system is based on transactions submitted on the underlying host chain and anyone can submit their transactions there it allows the users to circumvent censorship by interacting with the smart contract on the host chain directly.

    1. Sequencing Window - OP Mainnet Specs
    2. OptimismPortal.sol - source code, depositTransaction function
    Withdrawals

    Regular messaging

    The user initiates L2->L1 messages by submitting a regular transaction on this chain. When the block containing that transaction is settled, the message becomes available for processing on L1. The process of block finalization takes a challenge period of 7d to complete.

    • Funds can be frozen if the centralized validator goes down. Users cannot produce blocks themselves and exiting the system requires new block production (CRITICAL).

    1. OptimismPortal.sol - source code, proveWithdrawalTransaction function
    2. OptimismPortal.sol - source code, finalizeWithdrawalTransaction function
    3. L2OutputOracle.sol - source code, PROPOSER check

    Forced messaging

    If the user experiences censorship from the operator with regular L2->L1 messaging they can submit their messages directly on L1. The system is then obliged to service this request or halt all messages, including forced withdrawals from L1 and regular messages initiated on L2. Once the force operation is submitted and if the request is serviced, the operation follows the flow of a regular message.

    1. Forced withdrawal from an OP Stack blockchain
    Other considerations

    EVM compatible smart contracts are supported

    OP stack chains are pursuing the EVM Equivalence model. No changes to smart contracts are required regardless of the language they are written in, i.e. anything deployed on L1 can be deployed on L2.

    1. Introducing EVM Equivalence
    Permissions

    Ethereum

    Roles:

    Challenger ConduitMultisig

    Allowed to challenge or delete state roots proposed by a Proposer.

    Used in:

    Allowed to pause deposits and withdrawals.

    • OpFoundationUpgradeSafe has the role if the number of SecurityCouncilMultisig members falls below 8
    • OpFoundationOperationsSafe has the role if not revoked by the Security Council
    Proposer 0xC818…F1F6

    Allowed to post new state roots of the current layer to the host chain.

    Sequencer 0xC94C…1B8B

    Allowed to commit transactions from the current layer to the host chain.

    Actors:

    LivenessGuard 0x2442…4a25

    Is allowed to interact with LivenessModule - can remove members of SecurityCouncilMultisig inactive for 98d.

    Used in:

    ConduitMultisig 0x4a49…A746
    • A Multisig with 4 / 9 threshold.
    • A Challenger.
    • Is allowed to interact with SystemConfig - it can update the preconfer address, the batch submitter (Sequencer) address and the gas configuration of the system.

    Used in:

    SuperchainProxyAdminOwner 0x5a0A…3d2A
    • A Multisig with 2 / 2 threshold.
    • Can act on behalf of ProxyAdmin, SuperchainProxyAdmin.
    • Is allowed to interact with AddressManager - set and change address mappings - acting via ProxyAdmin.
    • Is allowed to interact with Lib_AddressManager - set and change address mappings - acting via SuperchainProxyAdmin.
    • Can upgrade the implementation of OptimismMintableERC20Factory, L2OutputOracle, OptimismPortal, L1ERC721Bridge, SystemConfig - acting via ProxyAdmin.
    • Can upgrade the implementation of L1StandardBridge - upgrading the bridge implementation can give access to all funds escrowed therein - acting via ProxyAdmin.
    • Can upgrade the implementation of SuperchainConfig - acting via SuperchainProxyAdmin.

    Used in:

    OpFoundationUpgradeSafe 0x847B…9D92
    • A Multisig with 5 / 7 threshold.
    • Member of SuperchainProxyAdminOwner.
    • Can act on behalf of LivenessModule - takes ownership of SecurityCouncilMultisig if the number of SecurityCouncilMultisig members falls below 8.
    • A Guardian - acting via SuperchainGuardianMultisig, SecurityCouncilMultisig, LivenessModule if the number of SecurityCouncilMultisig members falls below 8.

    Used in:

    OpFoundationOperationsSafe 0x9BA6…6b3A
    • A Multisig with 5 / 7 threshold.
    • Can act on behalf of DeputyGuardianModule if not revoked by the Security Council.
    • A Guardian - acting via SuperchainGuardianMultisig, DeputyGuardianModule if not revoked by the Security Council.

    Used in:

    SecurityCouncilMultisig 0xc281…Bd03
    • A Multisig with 10 / 13 threshold. It uses the following modules: LivenessModule (used to remove members inactive for 98d while making sure that the threshold remains above 75%. If the number of members falls below 8, the OpFoundationUpgradeSafe takes ownership of the multisig).
    • Member of SuperchainGuardianMultisig, SuperchainProxyAdminOwner.
    • A Guardian - acting via SuperchainGuardianMultisig.

    Used in:

    SuperchainGuardianMultisig 0x09f7…dAf2
    • A Multisig with 1 / 1 threshold. It uses the following modules: DeputyGuardianModule (allows the OpFoundationOperationsSafe, called the deputy guardian, to act on behalf of the Gnosis Safe).
    • Can act as a Guardian.

    Participants (1):

    SecurityCouncilMultisig

    Used in:

    GnosisSafe 0x42d2…9c64
    • A Multisig with 2 / 2 threshold.
    • Member of OpFoundationUpgradeSafe, OpFoundationOperationsSafe.

    Participants (2):

    0xb237…97A50x4665…7429

    Used in:

    Smart contracts
    A diagram of the smart contract architecture
    A diagram of the smart contract architecture

    Ethereum

    Sends messages from host chain to this chain, and relays messages back onto host chain. In the event that a message sent from host chain to this chain is rejected for exceeding this chain’s epoch gas limit, it can be resubmitted via this contract’s replay function.

    Implementation used in:

    A helper contract that generates OptimismMintableERC20 contracts on the network it’s deployed to. OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the L1StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as this chain’s representation of a token on the host chain, or vice-versa.

    Implementation used in:

    ProxyAdmin 0x37Ff…AC99
    • Can be used to interact with AddressManager - set and change address mappings.
    • Can be used to upgrade implementation of OptimismMintableERC20Factory, L2OutputOracle, OptimismPortal, L1ERC721Bridge, SystemConfig.
    • Can be used to upgrade implementation of L1StandardBridge - upgrading the bridge implementation can give access to all funds escrowed therein.

    Contains a list of proposed state roots which Proposers assert to be a result of block execution. Currently only the PROPOSER address can submit new state roots.

    Implementation used in:

    The main entry point to deposit funds from host chain to this chain. It also allows to prove and finalize withdrawals. This contract stores the following tokens: ETH.

    Implementation used in:

    Used to bridge ERC-721 tokens from host chain to this chain.

    Implementation used in:

    SuperchainProxyAdmin 0x543b…fB04
    • Can be used to interact with Lib_AddressManager - set and change address mappings.
    • Can be used to upgrade implementation of SuperchainConfig.

    Implementation used in:

    The main entry point to deposit ERC20 tokens from host chain to this chain. This contract can store any token.

    Implementation used in:

    Contains configuration parameters such as the Sequencer address, gas limit on this chain and the unsafe block signer address.

    Implementation used in:

    Used to manage global configuration values for multiple OP Chains within a single Superchain network. The SuperchainConfig contract manages the PAUSED_SLOT, a boolean value indicating whether the Superchain is paused, and GUARDIAN_SLOT, the address of the guardian which can pause and unpause the system.

    Proxy used in:

    AddressManager 0xd4b1…3a37

    Legacy contract used to manage a mapping of string names to addresses. Modern OP stack uses a different standard proxy system instead, but this contract is still necessary for backwards compatibility with several older contracts.

    Lib_AddressManager 0xdE1F…d81F

    Legacy contract used to manage a mapping of string names to addresses. Modern OP stack uses a different standard proxy system instead, but this contract is still necessary for backwards compatibility with several older contracts.

    Implementation used in:

    Value Secured is calculated based on these smart contracts and tokens:

    Main entry point for users depositing ERC20 token that do not require custom gateway.

    Can be upgraded by:

    Implementation used in:

    Main entry point for users depositing ETH.

    Can be upgraded by:

    Implementation used in:

    The current deployment carries some associated risks:

    • Funds can be stolen if a contract receives a malicious code upgrade. Both regular and emergency upgrades must be approved by both the Security Council and the Foundation. There is no delay on regular upgrades.

    Knowledge nuggets