Skip to main content

Module unused_return

Module unused_return 

Source

Staticsยง

UNUSED_RETURN

Functionsยง

is_erc20_transfer_sig ๐Ÿ”’
Returns true if func matches the ERC20 transfer or transferFrom signature exactly. These are handled by erc20-unchecked-transfer and must not be double-reported.
is_unused_return_call ๐Ÿ”’
Returns true if expr is a member call on a contract whose resolved function has return values, excluding ERC20 transfer/transferFrom (covered by erc20-unchecked-transfer).