# Pepe Unchained Markdown version of https://l2beat.com/layer2s/projects/pepeunchained ## Summary **Warning:** This project is archived and no longer maintained. **Warning:** The project migrated from an OP Stack to an [Orbit chain](https://l2beat.com/scaling/projects/pepe-unchained). See [announcement](https://mirror.xyz/0x5d229f641ccA8c85F356a29A2b5D12587a216Fd2/CJvQFPuEG1eUZ8rhZLnAd2d1i5wdxuxnE0mLRxeEBhs) for details. - Total Value Secured: $0.00 (0.00% compared to seven days ago; canonically bridged $0.00, natively minted $0.00, externally bridged $0.00; 0.00% with additional trust assumptions compared to the tokens involved and the Stage assigned to the project's canonical messaging bridge) - Gas token: ETH - Type: Other - Purpose: Universal - Host chain: Ethereum - Chain ID: 3409 ### Risks - Sequencer failure: Self sequence (sentiment: good) - State validation: None (sentiment: bad) - Data availability: External (sentiment: bad) - Exit window: None (sentiment: bad) - Proposer failure: Cannot withdraw (sentiment: bad) ### About Pepe Unchained was an Optimium utilizing the OP Stack before the project migrated to an Orbit chain. It focused on memes and provided a home for meme creators, traders, and communities to thrive. ## Value Secured Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/pepeunchained#tvs). - [TVS chart (JSON)](https://l2beat.com/api/scaling/tvs/pepeunchained) - [TVS breakdown by token (JSON)](https://l2beat.com/api/scaling/tvs/pepeunchained/breakdown) ## Activity Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/pepeunchained#activity). - [Activity chart (JSON)](https://l2beat.com/api/scaling/activity/pepeunchained) ## Onchain costs Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/pepeunchained#onchain-costs). ## Liveness Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/pepeunchained#liveness). ## Risk summary **Warning:** Fraud proof system is currently under development. Users need to trust the block proposer to submit correct L1 state roots. ### Funds can be stolen if 1. a contract receives a malicious code upgrade. There is no delay on code upgrades, (CRITICAL) 2. an invalid state root is submitted to the system (CRITICAL). ### Funds can be lost if 3. the sequencer posts an unavailable transaction root, (CRITICAL) 4. the data is not available on the external provider (CRITICAL). ### Funds can be frozen if 5. the centralized validator goes down. Users cannot produce blocks themselves and exiting the system requires new block production (CRITICAL). ### MEV can be extracted if 6. the operator exploits their centralized position and frontruns user transactions. ## Risk analysis **Warning:** Fraud proof system is currently under development. Users need to trust the block proposer to submit correct L1 state roots. ### Sequencer failure Self sequence (sentiment: good) 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 (sentiment: bad) Currently the system permits invalid state roots. More details in project overview. ### Data availability External (sentiment: bad) Proof construction and state derivation fully rely on data that is posted on Celestia. Sequencer tx roots are not checked against the Blobstream bridge data roots onchain, but L2 nodes can verify data availability by running a Celestia light client. ### Exit window None (sentiment: bad) There is no window for users to exit in case of an unwanted upgrade since contracts are instantly upgradable. ### Proposer failure Cannot withdraw (sentiment: bad) Only the whitelisted proposers can publish state roots on L1, so in the event of failure the withdrawals are frozen. ## Stage Pepe Unchained is not even a Stage 0 project. ### Stage 0 - [x] The project self-identifies as a Validium or Optimium. - [x] State roots are posted to Ethereum L1. - [ ] The proof system is still under development. - [x] A source-available node exists that can reconstruct the L2 state when DA is accessible. Please note that the L2BEAT team has not verified the validity of the node source code. [View code](https://github.com/ethereum-optimism/optimism/tree/develop/op-node) ### Stage 1 - [ ] Principle: Compromising ≥75% of the Security Council to push a malicious upgrade, or sequencer+DA-committee collusion to withhold data and finalize invalid state roots, should be the only ways (other than bugs) to steal funds or block withdrawals indefinitely. - [ ] Users' withdrawals can be censored by the permissioned operators. - [ ] Upgrades executed by actors with more centralized control than a Security Council provide less than 7d for users to exit if the permissioned operator is down or censoring. ### Stage 2 - [ ] Upgrades unrelated to onchain provable bugs, including upgrades to the DA verifier, provide less than 30d to exit. ## Data availability ### Data is posted to Celestia Transactions roots are posted onchain and the full data is posted on Celestia. Since the Blobstream bridge is not used, availability of the data is not verified against Celestia validators, meaning that the Sequencer can single-handedly publish unavailable roots. If Celestia becomes unavailable, the sequencer falls back to Ethereum. **Risks** - Funds can be lost if the sequencer posts an unavailable transaction root (CRITICAL). - Funds can be lost if the data is not available on the external provider (CRITICAL). **References** - [Introducing Blobstream: streaming modular DA to Ethereum](https://blog.celestia.org/introducing-blobstream/) - [Derivation: Batch submission - OP Mainnet specs](https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/derivation.md#batch-submission) - [BatchInbox - address](https://etherscan.io/address/0x3276053cb5C0fEb1825678e6D9441ddc935FE12e#code) - [OptimismPortal.sol - source code, depositTransaction function](https://etherscan.io/address/0xdAc90BD578f229D33D68735B398b544027E3285e#code) ## State validation ### No state validation 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. **Risks** - Funds can be stolen if an invalid state root is submitted to the system (CRITICAL). **References** - [L2OutputOracle.sol - source code, deleteL2Outputs function](https://etherscan.io/address/0x1Fd1be2e1c65F136020d2CcC073ED8A7269aE53f#code) ## Upgrades & Governance ## Updates Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/pepeunchained#updates). ## 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. **Risks** - MEV can be extracted if the operator exploits their centralized position and frontruns user transactions. **References** - [L2OutputOracle.sol - source code, CHALLENGER address](https://etherscan.io/address/0x1Fd1be2e1c65F136020d2CcC073ED8A7269aE53f#code) - [L2OutputOracle.sol - source code, PROPOSER address](https://etherscan.io/address/0x1Fd1be2e1c65F136020d2CcC073ED8A7269aE53f#code) ### 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. **References** - [Sequencing Window - OP Mainnet Specs](https://github.com/ethereum-optimism/optimism/blob/51eeb76efeb32b3df3e978f311188aa29f5e3e94/specs/glossary.md#sequencing-window) - [OptimismPortal.sol - source code, depositTransaction function](https://etherscan.io/address/0xdAc90BD578f229D33D68735B398b544027E3285e#code) ## 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 1d to complete. **Risks** - Funds can be frozen if the centralized validator goes down. Users cannot produce blocks themselves and exiting the system requires new block production (CRITICAL). **References** - [OptimismPortal.sol - source code, proveWithdrawalTransaction function](https://etherscan.io/address/0xdAc90BD578f229D33D68735B398b544027E3285e#code) - [OptimismPortal.sol - source code, finalizeWithdrawalTransaction function](https://etherscan.io/address/0xdAc90BD578f229D33D68735B398b544027E3285e#code) - [L2OutputOracle.sol - source code, PROPOSER check](https://etherscan.io/address/0x1Fd1be2e1c65F136020d2CcC073ED8A7269aE53f#code) ### 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. **References** - [Forced withdrawal from an OP Stack blockchain](https://docs.optimism.io/stack/transactions/forced-transaction) ## 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. **References** - [Introducing EVM Equivalence](https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) ## Permissions ### Ethereum #### Actors ##### Conduit Multisig 1 Addresses: [0x4a4962275DF8C60a80d3a25faEc5AA7De116A746](https://etherscan.io/address/0x4a4962275DF8C60a80d3a25faEc5AA7De116A746) A Multisig with 4/12 threshold. * Can upgrade **with no delay** * SuperchainConfig [via: ProxyAdmin] * L1StandardBridge [via: ProxyAdmin] * OptimismPortal [via: ProxyAdmin] * OptimismMintableERC20Factory [via: ProxyAdmin] * L1CrossDomainMessenger [via: ProxyAdmin] * L1ERC721Bridge [via: ProxyAdmin] * L2OutputOracle [via: ProxyAdmin] * SystemConfig [via: ProxyAdmin] * Can interact with L2OutputOracle * Allowed to challenge or delete state roots proposed by a Proposer * Can interact with AddressManager * set and change address mappings [via: ProxyAdmin] * Can interact with SystemConfig * it can update the preconfer address, the batch submitter (Sequencer) address and the gas configuration of the system ##### OpFoundationOperationsSafe Addresses: [0x9BA6e03D8B90dE867373Db8cF1A58d2F7F006b3A](https://etherscan.io/address/0x9BA6e03D8B90dE867373Db8cF1A58d2F7F006b3A) A Multisig with 5/7 threshold. * Can interact with SuperchainConfig * Allowed to pause withdrawals. In op stack systems with a proof system, the Guardian can also blacklist dispute games and set the respected game type (permissioned / permissionless) * Can interact with OptimismPortal * Allowed to pause withdrawals. In op stack systems with a proof system, the Guardian can also blacklist dispute games and set the respected game type (permissioned / permissionless) ##### GnosisSafe Addresses: [0x42d27eEA1AD6e22Af6284F609847CB3Cd56B9c64](https://etherscan.io/address/0x42d27eEA1AD6e22Af6284F609847CB3Cd56B9c64) A Multisig with 2/2 threshold. Member of OpFoundationOperationsSafe. ##### EOA 1 Addresses: [0x919B2511b2DB24Cc0C0EebE28b62a4E591579C1B](https://etherscan.io/address/0x919B2511b2DB24Cc0C0EebE28b62a4E591579C1B) * Can interact with L2OutputOracle * Allowed to post new state roots of the current layer to the host chain ##### EOA 2 Addresses: [0x5c89b56bead2f99d41721f1D15442Fe813879587](https://etherscan.io/address/0x5c89b56bead2f99d41721f1D15442Fe813879587) * Can interact with SystemConfig * Allowed to commit transactions from the current layer to the host chain ## Smart contracts ### Ethereum #### OptimismPortal Addresses: [0x384e3AE4D5efC9471201039b555EAe496b2A7240](https://etherscan.io/address/0x384e3AE4D5efC9471201039b555EAe496b2A7240#code), [0xdAc90BD578f229D33D68735B398b544027E3285e](https://etherscan.io/address/0xdAc90BD578f229D33D68735B398b544027E3285e#code) (Implementation (Upgradable)), [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) (Admin) The main entry point to deposit funds from host chain to this chain. It also allows to prove and finalize withdrawals. * Roles: * **admin**: ProxyAdmin; ultimately Conduit Multisig 1 * **guardian**: OpFoundationOperationsSafe Can be upgraded by: Conduit Multisig 1 with no delay #### L2OutputOracle Addresses: [0xb9c4EA7171b588e8D4c3F63e955Cd61e5172bb92](https://etherscan.io/address/0xb9c4EA7171b588e8D4c3F63e955Cd61e5172bb92#code), [0x1Fd1be2e1c65F136020d2CcC073ED8A7269aE53f](https://etherscan.io/address/0x1Fd1be2e1c65F136020d2CcC073ED8A7269aE53f#code) (Implementation (Upgradable)), [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) (Admin) 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. * Roles: * **admin**: ProxyAdmin; ultimately Conduit Multisig 1 * **challenger**: Conduit Multisig 1 * **proposer**: EOA 1 Can be upgraded by: Conduit Multisig 1 with no delay #### SystemConfig Addresses: [0xF41E72f55d9bE849ecCe3b7AEe2A07Ccdadb655d](https://etherscan.io/address/0xF41E72f55d9bE849ecCe3b7AEe2A07Ccdadb655d#code), [0x6f6584F82866aa297Eb5cE0d4Fed200dD0632833](https://etherscan.io/address/0x6f6584F82866aa297Eb5cE0d4Fed200dD0632833#code) (Implementation (Upgradable)), [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) (Admin) Contains configuration parameters such as the Sequencer address, gas limit on this chain and the unsafe block signer address. * Roles: * **admin**: ProxyAdmin; ultimately Conduit Multisig 1 * **batcherHash**: EOA 2 * **owner**: Conduit Multisig 1 Can be upgraded by: Conduit Multisig 1 with no delay #### SuperchainConfig Addresses: [0x11654D67e0360A82e5Badd272Ced336B80972135](https://etherscan.io/address/0x11654D67e0360A82e5Badd272Ced336B80972135#code), [0xF8b4a49204203a8449035Ec3ADd928556C8C6397](https://etherscan.io/address/0xF8b4a49204203a8449035Ec3ADd928556C8C6397#code) (Implementation (Upgradable)), [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) (Admin) This is NOT the shared SuperchainConfig contract of the OP stack Superchain but rather a local fork. It manages the `PAUSED_SLOT`, a boolean value indicating whether the local chain is paused, and `GUARDIAN_SLOT`, the address of the guardian which can pause and unpause the system. * Roles: * **admin**: ProxyAdmin; ultimately Conduit Multisig 1 * **guardian**: OpFoundationOperationsSafe Can be upgraded by: Conduit Multisig 1 with no delay #### L1StandardBridge Addresses: [0x34Ef4B527DB3F4AcfAE7Fdc7Db0f9981F48Cd23F](https://etherscan.io/address/0x34Ef4B527DB3F4AcfAE7Fdc7Db0f9981F48Cd23F#code), [0x8A51D7311DB5C5DBfB344e79b85d516aD5C72324](https://etherscan.io/address/0x8A51D7311DB5C5DBfB344e79b85d516aD5C72324#code) (Implementation (Upgradable)), [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) (Admin) The main entry point to deposit ERC20 tokens from host chain to this chain. * Roles: * **admin**: ProxyAdmin; ultimately Conduit Multisig 1 Can be upgraded by: Conduit Multisig 1 with no delay #### L1CrossDomainMessenger Addresses: [0x6007758DBd8c9e83e24761D248e51850Ff2612CC](https://etherscan.io/address/0x6007758DBd8c9e83e24761D248e51850Ff2612CC#code), [0xe36A1936AdA988529946237cd23bbA42071138CB](https://etherscan.io/address/0xe36A1936AdA988529946237cd23bbA42071138CB#code) (Implementation (Upgradable)), [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) (Admin) 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. * Roles: * **admin**: ProxyAdmin; ultimately Conduit Multisig 1 Can be upgraded by: Conduit Multisig 1 with no delay #### L1ERC721Bridge Addresses: [0x9dd8e00Ff731FBf3dd3559578BeB518a41b16Cfe](https://etherscan.io/address/0x9dd8e00Ff731FBf3dd3559578BeB518a41b16Cfe#code), [0x46Fd984c10648C26B4099e42a23a644B36ecA5A8](https://etherscan.io/address/0x46Fd984c10648C26B4099e42a23a644B36ecA5A8#code) (Implementation (Upgradable)), [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) (Admin) Used to bridge ERC-721 tokens from host chain to this chain. * Roles: * **admin**: ProxyAdmin; ultimately Conduit Multisig 1 Can be upgraded by: Conduit Multisig 1 with no delay #### ProxyAdmin Addresses: [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) * Roles: * **owner**: Conduit Multisig 1 #### OptimismMintableERC20Factory Addresses: [0x3D831FD51f80398488a2452b9Ba44eDe104e8789](https://etherscan.io/address/0x3D831FD51f80398488a2452b9Ba44eDe104e8789#code), [0xA4C2F8848b68ba4D5f6C4c35D85E83CAA055343E](https://etherscan.io/address/0xA4C2F8848b68ba4D5f6C4c35D85E83CAA055343E#code) (Implementation (Upgradable)), [0x320E53df19662A58fF4953d62B229E9BCAAC0b49](https://etherscan.io/address/0x320E53df19662A58fF4953d62B229E9BCAAC0b49#code) (Admin) 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 OptimismMintableERC20 as this chain's representation of a token on the host chain, or vice-versa. * Roles: * **admin**: ProxyAdmin; ultimately Conduit Multisig 1 Can be upgraded by: Conduit Multisig 1 with no delay The current deployment carries some associated risks: - Funds can be stolen if a contract receives a malicious code upgrade. There is no delay on code upgrades (CRITICAL).