> For the complete documentation index, see [llms.txt](https://mklabs-document.gitbook.io/mklabs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mklabs-document.gitbook.io/mklabs/master.md).

# Introduction

**MilkywayEx** is your one-stop decentralized trading platform on the Binance Smart Chain network.&#x20;

We combine DEX services with DeFi rewarding to offer leveraged trading.

![MilkywayEx - Full Control Your Profit](/files/-MlV_S1DWHRPXanv-xRX)

```
rewardsTracker.updateMilkyBalance(payable(from), balanceOf(from));
        rewardsTracker.updateMilkyBalance(payable(to), balanceOf(to));
        try rewardsTracker.setBalance(payable(from)) {} catch {}
        try rewardsTracker.setBalance(payable(to)) {} catch {}

        if(!swapping) {
	    	uint256 gas = gasForProcessing;

	    	try rewardsTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) {
	    	    emit ProcessedRewardsTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin);
	    	}
	    	catch {

```

Features&#x20;

↔️ Trade Tokens&#x20;

The exchange is an automated market maker (AMM) that helps users swap between two tokens.&#x20;

🌽 Farm Tokens&#x20;

MilkywayEx helps users to earn MILKY tokens by staking their liquidity provider (LP) tokens.&#x20;

🐷 Stake Tokens&#x20;

Stake your MILKY tokens to earn more MILKY via protocol fees.&#x20;

💰 Borrow Tokens&#x20;

Users will be able to lend and borrow tokens from MilkywayEx, to earn yield or increase their trading leverage.
