Deri
Badges
About
Deri is an Ethereum Layer-3 that leverages Arbitrum Nitro to enable efficient cross-chain futures, options, and derivatives.
$18.55 K
6.50%
Website | deri.io |
---|---|
Docs | docs.deri.io |
Explorer | explorer-dchain.deri.io |
Repository | github.com/OffchainLabs/nitro |
Social | @DeriProtocolDeriProtocolDiscord |
Badges
About
Deri is an Ethereum Layer-3 that leverages Arbitrum Nitro to enable efficient cross-chain futures, options, and derivatives.
...
Choose token
Funds can be stolen if
Funds can be lost if
MEV can be extracted if
State validation
Fraud proofs (INT)No actor outside of the single Proposer can submit fraud proofs. Interactive proofs (INT) require multiple transactions over time to resolve. The challenge protocol can be subject to delay attacks.
Data availability
On chainAll of the data needed for proof construction is published on the base chain, which ultimately gets published on Ethereum.
Exit window
NoneThere is no window for users to exit in case of an unwanted regular upgrade since contracts are instantly upgradable.
Sequencer failure
Self sequenceProposer failure
Self proposeAnyone can become a Proposer after 6d 8h of inactivity from the currently whitelisted Proposers.
Fraud proofs ensure state correctness
After some period of time, the published state root is assumed to be correct. For a certain time period, one of the whitelisted actors can submit a fraud proof that shows that the state was incorrect. The challenge protocol can be subject to delay attacks.
Funds can be stolen if none of the whitelisted verifiers checks the published state. Fraud proofs assume at least one honest and able validator (CRITICAL).
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.
The system has a centralized sequencer
While forcing transaction is open to anyone the system employs a privileged sequencer that has priority for submitting transaction batches and ordering transactions.
MEV can be extracted if the operator exploits their centralized position and frontruns user transactions.
Users can force any transaction
Because the state of the system is based on transactions submitted on-chain and anyone can submit their transactions there it allows the users to circumvent censorship by interacting with the smart contract directly. Anyone can become a Proposer after approximately 6d 8h (45818 blocks) of inactivity from the currently whitelisted Proposers.
Regular exit
The user initiates the withdrawal by submitting a regular transaction on this chain. When the block containing that transaction is finalized the funds become available for withdrawal on L1. The process of block finalization usually takes several days to complete. Finally the user submits an L1 transaction to claim the funds. This transaction requires a merkle proof.
Tradeable Bridge Exit
When a user initiates a regular withdrawal a third party verifying the chain can offer to buy this withdrawal by paying the user on L1. The user will get the funds immediately, however the third party has to wait for the block to be finalized. This is implemented as a first party functionality inside Arbitrum’s token bridge.
Autonomous exit
Users can (eventually) exit the system by pushing the transaction on L1 and providing the corresponding state root. The only way to prevent such withdrawal is via an upgrade.
EVM compatible smart contracts are supported
Arbitrum One uses Nitro technology that allows running fraud proofs by executing EVM code on top of WASM.
Funds can be lost if there are mistakes in the highly complex Nitro and WASM one-step prover implementation.
The system uses the following set of permissioned addresses:
Central actors allowed to submit transaction batches to L1.
They can submit new state roots and challenge state roots. Some of the operators perform their duties through special purpose smart contracts.
EOA that can execute upgrade via the UpgradeExecutor.
The system consists of the following smart contracts on the host chain (Arbitrum One):
Router managing token <–> gateway mapping.
Main contract implementing Arbitrum One Rollup. Manages other Rollup components, list of Stakers and Validators. Entry point for Validators creating new Rollup Nodes (state commits) and Challengers submitting fraud proofs.
Contract managing Inboxes and Outboxes. It escrows the native token used for gas on the chain. This contract stores the following tokens: ETH.
Main entry point for the Sequencer submitting transaction batches.
Contract allowed to upgrade the system.
Contract that allows challenging invalid state roots. Can be called through the RollupProxy.
Contract used to perform the last step of a fraud proof.
Contract used to perform the last step of a fraud proof.
Contract used to perform the last step of a fraud proof.
Contract used to perform the last step of a fraud proof.
Contract used to perform the last step of a fraud proof.
Value Locked is calculated based on these smart contracts and tokens:
Contract managing Inboxes and Outboxes. It escrows ETH sent to L2.
Upgrade delay: 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).