Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
slither/tests/detectors/low-level-calls/0.7.6/low_level_calls.sol

17 lines
289 B

//pragma solidity ^0.4.24;
contract Sender {
function send(address _receiver) payable external {
_receiver.call{value:msg.value, gas:7777}("");
}
}
contract Receiver {
uint public balance = 0;
receive () payable external{
balance += msg.value;
}
}