# Introduction of DingTouCake

By [DingTouCake](https://paragraph.com/@dingtoucake) · 2022-11-15

---

DingTouCake is a DeFi project launched on Binance Smart Chain (BSC). It combines the smart contract functions of trade, liquidity pools and syrup pools on the mainstream decentralized exchange PancakeSwap on BSC, and realizes a manual or automatic cake autoinvest scheme, and deposits the obtained cakes into PancakeSwap's current syrup pool. , Earn the interest of PancakeSwap, and at the same time provide users with corresponding incentives and punishment measures through own token DTC, so that users can continue to make autoinvest. As the core token of this project, DTC follows the Bitcoin (BTC) cycle halving rule, and carries out autoinvest and liquidity incentives around Cake to capture time value together.

Function Description

1.Overview

The overview page contains three parts: 1) Token information, including total supply, halving countdown, functions of surplus Cake and DTC destruction, as well as the statistics of tokens distributed in autoinvest and liquidity. 2) Information about the autoinvest service, there are a total of 6 types of trade pair usage, each pair will have autoinvest and retrieval statistics, including the number of users, The charged token, the data of the extracted token. 3) Information about liquidity services, there are a total of 3 trading pairs, and also the number of users, liquidity shares, and two types of token data composed of shares.

2.Asset

The asset page displays 6 related assets, and combines PancakeSwap's trading contracts to convert between assets, and also introduces other channels to obtain these assets.

3.Autoinvest

The autoinvest page is the core function of the project. Here, it shows the price situation between CAKE, DTC and stable currency tokens, as well as the detailed list of autoinvests. The upper right corner provides the function of creating autoinvest. You can use the stable token to make autoinvest in CAKE or DTC as needed.Autoinvest can use manual execution or download autoinvest program after configuration Automatically execution to avoid too much human intervention. The autoinvest list shows the id of the autoinvestment, the amount of tokens for each autoinvestment, the target token, the number of autoinvestment, and the number of shares obtained. There are two most important indicators, the autoinvestment yield and the percentage of shares that can be withdrawn. The autoinvestment yield is roughly estimated for a period of time. The income ratio generated by the autoinvestment can be retrieved after reaching the expectation. The percentage of withdrawable share is the percentage of the total investment share that can be withdrawn, which is calculated by the number of autoinvestment (formula: 1-1/number of fixed investment). As the surplus of the autoinvestment service, the surplus Cake is used as a reward for the destruction of DTC or the autoinvestment of DTC, and the surplus DTC will be permanently destroyed. A autoinvestment can directly obtain DTC with the same amount of stablecoin worth of Cake (for example, 1CAKE=4USDT, then 100USDT is equivalent to 25CAKE, and a autoinvestment of 100U can get 25DTC), but the specific amount is affected by the halving of DTC.

4.DTC liquidity

The DTC liquidity page is to provide liquidity for stablecoins and DTC trading pairs, and to obtain DTC rewards. The first liquidity provider will receive the same amount of DTC as the stablecoin value of Cake (for e, 1CAKE=4USDT, then 100USDT is equivalent to 25CAKE, providing liquidity will receive 25DTC), but the specific amount is also affected by the halving of DTC. The obtained DTC and the provided stablecoin together form the first liquidity pool share. The subsequent investment of stablecoins will be half of them Converted to DTC, the remaining half of the stablecoins and the converted DTC form the share of the liquidity pool. Finally, when withdrawing liquidity, if you withdraw after 2,592,000 DTC distributions, you can get double DTC rewards of the same amount of Cake, but the specific amount is also affected by the DTC halving.

Safet

Scanned using Solidity static analysis tool Slither, no high or medium risk security issues were found

To be further observed to monitor the safety situation

FA

To be adde

Remark

The project is a beta, please do your research and use it at your own risk

The project is only suitable for desktop browsers, please use mainstream browsers (Google Chrome, Firefox, etc.) to visit

Be sure to install the MetaMask wallet plugin before us

Select Binance Smart Chain (BSC) before use.

DingTouCake website:[https://www.dingtoucake.xyz/](https://www.dingtoucake.xyz/)

tg:[https://t.me/+GfsvcIh-Lw05MDJl](https://t.me/+GfsvcIh-Lw05MDJl)

---

*Originally published on [DingTouCake](https://paragraph.com/@dingtoucake/introduction-of-dingtoucake)*
