Feature request - Add abandon()
function to allow funds to be returned
#16
Labels
enhancement
New feature or request
abandon()
function to allow funds to be returned
#16
When an account sends TLOS to
works.decide
those funds are assigned to the account's funds in theaccounts
table. This prevents accounts from returning unused funds to Telos Works. Anabandon()
function is needed that would work exactly like the 'withdraw()' function but without transferring tokens.An account that holds a balance in the
accounts
table should be able to abandon those funds with the result that the amount of funds abandoned will be subtracted from the account's entry on theaccounts
table without sending funds to the account.Suggested code:
works.hpp
insert at line 95works.cpp
Insert at line 682Update human-language contracts
The text was updated successfully, but these errors were encountered: