Govur University Logo
--> --> --> -->
...

In a Solidity smart contract, which specific low-level call type must be avoided to prevent re-entrancy vulnerabilities, and what is the standard recommended practice to replace it?



To prevent re-entrancy vulnerabilities, you must avoid using the low-level call function when sending Ether to an external address. A re-entrancy vulnerability occurs when an attacker contract calls back into your contract before the first function execution is finished, allowing the attacker to manipulate the contract state repeatedly. The call function is dangerous because it forwards ....

Log in to view the answer



Redundant Elements