-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
It would be helpful to introduce a "send all" option for fungible tokens that determines your balance and sends exactly that making sure it leaves exactly 0 balance left.
Since this could be a critical operation I suggest instead of this popping up as an option button that the user types in "send all" when specifying how many tokens. This "send all" suggestion would appear in the examples.
Use case: I have a contract that needs to be initialized with a certain number of tokens. The amount of tokens changes when I use the contract. I want to redeploy the contract but it becomes difficult to get the exact number of tokens to reinitialize.
Slime gave my message in tools a thumbs up so it seems like it could be useful to others also.
Thanks
AlexKushnir1, akorchyn, FroVolod and frol
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Shipped 🚀