Closed dbale-altoros closed 8 months ago
Modified behavior: Search for a receive() function If not present, search for fallback() function If present, suggest making it payable to receive native currency (if it is not already)
receive()
fallback()
payable
This rule suggests to code a receive() function in the warnings
Modified behavior: Search for a
receive()
function If not present, search forfallback()
function If present, suggest making itpayable
to receive native currency (if it is not already)This rule suggests to code a
receive()
function in the warnings