An innovative AMM trading platform where users trade within a price range, leveraging VRF for settlement. Choose between stable MEV-resistant trades or high-risk, high-reward lottery-style trades, benefiting both traders and liquidity providers. Trade small, win big!
FortuMax is an innovative AMM that redefines the conventional Automated Market Making (AMM) model by introducing a dynamic settlement engine. This allows traders to win bigger by trading within a predefined price range and paying a small premium. The platform aims to enhance user experience and engagement while providing significant benefits to liquidity providers (LPs) and long-term holders.
In traditional AMM platforms like Uniswap, the settlement price of a trade is determined by the price curve, which reflects the supply and demand of a trading pair. This results in a known price at the moment of transaction. FortuMax, however, offers a novel approach where traders agree on a price range instead of a fixed price point. This mechanism helps prevent third-party manipulation of transaction order due to settlement uncertainty.
Key Features of FortuMax (Two Trading Alternatives):
How It Technically Works: Price Range Agreement: Traders agree on a price range instead of a specific price point. Verifiable Random Function (VRF): The final settlement price is determined by VRF, ensuring fairness and transparency. The price is based on a probability distribution, which can be normal, skewed, or any other user-defined distribution.
Example Scenario: Suppose the market price of a token is 30 USD. Traders can set a price range from 25 to 100 USD with a left-skewed distribution. Based on this setup, there is approximately a 15% chance of the final settlement price being 60 USD, which is twice the market price.
Benefits and Impact
Advanced Features and Future Possibilities
We aims to bring new vitality to the DeFi landscape by offering a unique and engaging trading platform that benefits traders, liquidity providers, and long-term holders. With its innovative approach to AMM and commitment to transparency and fairness, FortuMax is poised to reshape the future of decentralized trading.
Our goal was to introduce randomness into the results of swap transactions. To achieve this, we needed a verifiable random number as our source of randomness, so we chose Chainlink's VRF (Verifiable Random Function) service. Given the high computational cost of calculating random distributions on-chain and the need for verifiable results, we opted to perform the final price calculation off-chain based on the random source.
Here’s the detailed process: Initiating the Swap Order
Hacky part: One key reason we introduced random trading was to address the Miner Extractable Value (MEV) problem. However, during development, we realized that nodes could still manipulate the order in which transactions are settled. We discovered that the order of transactions needing settlement is already determined on-chain. This allows us to solve the problem of transaction order manipulation by nodes during the settlement phase, turning a potential issue into a solution.