From 9ecda7f991e106add220fa10cdbdb4a30f8a2c9d Mon Sep 17 00:00:00 2001 From: Paul Mikhaylov Date: Fri, 18 Jun 2021 04:30:19 +0300 Subject: [PATCH 1/3] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index df6a9f2..b627ea9 100644 --- a/README.md +++ b/README.md @@ -111,9 +111,8 @@ There you will find instructions and instruments for smart contract compilation ## Pre-deployed smart contracts for tests -There are already deployed contracts. Information about them can be found here: [deployed contracts]() \ -This file contains information about TIP-3 tokens, TIP-3 token wallets, swap pairs and debot contracts, \ -as well as keys for controlling those contracts. +Deployed root swap pair contract: ```0:3dc2f941650dbb757e47363109841a943c04a4824a6652b8be7377b945603137``` +Deployed test swap pair contract: ```0:12987e0102acf7ebfe916da94a1308540b9894b3b99f8d5c7043a39725c08bdf``` -If you have any questions - feel free to ask our team in [Telegram](https://t.me/tonswap) (or contact me in direct messages @pafaul). +If you have any questions - feel free to ask our team in [Telegram](https://t.me/tonswap). From 5b5874fec6a42f5751e254c72896665ab78b6c23 Mon Sep 17 00:00:00 2001 From: Paul Mikhaylov Date: Fri, 18 Jun 2021 04:40:28 +0300 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b627ea9..ec36cd4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![photo_2020-12-15_20-21-41](https://user-images.githubusercontent.com/18599919/111032509-ac9fbd80-841d-11eb-9639-843ef2d758b3.jpg) Hello there! \ SVOI dev team greets you and would like to present the results of created Decentralized Exchange for the FreeTON Community contest: \ -#16 FreeTon DEX Implementation Stage 1 Contest. +#23 FreeTon DEX Implementation Stage 2 Contest. Goal of this work is to create Decentralized Exchange based on Liquidity Pool mechanism and develop instruments, such as debot and [site](https://tonswap.com) for interacting with developed smart contracts. @@ -12,7 +12,7 @@ debot and [site](https://tonswap.com) for interacting with developed smart contr Repository for smart contracts compilation and deployment - [https://github.com/SVOIcom/ton-testing-suite](https://github.com/SVOIcom/ton-testing-suite) -Used ton-solidity compiler - [solidity compiler v0.36.0](https://github.com/tonlabs/TON-Solidity-Compiler/tree/5914224aa6c03def19d98c160ad8779d2efe1c50) +Used ton-solidity compiler - [solidity compiler v0.39.0](https://github.com/broxus/TON-Solidity-Compiler/tree/98892ddbd2817784857b54436d75b64a3fdf6eb1) Used tvm-linker - [latest tvm linker](https://github.com/tonlabs/TVM-linker) From e32186b9007019ece1f9e33038337b31c5e7035e Mon Sep 17 00:00:00 2001 From: Paul Mikhaylov Date: Fri, 18 Jun 2021 13:34:56 +0300 Subject: [PATCH 3/3] Update README.md --- README.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/README.md b/README.md index ec36cd4..20cfc6d 100644 --- a/README.md +++ b/README.md @@ -69,25 +69,6 @@ This is RootSwapPairContract. It is mainly used to deploy swap pairs. Contract implementing liquidity pair mechanism -## Debot - -### [debot.sol](contracts/debot/debot.sol) -Debot simplifies a lot of routine interactions with smart contracts. \ -And this one is created to simplify your interaction with swap-pair contract. \ -With debot you can: - -1. Get user token balance - get token amounts available for providing liquidity or performing swap operation; -2. Get user LP token balance - get user's tokens that are currently in liquidity pool; -3. Ger user TON balance - get user's TON balance; -4. Get current LP functions execution cost; -5. Provide liquidity - add tokens to liquidity pool; -6. Withdraw liquidity - remove tokens from liquidity pool; -7. Get current exchange rate; -8. Swap tokens - swap user's tokens that are currently not in liquidity pool; -9. Withdraw tokens from swap pair - remove tokens from swap pair by requesting transfer of tokens to specified wallet; -10. Exit debot :) - - ## Tokens Used tokens are TIP-3 tokens initially developed by Broxus for bridges between Ethereum and TON. \ We decided that it will be great not to create a ton of new TIP-3 token types and used already existing and working solution.