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/low_level_calls.sol

17 lines
290 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;
function () payable external{
balance += msg.value;
}
}