Solhint

Solhint

Community Analyzer

Avoid to use low level calls SOLHINT-W1037

Security
Major

Avoid to use low level calls.

Bad Practice

  1. Using low level calls
anyAddress.call(code);
a.callcode(test1);
a.delegatecall(test1);
anyAddress.call.value(code)();

Recommended

  1. Using low level calls to transfer funds
anyAddress.call{value: 1 ether}("");

Learn more

avoid-low-level-calls on Solhint's documentation.