App: Feat | Adjustment of the DFI MAX calculation

Created on 19 Mar 2021  Â·  6Comments  Â·  Source: DeFiCh/app

Bildschirmfoto 2021-03-19 um 11 03 07

Suggested improvement:

Problem: Many users run LM with DeFi Wallet and send all DFI Rewards to CAKE for staking. In doing so, they go into DFI Wallet and click MAX on the amount. A few days later they come to our Telegram group and complain about the error message "Insufficient DFI UTXO". Of course it is possible to explain to these users what they did wrong, but there are always new people coming into the DeFiChain system and so there are still always new people who don't understand and make this mistake.

Bildschirmfoto 2021-03-19 um 11 15 24

Short term solution proposal:
When pressing the MAX key, 0.1 DFI less should be transferred to the quantities field. With this simple solution everyone should be happy. The error described above no longer happens, and who still wants to send everything has the option to send the full amount, in which he enters the amount manual.

Long term proposed solution:
Implementation according to above. In addition, the Mechaniusmus should automatically take over 100% if the wallet has no other tokens.

kinbug needtriage

Most helpful comment

I would +1000 if I could.
I had to ask a friend to "borrow" me a couple of DFI to unlock the DFI I had in my wallet which were "locked" because they were in token form.

I think there's no need to add complex computations for different cases, but a warning may be enough, similarly to the warning you show when a user tries to send a liquidity pool share:
photo_2021-03-23_14-07-15

e.g.

This transaction will leave less than X DFI on your wallet.
Please note that some DFI coins are required to perform operations on the DeFiChain blockchain, including further withdrawals.
Note that DFI in token form (those gained through liquidity mining) need to be converted to DFI in coin form, and this also requires DFI coins.
Please refer to this article on the DeFiChain knowledge base for more details:
https://defichain-wiki.com/index.php?title=App_error_messages&redirect=no#Insufficient_Fund

(I couldn't find a link to the current article in the wiki, it seems it was removed, which is not great for such an important procedure, and relying on the post of a random user on reddit doesn't sound great)

All 6 comments

@RobinTorque: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

In the meantime, you can:

  1. Checkout DeFiChain’s Github issue page to see if your issue has already been reported
  2. Submit any logs if you have them, this will greatly expedite the process for us.
  3. You can also join our Telegram or Reddit community channels.

Details

I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.

Hi @RobinTorque , thanks for the feedback, please give us time to address this issue.

I would +1000 if I could.
I had to ask a friend to "borrow" me a couple of DFI to unlock the DFI I had in my wallet which were "locked" because they were in token form.

I think there's no need to add complex computations for different cases, but a warning may be enough, similarly to the warning you show when a user tries to send a liquidity pool share:
photo_2021-03-23_14-07-15

e.g.

This transaction will leave less than X DFI on your wallet.
Please note that some DFI coins are required to perform operations on the DeFiChain blockchain, including further withdrawals.
Note that DFI in token form (those gained through liquidity mining) need to be converted to DFI in coin form, and this also requires DFI coins.
Please refer to this article on the DeFiChain knowledge base for more details:
https://defichain-wiki.com/index.php?title=App_error_messages&redirect=no#Insufficient_Fund

(I couldn't find a link to the current article in the wiki, it seems it was removed, which is not great for such an important procedure, and relying on the post of a random user on reddit doesn't sound great)

I'm having the same problem and a search for:

Insufficient UTXO DFI for transaction fees. Please send some DFI from an exchange or another wallet and try again.

doesn't give meaningful results. This is very frustrating for newcomers.

Hi @diegorodriguezv , we're working on improving the feature. Just make sure you've some DFI in your address and you should never have to face the issue.

getbalance — utxoDFI
gettokenbalances — accountDFI

The sum of utxoDFI & accountDFI would be your total DFI tokens.

Hi @RobinTorque @diegorodriguezv , your feedback has been conveyed to the team, however I do not have a timeline on when this would be implemented. Just wanted to update you before this thread becomes stale. Rest assured that the team has accepted this enhancement and will be implemented in due time.

For future enhancement related ideas, you can publish it on DeFiChain Discussions, garner some support from the community, and the team can decide whether to implement the feature in the future. Thank you!

Was this page helpful?
0 / 5 - 0 ratings