đ˛Transfer
The function transfers the value "amount" from "a" to "b".
If the value of "a" is less than the "amount", both "a" and "b" remain unchanged.
The "amount" can be either in clear (unencrypted) or encrypted form.
The function returns the new values of "a" and "b", along with a boolean value indicating whether the transfer was successful or not, encrypted for confidentiality.
Usage example
Private ERC20 transfer function gets an encrypted value to transfer from the sender account to the receiver account.
Last updated