bbenligiray / external-call-checks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

External call checks

When you call an external contract, if your call reverts, the whole transaction reverts. But if you use the low level .call() function, the call reverting doesn't cause the whole transaction to revert. The call just returns false as the status, which you should check for. This repo is a minimal example.

About


Languages

Language:Solidity 63.0%Language:JavaScript 37.0%