Search

Search for projects by name or address

DeGate V1 Legacy logo
DeGate V1 Legacy

This project is in shutdown mode and no longer active.

Badges

About

DeGate V1 Legacy is a shut down deployment of DeGate, an app-specific ZK Rollup that enables a trustless, fast and low-fee decentralized order book exchange, helping users to trade easy and sleep easy. DeGate smart contracts are forked from Loopring V3.


Sequencer failureState validationData availabilityExit windowProposer failure

Badges

About

DeGate V1 Legacy is a shut down deployment of DeGate, an app-specific ZK Rollup that enables a trustless, fast and low-fee decentralized order book exchange, helping users to trade easy and sleep easy. DeGate smart contracts are forked from Loopring V3.


Total
Canonically BridgedCanonically Bridged ValueCanonical
Natively MintedNatively Minted TokensNative
Externally BridgedExternally Bridged ValueExternal

ETH & derivatives
Stablecoins
BTC & derivatives
Other

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



Total cost
Avg cost per L2 UOP
Avg cost per day

DeGate Redeploy

2023 Sep 14th

DeGate redeploys the contracts to fix a bug.

Learn more
Sequencer failureState validationData availabilityExit windowProposer failure
Sequencer failure
Force via L1

Users can force the sequencerA party responsible for ordering and executing transactions on the rollup. The sequencer verifies transactions, compresses the data into a block, and submits the data related to it to enable state reconstruction to Ethereum L1 as a single transaction. The data can be either transaction data or state diffs. to include a withdrawal transaction by submitting a request through L1Layer 1 (L1) is a blockchain that is self-reliant on its validator set for its security and consensus properties. Ethereum is an example of a layer 1. Blockchains started receiving the moniker of layer 1 once layer 2 became a meaningful area of development. with a 0.01 ETH fee. If the sequencer is down for more than 15d, users can use the exit hatch to withdraw their funds. The sequencer can censor individual deposits, but in such case after 15d users can get their funds back.

State validation
Validity proofs (SN)

SNARKs are succinct zero knowledge proofs that ensure state correctness, but require trusted setupGeneration of a piece of data that must then be used for some cryptographic protocol to run. Generating this data requires some secret information. The "trust" comes from the fact the secret must be destroyed after the ceremony, otherwise cryptographic properties of the protocol could be broken. Once the data is generated, and the secrets are forgotten, no further participation from the creators of the ceremony is required. There are two types of trusted setups for SNARKs: (i) trusted setup per circuit where it is generated from scratch for each circuit, (ii) trusted universal setup per proving system where it can be used for several circuits..

Data availability
Onchain

All of the data needed for proof construction is published on Ethereum L1Layer 1 (L1) is a blockchain that is self-reliant on its validator set for its security and consensus properties. Ethereum is an example of a layer 1. Blockchains started receiving the moniker of layer 1 once layer 2 became a meaningful area of development..

Exit window
∞

Users can exit funds at any time because contracts are not upgradeable.

Proposer failure
Use escape hatch

Users are able to trustlessly exit by submitting a Merkle proof of funds.

DeGate V1 Legacy
DeGate V1 Legacy is a
Stage 2
Appchain
ZK Rollup.
The requirement for available nodeA software client that participates in the network. software is under review

Learn more about Stages
Please keep in mind that these stages do not reflect project security, this is an opinionated assessment of project 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.

All data required for proofs is published onchain

All the data that is used to construct the system state is published onchain in the form of cheap calldata. This ensures that it will always be available when needed.

  1. Introduction - DeGate design doc
Learn more about the DA layer here: Ethereum logoEthereum
Validity proofs

Each update to the system state must be accompanied by a ZK proof that ensures that the new state was derived by correctly applying a series of valid user transactions to the previous state. These proofs are then verified on Ethereum by a smart contract.

  1. Operator - DeGate design doc
2023 November 12, 07:41 UTC
6changes

Discovery rerun on the same block number with only config-related changes.

New and verified contracts

+ Status: CREATED
contract ExchangeWithdrawals (eth:0x00e6E9b711E53149D49D43d0EC16Bf18a1EDC569)
+++ description: None
+ Status: CREATED
contract ExchangeAdmins (eth:0x1fCA54B4Bd42Db7afd1b23Bc8A823Afc11701533)
+++ description: None
+ Status: CREATED
contract ExchangeGenesis (eth:0x5e7858588C52E42c08a933d5C85A8e9c9A040B9e)
+++ description: None
+ Status: CREATED
contract ExchangeTokens (eth:0x8c43b69036C1B21378DfC5660d6B8785B2bfF58A)
+++ description: None
+ Status: CREATED
contract ExchangeBalances (eth:0x9Cc1BC87D0A767153FbfE9EfFa40825345e933B5)
+++ description: None
+ Status: CREATED
contract ExchangeBlocks (eth:0xf614aeCEf0209Fb1A2751c6A5cddE4BD7853F396)
+++ description: None
2025 July 14, 12:44 UTC
6changes

Discovery rerun on the same block number with only config-related changes.

New and verified contracts

+ Status: CREATED
contract LoopringIOExchangeOwner (0x2CFd271e9b4d0344Fd2Aa0cb1ffd4f6b85c0B215)
+++ description: None
+ Status: CREATED
contract LoopringV3 (0x5F412bf72ceE6ceB3e9f8b0F966429b59255a9B7)
+++ description: None
+ Status: CREATED
contract BlockVerifier (0x707B12e8921b442D4015eb03c86E66F3b8042Dd2)
+++ description: None
+ Status: CREATED
contract FeeVault (0x7B0d44D5b2eF3A8B168FAfdcc321FAb0D9d5d08C)
+++ description: None
+ Status: CREATED
contract ExchangeV3 (0x9C8f884B15a1fcd5B4bcEb8647DC2D15165906c7)
+++ description: None
+ Status: CREATED
contract DefaultDepositContract (0xF13e21653AEB763595D5E4baA1dC115689Da49b9)
+++ description: None
2023 November 12, 07:41 UTC
2changes

DeGate (v1) is going through a redeployment, and for this reason the main ExchangeV3 contract is switched to shutdown mode.

contract ExchangeV3 (0x9C8f884B15a1fcd5B4bcEb8647DC2D15165906c7) {
values.isShutdown:
- false
+ true
values.shutdownTriggered[0]:
+ {"timestamp":1699762379}
}
2023 September 26, 12:46 UTC
1change
contract ExchangeV3 (0x9C8f884B15a1fcd5B4bcEb8647DC2D15165906c7) {
values.shutdownTriggered:
+ []
}

The system has a centralized operator

The operatorAn operator is the entity charged with managing a rollup and progressing its state. A rollup operator can be a centralized sequencer, proposer, prover, challenger, pauser of admin that is able to perform upgrades. is the only entity that can propose blocksAn ordered list of transactions and chain-related metadata that gets bundled together and published to the L1/DA layer. Nodes execute the transactions contained within blocks to change the rollup chain’s state. Protocol rules dictate what constitutes a valid block, and invalid blocks are skipped over.. 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. ExchangeV3.sol#L341-L348 - DeGate source code
  2. LoopringIOExchangeOwner.sol#L98-L101 - DeGate source code

Users can force exit the system

Force exit allows the users to escape censorship by withdrawing their funds. The system allows users to force the withdrawal of funds by submitting a request directly to the contract onchain. The request must be served within a defined time period. If this does not happen, the system will halt regular operation and permit trustless withdrawal of funds.

  • Users can be censored if the operator refuses to include their transactions. However, there exists a mechanism to independently exit the system.

  1. Forced Withdrawals - DeGate design doc

Regular exit

The user initiates the withdrawal by submitting a regular transaction on this chain. When the blockAn ordered list of transactions and chain-related metadata that gets bundled together and published to the L1/DA layer. Nodes execute the transactions contained within blocks to change the rollup chain’s state. Protocol rules dictate what constitutes a valid block, and invalid blocks are skipped over. containing that transaction is settled the funds become available for withdrawal on L1Layer 1 (L1) is a blockchain that is self-reliant on its validator set for its security and consensus properties. Ethereum is an example of a layer 1. Blockchains started receiving the moniker of layer 1 once layer 2 became a meaningful area of development.. ZK proofs are required to settle blocks. Finally the user submits an L1 transaction to claim the funds.

  1. Withdraw - DeGate design doc

Forced exit

If the user experiences censorship from the operatorAn operator is the entity charged with managing a rollup and progressing its state. A rollup operator can be a centralized sequencer, proposer, prover, challenger, pauser of admin that is able to perform upgrades. with regular exit they can submit their withdrawal requests directly on L1Layer 1 (L1) is a blockchain that is self-reliant on its validator set for its security and consensus properties. Ethereum is an example of a layer 1. Blockchains started receiving the moniker of layer 1 once layer 2 became a meaningful area of development.. The system is then obliged to service this request. Once the force operation is submitted and if the request is serviced, the operation follows the flow of a regular exit.

  1. Forced Request Handling - DeGate design doc
  2. ExchangeV3.sol#L392 - DeGate source code, forceWithdraw function

Emergency exit

If the 15d deadline passes and the forced exit is still ignored the user can put the system into Withdrawal Mode, disallowing further state updates. In that case everybody can withdraw by submitting a merkle proof of their funds with their L1Layer 1 (L1) is a blockchain that is self-reliant on its validator set for its security and consensus properties. Ethereum is an example of a layer 1. Blockchains started receiving the moniker of layer 1 once layer 2 became a meaningful area of development. transaction.

  1. Forced Request Handling - DeGate design doc
  2. ExchangeV3.sol#L420 - DeGate source code, withdrawFromMerkleTree function
A dashboard to explore contracts and permissions
Go to Disco
Disco UI Banner

Ethereum

Actors:

DefaultDepositContract Owner0xacD3…7F82

This address is the owner of the following contracts: LoopringIOExchangeOwner, LoopringV3, DefaultDepositContract. Can add or remove blockAn ordered list of transactions and chain-related metadata that gets bundled together and published to the L1/DA layer. Nodes execute the transactions contained within blocks to change the rollup chain’s state. Protocol rules dictate what constitutes a valid block, and invalid blocks are skipped over. submitters. Can change the forced withdrawal fee up to 0.25 ETH. Can change a way that balance is calculated per contract during the deposit, allowing the support of non-standard tokens.

BlockVerifier Owner0xacD3…7F82

This address is the owner of the BlockVerifier contract.

Block Submitters0x4e3F…3b8a

Actors who can submit new blocksAn ordered list of transactions and chain-related metadata that gets bundled together and published to the L1/DA layer. Nodes execute the transactions contained within blocks to change the rollup chain’s state. Protocol rules dictate what constitutes a valid block, and invalid blocks are skipped over., updating the L2Layer 2 (L2) is a category of technical solutions aimed to scale the base layer in a trust minimized way. This category includes solutions like rollups as well as state channels and plasma. Other solutions are able to scale further, but with the introduction of additional trust assumptions, which are therefore not trust minimized. Sometimes the term Layer 2 is used to refer to include these solutions too, like validiums and optimiums, but to distinguish between trust minimized and non trust minimized solutions they are often referred to as "light" L2s, opposed to "strong" L2s like rollups. state on L1Layer 1 (L1) is a blockchain that is self-reliant on its validator set for its security and consensus properties. Ethereum is an example of a layer 1. Blockchains started receiving the moniker of layer 1 once layer 2 became a meaningful area of development..

A dashboard to explore contracts and permissions
Go to Disco
Disco UI Banner

Ethereum

ExchangeV30x9C8f…06c7

Main ExchangeV3 contract.

LoopringIOExchangeOwner0x2CFd…B215

Contract used by the ProverAn entity that generates the cryptographic proof to convince the verifier that the statement is true. In a ZK-Rollup, the prover generates the ZK (validity) proof to submit to the verifier contract. to submit exchange blocksAn ordered list of transactions and chain-related metadata that gets bundled together and published to the L1/DA layer. Nodes execute the transactions contained within blocks to change the rollup chain’s state. Protocol rules dictate what constitutes a valid block, and invalid blocks are skipped over. with zkSNARK proofs that are later processed and verified by the BlockVerifier contract.

DefaultDepositContract
Escrow
0xF13e…49b9

ERC 20 token basic deposit contract. Handles user deposits and withdrawals.

All supported tokens in this escrow are included in the value secured calculation.

LoopringV30x5F41…a9B7

Contract for setting exchange fee parameters.

BlockVerifier0x707B…2Dd2

zkSNARK VerifierAn entity in a ZK-Rollup, often a smart contract, that verifies zero-knowledge proofs submitted by a prover. based on ethsnarks library.