Home / Vulnerability Database / Solidity : ERC-20 transfer should throw
Solidity
Solidity : ERC-20 transfer should throw
Overview
Functions of ERC-20 Token Standard should throw in special cases:
transfershould throw if the_fromaccount balance does not have enough tokens to spendtransferFromshould throw unless the_fromaccount has deliberately authorized the sender of the message via some mechanism
References
LOW
DerScanner Severity Score
Do you want to fix Solidity : ERC-20 transfer should throw in your application?
See also
Solidity
Solidity : Return value of transfer, transferFrom, or approve function of ERC-20 standard is always false.
Solidity
Solidity : Using approve function of the ERC-20 token standard
Solidity
