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

17 lines
268 B

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