Free TON

FreeTON Dex Implementation Stage 2 Proposal

FreeTon DEX Implementation Stage 2 Contest

Contest dates

  • Submission period: 6 weeks after approving this proposal in the governance interface;
  • Voting period: 2 weeks after the submission period.

Short description

Implement Stage 2 of the DEX contest with the milestone: “Complex liquidity pool mechanics”.

Stages

  • Set of DEX smart contracts (exchange, order book, liquidity pools, etc) with mandatory DeBot interface and optional UI (Stage 1)
  • Complex liquidity pool mechanics (pool explorers, pool factories for LP dexes, cross margin and complex FOK IOC order for order-based dexes, etc) (Stage 2)
  • Complex automated market maker mechanics, additional necessary improvements like UI/UX, governance, voting or yielding mechanics, etc (Stage 3)

Motivation

The goal of this contest is to prove the ability for Free TON blockchain to perform fast and cheap non-custodial exchange operations such as exchange of tokens, loans, IOUs or other types of liabilities.

The Free TON DEX, or FreeDEX for short, should be general purpose and let the users/governance create an arbitrary number of order books and/or liquidity pools, manage the order and transactions fees, support different types of referral programs and of course yielding mechanics for the participation in the dex marketing and development.

Furthermore the primary differentiator of FreeDex should be support for staking through TON depool contracts and voting using TON SMV contracts, support for TIP-3 tokens or its extensions and self-governed structure of the DEX. FreeDex can be either OB (order-book) dex, LP (liquidity provision) dex, any combination of those or any other possible type.

General requirements
The implementation of stage 2 should include a set of open source smart contracts, as well as the de-bot source code and / or the source code of the web interface / mobile application for the TON network, which will allow:

  • Exchange contracts that support instant exchange for AMM, for Orderbook cross-margin and / or complex FOK IOC and / or Limit order;
  • Pool factories contracts that allow the creation of new LP / Orderbook pools based on TIP3 token contracts;
  • Pool browser with information about the exchange rate, existing pools and their contents. Optional: exchange statistics within a pool, general statistics by pools;
  • Simple automated market maker mechanics
  • All operations must be performed via the DeBot interface and / or web or mobile interface.

Your application must include:

  • Basic economic model and description of the movement of money in the system;
  • The overall technical architecture of the solution, including all the listed functions from the section of strict evaluation criteria;
  • Detailed technical description of the proposed implementation with the rationale for the chosen approach: smart contracts, level of integration, interfaces;
  • Deployed implementation on the Free Ton developer network with the ability to test functionality using the DeBot interface, web or mobile interface.

Fair play

As per Procedural remarks on contests.

Evaluation criteria and conditions for winning

General criteria
When evaluating a proposal, priority will be given to applications that will take into account the following functional, technological and technical features when describing their solutions:

  • TIP-3 tokens or their extensions as proof of investment
  • The system makes the most of the commission and storage fees
  • The system effectively uses the capabilities of the FreeTON network such as a tick timer, messaging function, sharding
  • If there is an off-chain part: maximize the use of decentralized resources to ensure system independence
  • Modularity and documentation of the code, ease of support, openness of developers to changes and additions

Hard criteria

  • The ability to create new exchange pairs through the de-bot interface. Optional Web and mobile interfaces
  • Ability to view information about pools, exchange rate, pool composition
  • Instant exchange support for AMM supporting instant exchange, for Orderbook cross-margin and / or complex FOK IOC and / or Limit order
  • Support for de-bot interface and / or web and mobile interface, at least for testing purposes.

Soft criteria

  • Using one of the solutions implemented in phase 1;
  • Mostly everyday English to make technical documentation easier to understand;
  • Additional interfaces, de-bots, mobile apps, SDK and public APIs will be a plus.

Artifacts

  • Link to github/gitlab with executable code and thorough README on how to deploy and run;
  • Free open-source license;

Rewards Stage 2

Place Reward, TON
1 160 000
2 120 000
3 80 000
4 40 000
5 20 000

Works with average score less than 4 are excluded from prize nomination.

Procedural remarks to jurors

As per Procedural remarks on contests.

Jury rewards

As per Procedural remarks on contests.

Governance rewards

As per Procedural remarks on contests.

Procedural reminders to all contestants

As per Procedural remarks on contests.

6 Likes

Hi, Freetonians! Here is a link to RadianceTeam submission:
https://defi.gov.freeton.org/submission?proposalAddress=0%3Aa2c1cfb2208e00eb95afb623ee629b351dcae89c15f3af26611995a828384a05&submissionId=3

W: 0:c6d98e2608bee7597d3736bf1f285c0672cedf800a59fa1702cb079bfb1ccafd
T: @UltraNihilist , @dnugget

4 Likes

Hello everyone!

We are SVOI.dev team and in the project we present the results of our long patient work, We submitted our pdf to the contest on the website.

The purpose of this work was the development and implementation of a fast exchange (Swap) in the FreeTON blockchain and infrastructure based on the “liquidity pool” approach.

Link to the project website: https://swap.tonswap.com
Link to the LP Explorer: https://explorer.tonswap.com

GitHub:

Wallet: 0:0439186aa0147661ebaf2b32ecc76bac172fcdaa24c7df7c9cb03cc816e435e6

Contact information
Telegram (corporate account): Telegram: Contact @svoidev
team’s website: https://SVOI.dev

__________

Hello everyone!

SVOI.dev team here

As part of the contest voting procedure,

we prepared

:white_check_mark: VIDEO PRESENTATION

of the second stage of TonSwap peoject development :blue_heart:

We hope it’ll be helpful for judges and everyone interested in the Project!

We would be grateful for your comments and feedbacks.

Have a great day everyone! :gem:

__________

3 Likes

TON Labs Dex implementation: Flash Exchange (FLEX) Stage 2:
https://github.com/tonlabs/flex

4 Likes

Augual.TEAM: Submission to DEX Stage II

Contacts

Telegram: @laugan
Wallet: 0:fd080fb5fc9266226ec59b062f0cdde85c818ef1d4ac4939804ee7616ec352f4

Github Repositories:

Two ways of usage

Debot-based: 0:6d9982a8c49531218db59af8eb8803cd77e757536004ee481c41f1e6a7e07144
Web-based: https://dex.liquisor.app

Token discussion links

Important: As dev-net was reset, we’re currently in process of redeploy of DEX contracts.

3 Likes

Hello everyone!

SVOI.dev team here

As part of the contest voting procedure,

we prepared

:white_check_mark: VIDEO PRESENTATION

of the second stage of TonSwap peoject development :blue_heart:

We hope it’ll be helpful for judges and everyone interested in the Project!

We would be grateful for your comments and feedbacks.

Have a great day everyone! :gem:

__________

Good afternoon, dear organizers of this competition. It has been a long time since its completion, and everyone is eagerly awaiting the distribution of the TON Crystal prize money. Please tell me how soon the winners will receive their crystals. Thank you.

На русском языке

Добрый день, уважаемые организаторы этого конкурса. Прошло уже немало времени от его завершения, и все с нетерпением ждут распределения призовых TON Crystal. Подскажите пожалуйста, как скоро победители получат свои кристалы. Спасибо.

Why are you silent?

На русском языке

Почему вы молчите?