Transparency Report — About Definix Fee Structure

SIX Network
3 min readJun 15, 2021

--

Recently, with the support from Inspex which is the top blockchain auditor in Thailand, we’ve found an issue that affected the fee structure of the platform. We have worked on it and decided to make a report about the issue and the solutions as a transparency report to let you know what happened.

An issue with PancakeSwap V1 Fee Structure

Inspex has found that there is an issue about how to calculate a fee on PancakeSwap V1-based code. Without this issue, a 0.2% fee will be paid for each trade. 0.17% will go to liquidity providers and 0.03% will go to the platform’s treasury. By the way, there is a wrong variable in the fee calculation formula and this miscalculation made the ratio change. It turns out that the liquidity providers get less percent (0.15% instead of 0.17%) and more percent will go to the platform’s treasury (0.05% instead of 0.03%).

The result of the issue has made most of all the DeFi platforms that inherited the formula of fee calculation from the PancakeSwap V1 code likely to conduct a higher amount of the fee than it should be.

Definix is a platform that has implemented the inherited fee structure from PancakeSwap V1. After Inspex informed us about this issue, we investigated our code and found the same issue occurred with our platform. That means what should go to our liquidity providers is less than it should be and what should go to the platform’s treasury is also higher than it should be, according to our announced fee structure.

The Solutions for The Issue

We have decided to do the following things in order to make it proper and transparent to our users;

1. Burn the excess amount of fees in the process of buyback and burn

The practical solution for dealing with the excess amount of the fees is to buy back and burn, which we’ve already done before this issue was found. Normally, we’re bringing a part of what we get from the fees to burn as a buyback and burn process. That means all the excess amount from the higher cut is already burned. The buyback and burn process will continue as a deflationary mechanic for FINIX and all the excess fees in the future will be burned in this process. This is a practical solution that is fair for users since the excess amount of the fees is spent to reduce the supply of FINIX. The activity has a positive impact on FINIX price.

You can check all the past transactions for the buyback and burn process as following;

https://bscscan.com/tx/0x44cbd358715ae93f692dd91e2392cbb7da5fab8fcad226aaafb3f4ae9678458c

https://bscscan.com/tx/0x083fcb46f1f6c5233db4049d2567e15e88466280dd829b88f1909b531bcfba58

https://bscscan.com/tx/0xfa73138e2cbf96e2f5d77a65975373107ba53479b7493ac69c00444ea9983199

https://bscscan.com/tx/0x68a20a7b489456873aaf07d716a9b2c0b0e5b337480e0e8dd33f509b15af3c0f

https://bscscan.com/tx/0x88212a68f73a74a85bce25c35dee6cc5b2e0d1baae4e06aac157130942e27095

https://bscscan.com/tx/0x844d9ddc874df3c10db8309dce0b5be60593fadcd084be7df92ffd09f74bf789

https://bscscan.com/tx/0xb39023642381f8c618a7cdb4fee3272852c2b13258061c62b096233bebfc518d

https://bscscan.com/tx/0xda5f3cb7e863c0848ec2ee1859a64798d7f40713d69667a65c3a3a475a8cb737

https://bscscan.com/tx/0xfdf6a9e57185451202c4beb96d4102ac49a96db2d4572c1d81a9b047060d8965

https://bscscan.com/tx/0x4bd03aceb712fd7e09f4512a768962cb268d55f1a357879b82829df267f2e1ba

2. Implement the right fee structure to Definix on Klaytn Chain

To fix the fee structure, requires deploying the whole system once again and will affect our users so much. We decided to fix the fee structure in our soon-to-be-deployed Definix on Klaytn Chain first because it will not cause any harm to our users. For Definix on BSC, the inherited fee structure will be fixed once we have a major update that requires a major migration from the users.

3. Update all related documents and user interfaces on the topic of the fee structure for Definix on BSC

We updated the information about the fee structure for Definix on BSC in our related documents and user interfaces in order to give users the right picture about the fees when they use Definix on BSC.

Does this issue affect your reward from farming?

No. The number of FINIX that you’ve got from farms and pools is calculated correctly. You can farm and get what you should get without any worries.

Definix is striving for the best

Code without any flaws may sound nearly impossible but Definix is striving to code the best. Although this issue may happen with other PancakeSwap V1-based platforms around the world, when we found it, we tried to find the best solution for our users. Again, big thanks to Inspex, Thailand’s savvy smart contract auditor who informed us so we can make an improvement for Definix and our beloved users.

Follow us on:

SIX Network: https://six.network/

Telegram: https://t.me/SIXnetwork (INTL), https://t.me/SIXnetworkTH (TH)

Definix Facebook Page: https://www.facebook.com/definixofficial

Definix Twitter: https://twitter.com/DefinixOfficial

--

--

SIX Network

SIX Network, a blockchain company simplifying Web3 adoption for businesses. We focus on seamless integration and making blockchain accessible to everyone.