-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BEP-151: Decommission Decentralized Exchange on BNB Beacon Chain #151
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
owen-reorg
changed the title
[WIP] Beacon Chain Dex Prune
[WIP] BEP-151: Beacon Chain Dex Prune
Jun 16, 2022
M
|
owen-reorg
changed the title
[WIP] BEP-151: Beacon Chain Dex Prune
BEP-151: Beacon Chain Dex Prune
Jun 17, 2022
4 tasks
owen-reorg
changed the title
BEP-151: Beacon Chain Dex Prune
BEP-151: Beacon Chain DEX Prune
Jun 17, 2022
owen-reorg
changed the title
BEP-151: Beacon Chain DEX Prune
BEP-151: Decommission Decentralized Exchange on BNB Beacon Chain
Jun 20, 2022
unclezoro
previously approved these changes
Jul 11, 2022
4 tasks
unclezoro
approved these changes
Jul 11, 2022
owen-reorg:bc-dex-prune |
Wtf |
Noted
…On Wed, 7 Sep 2022, 2:41 pm Arielek9, ***@***.***> wrote:
Wtf
—
Reply to this email directly, view it on GitHub
<#151 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXBZP276CMZKP52I6ZJTFCLV5CEOBANCNFSM5Y5IXLBA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
ghost
reviewed
Nov 2, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bnb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BEP-151: Decommission Decentralized Exchange on BNB Beacon Chain
1. Summary
This BEP proposes to securely and smoothly decommission the build-in decentralized exchange on BNB Beacon Chain.
2. Abstract
BNB Beacon Chain’s primary focus, its native decentralized application ("dApp") BNB DEX, has demonstrated its low-latency matching with large capacity headroom. With the development of BNB Smart Chain and AMM-based decentralized exchanges running well on it, BNB DEX has less usage and liquidity. After implementing this BEP, the DEX module will be disabled, which will give Beacon Chain more computing power for the future computing and governance focuses.
3. Status
Draft
4. Motivation
BNB Beacon Chain(BC) is a blockchain developed by the BNB Chain community that implements a vision of a decentralized exchange (DEX) for digital assets. The heart of Beacon Chain is a highly performant matching engine built on distributed consensus that aims to replicate the < 1 second trading efficiency of current centralized exchanges.
Since BNB Smart Chain's(BSC) launch to mainnet in 2020, the AMM based decentralized exchanges gain great success on BSC which even steal the thunder of order-book based DEX on BC. BC and BSC is a dual chain structure, with the evolution of this structure, BC plays more like a Beacon Chain that helps to enhance the security of BSC as a staking and governance layer. It is not suitable for a Beacon Chain to sustain a high-performance DEX any longer, especially when there is another DEX with massive adoption in the same ecosystem.
Decommissioning the DEX module will reduce the need for system resources significantly for both validators and full nodes. The demand for liquidation can be fulfilled by BNB Smart Chain or the upcoming zkBAS.
5. Specification
After the implementation of this BEP, transactions related to DEX(including
NewOrderMsg
,ListMsg
,ListMiniMsg
) will return an error to disable listing new trading pairs or placing any new orders.All the existing orders will be canceled either by traders or by 3 days timeout(or 30 days for orders in the best 500 price levels, according to BEP-67). Thus there will be no more DEX transactions on Beacon Chain.
5.1 Safety
After the implementation of this BEP, there will be no more new orders.
The existing orders which are not matched yet will not be matched anymore.
They can be canceled by the traders directly or by timeout automatically after a period of time, and refunded to the traders.
All the funds are SAFU.
5.2 Impact
Transactions
MsgSubmitProposal
with type ofProposalTypeListTradingPair
orProposalTypeDelistTradingPair
are used for submitting proposals to list new trading pairs or delist trading pairs.They might be not useful any longer but still valid after the BEP. It's not encouraged to send these transactions anymore.
6. License
The content is licensed under CC0.