You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"transfer" and "transferToWallet" methods don't check the minimum required value to start the transfer.
For correctly finish the transfer user must attach at least:
require(msg.value > TokenGas.TARGET_WALLET_BALANCE * 2 + deployWalletValue);
Plus gas for the "transfer" and "acceptTransfer"
This must be explicitly described or checked before starting the transfer because smaller value can lead to the tokens lost.
Example:
TokenWallet was without transactions for a while.
Some dapp tried to call the transfer with attached amount 0.2 ever and deployWalletValue: 0.1 ever
This amount of value is enough for particular transfers, but in our case 0.07 evers will be taken as storage payment
Destination wallet will be deployed successfully, but "acceptTransfer" will be aborted with error "Out of gas" and a bounce message will not be created.