# Soon Alpha Mainnet Markdown version of https://l2beat.com/layer2s/projects/soon ## Summary - Total Value Secured: $489.89 K (-6.74% compared to seven days ago; canonically bridged $489.89 K, 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) - Past day UOPS: 0.08 (+0.26% compared to seven days ago) - Gas token: ETH - Type: Other - Purpose: Universal - Host chain: Ethereum ### 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 SOON is a Layer 2 chain built on top of the SOON Stack. It innovates with a Decoupled SVM that separates Solana's execution (needed for the SOON SVM) from its consensus (not needed since SOON settles on Ethereum), yielding performance and flexibility improvements. ## Value Secured Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/soon#tvs). - [TVS chart (JSON)](https://l2beat.com/api/scaling/tvs/soon) - [TVS breakdown by token (JSON)](https://l2beat.com/api/scaling/tvs/soon/breakdown) ## Activity Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/soon#activity). - [Activity chart (JSON)](https://l2beat.com/api/scaling/activity/soon) ## Onchain costs Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/soon#onchain-costs). ## Data posted Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/soon#data-posted). ## Liveness Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/soon#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 EigenDA. The sequencer is publishing data to EigenDA v2. Sequencer transaction data roots are not checked against the DACert Verifier onchain. ### 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 Soon Alpha Mainnet is not even a Stage 0 project. **Warning:** There is no available node software that can reconstruct L2 state transitions from available DA, so this system cannot be independently verified. ### 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. - [ ] No source-available node exists that can reconstruct the L2 state from the DA layer. ### 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 EigenDA Transactions roots are posted onchain and the full data is posted on EigenDA. Since the ServiceManager bridge is not used, availability of the data is not verified against EigenDA operators, meaning that the Sequencer can single-handedly publish unavailable commitments. If EigenDA 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** - [EigenDA Docs - Overview](https://docs.eigenda.xyz/overview) - [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/0xfF000000000000000000000000000000000000FF#code) - [OptimismPortal.sol - source code, depositTransaction function](https://etherscan.io/address/0x24331B68bea70c2b086BC883EEEA551BAF80C2BA#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/0x8b89b84B978f00e4Db5B70c3a0a567A74Cf7fDD4#code) ## Upgrades & Governance ## Updates Shown as an interactive chart or widget on [the HTML page](https://l2beat.com/layer2s/projects/soon#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/0x8b89b84B978f00e4Db5B70c3a0a567A74Cf7fDD4#code) - [L2OutputOracle.sol - source code, PROPOSER address](https://etherscan.io/address/0x8b89b84B978f00e4Db5B70c3a0a567A74Cf7fDD4#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/0x24331B68bea70c2b086BC883EEEA551BAF80C2BA#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 3d 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/0x24331B68bea70c2b086BC883EEEA551BAF80C2BA#code) - [OptimismPortal.sol - source code, finalizeWithdrawalTransaction function](https://etherscan.io/address/0x24331B68bea70c2b086BC883EEEA551BAF80C2BA#code) - [L2OutputOracle.sol - source code, PROPOSER check](https://etherscan.io/address/0x8b89b84B978f00e4Db5B70c3a0a567A74Cf7fDD4#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 ### Solana Virtual Machine is supported OP stack chains are usually pursuing the EVM Equivalence model. But Soon implements the rust-based Solana virtual machine (SVM) which uses parallel processing. **References** - [Soon Docs - Decoupled SVM](https://docs.soo.network/introduction/decoupled-svm) ## Permissions ### Ethereum #### Actors ##### SoonMultisig Addresses: [0xD686D498a67Bb96FAa4afA3b2b1Cf182f5c3A701](https://etherscan.io/address/0xD686D498a67Bb96FAa4afA3b2b1Cf182f5c3A701) A Multisig with 2/4 threshold. * Can upgrade **with no delay** * L2OutputOracle [via: ProxyAdmin] * SystemConfig [via: ProxyAdmin] * OptimismPortal [via: ProxyAdmin] * L1ERC721Bridge [via: ProxyAdmin] * L1CrossDomainMessenger [via: ProxyAdmin] * SuperchainConfig [via: ProxyAdmin] * L1StandardBridge [via: ProxyAdmin] * Can interact with L2OutputOracle * Allowed to challenge or delete state roots proposed by a Proposer * change the finalization period (challenge period) * Can interact with SystemConfig * it can update the preconfer address, the batch submitter (Sequencer) address and the gas configuration of the system * Can interact with AddressManager * set and change address mappings [via: ProxyAdmin] ##### EOA 1 Addresses: [0xcb17B5F3Cf75eb40F0Addf97B0D457922f10B911](https://etherscan.io/address/0xcb17B5F3Cf75eb40F0Addf97B0D457922f10B911) Member of SoonMultisig. * 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) * freeze specific withdrawals * 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) ##### EOA 2 Addresses: [0xF56334795629466E5c138B02Ace334EE46C9513b](https://etherscan.io/address/0xF56334795629466E5c138B02Ace334EE46C9513b) * Can interact with L2OutputOracle * Allowed to post new state roots of the current layer to the host chain ##### EOA 3 Addresses: [0x267576444F8504B23B98F2b3C0e31bB32eB6Eb7a](https://etherscan.io/address/0x267576444F8504B23B98F2b3C0e31bB32eB6Eb7a) * Can interact with SystemConfig * Allowed to commit transactions from the current layer to the host chain ## Smart contracts ### Ethereum #### L2OutputOracle Addresses: [0x017A4D5A1F670F5a9dfEBD0F0cB25C2C44a82448](https://etherscan.io/address/0x017A4D5A1F670F5a9dfEBD0F0cB25C2C44a82448#code), [0x8b89b84B978f00e4Db5B70c3a0a567A74Cf7fDD4](https://etherscan.io/address/0x8b89b84B978f00e4Db5B70c3a0a567A74Cf7fDD4#code) (Implementation (Upgradable)), [0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d](https://etherscan.io/address/0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d#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 SoonMultisig * **challenger**: SoonMultisig * **proposer**: EOA 2 Can be upgraded by: SoonMultisig with no delay #### SystemConfig Addresses: [0x1E69C2522Dc139c9fC74E6ecb89373d435E70Dd8](https://etherscan.io/address/0x1E69C2522Dc139c9fC74E6ecb89373d435E70Dd8#code), [0x2B0634e5b534BA765e24640281b4eB636d446dF3](https://etherscan.io/address/0x2B0634e5b534BA765e24640281b4eB636d446dF3#code) (Implementation (Upgradable)), [0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d](https://etherscan.io/address/0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d#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 SoonMultisig * **batcherHash**: EOA 3 * **owner**: SoonMultisig Can be upgraded by: SoonMultisig with no delay #### OptimismPortal Addresses: [0x5A0702C7EbbEC83802b35DB737FCcDc5fc6c5E07](https://etherscan.io/address/0x5A0702C7EbbEC83802b35DB737FCcDc5fc6c5E07#code), [0x24331B68bea70c2b086BC883EEEA551BAF80C2BA](https://etherscan.io/address/0x24331B68bea70c2b086BC883EEEA551BAF80C2BA#code) (Implementation (Upgradable)), [0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d](https://etherscan.io/address/0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d#code) (Admin) The main entry point to deposit funds from host chain to this chain. It also allows to prove and finalize withdrawals. This version (originally from SOON) of the OptimismPortal is modified to support Solana addresses. It disallows ERC20 token deposits and L1->L2 transactions that would create a contract. Withdrawals can be frozen / blacklisted by a permissioned actor. Has a MIN_BRIDGE_VALUE set to 0.001 ETH. * Roles: * **admin**: ProxyAdmin; ultimately SoonMultisig * **guardian**: EOA 1 Can be upgraded by: SoonMultisig with no delay #### SuperchainConfig Addresses: [0xD02631b334FfDCD5674217e57fe524c44B341DD4](https://etherscan.io/address/0xD02631b334FfDCD5674217e57fe524c44B341DD4#code), [0xDA90C58e1BE0d55eA246C33CDF5Fd2Ed379c02be](https://etherscan.io/address/0xDA90C58e1BE0d55eA246C33CDF5Fd2Ed379c02be#code) (Implementation (Upgradable)), [0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d](https://etherscan.io/address/0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d#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 SoonMultisig * **guardian**: EOA 1 Can be upgraded by: SoonMultisig with no delay #### L1ERC721Bridge Addresses: [0x7d34832fc0cc6ed718a993CAAb4c6CAdaE9763A2](https://etherscan.io/address/0x7d34832fc0cc6ed718a993CAAb4c6CAdaE9763A2#code), [0x5ef275bed4d7d3eD69BAc22a0dEf8947f8cA1b4B](https://etherscan.io/address/0x5ef275bed4d7d3eD69BAc22a0dEf8947f8cA1b4B#code) (Implementation (Upgradable)), [0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d](https://etherscan.io/address/0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d#code) (Admin) Used to bridge ERC-721 tokens from host chain to this chain. * Roles: * **admin**: ProxyAdmin; ultimately SoonMultisig Can be upgraded by: SoonMultisig with no delay #### L1CrossDomainMessenger Addresses: [0xbB138cE37870443d5b2B02a36619D3478738E0f6](https://etherscan.io/address/0xbB138cE37870443d5b2B02a36619D3478738E0f6#code), [0x6846B4E0b9992E154fE7d315667B1e385445C503](https://etherscan.io/address/0x6846B4E0b9992E154fE7d315667B1e385445C503#code) (Implementation (Upgradable)), [0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d](https://etherscan.io/address/0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d#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 SoonMultisig Can be upgraded by: SoonMultisig with no delay #### L1StandardBridge Addresses: [0xe822c3d76ac133f7d9f12c39c1BF28a797624AA9](https://etherscan.io/address/0xe822c3d76ac133f7d9f12c39c1BF28a797624AA9#code), [0xE6874d09046173911A5e2bD4B4e6148dBB1B4f8A](https://etherscan.io/address/0xE6874d09046173911A5e2bD4B4e6148dBB1B4f8A#code) (Implementation (Upgradable)), [0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d](https://etherscan.io/address/0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d#code) (Admin) The main entry point to deposit ETH from host chain to this chain. This version (originally from SOON) is modified to support Solana addresses. It requires specifying the destination SOL address and removes support for ERC20 tokens. * Roles: * **admin**: ProxyAdmin; ultimately SoonMultisig Can be upgraded by: SoonMultisig with no delay #### ProxyAdmin Addresses: [0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d](https://etherscan.io/address/0x90b2Da5f99C0ca658067D621E3694C2Ec49C233d#code) * Roles: * **owner**: SoonMultisig 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).