This file contains hidden or 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
| # MegaBanX Documentation | |
| --- | |
| ## Introduction | |
| Welcome to MegaBanX – a next-generation decentralized leverage trading protocol on MegaEth Network. MegaBanX combines decentralized perpetual trading with unified liquidity provision, enabling traders and liquidity providers to participate in global markets with capital efficiency. | |
| This documentation covers everything from foundational concepts through advanced trading strategies and risk management for all user types. |
This file contains hidden or 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
| # DEX - Tài liệu Chi tiết Contracts | |
| ## Mục lục | |
| 1. [Tổng quan kiến trúc](#tổng-quan-kiến-trúc) | |
| 2. [AMM Fundamentals - Giải thích Reserve và Công thức](#amm-fundamentals---giải-thích-reserve-và-công-thức) | |
| 3. [Constants Contract](#constants-contract) | |
| 4. [Math Contract](#math-contract) | |
| 5. [PairTemplate Contract](#pairtemplate-contract) | |
| 6. [AmmPair Contract](#ammpair-contract) | |
| 7. [StableTokenPair Contract](#stabletokenpair-contract) |
This file contains hidden or 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
| // Implementation in ES6 | |
| function pagination(c, m) { | |
| var current = c, | |
| last = m, | |
| delta = 2, | |
| left = current - delta, | |
| right = current + delta + 1, | |
| range = [], | |
| rangeWithDots = [], | |
| l; |
This file contains hidden or 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
| ### Keybase proof | |
| I hereby claim: | |
| * I am kai1997 on github. | |
| * I am kai1239 (https://keybase.io/kai1239) on keybase. | |
| * I have a public key ASAJb5KlT0A_kntvXy74QQKoP3VFlfpH9fgeSt9OW2zVBQo | |
| To claim this, I am signing this object: |